Home
last modified time | relevance | path

Searched refs:ExpressionValue (Results 1 – 2 of 2) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/FileCheck/
H A DFileCheckImpl.h34 class ExpressionValue; variable
97 Expected<std::string> getMatchingString(ExpressionValue Value) const;
103 Expected<ExpressionValue> valueFromStringRepr(StringRef StrVal,
121 class ExpressionValue {
128 explicit ExpressionValue(T Val) : Value(Val), Negative(Val < 0) {} in ExpressionValue() function
130 bool operator==(const ExpressionValue &Other) const {
134 bool operator!=(const ExpressionValue &Other) const {
154 ExpressionValue getAbsolute() const;
159 Expected<ExpressionValue> operator+(const ExpressionValue &Lhs,
160 const ExpressionValue &Rhs);
[all …]
H A DFileCheck.cpp80 ExpressionFormat::getMatchingString(ExpressionValue IntegerValue) const { in getMatchingString()
127 Expected<ExpressionValue>
143 return ExpressionValue(SignedValue); in valueFromStringRepr()
157 return ExpressionValue(UnsignedValue); in valueFromStringRepr()
170 Expected<int64_t> ExpressionValue::getSignedValue() const { in getSignedValue()
181 Expected<uint64_t> ExpressionValue::getUnsignedValue() const { in getUnsignedValue()
188 ExpressionValue ExpressionValue::getAbsolute() const { in getAbsolute()
196 return ExpressionValue(-getAsSigned(Value)); in getAbsolute()
201 return ExpressionValue(MaxInt64 + RemainingValueAbsolute); in getAbsolute()
204 Expected<ExpressionValue> llvm::operator+(const ExpressionValue &LeftOperand, in operator +()
[all …]