LLVM  3.7.0
Public Member Functions | List of all members
llvm::MachineConstantPoolValue Class Referenceabstract

Abstract base class for all machine specific constantpool value subclasses. More...

#include <MachineConstantPool.h>

Inheritance diagram for llvm::MachineConstantPoolValue:
[legend]

Public Member Functions

 MachineConstantPoolValue (Type *ty)
 
virtual ~MachineConstantPoolValue ()
 
TypegetType () const
 getType - get type of this MachineConstantPoolValue. More...
 
virtual unsigned getRelocationInfo () const =0
 getRelocationInfo - This method classifies the entry according to whether or not it may generate a relocation entry. More...
 
virtual int getExistingMachineCPValue (MachineConstantPool *CP, unsigned Alignment)=0
 
virtual void addSelectionDAGCSEId (FoldingSetNodeID &ID)=0
 
virtual void print (raw_ostream &O) const =0
 print - Implement operator<< More...
 

Detailed Description

Abstract base class for all machine specific constantpool value subclasses.

Definition at line 37 of file MachineConstantPool.h.

Constructor & Destructor Documentation

llvm::MachineConstantPoolValue::MachineConstantPoolValue ( Type ty)
inlineexplicit

Definition at line 42 of file MachineConstantPool.h.

virtual llvm::MachineConstantPoolValue::~MachineConstantPoolValue ( )
inlinevirtual

Definition at line 43 of file MachineConstantPool.h.

Member Function Documentation

virtual void llvm::MachineConstantPoolValue::addSelectionDAGCSEId ( FoldingSetNodeID ID)
pure virtual
virtual int llvm::MachineConstantPoolValue::getExistingMachineCPValue ( MachineConstantPool CP,
unsigned  Alignment 
)
pure virtual
virtual unsigned llvm::MachineConstantPoolValue::getRelocationInfo ( ) const
pure 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().

Implemented in llvm::ARMConstantPoolValue, and llvm::SystemZConstantPoolValue.

Type* llvm::MachineConstantPoolValue::getType ( ) const
inline
virtual void llvm::MachineConstantPoolValue::print ( raw_ostream O) const
pure virtual

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