Home
last modified time | relevance | path

Searched refs:EvaluateAsRValue (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmtAsm.cpp414 if (InputExpr->EvaluateAsRValue(EVResult, Context, true)) { in ActOnGCCAsmStmt()
761 if (IsEnum && Res->EvaluateAsRValue(Eval, Context)) in FillInlineAsmIdentifierInfo()
H A DSemaChecking.cpp1547 if (!E->EvaluateAsRValue(Result, S.Context) || !Result.Val.isLValue()) in findConstantBaseAndOffset()
6022 if (E->EvaluateAsRValue(Result, Context) && Result.Val.isLValue()) { in maybeConstEvalStringLiteral()
9480 if (E->EvaluateAsRValue(result, C, InConstantContext)) in GetExprRange()
10893 if (E->EvaluateAsRValue(result, Context)) { in CheckImplicitConversion()
H A DSemaOverload.cpp448 if ((Ctx.getLangOpts().C23 && Initializer->EvaluateAsRValue(R, Ctx)) || in getNarrowingKind()
557 if (Initializer->EvaluateAsRValue(R, Ctx)) { in getNarrowingKind()
H A DSemaTemplate.cpp5954 if (!Arg->EvaluateAsRValue(EvalResult, S.Context) || in isNullPointerValueTemplateArgument()
H A DSemaInit.cpp8150 CurInit.get()->EvaluateAsRValue(ER, S.Context) && in Perform()
H A DSemaDeclCXX.cpp17147 Side->EvaluateAsRValue(DiagSide[I].Result, Context, true); in DiagnoseStaticAssertDetails()
H A DSemaExpr.cpp17059 E->EvaluateAsRValue(EvalResult, Context, /*isConstantContext*/ true) && in VerifyIntegerConstantExpression()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp1886 static bool EvaluateAsRValue(EvalInfo &Info, const Expr *E, APValue &Result);
11032 if (!EvaluateAsRValue(Info, E->getSrcExpr(), Source)) in VisitConvertVectorExpr()
11088 if (!EvaluateAsRValue(Info, Vec1, VecVal1)) in VisitShuffleVectorExpr()
11092 if (!EvaluateAsRValue(Info, Vec2, VecVal2)) in VisitShuffleVectorExpr()
12010 if (!::EvaluateAsRValue(Info, Arg, V) || Info.EvalStatus.HasSideEffects) { in EvaluateBuiltinConstantP()
12348 if (!EvaluateAsRValue(Info, E, RVal)) in tryEvaluateBuiltinObjectSize()
12968 if (PtrArg->EvaluateAsRValue(ExprResult, Info.Ctx) && in VisitBuiltinCallExpr()
15847 static bool EvaluateAsRValue(EvalInfo &Info, const Expr *E, APValue &Result) { in EvaluateAsRValue() function
15927 static bool EvaluateAsRValue(const Expr *E, Expr::EvalResult &Result, in EvaluateAsRValue() function
15934 return EvaluateAsRValue(Info, E, Result.Val); in EvaluateAsRValue()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp1941 Success = E->EvaluateAsRValue(Result, CGM.getContext(), InConstantContext); in tryEmitPrivate()
2258 bool Succeeded = E->EvaluateAsRValue(Result, CGM.getContext()); in emitPointerAuthPointer()
H A DCGStmt.cpp2410 InputExpr->EvaluateAsRValue(EVResult, getContext(), true); in EmitAsmInput()
H A DCGExprScalar.cpp2383 if (E->EvaluateAsRValue(Result, CGF.getContext()) && in VisitCastExpr()
H A DCGExpr.cpp1749 refExpr->EvaluateAsRValue(result, getContext())) { in tryEmitAsConstant()
H A DCodeGenModule.cpp6641 if (!Value && Init->EvaluateAsRValue(EvalResult, getContext()) && in GetAddrOfGlobalTemporary()
H A DCGBuiltin.cpp2548 if (E->isPRValue() && E->EvaluateAsRValue(Result, CGM.getContext()) && in EmitBuiltinExpr()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp1244 S->EvaluateAsRValue(outResult, *Context); in tryEvaluate()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h657 bool EvaluateAsRValue(EvalResult &Result, const ASTContext &Ctx,