LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

llvm::ARMConstantPoolValue Class Reference

#include <ARMConstantPoolValue.h>

Inheritance diagram for llvm::ARMConstantPoolValue:

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

Collaboration graph
[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)
GlobalValuegetGV () 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)
virtual void print (raw_ostream &O) const
 print - Implement operator<<

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 34 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 21 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 30 of file ARMConstantPoolValue.cpp.

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

Definition at line 39 of file ARMConstantPoolValue.cpp.


Member Function Documentation

void ARMConstantPoolValue::AddSelectionDAGCSEId FoldingSetNodeID ID  )  [virtual]
 

Implements llvm::MachineConstantPoolValue.

Definition at line 68 of file ARMConstantPoolValue.cpp.

References llvm::FoldingSetNodeID::AddInteger(), and llvm::FoldingSetNodeID::AddPointer().

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

Implements llvm::MachineConstantPoolValue.

Definition at line 46 of file ARMConstantPoolValue.cpp.

References llvm::MachineConstantPool::getConstants(), GV, Kind, LabelId, PCAdjust, and S.

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

Definition at line 57 of file ARMConstantPoolValue.h.

Referenced by ARMAsmPrinter::EmitMachineConstantPoolValue(), and ARMAsmPrinter::printCPInstOperand().

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

Definition at line 62 of file ARMConstantPoolValue.h.

Referenced by ARMAsmPrinter::EmitMachineConstantPoolValue().

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

Definition at line 59 of file ARMConstantPoolValue.h.

Referenced by ARMAsmPrinter::EmitMachineConstantPoolValue().

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

Definition at line 65 of file ARMConstantPoolValue.h.

Referenced by ARMAsmPrinter::EmitMachineConstantPoolValue(), and ARMAsmPrinter::printCPInstOperand().

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

Definition at line 58 of file ARMConstantPoolValue.h.

Referenced by ARMAsmPrinter::EmitMachineConstantPoolValue().

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

Definition at line 60 of file ARMConstantPoolValue.h.

Referenced by ARMAsmPrinter::EmitMachineConstantPoolValue().

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

Definition at line 63 of file ARMConstantPoolValue.h.

Referenced by ARMAsmPrinter::EmitMachineConstantPoolValue(), and print().

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

Definition at line 64 of file ARMConstantPoolValue.h.

Referenced by ARMAsmPrinter::EmitMachineConstantPoolValue(), and print().

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

Definition at line 61 of file ARMConstantPoolValue.h.

Referenced by ARMAsmPrinter::EmitMachineConstantPoolValue().

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

print - Implement operator<<

Implements llvm::MachineConstantPoolValue.

Definition at line 76 of file ARMConstantPoolValue.cpp.

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


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


This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.