33 MachineOperandType MOTy,
79 unsigned offset)
const {
96 return LowerSymbolOperand(MO, MOTy, offset);
const GlobalValue * getGlobal() const
static const MCSymbolRefExpr * create(const MCSymbol *Symbol, MCContext &Ctx)
MCSymbol * getSymbol(const GlobalValue *GV) const
MachineBasicBlock * getMBB() const
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
XCoreMCInstLower(class AsmPrinter &asmprinter)
static MCOperand createExpr(const MCExpr *Val)
Address of indexed Jump Table for switch.
MCOperand LowerOperand(const MachineOperand &MO, unsigned offset=0) const
MachineBasicBlock reference.
const char * getSymbolName() const
print alias Alias Set Printer
Mask of preserved registers.
static MCOperand createReg(unsigned Reg)
Name of external global symbol.
MCSymbol * GetJTISymbol(unsigned JTID, bool isLinkerPrivate=false) const
Return the symbol for the specified jump table entry.
Represent a reference to a symbol from inside an expression.
unsigned getNumOperands() const
Access to explicit operands of the instruction.
Context object for machine code objects.
void Initialize(MCContext *C)
static const MCBinaryExpr * createAdd(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx)
Instances of this class represent a single low-level machine instruction.
unsigned getOpcode() const
Returns the opcode of this MachineInstr.
Address of a global value.
const MachineOperand & getOperand(unsigned i) const
This class is intended to be used as a driving class for all asm writers.
Address of a basic block.
int64_t getOffset() const
Return the offset from the symbol in this operand.
Binary assembler expressions.
MCSymbol * getSymbol() const
Return the MCSymbol for this basic block.
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
void setOpcode(unsigned Op)
MachineOperand class - Representation of each machine instruction operand.
static GCRegistry::Add< ShadowStackGC > C("shadow-stack","Very portable GC for uncooperative code generators")
Representation of each machine instruction.
MachineOperandType getType() const
getType - Returns the MachineOperandType for this operand.
MCSymbol * GetBlockAddressSymbol(const BlockAddress *BA) const
Return the MCSymbol used to satisfy BlockAddress uses of the specified basic block.
virtual MCSymbol * GetCPISymbol(unsigned CPID) const
Return the symbol for the specified constant pool entry.
unsigned getReg() const
getReg - Returns the register number.
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
void addOperand(const MCOperand &Op)
const BlockAddress * getBlockAddress() const
Address of indexed Constant in Constant Pool.
Instances of this class represent operands of the MCInst class.
MCSymbol * GetExternalSymbolSymbol(StringRef Sym) const
Return the MCSymbol for the specified ExternalSymbol.
static MCOperand createImm(int64_t Val)
static const MCConstantExpr * create(int64_t Value, MCContext &Ctx)
void Lower(const MachineInstr *MI, MCInst &OutMI) const