Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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.h30 class DocNode; variable
48 bool verifyScalar(msgpack::DocNode &Node, msgpack::Type SKind,
49 function_ref<bool(msgpack::DocNode &)> verifyValue = {});
50 bool verifyInteger(msgpack::DocNode &Node);
51 bool verifyArray(msgpack::DocNode &Node,
52 function_ref<bool(msgpack::DocNode &)> verifyNode,
55 function_ref<bool(msgpack::DocNode &)> verifyNode);
59 function_ref<bool(msgpack::DocNode &)> verifyValue = {});
62 bool verifyKernelArgs(msgpack::DocNode &Node);
63 bool verifyKernel(msgpack::DocNode &Node);
[all …]
/llvm-project-15.0.7/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.cpp30 msgpack::DocNode &Node, msgpack::Type SKind, in verifyScalar()
31 function_ref<bool(msgpack::DocNode &)> verifyValue) { in verifyScalar()
59 msgpack::DocNode &Node, function_ref<bool(msgpack::DocNode &)> verifyNode, in verifyArray()
71 function_ref<bool(msgpack::DocNode &)> verifyNode) { in verifyEntry()
110 [](msgpack::DocNode &SNode) { in verifyKernelArgs()
149 [](msgpack::DocNode &SNode) { in verifyKernelArgs()
162 [](msgpack::DocNode &SNode) { in verifyKernelArgs()
172 [](msgpack::DocNode &SNode) { in verifyKernelArgs()
234 [this](msgpack::DocNode &Node) { in verifyKernel()
243 [this](msgpack::DocNode &Node) { in verifyKernel()
[all …]
H A DMsgPackDocumentYAML.cpp23 struct ScalarDocNode : DocNode {
24 ScalarDocNode(DocNode N) : DocNode(N) {} in ScalarDocNode()
35 std::string DocNode::toString() const { in toString()
69 StringRef DocNode::fromString(StringRef S, StringRef Tag) { in fromString()
146 template <> struct PolymorphicTraits<DocNode> {
148 static NodeKind getKind(const DocNode &N) { in getKind()
159 static MapDocNode &getAsMap(DocNode &N) { return N.getMap(/*Convert=*/true); } in getAsMap()
161 static ArrayDocNode &getAsSequence(DocNode &N) { in getAsSequence()
166 static ScalarDocNode &getAsScalar(DocNode &N) { in getAsScalar()
227 static DocNode &element(IO &IO, ArrayDocNode &A, size_t Index) { in element()
/llvm-project-15.0.7/llvm/unittests/BinaryFormat/
H A DMsgPackDocumentTest.cpp18 DocNode Int1 = Doc.getNode(1), Int2 = Doc.getNode(2); in TEST()
19 DocNode Str1 = Doc.getNode("ab"), Str2 = Doc.getNode("ab"); in TEST()
47 [](DocNode *DestNode, DocNode SrcNode, DocNode MapKey) { in TEST()
83 [](DocNode *DestNode, DocNode SrcNode, DocNode MapKey) { in TEST()
127 [](DocNode *DestNode, DocNode SrcNode, DocNode MapKey) { in TEST()
151 /*Multi=*/false, [](DocNode *Dest, DocNode Src, DocNode MapKey) { in TEST()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUPALMetadata.h27 msgpack::DocNode Registers;
28 msgpack::DocNode HwStages;
29 msgpack::DocNode ShaderFunctions;
140 msgpack::DocNode &refRegisters();
146 msgpack::DocNode &refShaderFunctions();
H A DAMDGPUPALMetadata.cpp773 msgpack::DocNode &AMDGPUPALMetadata::refRegisters() { in refRegisters()
791 msgpack::DocNode &AMDGPUPALMetadata::refShaderFunctions() { in refShaderFunctions()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUHSAMetadataStreamer.h110 msgpack::DocNode &getRootMetadata(StringRef Key) { in getRootMetadata()
114 msgpack::DocNode &getHSAMetadataRoot() { in getHSAMetadataRoot()