LLVM  10.0.0svn
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]
Collaboration diagram for llvm::AMDGPUPseudoSourceValue:
Collaboration graph
[legend]

Public Types

enum  AMDGPUPSVKind : unsigned { PSVBuffer = PseudoSourceValue::TargetCustom, PSVImage, 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. 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
 

Protected Member Functions

 AMDGPUPseudoSourceValue (unsigned Kind, const TargetInstrInfo &TII)
 

Detailed Description

Definition at line 43 of file SIMachineFunctionInfo.h.

Member Enumeration Documentation

◆ AMDGPUPSVKind

Enumerator
PSVBuffer 
PSVImage 
GWSResource 

Definition at line 45 of file SIMachineFunctionInfo.h.

Constructor & Destructor Documentation

◆ AMDGPUPseudoSourceValue()

llvm::AMDGPUPseudoSourceValue::AMDGPUPseudoSourceValue ( unsigned  Kind,
const TargetInstrInfo TII 
)
inlineprotected

Definition at line 52 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 62 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 56 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 66 of file SIMachineFunctionInfo.h.


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