Searched refs:ExpressionValue (Results 1 – 4 of 4) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/FileCheck/ |
| H A D | FileCheckImpl.h | 34 class ExpressionValue; variable 121 class ExpressionValue { 159 Expected<ExpressionValue> operator+(const ExpressionValue &Lhs, 161 Expected<ExpressionValue> operator-(const ExpressionValue &Lhs, 163 Expected<ExpressionValue> operator*(const ExpressionValue &Lhs, 165 Expected<ExpressionValue> operator/(const ExpressionValue &Lhs, 167 Expected<ExpressionValue> max(const ExpressionValue &Lhs, 169 Expected<ExpressionValue> min(const ExpressionValue &Lhs, 202 ExpressionValue Value; 269 Optional<ExpressionValue> Value; [all …]
|
| H A D | FileCheck.cpp | 127 Expected<ExpressionValue> 188 ExpressionValue ExpressionValue::getAbsolute() const { in getAbsolute() 204 Expected<ExpressionValue> llvm::operator+(const ExpressionValue &LeftOperand, in operator +() 232 return ExpressionValue(*Result); in operator +() 235 Expected<ExpressionValue> llvm::operator-(const ExpressionValue &LeftOperand, in operator -() 285 Expected<ExpressionValue> llvm::operator*(const ExpressionValue &LeftOperand, in operator *() 314 return ExpressionValue(*Result); in operator *() 317 Expected<ExpressionValue> llvm::operator/(const ExpressionValue &LeftOperand, in operator /() 329 return ExpressionValue(0) - in operator /() 337 Expected<ExpressionValue> llvm::max(const ExpressionValue &LeftOperand, in max() [all …]
|
| /llvm-project-15.0.7/llvm/unittests/FileCheck/ |
| H A D | FileCheckTest.cpp | 647 EXPECT_TRUE(ExpressionValue(5) != ExpressionValue(-3)); in TEST_F() 649 EXPECT_TRUE(ExpressionValue(-2) != ExpressionValue(6)); in TEST_F() 651 EXPECT_TRUE(ExpressionValue(-7) != ExpressionValue(7)); in TEST_F() 653 EXPECT_TRUE(ExpressionValue(4) != ExpressionValue(-4)); in TEST_F() 668 EXPECT_FALSE(ExpressionValue(8) == ExpressionValue(9)); in TEST_F() 669 EXPECT_TRUE(ExpressionValue(8) != ExpressionValue(9)); in TEST_F() 670 EXPECT_TRUE(ExpressionValue(1) == ExpressionValue(1)); in TEST_F() 671 EXPECT_FALSE(ExpressionValue(1) != ExpressionValue(1)); in TEST_F() 674 EXPECT_TRUE(ExpressionValue(0) == ExpressionValue(0)); in TEST_F() 675 EXPECT_FALSE(ExpressionValue(0) != ExpressionValue(0)); in TEST_F() [all …]
|
| /llvm-project-15.0.7/flang/lib/Parser/ |
| H A D | preprocessor.cpp | 725 static std::int64_t ExpressionValue(const TokenSequence &token, in ExpressionValue() function 857 left = ExpressionValue(token, operandPrecedence[op], atToken, error); in ExpressionValue() 915 ExpressionValue(token, operandPrecedence[op], atToken, error)}; in ExpressionValue() 1040 ExpressionValue(token, operandPrecedence[op], atToken, error)}; in ExpressionValue() 1091 bool result{ExpressionValue(expr3, 0, &atToken, &error) != 0}; in IsIfPredicateTrue()
|