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

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

#include "llvm/CodeGen/PseudoSourceValue.h"

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

Public Member Functions

 GlobalValuePseudoSourceValue (const GlobalValue *GV, const TargetInstrInfo &TII)
 
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. More...
 
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. More...
 
bool mayAlias (const MachineFrameInfo *) const override
 Return true if the memory pointed to by this PseudoSourceValue can ever alias an LLVM IR Value. More...
 
- Public Member Functions inherited from llvm::PseudoSourceValue
 PseudoSourceValue (unsigned Kind, const TargetInstrInfo &TII)
 
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 TargetInstrInfo &TII)
 

Detailed Description

A specialized pseudo soruce value for holding GlobalValue values.

Definition at line 128 of file PseudoSourceValue.h.

Constructor & Destructor Documentation

◆ GlobalValuePseudoSourceValue()

GlobalValuePseudoSourceValue::GlobalValuePseudoSourceValue ( const GlobalValue GV,
const TargetInstrInfo TII 
)

Definition at line 99 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 139 of file PseudoSourceValue.h.


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