LLVM API Documentation

llvm::ARMConstantPoolValue Class Reference

#include <ARMConstantPoolValue.h>

Inheritance diagram for llvm::ARMConstantPoolValue:
[legend]
Collaboration diagram for llvm::ARMConstantPoolValue:
[legend]

List of all members.

Public Member Functions

 ARMConstantPoolValue (GlobalValue *gv, unsigned id, ARMCP::ARMCPKind Kind=ARMCP::CPValue, unsigned char PCAdj=0, const char *Modifier=NULL, bool AddCurrentAddress=false)
 ARMConstantPoolValue (const char *s, unsigned id, ARMCP::ARMCPKind Kind=ARMCP::CPValue, unsigned char PCAdj=0, const char *Modifier=NULL, bool AddCurrentAddress=false)
 ARMConstantPoolValue (GlobalValue *GV, ARMCP::ARMCPKind Kind, const char *Modifier)
GlobalValue * getGV () const
const char * getSymbol () const
const char * getModifier () const
bool hasModifier () const
bool mustAddCurrentAddress () const
unsigned getLabelId () const
bool isNonLazyPointer () const
bool isStub () const
unsigned char getPCAdjustment () const
virtual int getExistingMachineCPValue (MachineConstantPool *CP, unsigned Alignment)
virtual void AddSelectionDAGCSEId (FoldingSetNodeID &ID)
void print (std::ostream *O) const
void print (std::ostream &O) const
void print (raw_ostream *O) const
void print (raw_ostream &O) const
 print - Implement operator<<
void dump () const


Detailed Description

ARMConstantPoolValue - ARM specific constantpool value. This is used to represent PC relative displacement between the address of the load instruction and the global value being loaded, i.e. (&GV-(LPIC+8)).

Definition at line 35 of file ARMConstantPoolValue.h.


Constructor & Destructor Documentation

ARMConstantPoolValue::ARMConstantPoolValue ( GlobalValue *  gv,
unsigned  id,
ARMCP::ARMCPKind  Kind = ARMCP::CPValue,
unsigned char  PCAdj = 0,
const char *  Modifier = NULL,
bool  AddCurrentAddress = false 
)

Definition at line 23 of file ARMConstantPoolValue.cpp.

ARMConstantPoolValue::ARMConstantPoolValue ( const char *  s,
unsigned  id,
ARMCP::ARMCPKind  Kind = ARMCP::CPValue,
unsigned char  PCAdj = 0,
const char *  Modifier = NULL,
bool  AddCurrentAddress = false 
)

Definition at line 32 of file ARMConstantPoolValue.cpp.

ARMConstantPoolValue::ARMConstantPoolValue ( GlobalValue *  GV,
ARMCP::ARMCPKind  Kind,
const char *  Modifier 
)

Definition at line 41 of file ARMConstantPoolValue.cpp.


Member Function Documentation

GlobalValue* llvm::ARMConstantPoolValue::getGV (  )  const [inline]

Definition at line 58 of file ARMConstantPoolValue.h.

const char* llvm::ARMConstantPoolValue::getSymbol (  )  const [inline]

Definition at line 59 of file ARMConstantPoolValue.h.

const char* llvm::ARMConstantPoolValue::getModifier (  )  const [inline]

Definition at line 60 of file ARMConstantPoolValue.h.

bool llvm::ARMConstantPoolValue::hasModifier (  )  const [inline]

Definition at line 61 of file ARMConstantPoolValue.h.

bool llvm::ARMConstantPoolValue::mustAddCurrentAddress (  )  const [inline]

Definition at line 62 of file ARMConstantPoolValue.h.

unsigned llvm::ARMConstantPoolValue::getLabelId (  )  const [inline]

Definition at line 63 of file ARMConstantPoolValue.h.

bool llvm::ARMConstantPoolValue::isNonLazyPointer (  )  const [inline]

Definition at line 64 of file ARMConstantPoolValue.h.

References llvm::ARMCP::CPNonLazyPtr.

Referenced by print().

bool llvm::ARMConstantPoolValue::isStub (  )  const [inline]

Definition at line 65 of file ARMConstantPoolValue.h.

References llvm::ARMCP::CPStub.

Referenced by print().

unsigned char llvm::ARMConstantPoolValue::getPCAdjustment (  )  const [inline]

Definition at line 66 of file ARMConstantPoolValue.h.

int ARMConstantPoolValue::getExistingMachineCPValue ( MachineConstantPool *  CP,
unsigned  Alignment 
) [virtual]

void ARMConstantPoolValue::AddSelectionDAGCSEId ( FoldingSetNodeID &  ID  )  [virtual]

void llvm::ARMConstantPoolValue::print ( std::ostream *  O  )  const [inline]

Definition at line 73 of file ARMConstantPoolValue.h.

Referenced by llvm::operator<<(), and print().

void ARMConstantPoolValue::print ( std::ostream &  O  )  const

Definition at line 82 of file ARMConstantPoolValue.cpp.

References print().

void llvm::ARMConstantPoolValue::print ( raw_ostream *  O  )  const [inline]

Definition at line 75 of file ARMConstantPoolValue.h.

References print().

void ARMConstantPoolValue::print ( raw_ostream &  O  )  const [virtual]

print - Implement operator<<

Implements llvm::MachineConstantPoolValue.

Definition at line 87 of file ARMConstantPoolValue.cpp.

References llvm::Value::getName(), isNonLazyPointer(), and isStub().

void ARMConstantPoolValue::dump (  )  const

Definition at line 78 of file ARMConstantPoolValue.cpp.

References llvm::cerr().


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