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
24 class AMDGPUTargetStreamer;
28 class MachineFunction;
52 virtual void end() = 0;
67 std::make_unique<msgpack::Document>();
164 void dump(
StringRef HSAMetadataString)
const;
166 void verify(
StringRef HSAMetadataString)
const;
175 std::string getTypeName(
Type *Ty,
bool Signed)
const;
177 std::vector<uint32_t> getWorkGroupDimensions(
MDNode *
Node)
const;
188 void emitKernelLanguage(
const Function &Func);
190 void emitKernelAttrs(
const Function &Func);
204 const Metadata &getHSAMetadata()
const {
234 #endif // LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUHSAMETADATASTREAMER_H
This class represents an incoming formal argument to a Function.
This is an optimization pass for GlobalISel generic memory operations.
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.
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
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.