LLVM 22.0.0git
llvm::GlobalValuePseudoSourceValue Class Reference

A specialized pseudo source value for holding GlobalValue values. More...

#include "llvm/CodeGen/PseudoSourceValue.h"

Inheritance diagram for llvm::GlobalValuePseudoSourceValue:
[legend]

Public Member Functions

LLVM_ABI GlobalValuePseudoSourceValue (const GlobalValue *GV, const TargetMachine &TM)
const GlobalValuegetValue () const
Public Member Functions inherited from llvm::CallEntryPseudoSourceValue
bool isConstant (const MachineFrameInfo *) const override
 Test whether the memory pointed to by this PseudoSourceValue has a constant value.
bool isAliased (const MachineFrameInfo *) const override
 Test whether the memory pointed to by this PseudoSourceValue may also be pointed to by an LLVM IR Value.
bool mayAlias (const MachineFrameInfo *) const override
 Return true if the memory pointed to by this PseudoSourceValue can ever alias an LLVM IR Value.
Public Member Functions inherited from llvm::PseudoSourceValue
 PseudoSourceValue (unsigned Kind, const TargetMachine &TM)
virtual ~PseudoSourceValue ()
unsigned kind () const
bool isStack () const
bool isGOT () const
bool isConstantPool () const
bool isJumpTable () const
unsigned getAddressSpace () const
unsigned getTargetCustom () const

Static Public Member Functions

static bool classof (const PseudoSourceValue *V)

Additional Inherited Members

Public Types inherited from llvm::PseudoSourceValue
enum  PSVKind : unsigned {
  Stack , GOT , JumpTable , ConstantPool ,
  FixedStack , GlobalValueCallEntry , ExternalSymbolCallEntry , TargetCustom
}
Protected Member Functions inherited from llvm::CallEntryPseudoSourceValue
 CallEntryPseudoSourceValue (unsigned Kind, const TargetMachine &TM)

Detailed Description

A specialized pseudo source value for holding GlobalValue values.

Definition at line 125 of file PseudoSourceValue.h.

Constructor & Destructor Documentation

◆ GlobalValuePseudoSourceValue()

GlobalValuePseudoSourceValue::GlobalValuePseudoSourceValue ( const GlobalValue * GV,
const TargetMachine & TM )

Member Function Documentation

◆ classof()

bool llvm::GlobalValuePseudoSourceValue::classof ( const PseudoSourceValue * V)
inlinestatic

◆ getValue()

const GlobalValue * llvm::GlobalValuePseudoSourceValue::getValue ( ) const
inline

Definition at line 136 of file PseudoSourceValue.h.


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