LLVM  6.0.0svn
Classes | Namespaces | Enumerations | Variables
AMDGPUCodeObjectMetadata.h File Reference

AMDGPU Code Object Metadata definitions and in-memory representations. More...

#include <cstdint>
#include <string>
#include <system_error>
#include <vector>
Include dependency graph for AMDGPUCodeObjectMetadata.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  llvm::AMDGPU::CodeObject::Kernel::Attrs::Metadata
 In-memory representation of kernel attributes metadata. More...
 
struct  llvm::AMDGPU::CodeObject::Kernel::Arg::Metadata
 In-memory representation of kernel argument metadata. More...
 
struct  llvm::AMDGPU::CodeObject::Kernel::CodeProps::Metadata
 In-memory representation of kernel code properties metadata. More...
 
struct  llvm::AMDGPU::CodeObject::Kernel::DebugProps::Metadata
 In-memory representation of kernel debug properties metadata. More...
 
struct  llvm::AMDGPU::CodeObject::Kernel::Metadata
 In-memory representation of kernel metadata. More...
 
struct  llvm::AMDGPU::CodeObject::Metadata
 In-memory representation of code object metadata. More...
 

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 
 llvm::AMDGPU
 
 llvm::AMDGPU::CodeObject
 
 llvm::AMDGPU::CodeObject::Kernel
 
 llvm::AMDGPU::CodeObject::Kernel::Attrs
 
 llvm::AMDGPU::CodeObject::Kernel::Attrs::Key
 
 llvm::AMDGPU::CodeObject::Kernel::Arg
 
 llvm::AMDGPU::CodeObject::Kernel::Arg::Key
 
 llvm::AMDGPU::CodeObject::Kernel::CodeProps
 
 llvm::AMDGPU::CodeObject::Kernel::CodeProps::Key
 
 llvm::AMDGPU::CodeObject::Kernel::DebugProps
 
 llvm::AMDGPU::CodeObject::Kernel::DebugProps::Key
 
 llvm::AMDGPU::CodeObject::Kernel::Key
 
 llvm::AMDGPU::CodeObject::Key
 

Enumerations

enum  llvm::AMDGPU::CodeObject::AccessQualifier : uint8_t {
  llvm::AMDGPU::CodeObject::AccessQualifier::Default = 0, llvm::AMDGPU::CodeObject::AccessQualifier::ReadOnly = 1, llvm::AMDGPU::CodeObject::AccessQualifier::WriteOnly = 2, llvm::AMDGPU::CodeObject::AccessQualifier::ReadWrite = 3,
  llvm::AMDGPU::CodeObject::AccessQualifier::Unknown = 0xff
}
 Access qualifiers. More...
 
enum  llvm::AMDGPU::CodeObject::AddressSpaceQualifier : uint8_t {
  llvm::AMDGPU::CodeObject::AddressSpaceQualifier::Private = 0, llvm::AMDGPU::CodeObject::AddressSpaceQualifier::Global = 1, llvm::AMDGPU::CodeObject::AddressSpaceQualifier::Constant = 2, llvm::AMDGPU::CodeObject::AddressSpaceQualifier::Local = 3,
  llvm::AMDGPU::CodeObject::AddressSpaceQualifier::Generic = 4, llvm::AMDGPU::CodeObject::AddressSpaceQualifier::Region = 5, llvm::AMDGPU::CodeObject::AddressSpaceQualifier::Unknown = 0xff
}
 Address space qualifiers. More...
 
enum  llvm::AMDGPU::CodeObject::ValueKind : uint8_t {
  llvm::AMDGPU::CodeObject::ValueKind::ByValue = 0, llvm::AMDGPU::CodeObject::ValueKind::GlobalBuffer = 1, llvm::AMDGPU::CodeObject::ValueKind::DynamicSharedPointer = 2, llvm::AMDGPU::CodeObject::ValueKind::Sampler = 3,
  llvm::AMDGPU::CodeObject::ValueKind::Image = 4, llvm::AMDGPU::CodeObject::ValueKind::Pipe = 5, llvm::AMDGPU::CodeObject::ValueKind::Queue = 6, llvm::AMDGPU::CodeObject::ValueKind::HiddenGlobalOffsetX = 7,
  llvm::AMDGPU::CodeObject::ValueKind::HiddenGlobalOffsetY = 8, llvm::AMDGPU::CodeObject::ValueKind::HiddenGlobalOffsetZ = 9, llvm::AMDGPU::CodeObject::ValueKind::HiddenNone = 10, llvm::AMDGPU::CodeObject::ValueKind::HiddenPrintfBuffer = 11,
  llvm::AMDGPU::CodeObject::ValueKind::HiddenDefaultQueue = 12, llvm::AMDGPU::CodeObject::ValueKind::HiddenCompletionAction = 13, llvm::AMDGPU::CodeObject::ValueKind::Unknown = 0xff
}
 Value kinds. More...
 
