Searched refs:UnsignedValue (Results 1 – 9 of 9) sorted by relevance
/external/llvm/include/llvm/CodeGen/ |
D | MIRYamlMapping.h | 89 struct UnsignedValue { 93 UnsignedValue() : Value(0) {} 94 UnsignedValue(unsigned Value) : Value(Value) {} 96 bool operator==(const UnsignedValue &Other) const { 101 template <> struct ScalarTraits<UnsignedValue> { 102 static void output(const UnsignedValue &Value, void *Ctx, raw_ostream &OS) { 106 static StringRef input(StringRef Scalar, void *Ctx, UnsignedValue &Value) { 139 LLVM_YAML_IS_FLOW_SEQUENCE_VECTOR(llvm::yaml::UnsignedValue) 145 UnsignedValue ID; 187 UnsignedValue ID; [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | MIRYamlMapping.h | 100 struct UnsignedValue { 104 UnsignedValue() = default; 105 UnsignedValue(unsigned Value) : Value(Value) {} 107 bool operator==(const UnsignedValue &Other) const { 112 template <> struct ScalarTraits<UnsignedValue> { 113 static void output(const UnsignedValue &Value, void *Ctx, raw_ostream &OS) { 117 static StringRef input(StringRef Scalar, void *Ctx, UnsignedValue &Value) { 150 LLVM_YAML_IS_FLOW_SEQUENCE_VECTOR(llvm::yaml::UnsignedValue) 156 UnsignedValue ID; 209 UnsignedValue ID; [all …]
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | MIRYamlMapping.h | 100 struct UnsignedValue { 104 UnsignedValue() = default; 105 UnsignedValue(unsigned Value) : Value(Value) {} 107 bool operator==(const UnsignedValue &Other) const { 112 template <> struct ScalarTraits<UnsignedValue> { 113 static void output(const UnsignedValue &Value, void *Ctx, raw_ostream &OS) { 117 static StringRef input(StringRef Scalar, void *Ctx, UnsignedValue &Value) { 183 LLVM_YAML_IS_FLOW_SEQUENCE_VECTOR(llvm::yaml::UnsignedValue) 189 UnsignedValue ID; 242 UnsignedValue ID; [all …]
|
/external/llvm-project/llvm/lib/Remarks/ |
D | YAMLRemarkParser.cpp | 313 unsigned UnsignedValue = 0; in parseUnsigned() local 314 if (Value->getValue(Tmp).getAsInteger(10, UnsignedValue)) in parseUnsigned() 316 return UnsignedValue; in parseUnsigned()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/ |
D | YAMLRemarkParser.cpp | 314 unsigned UnsignedValue = 0; in parseUnsigned() local 315 if (Value->getValue(Tmp).getAsInteger(10, UnsignedValue)) in parseUnsigned() 317 return UnsignedValue; in parseUnsigned()
|
/external/llvm-project/llvm/unittests/FileCheck/ |
D | FileCheckTest.cpp | 399 Expected<uint64_t> UnsignedValue = ExpressionValue(10).getUnsignedValue(); in TEST_F() local 400 ASSERT_THAT_EXPECTED(UnsignedValue, Succeeded()); in TEST_F() 401 EXPECT_EQ(*UnsignedValue, 10U); in TEST_F() 404 UnsignedValue = ExpressionValue(0).getUnsignedValue(); in TEST_F() 405 ASSERT_THAT_EXPECTED(UnsignedValue, Succeeded()); in TEST_F() 406 EXPECT_EQ(*UnsignedValue, 0U); in TEST_F() 409 UnsignedValue = ExpressionValue(MaxUint64).getUnsignedValue(); in TEST_F() 410 ASSERT_THAT_EXPECTED(UnsignedValue, Succeeded()); in TEST_F() 411 EXPECT_EQ(*UnsignedValue, MaxUint64); in TEST_F()
|
/external/llvm-project/llvm/lib/FileCheck/ |
D | FileCheck.cpp | 89 Expected<uint64_t> UnsignedValue = IntegerValue.getUnsignedValue(); in getMatchingString() local 90 if (!UnsignedValue) in getMatchingString() 91 return UnsignedValue.takeError(); in getMatchingString() 92 AbsoluteValue = *UnsignedValue; in getMatchingString() 135 uint64_t UnsignedValue; in valueFromStringRepr() local 136 if (StrVal.getAsInteger(Hex ? 16 : 10, UnsignedValue)) in valueFromStringRepr() 139 return ExpressionValue(UnsignedValue); in valueFromStringRepr() 142 static int64_t getAsSigned(uint64_t UnsignedValue) { in getAsSigned() argument 148 memcpy(&SignedValue, &UnsignedValue, sizeof(SignedValue)); in getAsSigned()
|
/external/tinyxml2/ |
D | tinyxml2.h | 1175 unsigned UnsignedValue() const { in UnsignedValue() function
|
D | xmltest.cpp | 989 XMLTest("attrib-unsigned", unsigned(2), attrib->UnsignedValue(), true); in main()
|