Searched refs:EVResult (Results 1 - 10 of 10) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DBuiltinFunctionChecker.cpp113 Expr::EvalResult EVResult; local
114 if (CE->EvaluateAsInt(EVResult, C.getASTContext(), Expr::SE_NoSideEffects)) {
116 llvm::APSInt Result = EVResult.Val.getInt();
H A DNumberObjectConversionChecker.cpp89 Expr::EvalResult EVResult; local
91 EVResult, ACtx, Expr::SE_AllowSideEffects)) {
92 llvm::APSInt Result = EVResult.Val.getInt();
H A DCheckSecuritySyntaxOnly.cpp632 Expr::EvalResult EVResult; local
633 if (!suffixEx->EvaluateAsInt(EVResult, BR.getContext()))
635 llvm::APSInt Result = EVResult.Val.getInt();
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmtAsm.cpp398 Expr::EvalResult EVResult; local
399 if (InputExpr->EvaluateAsRValue(EVResult, Context, true)) {
403 if (EVResult.Val.toIntegralConstant(IntResult, InputExpr->getType(),
H A DSemaExpr.cpp9599 Expr::EvalResult EVResult; local
9600 bool CstInt = Int->get()->EvaluateAsInt(EVResult, S.Context);
9608 llvm::APSInt Result = EVResult.Val.getInt();
9636 Expr::EvalResult EVResult; local
9637 bool CstInt = Int->get()->EvaluateAsInt(EVResult, S.Context);
9646 llvm::APSInt Result = EVResult.Val.getInt();
12223 Expr::EvalResult EVResult; local
12224 if (RHS.get()->EvaluateAsInt(EVResult, Context)) {
12225 llvm::APSInt Result = EVResult.Val.getInt();
H A DSemaInit.cpp8588 Expr::EvalResult EVResult;
8589 Init->EvaluateAsInt(EVResult, S.Context);
8590 llvm::APSInt Result = EVResult.Val.getInt();
H A DSemaOpenMP.cpp8033 Expr::EvalResult EVResult;
8035 OrderedLoopCountExpr->EvaluateAsInt(EVResult,
8037 llvm::APSInt Result = EVResult.Val.getInt();
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp14365 EvalResult EVResult;
14366 EVResult.Diag = Diag;
14367 EvalInfo Info(Ctx, EVResult, EvalInfo::EM_IgnoreSideEffects);
14370 bool Result = ::EvaluateAsRValue(this, EVResult, Ctx, Info);
14373 assert(EVResult.Val.isInt() && "Expression did not evaluate to integer");
14375 return EVResult.Val.getInt();
14383 EvalResult EVResult;
14384 EVResult.Diag = Diag;
14385 EvalInfo Info(Ctx, EVResult, EvalInfo::EM_IgnoreSideEffects);
14389 bool Result = ::EvaluateAsRValue(Info, this, EVResult
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmt.cpp1900 Expr::EvalResult EVResult; local
1901 InputExpr->EvaluateAsRValue(EVResult, getContext(), true);
1904 if (EVResult.Val.toIntegralConstant(IntResult, InputExpr->getType(),
H A DCGExprScalar.cpp2781 Expr::EvalResult EVResult; local
2782 if (E->EvaluateAsInt(EVResult, CGF.getContext())) {
2783 llvm::APSInt Value = EVResult.Val.getInt();

Completed in 225 milliseconds