Lines Matching defs:Evaluate

970       /// Evaluate as a constant expression. Stop if we find that the expression
974 /// Evaluate as a constant expression. Stop if we find that the expression
985 /// Evaluate in any way we know how. Don't worry about side-effects that
1868 static bool Evaluate(APValue &Result, EvalInfo &Info, const Expr *E);
1891 /// Evaluate an integer or fixed point expression into an APResult.
1895 /// Evaluate only a fixed point expression into an APResult.
2029 /// Evaluate an expression to see if it had side-effects, and discard its
2035 if (!Evaluate(Scratch, Info, E))
2627 if (!Evaluate(Val, Info, E))
4359 if (!Evaluate(Lit, Info, CLE->getInitializer()))
4745 /// HandleMemberPointerAccess - Evaluate a member access operation and build an
5015 /// Evaluate a condition (either a variable declaration or an expression).
5056 /// Evaluate the body of a loop, and translate the result as appropriate.
5080 /// Evaluate a switch statement.
5085 // Evaluate the switch condition.
5173 // Evaluate a statement.
5352 : Evaluate(Result.Value, Info, RetExpr)))
5379 // Evaluate the condition, as either a var decl or as an expression.
5504 // Evaluate the init-statement if present.
5640 // Evaluate try blocks by evaluating all sub statements.
6257 /// Evaluate the arguments to a function call.
6315 /// Evaluate a function call.
6370 /// Evaluate a constructor call.
7840 // Evaluate and cache the common expression. We treat it as a temporary,
7843 if (!Evaluate(Info.CurrentCall->createTemporary(
7910 if (!Evaluate(Info.CurrentCall->createTemporary(
8091 // Evaluate the arguments now if we've not already done so.
8167 if (!Evaluate(Val, Info, E->getBase()))
8192 if (!Evaluate(Val, Info, E->getBase()))
8225 if (!Evaluate(AtomicVal, Info, E->getSubExpr()))
8247 if (!Evaluate(SourceValue, Info, E->getSubExpr()))
8256 if (!Evaluate(Value, Info, E->getSubExpr()))
8594 /// Evaluate an expression as an lvalue. This can be legitimately called on
8916 if (!Evaluate(RHS, this->Info, CAO->getRHS())) {
8940 if (!Evaluate(NewVal, this->Info, E->getRHS())) {
9464 /// Evaluate the value of the alignment argument to __builtin_align_{up,down},
10320 if (!Evaluate(DerivedObject, Info, E->getSubExpr()))
10701 /// Evaluate an expression of record type as a temporary.
10785 if (!Evaluate(SVal, Info, SE))
10898 bool LHSOK = Evaluate(LHSValue, Info, LHS);
10901 if (!Evaluate(RHSValue, Info, RHS) || !LHSOK)
10970 if (!Evaluate(SubExprValue, Info, SubExpr))
11363 !Evaluate(Info.CurrentCall->createTemporary(
11694 /// EvaluateIntegerOrLValue - Evaluate an rvalue integral-typed expression, and
11789 /// EvaluateBuiltinClassifyType - Evaluate __builtin_classify_type the same way
11939 /// EvaluateBuiltinClassifyType - Evaluate __builtin_classify_type the same way
11978 /// EvaluateBuiltinConstantP - Evaluate __builtin_constant_p as similarly to
13296 Result.Failed = !Evaluate(Result.Val, Info, E);
13931 // Evaluate builtin binary comparisons by evaluating them as three-way
14050 /// VisitUnaryExprOrTypeTraitExpr - Evaluate a sizeof, alignof or vec_step with
14345 if (!Evaluate(Val, Info, SubExpr))
15578 : Evaluate(Result, Info, &VIE);
15590 : Evaluate(Result, Info, E->getSubExpr());
15733 static bool Evaluate(APValue &Result, EvalInfo &Info, const Expr *E) {
15816 /// EvaluateInPlace - Evaluate an expression in-place in an APValue. In some
15827 // Evaluate arrays and record types in-place, so that later initializers can
15842 return Evaluate(Result, Info, E);
15863 if (!::Evaluate(Result, Info, E))
16333 // value, it calls into Evaluate.
16774 /// Evaluate an expression as a C++11 integral constant expression.
16956 return Evaluate(Value, Info, this) && Scope.destroy() &&
17003 // Evaluate the call as a constant initializer, to allow the construction
17038 Evaluate(ResultScratch, Info, E);