|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/BinaryFormat/AMDGPUMetadataVerifier.h 36 bool verifyScalar(msgpack::DocNode &Node, msgpack::Type SKind,
46 msgpack::Type SKind,
include/llvm/BinaryFormat/MsgPackDocument.h 33 Type Kind;
68 bool isMap() const { return getKind() == Type::Map; }
69 bool isArray() const { return getKind() == Type::Array; }
71 bool isString() const { return getKind() == Type::String; }
75 Type getKind() const { return KindAndDoc->Kind; }
126 if (getKind() != Type::Array) {
137 if (getKind() != Type::Map) {
157 case Type::Int:
159 case Type::UInt:
161 case Type::Nil:
163 case Type::Boolean:
165 case Type::Float:
167 case Type::String:
168 case Type::Binary:
250 KindAndDocument KindAndDocs[size_t(Type::Extension) + 1];
258 for (unsigned T = 0; T != size_t(Type::Extension) + 1; ++T)
270 auto N = DocNode(&KindAndDocs[size_t(Type::Nil)]);
276 auto N = DocNode(&KindAndDocs[size_t(Type::Int)]);
283 auto N = DocNode(&KindAndDocs[size_t(Type::Int)]);
290 auto N = DocNode(&KindAndDocs[size_t(Type::UInt)]);
297 auto N = DocNode(&KindAndDocs[size_t(Type::UInt)]);
304 auto N = DocNode(&KindAndDocs[size_t(Type::Boolean)]);
311 auto N = DocNode(&KindAndDocs[size_t(Type::Float)]);
321 auto N = DocNode(&KindAndDocs[size_t(Type::String)]);
334 auto N = DocNode(&KindAndDocs[size_t(Type::Map)]);
342 auto N = DocNode(&KindAndDocs[size_t(Type::Array)]);
include/llvm/BinaryFormat/MsgPackReader.h 76 Type Kind;
94 Object() : Kind(Type::Int), Int(0) {}
lib/BinaryFormat/AMDGPUMetadataVerifier.cpp 23 msgpack::DocNode &Node, msgpack::Type SKind,
32 if (Node.getKind() != msgpack::Type::String)
45 if (!verifyScalar(Node, msgpack::Type::UInt))
46 if (!verifyScalar(Node, msgpack::Type::Int))
77 msgpack::Type SKind,
97 msgpack::Type::String))
100 msgpack::Type::String))
107 msgpack::Type::String,
129 msgpack::Type::String,
150 msgpack::Type::String,
163 msgpack::Type::String,
173 msgpack::Type::String,
183 msgpack::Type::Boolean))
186 msgpack::Type::Boolean))
189 msgpack::Type::Boolean))
192 msgpack::Type::Boolean))
204 msgpack::Type::String))
207 msgpack::Type::String))
210 msgpack::Type::String,
254 msgpack::Type::String))
257 msgpack::Type::String))
298 return verifyScalar(Node, msgpack::Type::String);
lib/BinaryFormat/MsgPackDocument.cpp 98 case Type::Nil:
101 case Type::Int:
104 case Type::UInt:
107 case Type::Boolean:
110 case Type::Float:
113 case Type::String:
116 case Type::Map:
119 case Type::Array:
129 else if (Stack.back().Node.getKind() == Type::Array) {
147 case msgpack::Type::Array:
148 case msgpack::Type::Map:
157 if (Stack.back().Node.getKind() == msgpack::Type::Array) {
187 case Type::Array:
192 case Type::Map:
197 case Type::Nil:
200 case Type::Boolean:
203 case Type::Int:
206 case Type::UInt:
209 case Type::String:
217 if (Stack.back().Node.getKind() == Type::Map) {
229 if (Stack.back().Node.getKind() == Type::Map) {
lib/BinaryFormat/MsgPackDocumentYAML.cpp 40 case msgpack::Type::String:
43 case msgpack::Type::Nil:
45 case msgpack::Type::Boolean:
48 case msgpack::Type::Int:
51 case msgpack::Type::UInt:
57 case msgpack::Type::Float:
112 if (getKind() == msgpack::Type::Nil)
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)
128 case msgpack::Type::String:
130 case msgpack::Type::Int:
132 case msgpack::Type::UInt:
134 case msgpack::Type::Boolean:
136 case msgpack::Type::Float:
151 case msgpack::Type::Map:
153 case msgpack::Type::Array:
188 case Type::Int:
190 case Type::UInt:
192 case Type::Nil:
194 case Type::Boolean:
196 case Type::Float:
198 case Type::Binary:
199 case Type::String:
lib/BinaryFormat/MsgPackReader.cpp 36 Obj.Kind = Type::Nil;
39 Obj.Kind = Type::Boolean;
43 Obj.Kind = Type::Boolean;
47 Obj.Kind = Type::Int;
50 Obj.Kind = Type::Int;
53 Obj.Kind = Type::Int;
56 Obj.Kind = Type::Int;
59 Obj.Kind = Type::UInt;
62 Obj.Kind = Type::UInt;
65 Obj.Kind = Type::UInt;
68 Obj.Kind = Type::UInt;
71 Obj.Kind = Type::Float;
80 Obj.Kind = Type::Float;
89 Obj.Kind = Type::String;
92 Obj.Kind = Type::String;
95 Obj.Kind = Type::String;
98 Obj.Kind = Type::Binary;
101 Obj.Kind = Type::Binary;
104 Obj.Kind = Type::Binary;
107 Obj.Kind = Type::Array;
110 Obj.Kind = Type::Array;
113 Obj.Kind = Type::Map;
116 Obj.Kind = Type::Map;
119 Obj.Kind = Type::Extension;
122 Obj.Kind = Type::Extension;
125 Obj.Kind = Type::Extension;
128 Obj.Kind = Type::Extension;
131 Obj.Kind = Type::Extension;
134 Obj.Kind = Type::Extension;
137 Obj.Kind = Type::Extension;
140 Obj.Kind = Type::Extension;
145 Obj.Kind = Type::Int;
154 Obj.Kind = Type::UInt;
160 Obj.Kind = Type::String;
166 Obj.Kind = Type::Array;
172 Obj.Kind = Type::Map;
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) {
utils/unittest/googletest/include/gtest/gtest-printers.h 140 static void PrintValue(const T& value, ::std::ostream* os) {
205 ::std::basic_ostream<Char, CharTraits>& os, const T& x) {
206 TypeWithoutFormatter<T,
207 (internal::IsAProtocolMessage<T>::value ? kProtobuf :
208 internal::ImplicitlyConvertible<const T&, internal::BiggestInt>::value ?
223 void DefaultPrintNonContainerTo(const T& value, ::std::ostream* os) {
276 static ::std::string Format(const ToPrint& value) {
351 const T1& value, const T2& /* other_operand */) {
351 const T1& value, const T2& /* other_operand */) {
352 return FormatForComparison<T1, T2>::Format(value);
352 return FormatForComparison<T1, T2>::Format(value);
366 void UniversalPrint(const T& value, ::std::ostream* os);
373 const C& container, ::std::ostream* os) {
439 const T& value, ::std::ostream* os) {
455 void PrintTo(const T& value, ::std::ostream* os) {
478 DefaultPrintTo(IsContainerTest<T>(0), is_pointer<T>(), value, os);
699 static void Print(const T& value, ::std::ostream* os) {
784 static void Print(const T& value, ::std::ostream* os) {
856 typedef T T1;
983 internal::UniversalTersePrinter<T>::Print(value, &ss);
utils/unittest/googletest/include/gtest/gtest.h 1377 const T1& lhs, const T2& rhs) {
1377 const T1& lhs, const T2& rhs) {
1389 const T1& lhs,
1390 const T2& rhs) {
1419 const T1& lhs,
1420 const T2& rhs) {
utils/unittest/googletest/include/gtest/internal/custom/raw-ostream.h 29 static const T& printable(const T& V) { return V; }
29 static const T& printable(const T& V) { return V; }
35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
37 return StreamSwitch<T>::printable(V);
utils/unittest/googletest/include/gtest/internal/gtest-internal.h 94 ::std::string PrintToString(const T& value);