/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | MallocOverflowSecurityChecker.cpp | 138 if (E->EvaluateAsInt(Result, Context)) in isIntZeroExpr() 196 if (denom->EvaluateAsInt(Result, Context)) { in CheckAssignmentExpr()
|
H A D | BuiltinFunctionChecker.cpp | 133 if (CE->EvaluateAsInt(EVResult, C.getASTContext(), Expr::SE_NoSideEffects)) { in evalCall()
|
H A D | NumberObjectConversionChecker.cpp | 90 if (CheckIfNull->IgnoreParenCasts()->EvaluateAsInt( in run()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaAMDGPU.cpp | 74 if (!ArgExpr->EvaluateAsInt(ArgResult, getASTContext())) in CheckAMDGCNBuiltinFunctionCall()
|
H A D | SemaConcept.cpp | 1294 BO->getLHS()->EvaluateAsInt(SimplifiedLHS, S.Context, in diagnoseWellFormedUnsatisfiedConstraintExpr() 1297 BO->getRHS()->EvaluateAsInt(SimplifiedRHS, S.Context, in diagnoseWellFormedUnsatisfiedConstraintExpr()
|
H A D | SemaChecking.cpp | 354 AlignOp->EvaluateAsInt(AlignResult, S.Context, in BuiltinAlignment() 1186 if (!SizeArg->EvaluateAsInt(Result, getASTContext())) in checkFortifiedBuiltinMemoryFunction() 2625 TheCall->getArg(0)->EvaluateAsInt(Result, getASTContext()) && in CheckBuiltinFunctionCall() 3319 if (Arg->EvaluateAsInt(Align, Context)) { in checkCall() 5967 bool LIsInt = BinOp->getLHS()->EvaluateAsInt( in checkFormatStringExpr() 5970 bool RIsInt = BinOp->getRHS()->EvaluateAsInt( in checkFormatStringExpr() 5998 if (ASE->getRHS()->EvaluateAsInt(IndexResult, S.Context, in checkFormatStringExpr() 10262 if (!OriginalInit->EvaluateAsInt(Result, S.Context, in AnalyzeBitFieldAssignment() 10712 E->EvaluateAsInt(Result, S.Context, Expr::SE_AllowSideEffects)) in DiagnoseIntInBoolContext() 10781 if (E->EvaluateAsInt(Result, getASTContext(), Expr::SE_AllowSideEffects)) { in CheckImplicitConversion() [all …]
|
H A D | SemaOpenMP.cpp | 9589 CollapseLoopCountExpr->EvaluateAsInt(Result, SemaRef.getASTContext())) { in checkOpenMPLoop() 9601 OrderedLoopCountExpr->EvaluateAsInt(EVResult, in checkOpenMPLoop() 10316 SimdlenLength->EvaluateAsInt(SimdlenResult, S.Context); in checkSimdlenSafelenSpecified() 10317 SafelenLength->EvaluateAsInt(SafelenResult, S.Context); in checkSimdlenSafelenSpecified() 18145 if (!Length->EvaluateAsInt(Result, Context)) in checkOMPArraySectionConstantForReduction() 18170 if (!Length->EvaluateAsInt(Result, Context)) in checkOMPArraySectionConstantForReduction() 19918 Length->EvaluateAsInt(Result, getASTContext()) && in ActOnOpenMPDependClause() 20086 if (!LowerBound->EvaluateAsInt(Result, SemaRef.getASTContext())) in checkArrayExpressionDoesNotReferToWholeSize() 20110 if (!Length->EvaluateAsInt(Result, SemaRef.getASTContext())) in checkArrayExpressionDoesNotReferToWholeSize() 20146 if (!Length->EvaluateAsInt(Result, SemaRef.getASTContext())) in checkArrayExpressionDoesNotReferToUnitySize() [all …]
|
H A D | SemaOpenACC.cpp | 1544 if (!E->EvaluateAsInt(Res, Context)) in ActOnArraySectionExpr()
|
H A D | SemaExpr.cpp | 9896 bool CstInt = Int->get()->EvaluateAsInt(EVResult, S.Context); in canConvertIntToOtherIntTy() 9933 bool CstInt = Int->get()->EvaluateAsInt(EVResult, S.Context); in canConvertIntTyToFloatTy() 10480 RHS.get()->EvaluateAsInt(RHSValue, S.Context) && in DiagnoseBadDivideOrRemainderValues() 10927 (!IExp->EvaluateAsInt(KnownVal, Context) || in CheckAdditionOperands() 11044 (!RHS.get()->EvaluateAsInt(KnownVal, Context) || in CheckSubtractionOperands() 11133 !RHS.get()->EvaluateAsInt(RHSResult, S.Context)) in DiagnoseBadShiftValues() 11172 !LHS.get()->EvaluateAsInt(LHSResult, S.Context)) in DiagnoseBadShiftValues() 13035 if (RHS.get()->EvaluateAsInt(EVResult, Context)) { in CheckLogicalOperands()
|
H A D | AnalysisBasedWarnings.cpp | 1361 if (!cast<DoStmt>(S)->getCond()->EvaluateAsInt(Result, Ctx)) in isInLoop()
|
H A D | SemaCast.cpp | 3041 if (SrcExpr.get()->EvaluateAsInt(Result, Self.Context)) { in CheckCStyleCast()
|
H A D | SemaStmt.cpp | 1369 HasConstantCond = CondExpr->EvaluateAsInt(Result, Context, in ActOnFinishSwitchStmt()
|
H A D | SemaExprObjC.cpp | 952 if (Boxed->EvaluateAsInt(Result, S.getASTContext(), in CheckObjCDictionaryLiteralDuplicateKeys()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | CFG.cpp | 1144 if (!NumExpr1->EvaluateAsInt(L1Result, *Context) || in checkIncorrectLogicOperator() 1145 !NumExpr2->EvaluateAsInt(L2Result, *Context)) in checkIncorrectLogicOperator() 1226 if (!Constant->EvaluateAsInt(Result, *Context)) in checkIncorrectBitwiseOrOperator() 1276 if (Bop->getLHS()->EvaluateAsInt(LHSResult, *Context)) { in tryEvaluateBool() 1283 if (Bop->getRHS()->EvaluateAsInt(RHSResult, *Context)) { in tryEvaluateBool()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineC.cpp | 852 if (OOE->EvaluateAsInt(Result, getContext())) { in VisitOffsetOfExpr()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGStmt.cpp | 935 (ControllingExpression->EvaluateAsInt(Result, getContext()) && in checkIfLoopMustProgress() 2419 if (InputExpr->EvaluateAsInt(Result, getContext())) in EmitAsmInput()
|
H A D | CoverageMappingGen.cpp | 1104 return (Cond->EvaluateAsInt(Result, CVM.getCodeGenModule().getContext())); in ConditionFoldsToBool()
|
H A D | CGBuiltin.cpp | 3760 if (!E->getArg(1)->EvaluateAsInt(Result, CGM.getContext())) in EmitBuiltinExpr() 4240 if (!E->getArg(2)->EvaluateAsInt(SizeResult, CGM.getContext()) || in EmitBuiltinExpr() 4241 !E->getArg(3)->EvaluateAsInt(DstSizeResult, CGM.getContext())) in EmitBuiltinExpr() 4266 if (!E->getArg(2)->EvaluateAsInt(SizeResult, CGM.getContext()) || in EmitBuiltinExpr() 4267 !E->getArg(3)->EvaluateAsInt(DstSizeResult, CGM.getContext())) in EmitBuiltinExpr() 4316 if (!E->getArg(2)->EvaluateAsInt(SizeResult, CGM.getContext()) || in EmitBuiltinExpr() 4317 !E->getArg(3)->EvaluateAsInt(DstSizeResult, CGM.getContext())) in EmitBuiltinExpr() 8603 if (!E->getArg(0)->EvaluateAsInt(Result, CGM.getContext())) in EmitARMBuiltinExpr() 11220 if (!E->getArg(0)->EvaluateAsInt(Result, CGM.getContext())) in EmitAArch64BuiltinExpr() 11238 if (!E->getArg(0)->EvaluateAsInt(Result, CGM.getContext())) in EmitAArch64BuiltinExpr()
|
H A D | CodeGenFunction.cpp | 1708 if (!Cond->EvaluateAsInt(Result, getContext())) in ConstantFoldsToSimpleInteger()
|
H A D | CGExprScalar.cpp | 1941 if (E->EvaluateAsInt(Result, CGF.getContext(), Expr::SE_AllowSideEffects)) { in VisitMemberExpr() 3226 if (E->EvaluateAsInt(EVResult, CGF.getContext())) { in VisitOffsetOfExpr()
|
H A D | CGOpenMPRuntime.cpp | 6820 if (!Length->EvaluateAsInt(Result, CGF.getContext())) in isFinalArraySectionExpression() 11062 if (!(*SI)->EvaluateAsInt(Result, C, Expr::SE_AllowSideEffects)) { in emitDeclareSimdFunction()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprConstant.cpp | 8980 if (!E->EvaluateAsInt(ExprResult, Ctx, Expr::SE_AllowSideEffects)) in getBytesReturnedByAllocSizeCall() 15937 static bool EvaluateAsInt(const Expr *E, Expr::EvalResult &ExprResult, in EvaluateAsInt() function 15996 bool Expr::EvaluateAsInt(EvalResult &Result, const ASTContext &Ctx, in EvaluateAsInt() function in Expr 16004 return ::EvaluateAsInt(this, Result, Ctx, AllowSideEffects, Info); in EvaluateAsInt() 16842 if (!::EvaluateAsInt(this, ExprResult, Ctx, SE_AllowSideEffects, Info)) in getIntegerConstantExpr()
|
H A D | Expr.cpp | 3415 if (!Elt->EvaluateAsInt(Result, Ctx)) { in isConstantInitializer()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
H A D | TypeSystemClang.cpp | 5692 bitfield_bit_size_expr->EvaluateAsInt(result, *ast)) { in GetObjCFieldAtIndex() 5752 bitfield_bit_size_expr->EvaluateAsInt(result, in GetFieldAtIndex()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Expr.h | 676 bool EvaluateAsInt(EvalResult &Result, const ASTContext &Ctx,
|