enum  llvm::AMDGPU::CodeObject::ValueType : uint8_t {
  llvm::AMDGPU::CodeObject::ValueType::Struct = 0, llvm::AMDGPU::CodeObject::ValueType::I8 = 1, llvm::AMDGPU::CodeObject::ValueType::U8 = 2, llvm::AMDGPU::CodeObject::ValueType::I16 = 3,
  llvm::AMDGPU::CodeObject::ValueType::U16 = 4, llvm::AMDGPU::CodeObject::ValueType::F16 = 5, llvm::AMDGPU::CodeObject::ValueType::I32 = 6, llvm::AMDGPU::CodeObject::ValueType::U32 = 7,
  llvm::AMDGPU::CodeObject::ValueType::F32 = 8, llvm::AMDGPU::CodeObject::ValueType::I64 = 9, llvm::AMDGPU::CodeObject::ValueType::U64 = 10, llvm::AMDGPU::CodeObject::ValueType::F64 = 11,
  llvm::AMDGPU::CodeObject::ValueType::Unknown = 0xff
}
 Value types. More...
 

Variables

constexpr uint32_t llvm::AMDGPU::CodeObject::MetadataVersionMajor = 1
 Code object metadata major version. More...
 
constexpr uint32_t llvm::AMDGPU::CodeObject::MetadataVersionMinor = 0
 Code object metadata minor version. More...
 
constexpr char llvm::AMDGPU::CodeObject::MetadataAssemblerDirectiveBegin []
 Code object metadata beginning assembler directive. More...
 
