15#ifndef LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUHSAMETADATASTREAMER_H
16#define LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUHSAMETADATASTREAMER_H
24class AMDGPUTargetStreamer;
52 virtual void end() = 0;
68 std::make_unique<msgpack::Document>();
76 std::optional<StringRef>
88 unsigned CodeObjectVersion)
const;
167 void dump(
StringRef HSAMetadataString)
const;
180 std::vector<uint32_t> getWorkGroupDimensions(
MDNode *
Node)
const;
191 void emitKernelLanguage(
const Function &Func);
193 void emitKernelAttrs(
const Function &Func);
208 const Metadata &getHSAMetadata()
const {
MachineBasicBlock MachineBasicBlock::iterator DebugLoc DL
amdgpu Simplify well known AMD library false FunctionCallee Value * Arg
Machine Check Debug Module
This file declares a class that exposes a simple in-memory representation of a document of MsgPack ob...
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.
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.
The instances of the Type class are immutable: once they are created, they are never changed.
A DocNode that is an array.
A node in a MsgPack Document.
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
AddressSpaceQualifier
Address space qualifiers.
AccessQualifier
Access qualifiers.
This is an optimization pass for GlobalISel generic memory operations.
StringRef getTypeName()
We provide a function which tries to compute the (demangled) name of a type statically.
@ Mod
The access may modify the value stored in memory.
This struct is a compact representation of a valid (non-zero power of two) alignment.
This struct is a compact representation of a valid (power of two) or undefined (0) alignment.
Track resource usage for kernels / entry functions.