class PseudoSourceValueManager

Declaration

class PseudoSourceValueManager { /* full declaration omitted */ };

Description

Manages creation of pseudo source values.

Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:155

Member Variables

private const llvm::TargetMachine& TM
private const llvm::PseudoSourceValue StackPSV
private const llvm::PseudoSourceValue GOTPSV
private const llvm::PseudoSourceValue JumpTablePSV
private const llvm::PseudoSourceValue ConstantPoolPSV
private std::map< int, std::unique_ptr<FixedStackPseudoSourceValue>> FSValues
private StringMap<std::unique_ptr< const ExternalSymbolPseudoSourceValue>> ExternalCallEntries
private ValueMap<const llvm::GlobalValue*, std::unique_ptr< const GlobalValuePseudoSourceValue>> GlobalCallEntries

Method Overview

Methods

PseudoSourceValueManager(
    const llvm::TargetMachine& TM)

Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:166

Parameters

const llvm::TargetMachine& TM

const llvm::PseudoSourceValue* getConstantPool()

Description

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.

Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:179

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

Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:191

Parameters

const char* ES

const llvm::PseudoSourceValue* getFixedStack(
    int FI)

Description

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

Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:187

Parameters

int FI

const llvm::PseudoSourceValue* getGOT()

Description

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

Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:174

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

Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:189

Parameters

const llvm::GlobalValue* GV

const llvm::PseudoSourceValue* getJumpTable()

Description

Return a pseudo source value referencing a jump table. Since jump tables are constant, this doesn't need to identify a specific jump table.

Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:183

const llvm::PseudoSourceValue* getStack()

Description

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

Declared at: llvm/include/llvm/CodeGen/PseudoSourceValue.h:170