A parsed version of the target data layout string in and methods for querying it. ...
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 ...
static MCOperand createExpr(const MCExpr *Val)
Address of indexed Jump Table for switch.
const char * getPrivateGlobalPrefix() const
A raw_ostream that writes to an SmallVector or SmallString.
MachineBasicBlock reference.
unsigned getFunctionNumber() const
Return a unique ID for the current function.
const char * getSymbolName() const
MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const
Mask of preserved registers.
bool isJTI() const
isJTI - Tests if this is a MO_JumpTableIndex operand.
static MCOperand createReg(unsigned Reg)
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
Base class for the full range of assembler expressions which are needed for parsing.
Name of external global symbol.
unsigned getNumOperands() const
Access to explicit operands of the instruction.
MCSymbol * GetExternalSymbolSymbol(const MachineOperand &MO) const
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.
unsigned getTargetFlags() const
const MachineOperand & getOperand(unsigned i) const
TargetMachine & TM
Target machine description.
Address of a basic block.
int64_t getOffset() const
Return the offset from the symbol in this operand.
MCSymbol * GetGlobalAddressSymbol(const MachineOperand &MO) const
MCSymbol * getSymbol() const
getSymbol - Return the MCSymbol for this basic block.
void Lower(const MachineInstr *MI, MCInst &OutMI) const
void setOpcode(unsigned Op)
const DataLayout * getDataLayout() const
Deprecated in 3.7, will be removed in 3.8.
MachineOperand class - Representation of each machine instruction operand.
MCSymbol * GetJumpTableSymbol(const MachineOperand &MO) const
Representation of each machine instruction.
MachineOperandType getType() const
getType - Returns the MachineOperandType for this operand.
MCSymbol * getOrCreateSymbol(const Twine &Name)
Lookup the symbol inside with the specified Name.
MCSymbol * GetBlockAddressSymbol(const BlockAddress *BA) const
Return the MCSymbol used to satisfy BlockAddress uses of the specified basic block.
unsigned getReg() const
getReg - Returns the register number.
MCSymbol * GetConstantPoolIndexSymbol(const MachineOperand &MO) const
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)
MCSymbol * GetBlockAddressSymbol(const MachineOperand &MO) const