LLVM 20.0.0git
Public Types | Public Member Functions | Protected Member Functions | List of all members
llvm::AMDGPUPseudoSourceValue Class Reference

#include "Target/AMDGPU/SIMachineFunctionInfo.h"

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

Public Types

enum  AMDGPUPSVKind : unsigned { PSVImage = PseudoSourceValue::TargetCustom , GWSResource }
 
- Public Types inherited from llvm::PseudoSourceValue
enum  PSVKind : unsigned {
  Stack , GOT , JumpTable , ConstantPool ,
  FixedStack , GlobalValueCallEntry , ExternalSymbolCallEntry , TargetCustom
}
 

Public Member Functions

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.
 

Protected Member Functions

 AMDGPUPseudoSourceValue (unsigned Kind, const AMDGPUTargetMachine &TM)
 

Detailed Description

Definition at line 38 of file SIMachineFunctionInfo.h.

Member Enumeration Documentation

◆ AMDGPUPSVKind

Enumerator
PSVImage 
GWSResource 

Definition at line 40 of file SIMachineFunctionInfo.h.

Constructor & Destructor Documentation

◆ AMDGPUPseudoSourceValue()

llvm::AMDGPUPseudoSourceValue::AMDGPUPseudoSourceValue ( unsigned  Kind,
const AMDGPUTargetMachine TM 
)
inlineprotected

Definition at line 46 of file SIMachineFunctionInfo.h.

Member Function Documentation

◆ isAliased()

bool llvm::AMDGPUPseudoSourceValue::isAliased ( const MachineFrameInfo ) const
inlineoverridevirtual

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

Reimplemented from llvm::PseudoSourceValue.

Reimplemented in llvm::AMDGPUGWSResourcePseudoSourceValue.

Definition at line 56 of file SIMachineFunctionInfo.h.

◆ isConstant()

bool llvm::AMDGPUPseudoSourceValue::isConstant ( const MachineFrameInfo ) const
inlineoverridevirtual

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

Reimplemented from llvm::PseudoSourceValue.

Definition at line 50 of file SIMachineFunctionInfo.h.

◆ mayAlias()

bool llvm::AMDGPUPseudoSourceValue::mayAlias ( const MachineFrameInfo ) const
inlineoverridevirtual

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

Reimplemented from llvm::PseudoSourceValue.

Reimplemented in llvm::AMDGPUGWSResourcePseudoSourceValue.

Definition at line 60 of file SIMachineFunctionInfo.h.


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