/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | ProBoundsConstantArrayIndexCheck.cpp | 67 IndexExpr->getIntegerConstantExpr(*Result.Context); in check()
|
D | NarrowingConversionsCheck.cpp | 86 if (auto IntegerConstant = E.getIntegerConstantExpr(Ctx)) in getConstantExprValue()
|
/external/llvm-project/clang-tools-extra/clang-tidy/misc/ |
D | RedundantExpressionCheck.cpp | 505 Optional<llvm::APSInt> R = ConstExpr->getIntegerConstantExpr(*Result.Context); in retrieveIntegerConstantExpr() 1275 ShiftingConst->getIntegerConstantExpr(*Result.Context); in check() 1283 AndConst->getIntegerConstantExpr(*Result.Context); in check()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaStmtAttr.cpp | 385 if (!(ArgVal = E->getIntegerConstantExpr(S.Context))) { in handleOpenCLUnrollHint()
|
D | SemaChecking.cpp | 2282 llvm::APSInt CoprocNoAP = *CoprocArg->getIntegerConstantExpr(Context); in CheckARMCoprocessorImmediate() 2664 Optional<llvm::APSInt> Value = Arg->getIntegerConstantExpr(Context); in CheckBPFBuiltinFunctionCall() 3387 if (Optional<llvm::APSInt> AbortCode = Arg->getIntegerConstantExpr(Context)) in CheckSystemZBuiltinFunctionCall() 5121 SubExprs[1]->getIntegerConstantExpr(Context)) in BuildAtomicExpr() 5131 Scope->getIntegerConstantExpr(Context)) { in BuildAtomicExpr() 6131 if (!(Result = TheCall->getArg(i)->getIntegerConstantExpr(Context))) in SemaBuiltinShuffleVector() 6389 if (!(R = Arg->getIntegerConstantExpr(Context))) in SemaBuiltinConstantArg() 10749 BO->getRHS()->getIntegerConstantExpr(C)) { in GetExprRange() 10794 BO->getRHS()->getIntegerConstantExpr(C)) { in GetExprRange() 11264 Optional<llvm::APSInt> RHSValue = RHS->getIntegerConstantExpr(S.Context); in AnalyzeComparison() [all …]
|
D | SemaAttr.cpp | 308 !(Val = Alignment->getIntegerConstantExpr(Context)) || in ActOnPragmaPack()
|
D | SemaDeclAttr.cpp | 249 !(I = Expr->getIntegerConstantExpr(S.Context))) { in checkUInt32Argument() 341 !(IdxInt = IdxExpr->getIntegerConstantExpr(S.Context))) { in checkFunctionOrMethodParameterIndex() 1613 if (!(I = E->getIntegerConstantExpr(Context))) { in AddAssumeAlignedAttr() 2739 !(Idx = E->getIntegerConstantExpr(S.Context))) { in handleSentinelAttr() 2759 !(Idx = E->getIntegerConstantExpr(S.Context))) { in handleSentinelAttr() 4931 if (!(I = E->getIntegerConstantExpr(S.Context))) { in makeLaunchBoundsArgExpr() 6318 if (!(NumParams = NumParamsExpr->getIntegerConstantExpr(S.Context))) { in handleMSP430InterruptAttr()
|
D | SemaType.cpp | 2549 Optional<llvm::APSInt> VecSize = SizeExpr->getIntegerConstantExpr(Context); in BuildVectorType() 2613 Optional<llvm::APSInt> vecSize = ArraySize->getIntegerConstantExpr(Context); in BuildExtVectorType() 2659 Optional<llvm::APSInt> ValueRows = NumRows->getIntegerConstantExpr(Context); in BuildMatrixType() 2661 NumCols->getIntegerConstantExpr(Context); in BuildMatrixType() 6337 AddrSpace->getIntegerConstantExpr(S.Context); in BuildAddressSpaceIndex() 7778 AttrExpr->getIntegerConstantExpr(S.Context)) { in verifyValidIntegerConstantExpr()
|
D | SemaOpenMP.cpp | 6654 NewStep->getIntegerConstantExpr(SemaRef.Context); in setStep() 7110 if (Optional<llvm::APSInt> Res = Lower->getIntegerConstantExpr(SemaRef.Context)) { in calculateNumIters() 7114 if (Optional<llvm::APSInt> Res = Step->getIntegerConstantExpr(SemaRef.Context)) { in calculateNumIters() 7152 if (Optional<llvm::APSInt> Res = Upper->getIntegerConstantExpr(SemaRef.Context)) { in calculateNumIters() 8105 E->getIntegerConstantExpr(SemaRef.Context)) in fitsInto() 12764 ValExpr->getIntegerConstantExpr(SemaRef.Context)) { in isNonNegativeIntegerValue() 13409 ValExpr->getIntegerConstantExpr(Context)) { in ActOnOpenMPScheduleClause() 15912 StepExpr->getIntegerConstantExpr(Context)) { in ActOnOpenMPLinearClause() 18490 ValExpr->getIntegerConstantExpr(Context)) { in ActOnOpenMPDistScheduleClause()
|
D | SemaTemplateDeduction.cpp | 2176 ParamExpr->getIntegerConstantExpr(S.Context); in DeduceTemplateArgumentsByTypeMatch() 2189 ArgExpr->getIntegerConstantExpr(S.Context)) in DeduceTemplateArgumentsByTypeMatch()
|
D | SemaOverload.cpp | 359 Initializer->getIntegerConstantExpr(Ctx)) { in getNarrowingKind() 442 if (!(OptInitializerValue = Initializer->getIntegerConstantExpr(Ctx))) { in getNarrowingKind() 2191 MemberDecl->getBitWidth()->getIntegerConstantExpr(Context))) { in IsIntegralPromotion()
|
D | SemaExprCXX.cpp | 2101 (*ArraySize)->getIntegerConstantExpr(Context)) { in BuildCXXNew()
|
D | SemaExpr.cpp | 4777 IndexExpr->getIntegerConstantExpr(Context)) { in CreateBuiltinMatrixSubscriptExpr() 5201 Optional<llvm::APSInt> Result = Step->getIntegerConstantExpr(Context); in ActOnOMPIteratorExpr()
|
D | SemaDecl.cpp | 13310 if (!(MagicValueInt = MagicValueExpr->getIntegerConstantExpr(Context))) { in FinalizeDeclaration()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | LoopConvertUtils.cpp | 442 ConditionExpr->getIntegerConstantExpr(*Context); in arrayMatchesBoundExpr()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGBuiltin.cpp | 4899 *E->getArg(i)->getIntegerConstantExpr(getContext())); in EmitBuiltinExpr() 6082 Arg->getIntegerConstantExpr(getContext()); in EmitCommonNeonBuiltinExpr() 7376 *E->getArg(i)->getIntegerConstantExpr(getContext()))); in EmitARMBuiltinExpr() 7451 Optional<llvm::APSInt> Result = Arg->getIntegerConstantExpr(getContext()); in EmitARMBuiltinExpr() 7617 return E->getIntegerConstantExpr(Context)->getExtValue(); in GetIntegerConstantValue() 7891 Optional<llvm::APSInt> Result = Arg->getIntegerConstantExpr(CGF.getContext()); in EmitAArch64TblBuiltinExpr() 8574 E->getArg(i)->getIntegerConstantExpr(getContext()); in EmitAArch64SVEBuiltinExpr() 9292 *E->getArg(i)->getIntegerConstantExpr(getContext()))); in EmitAArch64BuiltinExpr() 9309 if (Optional<llvm::APSInt> Result = Arg->getIntegerConstantExpr(getContext())) in EmitAArch64BuiltinExpr() 11954 getLLVMContext(), *E->getArg(i)->getIntegerConstantExpr(getContext()))); in EmitX86BuiltinExpr() [all …]
|
D | CGExpr.cpp | 3940 if (Optional<llvm::APSInt> CL = Length->getIntegerConstantExpr(C)) { in EmitOMPArraySectionExpr() 3947 if (Optional<llvm::APSInt> LB = LowerBound->getIntegerConstantExpr(C)) { in EmitOMPArraySectionExpr() 3987 if (Optional<llvm::APSInt> L = Length->getIntegerConstantExpr(C)) { in EmitOMPArraySectionExpr()
|
/external/llvm-project/clang/lib/AST/ |
D | OpenMPClause.cpp | 2140 Selector.ScoreOrCondition->getIntegerConstantExpr(ASTCtx)) in getAsVariantMatchInfo() 2153 if ((Score = Selector.ScoreOrCondition->getIntegerConstantExpr(ASTCtx))) in getAsVariantMatchInfo()
|
D | MicrosoftMangle.cpp | 1437 E->getIntegerConstantExpr(Context.getASTContext())) { in mangleExpression()
|
D | ASTContext.cpp | 9729 if (E && (TheInt = E->getIntegerConstantExpr(*this))) in mergeTypes()
|
D | ExprConstant.cpp | 15481 Optional<llvm::APSInt> Expr::getIntegerConstantExpr(const ASTContext &Ctx, in getIntegerConstantExpr() function in Expr
|
/external/llvm-project/clang/include/clang/AST/ |
D | Expr.h | 534 Optional<llvm::APSInt> getIntegerConstantExpr(const ASTContext &Ctx,
|
/external/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
D | TypeSystemClang.cpp | 1664 bit_width_expr->getIntegerConstantExpr(ast)) { in FieldIsBitfield()
|