Searched refs:DocNode (Results 1 – 10 of 10) sorted by relevance
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | MsgPackDocument.h | 38 class DocNode { 42 typedef std::map<DocNode, DocNode> MapTy; 43 typedef std::vector<DocNode> ArrayTy; 67 DocNode() : KindAndDoc(nullptr) {} in DocNode() function 155 friend bool operator<(const DocNode &Lhs, const DocNode &Rhs) { 185 friend bool operator==(const DocNode &Lhs, const DocNode &Rhs) { 190 friend bool operator!=(const DocNode &Lhs, const DocNode &Rhs) { 207 DocNode &operator=(const char *Val) { return *this = StringRef(Val); } 208 DocNode &operator=(StringRef Val); 209 DocNode &operator=(MemoryBufferRef Val); [all …]
|
H A D | AMDGPUMetadataVerifier.h | 29 class DocNode; variable 47 bool verifyScalar(msgpack::DocNode &Node, msgpack::Type SKind, 48 function_ref<bool(msgpack::DocNode &)> verifyValue = {}); 49 bool verifyInteger(msgpack::DocNode &Node); 50 bool verifyArray(msgpack::DocNode &Node, 51 function_ref<bool(msgpack::DocNode &)> verifyNode, 54 function_ref<bool(msgpack::DocNode &)> verifyNode); 58 function_ref<bool(msgpack::DocNode &)> verifyValue = {}); 61 bool verifyKernelArgs(msgpack::DocNode &Node); 62 bool verifyKernel(msgpack::DocNode &Node); [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/ |
H A D | MsgPackDocument.cpp | 23 // Convert this DocNode into an empty array. 24 void DocNode::convertToArray() { *this = getDocument()->getArrayNode(); } in convertToArray() 26 // Convert this DocNode into an empty map. 27 void DocNode::convertToMap() { *this = getDocument()->getMapNode(); } in convertToMap() 30 DocNode::MapTy::iterator MapDocNode::find(StringRef S) { in find() 36 DocNode &MapDocNode::operator[](StringRef S) { in operator []() 41 DocNode &MapDocNode::operator[](DocNode Key) { in operator []() 43 DocNode &N = (*Map)[Key]; in operator []() 52 DocNode [all...] |
H A D | AMDGPUMetadataVerifier.cpp | 28 msgpack::DocNode &Node, msgpack::Type SKind, in verifyScalar() 29 function_ref<bool(msgpack::DocNode &)> verifyValue) { in verifyScalar() 49 bool MetadataVerifier::verifyInteger(msgpack::DocNode &Node) { 57 msgpack::DocNode &Node, function_ref<bool(msgpack::DocNode &)> verifyNode, in verifyArray() 69 function_ref<bool(msgpack::DocNode &)> verifyNode) { in verifyEntry() 79 function_ref<bool(msgpack::DocNode &)> verifyValue) { in verifyScalarEntry() 80 return verifyEntry(MapNode, Key, Required, [=](msgpack::DocNode &Node) { in verifyScalarEntry() 87 return verifyEntry(MapNode, Key, Required, [this](msgpack::DocNode &Node) { in verifyIntegerEntry() 92 bool MetadataVerifier::verifyKernelArgs(msgpack::DocNode in verifyIntegerEntry() [all...] |
H A D | MsgPackDocumentYAML.cpp | 23 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()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/ |
H A D | AMDGPUPALMetadata.h | 33 msgpack::DocNode Registers; 34 msgpack::DocNode HwStages; 35 msgpack::DocNode ShaderFunctions; 37 msgpack::DocNode Version; 39 msgpack::DocNode ComputeRegisters; 40 msgpack::DocNode GraphicsRegisters; 169 msgpack::DocNode *refComputeRegister(StringRef field); 188 msgpack::DocNode &refRegisters(); 194 msgpack::DocNode &refShaderFunctions(); 203 msgpack::DocNode &refComputeRegisters(); [all …]
|
H A D | AMDGPUDelayedMCExpr.h | 20 msgpack::DocNode &DN; 23 Expr(msgpack::DocNode &DN, msgpack::Type Type, const MCExpr *ExprValue) in Expr() 31 void assignDocNode(msgpack::DocNode &DN, msgpack::Type Type,
|
H A D | AMDGPUDelayedMCExpr.cpp | 15 static msgpack::DocNode getNode(msgpack::DocNode DN, msgpack::Type Type, in getNode() 30 void DelayedMCExprs::assignDocNode(msgpack::DocNode &DN, msgpack::Type Type, in assignDocNode()
|
H A D | AMDGPUPALMetadata.cpp | 872 msgpack::DocNode &AMDGPUPALMetadata::refRegisters() { in refRegisters() 890 msgpack::DocNode &AMDGPUPALMetadata::refShaderFunctions() { in refShaderFunctions() 913 msgpack::DocNode &AMDGPUPALMetadata::refComputeRegisters() { in refComputeRegisters() 929 msgpack::DocNode &AMDGPUPALMetadata::refGraphicsRegisters() { in refGraphicsRegisters() 967 msgpack::DocNode &AMDGPUPALMetadata::refHwStage() { in refHwStage() 1066 msgpack::DocNode *AMDGPUPALMetadata::refComputeRegister(StringRef field) { in refComputeRegister()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUHSAMetadataStreamer.h | 121 msgpack::DocNode &getRootMetadata(StringRef Key) { in getRootMetadata() 125 msgpack::DocNode &getHSAMetadataRoot() { in getHSAMetadataRoot()
|