39 if (!Ptr || isa<UndefValue>(Ptr) ||
40 isa<Constant>(Ptr) || isa<GlobalValue>(Ptr))
This class represents an incoming formal argument to a Function.
unsigned getAddrSpace() const
This class represents lattice values for constants.
Address space for 32-bit constant memory.
A description of a memory reference used in the backend.
TargetRegisterInfo interface that is implemented by all hw codegen targets.
MDNode * getMetadata(unsigned KindID) const
Get the metadata of given kind attached to this Instruction.
const Value * getValue() const
Return the base address of the memory access.
static bool isUniformMMO(const MachineMemOperand *MMO)
The AMDGPU TargetMachine interface definition for hw codgen targets.
bool isArgPassedInSGPR(const Argument *A)
amdgpu Simplify well known AMD library false Value Value * Arg
Contains the definition of a TargetInstrInfo class that is common to all AMD GPUs.
Provides AMDGPU specific target descriptions.
LLVM_NODISCARD std::enable_if<!is_simple_type< Y >::value, typename cast_retty< X, const Y >::ret_type >::type dyn_cast(const Y &Val)
LLVM Value Representation.
AMDGPUInstrInfo(const GCNSubtarget &st)