reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
68 bool isMap() const { return getKind() == Type::Map; } 69 bool isArray() const { return getKind() == Type::Array; } 71 bool isString() const { return getKind() == Type::String; } 79 assert(getKind() == Type::Int); 84 assert(getKind() == Type::UInt); 89 assert(getKind() == Type::Boolean); 94 assert(getKind() == Type::Float); 99 assert(getKind() == Type::Int); 104 assert(getKind() == Type::UInt); 109 assert(getKind() == Type::Boolean); 114 assert(getKind() == Type::Float); 119 assert(getKind() == Type::String); 126 if (getKind() != Type::Array) { 137 if (getKind() != Type::Map) { 154 return (unsigned)Lhs.getKind() < (unsigned)Rhs.getKind(); 154 return (unsigned)Lhs.getKind() < (unsigned)Rhs.getKind(); 156 switch (Lhs.getKind()) { 200 MapDocNode(DocNode &N) : DocNode(N) { assert(getKind() == Type::Map); } 220 ArrayDocNode(DocNode &N) : DocNode(N) { assert(getKind() == Type::Array); }lib/BinaryFormat/AMDGPUMetadataVerifier.cpp
27 if (Node.getKind() != SKind) { 32 if (Node.getKind() != msgpack::Type::String) 36 if (Node.getKind() != SKind)lib/BinaryFormat/MsgPackDocument.cpp
129 else if (Stack.back().Node.getKind() == Type::Array) { 146 switch (Node.getKind()) { 157 if (Stack.back().Node.getKind() == msgpack::Type::Array) { 186 switch (Node.getKind()) { 217 if (Stack.back().Node.getKind() == Type::Map) { 229 if (Stack.back().Node.getKind() == Type::Map) {lib/BinaryFormat/MsgPackDocumentYAML.cpp
39 switch (getKind()) { 112 if (getKind() == msgpack::Type::Nil) 118 if (N.getKind() == getKind()) 118 if (N.getKind() == getKind()) 122 if (N.getKind() == msgpack::Type::UInt && getKind() == msgpack::Type::Int) 122 if (N.getKind() == msgpack::Type::UInt && getKind() == msgpack::Type::Int) 124 if (N.getKind() == msgpack::Type::Int && getKind() == msgpack::Type::UInt) 124 if (N.getKind() == msgpack::Type::Int && getKind() == msgpack::Type::UInt) 127 switch (getKind()) { 150 switch (N.getKind()) { 187 switch (S.getKind()) {lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.cpp
166 if (N.getKind() != msgpack::Type::UInt) 181 if (N.getKind() == msgpack::Type::UInt) 551 if (MsgPackDoc.getRoot().getKind() == msgpack::Type::Nil) 638 if (Key.getKind() == msgpack::Type::String) {unittests/BinaryFormat/MsgPackDocumentTest.cpp
20 ASSERT_EQ(Doc.getRoot().getKind(), Type::Int); 28 ASSERT_EQ(Doc.getRoot().getKind(), Type::Array); 32 ASSERT_EQ(SI.getKind(), Type::Int); 35 ASSERT_EQ(SN.getKind(), Type::Nil); 47 ASSERT_EQ(Doc.getRoot().getKind(), Type::Map); 51 ASSERT_EQ(FooS.getKind(), Type::Int); 54 ASSERT_EQ(BarS.getKind(), Type::Int); 105 ASSERT_EQ(Doc.getRoot().getKind(), Type::Array); 109 ASSERT_EQ(SI.getKind(), Type::UInt); 112 ASSERT_EQ(SS.getKind(), Type::String); 159 ASSERT_EQ(Doc.getRoot().getKind(), Type::Map); 163 ASSERT_EQ(SI.getKind(), Type::UInt); 166 ASSERT_EQ(SS.getKind(), Type::String);