Home
last modified time | relevance | path

Searched refs:getUnsignedValue (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/lib/FileCheck/
H A DFileCheck.cpp181 Expected<uint64_t> ExpressionValue::getUnsignedValue() const { in getUnsignedValue() function in ExpressionValue
225 uint64_t LeftValue = cantFail(LeftOperand.getUnsignedValue()); in operator +()
226 uint64_t RightValue = cantFail(RightOperand.getUnsignedValue()); in operator +()
240 uint64_t RightValue = cantFail(RightOperand.getUnsignedValue()); in operator -()
261 uint64_t LeftValue = cantFail(LeftOperand.getUnsignedValue()); in operator -()
262 uint64_t RightValue = cantFail(RightOperand.getUnsignedValue()); in operator -()
307 uint64_t LeftValue = cantFail(LeftOperand.getUnsignedValue()); in operator *()
308 uint64_t RightValue = cantFail(RightOperand.getUnsignedValue()); in operator *()
332 uint64_t LeftValue = cantFail(LeftOperand.getUnsignedValue()); in operator /()
333 uint64_t RightValue = cantFail(RightOperand.getUnsignedValue()); in operator /()
[all …]
H A DFileCheckImpl.h150 Expected<uint64_t> getUnsignedValue() const;
/llvm-project-15.0.7/llvm/unittests/FileCheck/
H A DFileCheckTest.cpp217 EXPECT_EQ(cantFail(ResultValue->getUnsignedValue()), in checkValueFromStringRepr()
413 Expected<uint64_t> UnsignedActualValue = ActualValue.getUnsignedValue(); in expectValueEqual()
438 Expected<uint64_t> UnsignedValue = ExpressionValue(10).getUnsignedValue(); in TEST_F()
443 UnsignedValue = ExpressionValue(0).getUnsignedValue(); in TEST_F()
448 UnsignedValue = ExpressionValue(MaxUint64).getUnsignedValue(); in TEST_F()
454 "overflow error", ExpressionValue(-1).getUnsignedValue().takeError()); in TEST_F()
459 ExpressionValue(MinInt64).getUnsignedValue().takeError()); in TEST_F()
706 EXPECT_EQ(MaxUint64, cantFail(Value->getUnsignedValue())); in TEST_F()