class PseudoSourceValue

Declaration

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

Description

Special value supplied for machine level alias analysis. It indicates that a memory access references the functions stack frame (e.g., a spill slot), below the stack frame (e.g., argument space), or constant pool.

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

Member Variables

private unsigned int Kind
private unsigned int AddressSpace

Method Overview

Methods

PseudoSourceValue(unsigned int Kind,
                  const llvm::TargetMachine& TM)

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

Parameters

unsigned int Kind
const llvm::TargetMachine& TM

unsigned int getAddressSpace() const

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

unsigned int getTargetCustom() const

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

virtual bool isAliased(
    const llvm::MachineFrameInfo*) const

Description

Test whether the memory pointed to by this PseudoSourceValue may also be pointed to by an LLVM IR Value.

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

Parameters

const llvm::MachineFrameInfo*

virtual bool isConstant(
    const llvm::MachineFrameInfo*) const

Description

Test whether the memory pointed to by this PseudoSourceValue has a constant value.

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

Parameters

const llvm::MachineFrameInfo*

bool isConstantPool() const

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

bool isGOT() const

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

bool isJumpTable() const

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

bool isStack() const

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

unsigned int kind() const

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

virtual bool mayAlias(
    const llvm::MachineFrameInfo*) const

Description

Return true if the memory pointed to by this PseudoSourceValue can ever alias an LLVM IR Value.

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

Parameters

const llvm::MachineFrameInfo*

virtual void printCustom(
    llvm::raw_ostream& O) const

Description

Implement printing for PseudoSourceValue. This is called from Value::print or Value's operator < < .

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

Parameters

llvm::raw_ostream& O

virtual ~PseudoSourceValue()

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