LLVM 20.0.0git
|
Verifier for AMDGPU HSA metadata. More...
#include "llvm/BinaryFormat/AMDGPUMetadataVerifier.h"
Public Member Functions | |
MetadataVerifier (bool Strict) | |
Construct a MetadataVerifier, specifying whether it will operate in Strict mode. | |
bool | verify (msgpack::DocNode &HSAMetadataRoot) |
Verify given HSA metadata. | |
Verifier for AMDGPU HSA metadata.
Operates in two modes:
In strict mode, metadata must already be well-typed.
In non-strict mode, metadata is coerced into expected types when possible.
Definition at line 44 of file AMDGPUMetadataVerifier.h.
|
inline |
Construct a MetadataVerifier, specifying whether it will operate in Strict
mode.
Definition at line 67 of file AMDGPUMetadataVerifier.h.
bool llvm::AMDGPU::HSAMD::V3::MetadataVerifier::verify | ( | msgpack::DocNode & | HSAMetadataRoot | ) |
Verify given HSA metadata.
Definition at line 288 of file AMDGPUMetadataVerifier.cpp.
References llvm::msgpack::DocNode::getMap(), llvm::msgpack::DocNode::isMap(), and llvm::msgpack::String.