37 if (!
Ptr || isa<UndefValue>(
Ptr) ||
38 isa<Constant>(
Ptr) || isa<GlobalValue>(
Ptr))
48 return I &&
I->getMetadata(
"amdgpu.uniform");
Contains the definition of a TargetInstrInfo class that is common to all AMD GPUs.
amdgpu Simplify well known AMD library false FunctionCallee Value * Arg
This file contains the declarations for the subclasses of Constant, which represent the different fla...
AMDGPUInstrInfo(const GCNSubtarget &st)
static bool isUniformMMO(const MachineMemOperand *MMO)
This class represents an incoming formal argument to a Function.
A description of a memory reference used in the backend.
unsigned getAddrSpace() const
const Value * getValue() const
Return the base address of the memory access.
LLVM Value Representation.
@ CONSTANT_ADDRESS_32BIT
Address space for 32-bit constant memory.
bool isArgPassedInSGPR(const Argument *A)
This is an optimization pass for GlobalISel generic memory operations.