16 #ifndef LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUCODEOBJECTMETADATASTREAMER_H
17 #define LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUCODEOBJECTMETADATASTREAMER_H
35 namespace CodeObject {
55 std::string getTypeName(
Type *Ty,
bool Signed)
const;
57 std::vector<uint32_t> getWorkGroupDimensions(
MDNode *Node)
const;
61 void emitPrintf(
const Module &Mod);
63 void emitKernelLanguage(
const Function &Func);
65 void emitKernelAttrs(
const Function &Func);
67 void emitKernelArgs(
const Function &Func);
69 void emitKernelArg(
const Argument &Arg);
99 #endif // LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUCODEOBJECTMETADATASTREAMER_H
A parsed version of the target data layout string in and methods for querying it. ...
Represents either an error or a value T.
This class represents an incoming formal argument to a Function.
A Module instance is used to store all the information related to an LLVM module. ...
OpenCL uses address spaces to differentiate between various memory regions on the hardware...
AMD Kernel Code Object (amd_kernel_code_t).
AccessQualifier
Access qualifiers.
The instances of the Type class are immutable: once they are created, they are never changed...
constexpr char AccQual[]
Key for Kernel::Arg::Metadata::mAccQual.
constexpr char TypeName[]
Key for Kernel::Arg::Metadata::mTypeName.
Provides ErrorOr<T> smart pointer.
AddressSpaceQualifier
Address space qualifiers.
StringRef - Represent a constant reference to a string, i.e.