LLVM 19.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::GlobalValuePseudoSourceValue Class Reference

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

#include "llvm/CodeGen/PseudoSourceValue.h"

Inheritance diagram for llvm::GlobalValuePseudoSourceValue:
Inheritance graph
[legend]

Public Member Functions

 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
 
virtual bool isConstant (const MachineFrameInfo *) const
 Test whether the memory pointed to by this PseudoSourceValue has a constant value.
 
virtual bool isAliased (const MachineFrameInfo *) const
 Test whether the memory pointed to by this PseudoSourceValue may also be pointed to by an LLVM IR Value.
 
virtual bool mayAlias (const MachineFrameInfo *) const
 Return true if the memory pointed to by this PseudoSourceValue can ever alias an LLVM IR Value.
 

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 123 of file PseudoSourceValue.h.

Constructor & Destructor Documentation

◆ GlobalValuePseudoSourceValue()

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

Definition at line 96 of file PseudoSourceValue.cpp.

Member Function Documentation

◆ classof()

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

◆ getValue()

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

Definition at line 133 of file PseudoSourceValue.h.


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