26 return I.getOperand(
I.getNumExplicitDefs()).getIntrinsicID();
36 if (!
Ptr || isa<UndefValue, Constant, GlobalValue>(
Ptr))
46 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...
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)
bool isUniformMMO(const MachineMemOperand *MMO)
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.