constexpr char llvm::AMDGPU::CodeObject::MetadataAssemblerDirectiveEnd []
 Code object metadata ending assembler directive. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::Attrs::Key::ReqdWorkGroupSize [] = "ReqdWorkGroupSize"
 Key for Kernel::Attr::Metadata::mReqdWorkGroupSize. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::Attrs::Key::WorkGroupSizeHint [] = "WorkGroupSizeHint"
 Key for Kernel::Attr::Metadata::mWorkGroupSizeHint. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::Attrs::Key::VecTypeHint [] = "VecTypeHint"
 Key for Kernel::Attr::Metadata::mVecTypeHint. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::Attrs::Key::RuntimeHandle [] = "RuntimeHandle"
 Key for Kernel::Attr::Metadata::mRuntimeHandle. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::Arg::Key::Size [] = "Size"
 Key for Kernel::Arg::Metadata::mSize. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::Arg::Key::Align [] = "Align"
 Key for Kernel::Arg::Metadata::mAlign. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::Arg::Key::ValueKind [] = "ValueKind"
 Key for Kernel::Arg::Metadata::mValueKind. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::Arg::Key::ValueType [] = "ValueType"
 Key for Kernel::Arg::Metadata::mValueType. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::Arg::Key::PointeeAlign [] = "PointeeAlign"
 Key for Kernel::Arg::Metadata::mPointeeAlign. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::Arg::Key::AccQual [] = "AccQual"
 Key for Kernel::Arg::Metadata::mAccQual. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::Arg::Key::AddrSpaceQual [] = "AddrSpaceQual"
 Key for Kernel::Arg::Metadata::mAddrSpaceQual. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::Arg::Key::IsConst [] = "IsConst"
 Key for Kernel::Arg::Metadata::mIsConst. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::Arg::Key::IsPipe [] = "IsPipe"
 Key for Kernel::Arg::Metadata::mIsPipe. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::Arg::Key::IsRestrict [] = "IsRestrict"
 Key for Kernel::Arg::Metadata::mIsRestrict. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::Arg::Key::IsVolatile [] = "IsVolatile"
 Key for Kernel::Arg::Metadata::mIsVolatile. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::Arg::Key::Name [] = "Name"
 Key for Kernel::Arg::Metadata::mName. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::Arg::Key::TypeName [] = "TypeName"
 Key for Kernel::Arg::Metadata::mTypeName. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::CodeProps::Key::KernargSegmentSize [] = "KernargSegmentSize"
 Key for Kernel::CodeProps::Metadata::mKernargSegmentSize. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::CodeProps::Key::WorkgroupGroupSegmentSize [] = "WorkgroupGroupSegmentSize"
 Key for Kernel::CodeProps::Metadata::mWorkgroupGroupSegmentSize. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::CodeProps::Key::WorkitemPrivateSegmentSize [] = "WorkitemPrivateSegmentSize"
 Key for Kernel::CodeProps::Metadata::mWorkitemPrivateSegmentSize. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::CodeProps::Key::WavefrontNumSGPRs [] = "WavefrontNumSGPRs"
 Key for Kernel::CodeProps::Metadata::mWavefrontNumSGPRs. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::CodeProps::Key::WorkitemNumVGPRs [] = "WorkitemNumVGPRs"
 Key for Kernel::CodeProps::Metadata::mWorkitemNumVGPRs. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::CodeProps::Key::KernargSegmentAlign [] = "KernargSegmentAlign"
 Key for Kernel::CodeProps::Metadata::mKernargSegmentAlign. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::CodeProps::Key::GroupSegmentAlign [] = "GroupSegmentAlign"
 Key for Kernel::CodeProps::Metadata::mGroupSegmentAlign. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::CodeProps::Key::PrivateSegmentAlign [] = "PrivateSegmentAlign"
 Key for Kernel::CodeProps::Metadata::mPrivateSegmentAlign. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::CodeProps::Key::WavefrontSize [] = "WavefrontSize"
 Key for Kernel::CodeProps::Metadata::mWavefrontSize. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::DebugProps::Key::DebuggerABIVersion [] = "DebuggerABIVersion"
 Key for Kernel::DebugProps::Metadata::mDebuggerABIVersion. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::DebugProps::Key::ReservedNumVGPRs [] = "ReservedNumVGPRs"
 Key for Kernel::DebugProps::Metadata::mReservedNumVGPRs. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::DebugProps::Key::ReservedFirstVGPR [] = "ReservedFirstVGPR"
 Key for Kernel::DebugProps::Metadata::mReservedFirstVGPR. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::DebugProps::Key::PrivateSegmentBufferSGPR [] = "PrivateSegmentBufferSGPR"
 Key for Kernel::DebugProps::Metadata::mPrivateSegmentBufferSGPR. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::DebugProps::Key::WavefrontPrivateSegmentOffsetSGPR []
 Key for Kernel::DebugProps::Metadata::mWavefrontPrivateSegmentOffsetSGPR. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::Key::Name [] = "Name"
 Key for Kernel::Metadata::mName. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::Key::Language [] = "Language"
 Key for Kernel::Metadata::mLanguage. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::Key::LanguageVersion [] = "LanguageVersion"
 Key for Kernel::Metadata::mLanguageVersion. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::Key::Attrs [] = "Attrs"
 Key for Kernel::Metadata::mAttrs. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::Key::Args [] = "Args"
 Key for Kernel::Metadata::mArgs. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::Key::CodeProps [] = "CodeProps"
 Key for Kernel::Metadata::mCodeProps. More...
 
constexpr char llvm::AMDGPU::CodeObject::Kernel::Key::DebugProps [] = "DebugProps"
 Key for Kernel::Metadata::mDebugProps. More...
 
constexpr char llvm::AMDGPU::CodeObject::Key::Version [] = "Version"
 Key for CodeObject::Metadata::mVersion. More...
 
constexpr char llvm::AMDGPU::CodeObject::Key::Printf [] = "Printf"
 Key for CodeObject::Metadata::mPrintf. More...
 
constexpr char llvm::AMDGPU::CodeObject::Key::Kernels [] = "Kernels"
 Key for CodeObject::Metadata::mKernels. More...
 

Detailed Description

AMDGPU Code Object Metadata definitions and in-memory representations.

Definition in file AMDGPUCodeObjectMetadata.h.