LLVM 22.0.0git
llvm::PseudoSourceValueManager Class Reference

Manages creation of pseudo source values. More...

#include "llvm/CodeGen/PseudoSourceValueManager.h"

Public Member Functions

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

Detailed Description

Manages creation of pseudo source values.

Definition at line 28 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.

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: