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

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

#include "llvm/CodeGen/MachineConstantPool.h"

Inheritance diagram for llvm::MachineConstantPoolValue:
Inheritance graph

Public Member Functions

 MachineConstantPoolValue (Type *ty)
virtual ~MachineConstantPoolValue ()=default
TypegetType () const
virtual unsigned getSizeInBytes (const DataLayout &DL) const
virtual int getExistingMachineCPValue (MachineConstantPool *CP, Align Alignment)=0
virtual void addSelectionDAGCSEId (FoldingSetNodeID &ID)=0
virtual void print (raw_ostream &O) const =0
 print - Implement operator<<

Detailed Description

Abstract base class for all machine specific constantpool value subclasses.

Definition at line 35 of file MachineConstantPool.h.

Constructor & Destructor Documentation

◆ MachineConstantPoolValue()

llvm::MachineConstantPoolValue::MachineConstantPoolValue ( Type ty)

Definition at line 41 of file MachineConstantPool.h.

◆ ~MachineConstantPoolValue()

virtual llvm::MachineConstantPoolValue::~MachineConstantPoolValue ( )

Member Function Documentation

◆ addSelectionDAGCSEId()

virtual void llvm::MachineConstantPoolValue::addSelectionDAGCSEId ( FoldingSetNodeID ID)
pure virtual

◆ getExistingMachineCPValue()

virtual int llvm::MachineConstantPoolValue::getExistingMachineCPValue ( MachineConstantPool CP,
Align  Alignment 
pure virtual

◆ getSizeInBytes()

unsigned MachineConstantPoolValue::getSizeInBytes ( const DataLayout DL) const

Definition at line 1375 of file MachineFunction.cpp.

References DL.

◆ getType()

Type * llvm::MachineConstantPoolValue::getType ( ) const

◆ print()

virtual void llvm::MachineConstantPoolValue::print ( raw_ostream O) const
pure virtual

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