Home
last modified time | relevance | path

Searched refs:DocNode (Results 1 – 8 of 8) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DMsgPackDocument.h38 class DocNode {
42 typedef std::map<DocNode, DocNode> MapTy;
150 friend bool operator<(const DocNode &Lhs, const DocNode &Rhs) {
180 friend bool operator==(const DocNode &Lhs, const DocNode &Rhs) {
185 friend bool operator!=(const DocNode &Lhs, const DocNode &Rhs) {
222 MapDocNode(DocNode &N) : DocNode(N) { assert(getKind() == Type::Map); } in MapDocNode()
241 DocNode &operator[](DocNode Key);
280 DocNode Root;
308 DocNode getNode() { in getNode()
412 function_ref<int(DocNode *DestNode, DocNode SrcNode, DocNode MapKey)>
[all …]
H A DAMDGPUMetadataVerifier.h36 bool verifyScalar(msgpack::DocNode &Node, msgpack::Type SKind,
37 function_ref<bool(msgpack::DocNode &)> verifyValue = {});
38 bool verifyInteger(msgpack::DocNode &Node);
39 bool verifyArray(msgpack::DocNode &Node,
40 function_ref<bool(msgpack::DocNode &)> verifyNode,
43 function_ref<bool(msgpack::DocNode &)> verifyNode);
47 function_ref<bool(msgpack::DocNode &)> verifyValue = {});
50 bool verifyKernelArgs(msgpack::DocNode &Node);
51 bool verifyKernel(msgpack::DocNode &Node);
61 bool verify(msgpack::DocNode &HSAMetadataRoot);
/freebsd-13.1/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DMsgPackDocument.cpp41 DocNode &MapDocNode::operator[](DocNode Key) { in operator []()
79 DocNode &DocNode::operator=(StringRef Val) { in operator =()
83 DocNode &DocNode::operator=(bool Val) { in operator =()
87 DocNode &DocNode::operator=(int Val) { in operator =()
91 DocNode &DocNode::operator=(unsigned Val) { in operator =()
95 DocNode &DocNode::operator=(int64_t Val) { in operator =()
99 DocNode &DocNode::operator=(uint64_t Val) { in operator =()
110 DocNode Node;
115 DocNode MapKey;
129 function_ref<int(DocNode *DestNode, DocNode SrcNode, DocNode MapKey)> in readFromBlob()
[all …]
H A DAMDGPUMetadataVerifier.cpp24 msgpack::DocNode &Node, msgpack::Type SKind, in verifyScalar()
25 function_ref<bool(msgpack::DocNode &)> verifyValue) { in verifyScalar()
53 msgpack::DocNode &Node, function_ref<bool(msgpack::DocNode &)> verifyNode, in verifyArray()
69 function_ref<bool(msgpack::DocNode &)> verifyNode) { in verifyEntry()
109 [](msgpack::DocNode &SNode) { in verifyKernelArgs()
134 [](msgpack::DocNode &SNode) { in verifyKernelArgs()
147 [](msgpack::DocNode &SNode) { in verifyKernelArgs()
157 [](msgpack::DocNode &SNode) { in verifyKernelArgs()
219 [this](msgpack::DocNode &Node) { in verifyKernel()
228 [this](msgpack::DocNode &Node) { in verifyKernel()
[all …]
H A DMsgPackDocumentYAML.cpp24 struct ScalarDocNode : DocNode {
25 ScalarDocNode(DocNode N) : DocNode(N) {} in ScalarDocNode()
36 std::string DocNode::toString() const { in toString()
70 StringRef DocNode::fromString(StringRef S, StringRef Tag) { in fromString()
147 template <> struct PolymorphicTraits<DocNode> {
149 static NodeKind getKind(const DocNode &N) { in getKind()
160 static MapDocNode &getAsMap(DocNode &N) { return N.getMap(/*Convert=*/true); } in getAsMap()
162 static ArrayDocNode &getAsSequence(DocNode &N) { in getAsSequence()
167 static ScalarDocNode &getAsScalar(DocNode &N) { in getAsScalar()
228 static DocNode &element(IO &IO, ArrayDocNode &A, size_t Index) { in element()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUPALMetadata.h27 msgpack::DocNode Registers;
28 msgpack::DocNode HwStages;
29 msgpack::DocNode ShaderFunctions;
136 msgpack::DocNode &refRegisters();
142 msgpack::DocNode &refShaderFunctions();
H A DAMDGPUPALMetadata.cpp768 msgpack::DocNode &AMDGPUPALMetadata::refRegisters() { in refRegisters()
786 msgpack::DocNode &AMDGPUPALMetadata::refShaderFunctions() { in refShaderFunctions()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUHSAMetadataStreamer.h100 msgpack::DocNode &getRootMetadata(StringRef Key) { in getRootMetadata()
104 msgpack::DocNode &getHSAMetadataRoot() { in getHSAMetadataRoot()