Go to the documentation of this file.
30 MachineOperandType MOTy,
31 unsigned Offset)
const {
77 unsigned Offset)
const {
96 return LowerSymbolOperand(MO, MOTy, Offset);
ARCMCInstLower(MCContext *C, AsmPrinter &asmprinter)
@ MO_BlockAddress
Address of a basic block.
@ MO_Immediate
Immediate operand.
This is an optimization pass for GlobalISel generic memory operations.
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
static MCOperand createExpr(const MCExpr *Val)
const GlobalValue * getGlobal() const
static MCOperand createImm(int64_t Val)
Context object for machine code objects.
static const MCConstantExpr * create(int64_t Value, MCContext &Ctx, bool PrintInHex=false, unsigned SizeInBytes=0)
void Lower(const MachineInstr *MI, MCInst &OutMI) const
const BlockAddress * getBlockAddress() const
Instances of this class represent a single low-level machine instruction.
Binary assembler expressions.
int64_t getOffset() const
Return the offset from the symbol in this operand.
@ MO_Register
Register operand.
void setOpcode(unsigned Op)
MCSymbol * getSymbol() const
Return the MCSymbol for this basic block.
print alias Alias Set Printer
@ MO_GlobalAddress
Address of a global value.
(vector float) vec_cmpeq(*A, *B) C
MachineOperand class - Representation of each machine instruction operand.
void addOperand(const MCOperand Op)
virtual MCSymbol * GetCPISymbol(unsigned CPID) const
Return the symbol for the specified constant pool entry.
Representation of each machine instruction.
MCSymbol * GetBlockAddressSymbol(const BlockAddress *BA) const
Return the MCSymbol used to satisfy BlockAddress uses of the specified basic block.
MachineOperandType getType() const
getType - Returns the MachineOperandType for this operand.
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
MCSymbol * getSymbol(const GlobalValue *GV) const
Register getReg() const
getReg - Returns the register number.
Represent a reference to a symbol from inside an expression.
@ MO_JumpTableIndex
Address of indexed Jump Table for switch.
static const MCBinaryExpr * createAdd(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx)
MCSymbol * GetExternalSymbolSymbol(StringRef Sym) const
Return the MCSymbol for the specified ExternalSymbol.
MachineBasicBlock * getMBB() const
MCSymbol * GetJTISymbol(unsigned JTID, bool isLinkerPrivate=false) const
Return the symbol for the specified jump table entry.
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
static MCOperand createReg(unsigned Reg)
@ MO_MachineBasicBlock
MachineBasicBlock reference.
MCOperand LowerOperand(const MachineOperand &MO, unsigned offset=0) const
@ MO_ExternalSymbol
Name of external global symbol.
This class is intended to be used as a driving class for all asm writers.
static const MCSymbolRefExpr * create(const MCSymbol *Symbol, MCContext &Ctx)
const char * getSymbolName() const
Instances of this class represent operands of the MCInst class.
@ MO_RegisterMask
Mask of preserved registers.
@ MO_ConstantPoolIndex
Address of indexed Constant in Constant Pool.