LLVM API Documentation
#include <MachineMemOperand.h>
Public Member Functions | |
MachinePointerInfo (const Value *v=0, int64_t offset=0) | |
MachinePointerInfo | getWithOffset (int64_t O) const |
unsigned | getAddrSpace () const |
Static Public Member Functions | |
static MachinePointerInfo | getConstantPool () |
static MachinePointerInfo | getFixedStack (int FI, int64_t offset=0) |
static MachinePointerInfo | getJumpTable () |
static MachinePointerInfo | getGOT () |
static MachinePointerInfo | getStack (int64_t Offset) |
getStack - stack pointer relative access. More... | |
Public Attributes | |
const Value * | V |
int64_t | Offset |
Offset - This is an offset from the base Value*. More... | |
MachinePointerInfo - This class contains a discriminated union of information about pointers in memory operands, relating them back to LLVM IR or to virtual locations (such as frame indices) that are exposed during codegen.
Definition at line 32 of file MachineMemOperand.h.
|
inlineexplicit |
Definition at line 41 of file MachineMemOperand.h.
Referenced by getWithOffset().
unsigned MachinePointerInfo::getAddrSpace | ( | ) | const |
getAddrSpace - Return the LLVM IR address space number that this pointer points into.
Definition at line 391 of file MachineInstr.cpp.
Referenced by AddNodeIDCustom(), llvm::X86SelectionDAGInfo::EmitTargetCodeForMemcpy(), llvm::X86SelectionDAGInfo::EmitTargetCodeForMemset(), llvm::MemSDNode::getAddressSpace(), llvm::SelectionDAG::getAtomic(), llvm::SelectionDAG::getIndexedStore(), llvm::SelectionDAG::getLoad(), llvm::SelectionDAG::getMemIntrinsicNode(), llvm::SelectionDAG::getStore(), and llvm::SelectionDAG::getTruncStore().
|
static |
getConstantPool - Return a MachinePointerInfo record that refers to the constant pool.
Definition at line 398 of file MachineInstr.cpp.
Referenced by llvm::X86TargetLowering::BuildFILD(), llvm::AArch64TargetLowering::LowerGlobalAddressELFSmall(), LowerSIGN_EXTEND_AVX512(), LowerVectorBroadcast(), and LowerZERO_EXTEND_AVX512().
|
static |
getFixedStack - Return a MachinePointerInfo record that refers to the the specified FrameIndex.
Definition at line 404 of file MachineInstr.cpp.
Referenced by llvm::addFrameReference(), llvm::X86TargetLowering::BuildFILD(), llvm::AArch64FrameLowering::emitFrameMemOps(), EmitTailCallStoreFPAndRetAddr(), EmitTailCallStoreRetAddr(), llvm::TargetInstrInfo::foldMemoryOperand(), llvm::MipsInstrInfo::GetMemOperand(), InferPointerInfo(), llvm::AArch64InstrInfo::loadRegFromStackSlot(), llvm::Thumb1InstrInfo::loadRegFromStackSlot(), llvm::Thumb2InstrInfo::loadRegFromStackSlot(), llvm::MSP430InstrInfo::loadRegFromStackSlot(), llvm::SparcInstrInfo::loadRegFromStackSlot(), llvm::ARMBaseInstrInfo::loadRegFromStackSlot(), llvm::PPCInstrInfo::loadRegFromStackSlot(), llvm::AArch64TargetLowering::LowerCall(), llvm::SystemZTargetLowering::LowerCall(), llvm::SelectionDAGBuilder::LowerCallTo(), llvm::AArch64TargetLowering::LowerFormalArguments(), llvm::SystemZTargetLowering::LowerFormalArguments(), llvm::SparcTargetLowering::LowerFormalArguments_64(), llvm::AArch64InstrInfo::storeRegToStackSlot(), llvm::Thumb1InstrInfo::storeRegToStackSlot(), llvm::Thumb2InstrInfo::storeRegToStackSlot(), llvm::MSP430InstrInfo::storeRegToStackSlot(), llvm::SparcInstrInfo::storeRegToStackSlot(), llvm::ARMBaseInstrInfo::storeRegToStackSlot(), llvm::PPCInstrInfo::storeRegToStackSlot(), StoreTailCallArgumentsToStackSlot(), and llvm::SelectionDAGBuilder::visitSPDescriptorParent().
|
static |
getGOT - Return a MachinePointerInfo record that refers to a GOT entry.
Definition at line 412 of file MachineInstr.cpp.
Referenced by llvm::MipsTargetLowering::getAddrLocal(), LowerToTLSExecModel(), and llvm::SparcTargetLowering::makeAddress().
|
static |
getJumpTable - Return a MachinePointerInfo record that refers to a jump table entry.
Definition at line 408 of file MachineInstr.cpp.
|
static |
getStack - stack pointer relative access.
Definition at line 416 of file MachineInstr.cpp.
Referenced by llvm::AArch64TargetLowering::LowerCall(), and llvm::AArch64TargetLowering::SaveVarArgRegisters().
|
inline |
Definition at line 44 of file MachineMemOperand.h.
References MachinePointerInfo(), Offset, and V.
Referenced by llvm::X86SelectionDAGInfo::EmitTargetCodeForMemcpy(), llvm::ARMSelectionDAGInfo::EmitTargetCodeForMemcpy(), llvm::X86SelectionDAGInfo::EmitTargetCodeForMemset(), llvm::SystemZSelectionDAGInfo::EmitTargetCodeForMemset(), ExpandUnalignedLoad(), ExpandUnalignedStore(), getMemcpyLoadsAndStores(), getMemmoveLoadsAndStores(), getMemsetStores(), llvm::PPCTargetLowering::PerformDAGCombine(), PerformSTORECombine(), ShrinkLoadReplaceStoreWithStore(), and llvm::TargetLowering::SimplifySetCC().
int64_t llvm::MachinePointerInfo::Offset |
Offset - This is an offset from the base Value*.
Definition at line 39 of file MachineMemOperand.h.
Referenced by llvm::MachineMemOperand::getOffset(), getWithOffset(), and llvm::MachineMemOperand::setOffset().
const Value* llvm::MachinePointerInfo::V |
V - This is the IR pointer value for the access, or it is null if unknown. If this is null, then the access is to a pointer in the default address space.
Definition at line 36 of file MachineMemOperand.h.
Referenced by llvm::SelectionDAG::getLoad(), llvm::SelectionDAG::getStore(), llvm::SelectionDAG::getTruncStore(), llvm::MachineMemOperand::getValue(), getWithOffset(), and llvm::MachineMemOperand::setValue().