LLVM  6.0.0svn
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
llvm::SystemZConstantPoolValue Class Reference

A SystemZ-specific constant pool value. More...

#include "Target/SystemZ/SystemZConstantPoolValue.h"

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

Public Member Functions

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

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 module IDs or offsets of thread-local variables (written x, x, x, or x).

Definition at line 33 of file SystemZConstantPoolValue.h.

Constructor & Destructor Documentation

◆ SystemZConstantPoolValue()

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

Definition at line 19 of file SystemZConstantPoolValue.cpp.

Referenced by Create().

Member Function Documentation

◆ addSelectionDAGCSEId()

void SystemZConstantPoolValue::addSelectionDAGCSEId ( FoldingSetNodeID ID)
overridevirtual

◆ Create()

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

Definition at line 24 of file SystemZConstantPoolValue.cpp.

References getExistingMachineCPValue(), and SystemZConstantPoolValue().

Referenced by getAbsolute().

◆ getExistingMachineCPValue()

int SystemZConstantPoolValue::getExistingMachineCPValue ( MachineConstantPool CP,
unsigned  Alignment 
)
overridevirtual

Implements llvm::MachineConstantPoolValue.

Definition at line 30 of file SystemZConstantPoolValue.cpp.

References E, llvm::MachineConstantPool::getConstants(), and I.

Referenced by Create().

◆ getGlobalValue()

const GlobalValue* llvm::SystemZConstantPoolValue::getGlobalValue ( ) const
inline

Definition at line 52 of file SystemZConstantPoolValue.h.

◆ getModifier()

SystemZCP::SystemZCPModifier llvm::SystemZConstantPoolValue::getModifier ( ) const
inline

Definition at line 53 of file SystemZConstantPoolValue.h.

◆ print()

void SystemZConstantPoolValue::print ( raw_ostream O) const
overridevirtual

print - Implement operator<<

Implements llvm::MachineConstantPoolValue.

Definition at line 50 of file SystemZConstantPoolValue.cpp.


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