Lines Matching refs:EvalResult
6542 Expr::EvalResult Result; in EvaluateBuiltinConstantP()
7160 struct EvalResult { struct in __anona0fd4bf91811::DataRecursiveIntBinOpEvaluator
7164 EvalResult() : Failed(false) { } in EvalResult() function
7166 void swap(EvalResult &RHS) { in swap() argument
7175 EvalResult LHSResult; // meaningful only for binary operator expression.
7216 EvalResult PrevResult; in Traverse()
7245 bool VisitBinOpLHSOnly(EvalResult &LHSResult, const BinaryOperator *E,
7248 bool VisitBinOp(const EvalResult &LHSResult, const EvalResult &RHSResult,
7251 void EvaluateExpr(const Expr *E, EvalResult &Result) { in EvaluateExpr()
7257 void process(EvalResult &Result);
7270 VisitBinOpLHSOnly(EvalResult &LHSResult, const BinaryOperator *E, in VisitBinOpLHSOnly()
7315 VisitBinOp(const EvalResult &LHSResult, const EvalResult &RHSResult, in VisitBinOp()
7414 void DataRecursiveIntBinOpEvaluator::process(EvalResult &Result) { in process()
7449 EvalResult RHS; in process()
9115 static bool FastEvaluateAsRValue(const Expr *Exp, Expr::EvalResult &Result, in FastEvaluateAsRValue()
9150 bool Expr::EvaluateAsRValue(EvalResult &Result, const ASTContext &Ctx) const { in EvaluateAsRValue()
9161 EvalResult Scratch; in EvaluateAsBooleanCondition()
9177 EvalResult ExprResult; in EvaluateAsInt()
9191 EvalResult ExprResult; in EvaluateAsFloat()
9200 bool Expr::EvaluateAsLValue(EvalResult &Result, const ASTContext &Ctx) const { in EvaluateAsLValue()
9257 EvalResult Result; in isEvaluatable()
9264 EvalResult EvalResult; in EvaluateKnownConstInt() local
9265 EvalResult.Diag = Diag; in EvaluateKnownConstInt()
9266 bool Result = EvaluateAsRValue(EvalResult, Ctx); in EvaluateKnownConstInt()
9269 assert(EvalResult.Val.isInt() && "Expression did not evaluate to integer"); in EvaluateKnownConstInt()
9271 return EvalResult.Val.getInt(); in EvaluateKnownConstInt()
9276 EvalResult EvalResult; in EvaluateForOverflow() local
9277 if (!FastEvaluateAsRValue(this, EvalResult, Ctx, IsConst)) { in EvaluateForOverflow()
9278 EvalInfo Info(Ctx, EvalResult, EvalInfo::EM_EvaluateForOverflow); in EvaluateForOverflow()
9279 (void)::EvaluateAsRValue(Info, this, EvalResult.Val); in EvaluateForOverflow()
9283 bool Expr::EvalResult::isGlobalLValue() const { in isGlobalLValue()
9331 Expr::EvalResult EVResult; in CheckEvalInICE()