Go to the documentation of this file.
15 #ifndef LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUHSAMETADATASTREAMER_H
16 #define LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUHSAMETADATASTREAMER_H
25 class AMDGPUTargetStreamer;
29 class MachineFunction;
47 virtual void end() = 0;
57 std::make_unique<msgpack::Document>();
142 void dump(
StringRef HSAMetadataString)
const;
144 void verify(
StringRef HSAMetadataString)
const;
153 std::string getTypeName(
Type *Ty,
bool Signed)
const;
155 std::vector<uint32_t> getWorkGroupDimensions(
MDNode *
Node)
const;
168 void emitKernelLanguage(
const Function &Func);
170 void emitKernelAttrs(
const Function &Func);
172 void emitKernelArgs(
const Function &Func);
182 void emitHiddenKernelArgs(
const Function &Func);
184 const Metadata &getHSAMetadata()
const {
207 #endif // LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUHSAMETADATASTREAMER_H
This class represents an incoming formal argument to a Function.
A parsed version of the target data layout string in and methods for querying it.
The instances of the Type class are immutable: once they are created, they are never changed.
AccessQualifier
Access qualifiers.
amdgpu Simplify well known AMD library false FunctionCallee Value * Arg
A node in a MsgPack Document.
constexpr char AccQual[]
Key for Kernel::Arg::Metadata::mAccQual.
This struct is a compact representation of a valid (power of two) or undefined (0) alignment.
This struct is a compact representation of a valid (non-zero power of two) alignment.
constexpr char PointeeAlign[]
Key for Kernel::Arg::Metadata::mPointeeAlign.
A Module instance is used to store all the information related to an LLVM module.
StringRef - Represent a constant reference to a string, i.e.
@ Mod
The access may modify the value stored in memory.
MachineBasicBlock MachineBasicBlock::iterator DebugLoc DL
Machine Check Debug Module
AddressSpaceQualifier
Address space qualifiers.
constexpr char TypeName[]
Key for Kernel::Arg::Metadata::mTypeName.
A DocNode that is an array.
Track resource usage for kernels / entry functions.
constexpr char Args[]
Key for Kernel::Metadata::mArgs.