Lines Matching refs:APInt
97 LLVM_ABI_FOR_TEST Expected<std::string> getMatchingString(APInt Value) const;
101 LLVM_ABI_FOR_TEST APInt valueFromStringRepr(StringRef StrVal,
120 LLVM_ABI_FOR_TEST Expected<APInt> exprAdd(const APInt &Lhs, const APInt &Rhs,
122 LLVM_ABI_FOR_TEST Expected<APInt> exprSub(const APInt &Lhs, const APInt &Rhs,
124 LLVM_ABI_FOR_TEST Expected<APInt> exprMul(const APInt &Lhs, const APInt &Rhs,
126 LLVM_ABI_FOR_TEST Expected<APInt> exprDiv(const APInt &Lhs, const APInt &Rhs,
128 Expected<APInt> exprMax(const APInt &Lhs, const APInt &Rhs, bool &Overflow);
129 Expected<APInt> exprMin(const APInt &Lhs, const APInt &Rhs, bool &Overflow);
145 virtual Expected<APInt> eval() const = 0;
161 APInt Value;
164 explicit ExpressionLiteral(StringRef ExpressionStr, APInt Val) in ExpressionLiteral()
168 Expected<APInt> eval() const override { return Value; } in eval()
227 std::optional<APInt> Value;
254 std::optional<APInt> getValue() const { return Value; } in getValue()
266 void setValue(APInt NewValue,
295 Expected<APInt> eval() const override;
305 using binop_eval_t = Expected<APInt> (*)(const APInt &, const APInt &, bool &);
332 Expected<APInt> eval() const override;