LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
llvm::MachinePointerInfo Struct Reference

#include <MachineMemOperand.h>

Collaboration diagram for llvm::MachinePointerInfo:
Collaboration graph
[legend]

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 ValueV
 
int64_t Offset
 Offset - This is an offset from the base Value*. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

llvm::MachinePointerInfo::MachinePointerInfo ( const Value v = 0,
int64_t  offset = 0 
)
inlineexplicit

Definition at line 41 of file MachineMemOperand.h.

Referenced by getWithOffset().

Member Function Documentation

unsigned MachinePointerInfo::getAddrSpace ( ) const
MachinePointerInfo MachinePointerInfo::getConstantPool ( )
static
MachinePointerInfo MachinePointerInfo::getFixedStack ( int  FI,
int64_t  offset = 0 
)
static
MachinePointerInfo MachinePointerInfo::getGOT ( )
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().

MachinePointerInfo MachinePointerInfo::getJumpTable ( )
static

getJumpTable - Return a MachinePointerInfo record that refers to a jump table entry.

Definition at line 408 of file MachineInstr.cpp.

MachinePointerInfo MachinePointerInfo::getStack ( int64_t  Offset)
static

getStack - stack pointer relative access.

Definition at line 416 of file MachineInstr.cpp.

Referenced by llvm::AArch64TargetLowering::LowerCall(), and llvm::AArch64TargetLowering::SaveVarArgRegisters().

MachinePointerInfo llvm::MachinePointerInfo::getWithOffset ( int64_t  O) const
inline

Member Data Documentation

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().


The documentation for this struct was generated from the following files: