LLVM 20.0.0git
Public Member Functions | List of all members
llvm::PseudoSourceValueManager Class Reference

Manages creation of pseudo source values. More...

#include "llvm/CodeGen/PseudoSourceValueManager.h"

Public Member Functions

 PseudoSourceValueManager (const TargetMachine &TM)
 
const PseudoSourceValuegetStack ()
 Return a pseudo source value referencing the area below the stack frame of a function, e.g., the argument space.
 
const PseudoSourceValuegetGOT ()
 Return a pseudo source value referencing the global offset table (or something the like).
 
const PseudoSourceValuegetConstantPool ()
 Return a pseudo source value referencing the constant pool.
 
const PseudoSourceValuegetJumpTable ()
 Return a pseudo source value referencing a jump table.
 
const PseudoSourceValuegetFixedStack (int FI)
 Return a pseudo source value referencing a fixed stack frame entry, e.g., a spill slot.
 
const PseudoSourceValuegetGlobalValueCallEntry (const GlobalValue *GV)
 
const PseudoSourceValuegetExternalSymbolCallEntry (const char *ES)
 

Detailed Description

Manages creation of pseudo source values.

Definition at line 27 of file PseudoSourceValueManager.h.

Constructor & Destructor Documentation

◆ PseudoSourceValueManager()

PseudoSourceValueManager::PseudoSourceValueManager ( const TargetMachine TM)

Definition at line 104 of file PseudoSourceValue.cpp.

Member Function Documentation

◆ getConstantPool()

const PseudoSourceValue * PseudoSourceValueManager::getConstantPool ( )

Return a pseudo source value referencing the constant pool.

Since constant pools are constant, this doesn't need to identify a specific constant pool entry.

Definition at line 116 of file PseudoSourceValue.cpp.

Referenced by llvm::MachinePointerInfo::getConstantPool().

◆ getExternalSymbolCallEntry()

const PseudoSourceValue * PseudoSourceValueManager::getExternalSymbolCallEntry ( const char ES)

Definition at line 147 of file PseudoSourceValue.cpp.

Referenced by llvm::MipsFunctionInfo::callPtrInfo().

◆ getFixedStack()

const PseudoSourceValue * PseudoSourceValueManager::getFixedStack ( int  FI)

Return a pseudo source value referencing a fixed stack frame entry, e.g., a spill slot.

Definition at line 125 of file PseudoSourceValue.cpp.

References Idx.

Referenced by llvm::MachinePointerInfo::getFixedStack().

◆ getGlobalValueCallEntry()

const PseudoSourceValue * PseudoSourceValueManager::getGlobalValueCallEntry ( const GlobalValue GV)

Definition at line 138 of file PseudoSourceValue.cpp.

Referenced by llvm::MipsFunctionInfo::callPtrInfo().

◆ getGOT()

const PseudoSourceValue * PseudoSourceValueManager::getGOT ( )

Return a pseudo source value referencing the global offset table (or something the like).

Definition at line 114 of file PseudoSourceValue.cpp.

Referenced by llvm::MachinePointerInfo::getGOT().

◆ getJumpTable()

const PseudoSourceValue * PseudoSourceValueManager::getJumpTable ( )

Return a pseudo source value referencing a jump table.

Since jump tables are constant, this doesn't need to identify a specific jump table.

Definition at line 120 of file PseudoSourceValue.cpp.

Referenced by llvm::MachinePointerInfo::getJumpTable().

◆ getStack()

const PseudoSourceValue * PseudoSourceValueManager::getStack ( )

Return a pseudo source value referencing the area below the stack frame of a function, e.g., the argument space.

Definition at line 110 of file PseudoSourceValue.cpp.

Referenced by llvm::MachinePointerInfo::getStack().


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