Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/unittests/FileCheck/
H A DFileCheckTest.cpp214 EXPECT_EQ(cantFail(ResultValue->getSignedValue()), in checkValueFromStringRepr()
469 SignedValue = ExpressionValue(0).getSignedValue(); in TEST_F()
481 .getSignedValue() in TEST_F()
490 SignedValue = ExpressionValue(-10).getSignedValue(); in TEST_F()
691 EXPECT_EQ(10, cantFail(Value->getSignedValue())); in TEST_F()
700 EXPECT_EQ(MinInt64, cantFail(Value->getSignedValue())); in TEST_F()
755 EXPECT_EQ(42, cantFail(Value->getSignedValue())); in TEST_F()
759 EXPECT_EQ(42, cantFail(EvalResult->getSignedValue())); in TEST_F()
767 EXPECT_EQ(925, cantFail(Value->getSignedValue())); in TEST_F()
773 EXPECT_EQ(925, cantFail(EvalResult->getSignedValue())); in TEST_F()
[all …]
/llvm-project-15.0.7/llvm/lib/FileCheck/
H A DFileCheck.cpp85 Expected<int64_t> SignedValue = IntegerValue.getSignedValue(); in getMatchingString()
170 Expected<int64_t> ExpressionValue::getSignedValue() const { in getSignedValue() function in ExpressionValue
207 int64_t LeftValue = cantFail(LeftOperand.getSignedValue()); in operator +()
208 int64_t RightValue = cantFail(RightOperand.getSignedValue()); in operator +()
239 int64_t LeftValue = cantFail(LeftOperand.getSignedValue()); in operator -()
340 int64_t LeftValue = cantFail(LeftOperand.getSignedValue()); in max()
341 int64_t RightValue = cantFail(RightOperand.getSignedValue()); in max()
H A DFileCheckImpl.h146 Expected<int64_t> getSignedValue() const;