LLVM  6.0.0svn
Macros | Functions
LanaiInstPrinter.cpp File Reference
#include "LanaiInstPrinter.h"
#include "Lanai.h"
#include "MCTargetDesc/LanaiMCExpr.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/FormattedStream.h"
#include "LanaiGenAsmWriter.inc"
Include dependency graph for LanaiInstPrinter.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "asm-printer"
 
#define PRINT_ALIAS_INSTR
 

Functions

static bool usesGivenOffset (const MCInst *MI, int AddOffset)
 
static bool isPreIncrementForm (const MCInst *MI, int AddOffset)
 
static bool isPostIncrementForm (const MCInst *MI, int AddOffset)
 
static StringRef decIncOperator (const MCInst *MI)
 
static void printMemoryBaseRegister (raw_ostream &OS, const unsigned AluCode, const MCOperand &RegOp)
 
template<unsigned SizeInBits>
static void printMemoryImmediateOffset (const MCAsmInfo &MAI, const MCOperand &OffsetOp, raw_ostream &OS)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "asm-printer"

Definition at line 26 of file LanaiInstPrinter.cpp.

◆ PRINT_ALIAS_INSTR

#define PRINT_ALIAS_INSTR

Definition at line 29 of file LanaiInstPrinter.cpp.

Function Documentation

◆ decIncOperator()

static StringRef decIncOperator ( const MCInst MI)
static

◆ isPostIncrementForm()

static bool isPostIncrementForm ( const MCInst MI,
int  AddOffset 
)
static

◆ isPreIncrementForm()

static bool isPreIncrementForm ( const MCInst MI,
int  AddOffset 
)
static

◆ printMemoryBaseRegister()

static void printMemoryBaseRegister ( raw_ostream OS,
const unsigned  AluCode,
const MCOperand RegOp 
)
static

◆ printMemoryImmediateOffset()

template<unsigned SizeInBits>
static void printMemoryImmediateOffset ( const MCAsmInfo MAI,
const MCOperand OffsetOp,
raw_ostream OS 
)
static

◆ usesGivenOffset()

static bool usesGivenOffset ( const MCInst MI,
int  AddOffset 
)
static