106 assert(!MO.
getSubReg() &&
"Subregs should be eliminated!");
113 assert(MO.
getFPImm()->
isZero() &&
"Only fp imm 0.0 is supported");
const GlobalValue * getGlobal() const
MCSymbol * getSymbol(const GlobalValue *GV) const
static MCOperand CreateReg(unsigned Reg)
const ConstantFP * getFPImm() const
MachineBasicBlock * getMBB() const
static const MCConstantExpr * Create(int64_t Value, MCContext &Ctx)
void LowerAArch64MachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI, AArch64AsmPrinter &AP)
static MCOperand CreateExpr(const MCExpr *Val)
static const AArch64MCExpr * CreateTLSDesc(const MCExpr *Expr, MCContext &Ctx)
const char * getSymbolName() const
Address of indexed Jump Table for switch.
static const AArch64MCExpr * CreateDTPREL_G1(const MCExpr *Expr, MCContext &Ctx)
static const AArch64MCExpr * CreateABS_G2_NC(const MCExpr *Expr, MCContext &Ctx)
bool isJTI() const
isJTI - Tests if this is a MO_JumpTableIndex operand.
static const AArch64MCExpr * CreateGOTTPRELLo12(const MCExpr *Expr, MCContext &Ctx)
#define llvm_unreachable(msg)
static const AArch64MCExpr * CreateDTPREL_G0_NC(const MCExpr *Expr, MCContext &Ctx)
MCSymbol * GetJTISymbol(unsigned JTID, bool isLinkerPrivate=false) const
GetJTISymbol - Return the symbol for the specified jump table entry.
unsigned getNumOperands() const
static const AArch64MCExpr * CreateTPREL_G1(const MCExpr *Expr, MCContext &Ctx)
bool isZero() const
isZero - Return true if the value is positive or negative zero.
Address of indexed Constant in Constant Pool.
static const MCSymbolRefExpr * Create(const MCSymbol *Symbol, MCContext &Ctx)
unsigned getTargetFlags() const
static const AArch64MCExpr * CreateABS_G1_NC(const MCExpr *Expr, MCContext &Ctx)
const MachineOperand & getOperand(unsigned i) const
static const AArch64MCExpr * CreateLo12(const MCExpr *Expr, MCContext &Ctx)
static const AArch64MCExpr * CreateGOTLo12(const MCExpr *Expr, MCContext &Ctx)
int64_t getOffset() const
Floating-point immediate operand.
unsigned getSubReg() const
MCSymbol * getSymbol() const
void setOpcode(unsigned Op)
static const AArch64MCExpr * CreateTLSDescLo12(const MCExpr *Expr, MCContext &Ctx)
static const AArch64MCExpr * CreateTPREL_G0_NC(const MCExpr *Expr, MCContext &Ctx)
MCOperand lowerSymbolOperand(const MachineOperand &MO, const MCSymbol *Sym) const
static const MCBinaryExpr * CreateAdd(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx)
MachineOperandType getType() const
static MCOperand CreateImm(int64_t Val)
MCSymbol * GetBlockAddressSymbol(const BlockAddress *BA) const
static MCOperand CreateFPImm(double Val)
Mask of preserved registers.
static const AArch64MCExpr * CreateGOTTPREL(const MCExpr *Expr, MCContext &Ctx)
static const AArch64MCExpr * CreateABS_G0_NC(const MCExpr *Expr, MCContext &Ctx)
MCSymbol * GetCPISymbol(unsigned CPID) const
GetCPISymbol - Return the symbol for the specified constant pool entry.
unsigned getReg() const
getReg - Returns the register number.
static const AArch64MCExpr * CreateABS_G3(const MCExpr *Expr, MCContext &Ctx)
bool lowerOperand(const MachineOperand &MO, MCOperand &MCOp) const
Address of a basic block.
void addOperand(const MCOperand &Op)
const BlockAddress * getBlockAddress() const
static const AArch64MCExpr * CreateGOT(const MCExpr *Expr, MCContext &Ctx)
MCSymbol * GetExternalSymbolSymbol(StringRef Sym) const
MachineBasicBlock reference.
Address of a global value.
Name of external global symbol.