| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MallocOverflowSecurityChecker.cpp | 94 maxVal = rhs->EvaluateKnownConstInt(Context); in CheckMallocArgument() 99 maxVal = lhs->EvaluateKnownConstInt(Context); in CheckMallocArgument()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 1145 llvm::APSInt LHS = S.getLHS()->EvaluateKnownConstInt(getContext()); in EmitCaseStmtRange() 1146 llvm::APSInt RHS = S.getRHS()->EvaluateKnownConstInt(getContext()); in EmitCaseStmtRange() 1238 Builder.getInt(S.getLHS()->EvaluateKnownConstInt(getContext())); in EmitCaseStmt() 1286 Builder.getInt(CurCase->getLHS()->EvaluateKnownConstInt(getContext())); in EmitCaseStmt() 1524 if (CS->getLHS()->EvaluateKnownConstInt(C) == ConstantCondValue) in FindCaseStatementsForValue()
|
| H A D | CGLoopInfo.cpp | 226 llvm::APSInt ValueAPS = ValueExpr->EvaluateKnownConstInt(Ctx); in push()
|
| H A D | TargetInfo.cpp | 6375 MaxThreads = Attr->getMaxThreads()->EvaluateKnownConstInt(M.getContext()); in setTargetAttributes() 6384 MinBlocks = Attr->getMinBlocks()->EvaluateKnownConstInt(M.getContext()); in setTargetAttributes()
|
| H A D | CGExprScalar.cpp | 2733 return Builder.getInt(E->EvaluateKnownConstInt(CGF.getContext())); in VisitUnaryExprOrTypeTraitExpr()
|
| H A D | CGOpenMPRuntime.cpp | 9348 ? (*NI)->EvaluateKnownConstInt(C) in emitDeclareSimdFunction() 9389 VLENVal = VLEN->EvaluateKnownConstInt(C); in emitDeclareSimdFunction()
|
| H A D | CGBuiltin.cpp | 1984 E->getArg(1)->EvaluateKnownConstInt(getContext()).getZExtValue(); in EmitBuiltinExpr() 7040 E->getArg(0)->EvaluateKnownConstInt(getContext()).getZExtValue(); in EmitAArch64BuiltinExpr()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 913 llvm::APSInt LoVal = LoBeforePromotion->EvaluateKnownConstInt(Context); in ActOnFinishSwitchStmt() 1016 llvm::APSInt HiVal = HiBeforePromotion->EvaluateKnownConstInt(Context); in ActOnFinishSwitchStmt() 1149 RI->second->getRHS()->EvaluateKnownConstInt(Context); in ActOnFinishSwitchStmt() 1191 RI->second->getRHS()->EvaluateKnownConstInt(Context); in ActOnFinishSwitchStmt() 1250 llvm::APSInt RhsVal = SrcExpr->EvaluateKnownConstInt(Context); in DiagnoseAssignmentEnum()
|
| H A D | SemaInit.cpp | 2623 DesignatedStartIndex = IndexExpr->EvaluateKnownConstInt(SemaRef.Context); in CheckDesignatedInitializer() 2629 DIE->getArrayRangeStart(*D)->EvaluateKnownConstInt(SemaRef.Context); in CheckDesignatedInitializer() 2631 DIE->getArrayRangeEnd(*D)->EvaluateKnownConstInt(SemaRef.Context); in CheckDesignatedInitializer() 5272 (Initializer->EvaluateKnownConstInt(S.getASTContext()) == 0); in IsZeroInitializer()
|
| H A D | SemaOpenMP.cpp | 5999 Hint = E->EvaluateKnownConstInt(Context); in ActOnOpenMPCriticalDirective() 6018 << C->getHint()->EvaluateKnownConstInt(Context).toString( in ActOnOpenMPCriticalDirective() 12115 TotalDepCount = OrderedCountExpr->EvaluateKnownConstInt(Context); in ActOnOpenMPDependClause()
|
| H A D | SemaOverload.cpp | 1866 From->EvaluateKnownConstInt(S.getASTContext()) == 0) { in IsStandardConversion() 1871 (From->EvaluateKnownConstInt(S.getASTContext()) == 0)) { in IsStandardConversion()
|
| H A D | SemaChecking.cpp | 5828 llvm::APSInt Result = Arg->EvaluateKnownConstInt(Context); in SemaBuiltinAllocaWithAlign()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 3988 APSInt LHS = CS->getLHS()->EvaluateKnownConstInt(Info.Ctx); in EvaluateSwitch() 3989 APSInt RHS = CS->getRHS() ? CS->getRHS()->EvaluateKnownConstInt(Info.Ctx) in EvaluateSwitch() 8170 E->getArg(1)->EvaluateKnownConstInt(Info.Ctx).getZExtValue(); in VisitBuiltinCallExpr() 8270 int Operand = E->getArg(0)->EvaluateKnownConstInt(Info.Ctx).getZExtValue(); in VisitBuiltinCallExpr() 11046 APSInt Expr::EvaluateKnownConstInt(const ASTContext &Ctx, in EvaluateKnownConstInt() function in Expr 11399 llvm::APSInt REval = Exp->getRHS()->EvaluateKnownConstInt(Ctx); in CheckICE() 11403 llvm::APSInt LEval = Exp->getLHS()->EvaluateKnownConstInt(Ctx); in CheckICE() 11431 (Exp->getLHS()->EvaluateKnownConstInt(Ctx) == 0)) in CheckICE() 11486 Exp->getCommon()->EvaluateKnownConstInt(Ctx) != 0) return NoDiag(); in CheckICE() 11517 if (Exp->getCond()->EvaluateKnownConstInt(Ctx) == 0) in CheckICE()
|
| H A D | Decl.cpp | 3789 return getBitWidth()->EvaluateKnownConstInt(Ctx).getZExtValue(); in getBitWidthValue()
|
| H A D | Expr.cpp | 3547 if (EvaluateKnownConstInt(Ctx) != 0) in isNullPointerConstant()
|
| H A D | ItaniumMangle.cpp | 3879 llvm::APSInt V = SAE->EvaluateKnownConstInt(Context.getASTContext()); in mangleExpression()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineC.cpp | 859 APSInt Value = Ex->EvaluateKnownConstInt(getContext()); in VisitUnaryExprOrTypeTraitExpr()
|
| H A D | ExprEngine.cpp | 2310 llvm::APSInt V1 = Case->getLHS()->EvaluateKnownConstInt(getContext()); in processSwitch() 2316 V2 = E->EvaluateKnownConstInt(getContext()); in processSwitch()
|
| H A D | BugReporter.cpp | 600 os << LHS->EvaluateKnownConstInt(PDB.getASTContext()); in generateDiagForSwitchOP()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/ |
| H A D | CFG.cpp | 3936 const llvm::APSInt &lhsInt = CS->getLHS()->EvaluateKnownConstInt(Ctx); in shouldAddCase() 3946 const llvm::APSInt &V2 = RHS->EvaluateKnownConstInt(Ctx); in shouldAddCase()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | Expr.h | 636 llvm::APSInt EvaluateKnownConstInt( 3904 return getExpr(N+2)->EvaluateKnownConstInt(Ctx); in getShuffleMaskIdx()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | Sema.h | 9900 !!Condition.get()->EvaluateKnownConstInt(S.Context)) {} in ConditionResult()
|