31 return I.getOperand(
I.getNumExplicitDefs()).getIntrinsicID();
41 if (!
Ptr || isa<UndefValue>(
Ptr) ||
42 isa<Constant>(
Ptr) || isa<GlobalValue>(
Ptr))
52 return I &&
I->getMetadata(
"amdgpu.uniform");
Contains the definition of a TargetInstrInfo class that is common to all AMD GPUs.
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.
Representation of each machine instruction.
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)
Intrinsic::ID getIntrinsicID(const MachineInstr &I)
Return the intrinsic ID for opcodes with the G_AMDGPU_INTRIN_ prefix.
This is an optimization pass for GlobalISel generic memory operations.