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, unsigned char PCAdj=0, const char *Modifier=NULL, bool AddCurrentAddress=false)
 ARMConstantPoolValue (LLVMContext &C, const char *s, unsigned id, unsigned char PCAdj=0, const char *Modifier=NULL, bool AddCurrentAddress=false)
 ARMConstantPoolValue (GlobalValue *GV, const char *Modifier)
 ARMConstantPoolValue ()
 ~ARMConstantPoolValue ()
GlobalValue * getGV () const
const char * getSymbol () const
const char * getModifier () const
bool hasModifier () const
bool mustAddCurrentAddress () const
unsigned getLabelId () const
unsigned char getPCAdjustment () const
virtual unsigned getRelocationInfo () 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 28 of file ARMConstantPoolValue.h.


Constructor & Destructor Documentation

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

Definition at line 23 of file ARMConstantPoolValue.cpp.

ARMConstantPoolValue::ARMConstantPoolValue ( LLVMContext &  C,
const char *  s,
unsigned  id,
unsigned char  PCAdj = 0,
const char *  Modifier = NULL,
bool  AddCurrentAddress = false 
)

Definition at line 31 of file ARMConstantPoolValue.cpp.

ARMConstantPoolValue::ARMConstantPoolValue ( GlobalValue *  GV,
const char *  Modifier 
)

Definition at line 40 of file ARMConstantPoolValue.cpp.

llvm::ARMConstantPoolValue::ARMConstantPoolValue (  ) 

ARMConstantPoolValue::~ARMConstantPoolValue (  ) 

Definition at line 65 of file ARMConstantPoolValue.cpp.


Member Function Documentation

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

Definition at line 49 of file ARMConstantPoolValue.h.

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

Definition at line 50 of file ARMConstantPoolValue.h.

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

Definition at line 51 of file ARMConstantPoolValue.h.

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

Definition at line 52 of file ARMConstantPoolValue.h.

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

Definition at line 53 of file ARMConstantPoolValue.h.

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

Definition at line 54 of file ARMConstantPoolValue.h.

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

Definition at line 55 of file ARMConstantPoolValue.h.

virtual unsigned llvm::ARMConstantPoolValue::getRelocationInfo (  )  const [inline, virtual]

getRelocationInfo - This method classifies the entry according to whether or not it may generate a relocation entry. This must be conservative, so if it might codegen to a relocatable entry, it should say so. The return values are the same as Constant::getRelocationInfo().

Implements llvm::MachineConstantPoolValue.

Definition at line 57 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 69 of file ARMConstantPoolValue.h.

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

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

Definition at line 81 of file ARMConstantPoolValue.cpp.

References print().

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

Definition at line 71 of file ARMConstantPoolValue.h.

References print().

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

print - Implement operator<<

Implements llvm::MachineConstantPoolValue.

Definition at line 86 of file ARMConstantPoolValue.cpp.

References llvm::Value::getName().

void ARMConstantPoolValue::dump (  )  const

Definition at line 77 of file ARMConstantPoolValue.cpp.

References llvm::cerr().


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