16 #ifndef LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUHSAMETADATASTREAMER_H 17 #define LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUHSAMETADATASTREAMER_H 42 void dump(
StringRef HSAMetadataString)
const;
44 void verify(
StringRef HSAMetadataString)
const;
55 std::string getTypeName(
Type *Ty,
bool Signed)
const;
57 std::vector<uint32_t> getWorkGroupDimensions(
MDNode *Node)
const;
70 void emitKernelLanguage(
const Function &Func);
72 void emitKernelAttrs(
const Function &Func);
74 void emitKernelArgs(
const Function &Func);
84 void emitHiddenKernelArgs(
const Function &Func);
105 #endif // LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUHSAMETADATASTREAMER_H
A parsed version of the target data layout string in and methods for querying it. ...
This class represents an incoming formal argument to a Function.
Compute iterated dominance frontiers using a linear time algorithm.
A Module instance is used to store all the information related to an LLVM module. ...
constexpr char PointeeAlign[]
Key for Kernel::Arg::Metadata::mPointeeAlign.
Track resource usage for kernels / entry functions.
OpenCL uses address spaces to differentiate between various memory regions on the hardware...
The instances of the Type class are immutable: once they are created, they are never changed...
constexpr char TypeName[]
Key for Kernel::Arg::Metadata::mTypeName.
AccessQualifier
Access qualifiers.
The access may modify the value stored in memory.
amdgpu Simplify well known AMD library false Value Value * Arg
AddressSpaceQualifier
Address space qualifiers.
constexpr char AccQual[]
Key for Kernel::Arg::Metadata::mAccQual.
StringRef - Represent a constant reference to a string, i.e.