Home
last modified time | relevance | path

Searched refs:getIntegerConstantExpr (Results 1 – 23 of 23) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DProBoundsConstantArrayIndexCheck.cpp67 IndexExpr->getIntegerConstantExpr(*Result.Context); in check()
DNarrowingConversionsCheck.cpp86 if (auto IntegerConstant = E.getIntegerConstantExpr(Ctx)) in getConstantExprValue()
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DRedundantExpressionCheck.cpp505 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/
DSemaStmtAttr.cpp385 if (!(ArgVal = E->getIntegerConstantExpr(S.Context))) { in handleOpenCLUnrollHint()
DSemaChecking.cpp2282 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 …]
DSemaAttr.cpp308 !(Val = Alignment->getIntegerConstantExpr(Context)) || in ActOnPragmaPack()
DSemaDeclAttr.cpp249 !(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()
DSemaType.cpp2549 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()
DSemaOpenMP.cpp6654 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()
DSemaTemplateDeduction.cpp2176 ParamExpr->getIntegerConstantExpr(S.Context); in DeduceTemplateArgumentsByTypeMatch()
2189 ArgExpr->getIntegerConstantExpr(S.Context)) in DeduceTemplateArgumentsByTypeMatch()
DSemaOverload.cpp359 Initializer->getIntegerConstantExpr(Ctx)) { in getNarrowingKind()
442 if (!(OptInitializerValue = Initializer->getIntegerConstantExpr(Ctx))) { in getNarrowingKind()
2191 MemberDecl->getBitWidth()->getIntegerConstantExpr(Context))) { in IsIntegralPromotion()
DSemaExprCXX.cpp2101 (*ArraySize)->getIntegerConstantExpr(Context)) { in BuildCXXNew()
DSemaExpr.cpp4777 IndexExpr->getIntegerConstantExpr(Context)) { in CreateBuiltinMatrixSubscriptExpr()
5201 Optional<llvm::APSInt> Result = Step->getIntegerConstantExpr(Context); in ActOnOMPIteratorExpr()
DSemaDecl.cpp13310 if (!(MagicValueInt = MagicValueExpr->getIntegerConstantExpr(Context))) { in FinalizeDeclaration()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DLoopConvertUtils.cpp442 ConditionExpr->getIntegerConstantExpr(*Context); in arrayMatchesBoundExpr()
/external/llvm-project/clang/lib/CodeGen/
DCGBuiltin.cpp4899 *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 …]
DCGExpr.cpp3940 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/
DOpenMPClause.cpp2140 Selector.ScoreOrCondition->getIntegerConstantExpr(ASTCtx)) in getAsVariantMatchInfo()
2153 if ((Score = Selector.ScoreOrCondition->getIntegerConstantExpr(ASTCtx))) in getAsVariantMatchInfo()
DMicrosoftMangle.cpp1437 E->getIntegerConstantExpr(Context.getASTContext())) { in mangleExpression()
DASTContext.cpp9729 if (E && (TheInt = E->getIntegerConstantExpr(*this))) in mergeTypes()
DExprConstant.cpp15481 Optional<llvm::APSInt> Expr::getIntegerConstantExpr(const ASTContext &Ctx, in getIntegerConstantExpr() function in Expr
/external/llvm-project/clang/include/clang/AST/
DExpr.h534 Optional<llvm::APSInt> getIntegerConstantExpr(const ASTContext &Ctx,
/external/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
DTypeSystemClang.cpp1664 bit_width_expr->getIntegerConstantExpr(ast)) { in FieldIsBitfield()