LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
llvm::MachineConstantPoolValue Class Referenceabstract

#include <MachineConstantPool.h>

Inheritance diagram for llvm::MachineConstantPoolValue:
Inheritance graph
[legend]

Public Member Functions

 MachineConstantPoolValue (Type *ty)
 
virtual ~MachineConstantPoolValue ()
 
TypegetType () const
 
virtual unsigned getRelocationInfo () const =0
 
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 36 of file MachineConstantPool.h.

Constructor & Destructor Documentation

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

Definition at line 41 of file MachineConstantPool.h.

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

Definition at line 42 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: