LLVM API Documentation

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

#include <SystemZConstantPoolValue.h>

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

Public Member Functions

virtual unsigned getRelocationInfo () const LLVM_OVERRIDE
 
virtual int getExistingMachineCPValue (MachineConstantPool *CP, unsigned Alignment) LLVM_OVERRIDE
 
virtual void addSelectionDAGCSEId (FoldingSetNodeID &ID) LLVM_OVERRIDE
 
virtual void print (raw_ostream &O) const LLVM_OVERRIDE
 print - Implement operator<< More...
 
const GlobalValuegetGlobalValue () const
 
SystemZCP::SystemZCPModifier getModifier () const
 
- Public Member Functions inherited from llvm::MachineConstantPoolValue
 MachineConstantPoolValue (Type *ty)
 
virtual ~MachineConstantPoolValue ()
 
TypegetType () const
 

Static Public Member Functions

static SystemZConstantPoolValueCreate (const GlobalValue *GV, SystemZCP::SystemZCPModifier Modifier)
 

Protected Member Functions

 SystemZConstantPoolValue (const GlobalValue *GV, SystemZCP::SystemZCPModifier Modifier)
 

Detailed Description

A SystemZ-specific constant pool value. At present, the only defined constant pool values are offsets of thread-local variables (written x).

Definition at line 29 of file SystemZConstantPoolValue.h.

Constructor & Destructor Documentation

SystemZConstantPoolValue::SystemZConstantPoolValue ( const GlobalValue GV,
SystemZCP::SystemZCPModifier  Modifier 
)
protected

Definition at line 19 of file SystemZConstantPoolValue.cpp.

Referenced by Create().

Member Function Documentation

void SystemZConstantPoolValue::addSelectionDAGCSEId ( FoldingSetNodeID ID)
virtual
SystemZConstantPoolValue * SystemZConstantPoolValue::Create ( const GlobalValue GV,
SystemZCP::SystemZCPModifier  Modifier 
)
static

Definition at line 24 of file SystemZConstantPoolValue.cpp.

References SystemZConstantPoolValue().

int SystemZConstantPoolValue::getExistingMachineCPValue ( MachineConstantPool CP,
unsigned  Alignment 
)
virtual
const GlobalValue* llvm::SystemZConstantPoolValue::getGlobalValue ( ) const
inline
SystemZCP::SystemZCPModifier llvm::SystemZConstantPoolValue::getModifier ( ) const
inline
unsigned SystemZConstantPoolValue::getRelocationInfo ( ) const
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 29 of file SystemZConstantPoolValue.cpp.

References llvm_unreachable, and llvm::SystemZCP::NTPOFF.

void SystemZConstantPoolValue::print ( raw_ostream O) const
virtual

print - Implement operator<<

Implements llvm::MachineConstantPoolValue.

Definition at line 60 of file SystemZConstantPoolValue.cpp.


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