Home
last modified time | relevance | path

Searched refs:isIntegerConstantExpr (Results 1 – 25 of 35) sorted by relevance

12

/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DRedundantExpressionCheck.cpp438 AST_MATCHER(Expr, isIntegerConstantExpr) { in AST_MATCHER() argument
441 return Node.isIntegerConstantExpr(Finder->getASTContext()); in AST_MATCHER()
492 return expr(isIntegerConstantExpr()).bind(CstId); in matchIntegerConstantExpr()
524 expr(unless(isIntegerConstantExpr())).bind(SymId)); in matchSymbolicExpr()
682 !Arg->isIntegerConstantExpr(*Result.Context)) in retrieveRelationalIntegerConstantExpr()
713 return !E->isValueDependent() && E->isIntegerConstantExpr(*AstCtx); in areSidesBinaryConstExpressions()
742 return !E->isValueDependent() && E->isIntegerConstantExpr(*AstCtx); in retrieveConstExprFromBothSides()
/external/clang/lib/Sema/
DSemaStmtAttr.cpp252 if (!E->isIntegerConstantExpr(ArgVal, S.Context)) { in handleOpenCLUnrollHint()
DSemaAttr.cpp142 !Alignment->isIntegerConstantExpr(Val, Context) || in ActOnPragmaPack()
DSemaDeclAttr.cpp226 !Expr->isIntegerConstantExpr(I, S.Context)) { in checkUInt32Argument()
283 !IdxExpr->isIntegerConstantExpr(IdxInt, S.Context)) { in checkFunctionOrMethodParameterIndex()
1333 if (!E->isIntegerConstantExpr(I, Context)) { in AddAssumeAlignedAttr()
1355 if (!OE->isIntegerConstantExpr(I, Context)) { in AddAssumeAlignedAttr()
2426 !E->isIntegerConstantExpr(Idx, S.Context)) { in handleSentinelAttr()
2447 !E->isIntegerConstantExpr(Idx, S.Context)) { in handleSentinelAttr()
4059 if (!E->isIntegerConstantExpr(I, S.Context)) { in makeLaunchBoundsArgExpr()
4762 if (!NumParamsExpr->isIntegerConstantExpr(NumParams, S.Context)) { in handleMSP430InterruptAttr()
DSemaChecking.cpp1521 if (Arg->isIntegerConstantExpr(AbortCode, Context) && in CheckSystemZBuiltinFunctionCall()
2597 if (SubExprs[1]->isIntegerConstantExpr(Result, Context) && in SemaAtomicOpsOverloaded()
3434 if (!TheCall->getArg(i)->isIntegerConstantExpr(Result, Context)) in SemaBuiltinShuffleVector()
3575 if (!Arg->isIntegerConstantExpr(Result, Context)) in SemaBuiltinConstantArg()
7232 if (BO->getRHS()->isIntegerConstantExpr(shift, C) && in GetExprRange()
7263 if (BO->getRHS()->isIntegerConstantExpr(divisor, C)) { in GetExprRange()
7387 return E->isIntegerConstantExpr(Value, S.Context) && Value == 0; in IsZero()
7671 RHS->isIntegerConstantExpr(RHSValue, S.Context); in AnalyzeComparison()
7674 LHS->isIntegerConstantExpr(LHSValue, S.Context); in AnalyzeComparison()
7683 IsComparisonConstant = E->isIntegerConstantExpr(S.Context); in AnalyzeComparison()
[all …]
DSemaOpenMP.cpp4078 bool IsConstant = NewStep->isIntegerConstantExpr(Result, SemaRef.Context); in SetStep()
4879 if (E->isIntegerConstantExpr(Result, SemaRef.Context)) in FitsInto()
5096 LastIteration.get()->isIntegerConstantExpr(Result, SemaRef.Context); in CheckOpenMPLoop()
7429 if (ValExpr->isIntegerConstantExpr(Result, SemaRef.Context) && in IsNonNegativeIntegerValue()
7862 if (ValExpr->isIntegerConstantExpr(Result, Context)) { in ActOnOpenMPScheduleClause()
9720 bool IsConstant = StepExpr->isIntegerConstantExpr(Result, Context); in ActOnOpenMPLinearClause()
11417 if (ValExpr->isIntegerConstantExpr(Result, Context)) { in ActOnOpenMPDistScheduleClause()
DSemaType.cpp2303 if (!ArraySize->isIntegerConstantExpr(vecSize, Context)) { in BuildExtVectorType()
5286 !ASArgExpr->isIntegerConstantExpr(addrSpace, S.Context)) { in HandleAddressSpaceTypeAttribute()
6315 !sizeExpr->isIntegerConstantExpr(vecSize, S.Context)) { in HandleVectorSizeAttr()
6472 !numEltsExpr->isIntegerConstantExpr(numEltsInt, S.Context)) { in HandleNeonVectorTypeAttr()
DSemaCast.cpp1829 && !SrcExpr->isIntegerConstantExpr(Self.Context) in checkIntToPointerCast()
DSemaOverload.cpp328 Initializer->isIntegerConstantExpr(IntConstantValue, Ctx)) { in getNarrowingKind()
401 if (!Initializer->isIntegerConstantExpr(InitializerValue, Ctx)) { in getNarrowingKind()
1737 From->isIntegerConstantExpr(S.getASTContext()) && in IsStandardConversion()
1944 MemberDecl->getBitWidth()->isIntegerConstantExpr(BitWidth, Context)) { in IsIntegralPromotion()
DSemaInit.cpp4889 !Initializer->isIntegerConstantExpr(S.getASTContext())) in TryOCLSamplerInitialization()
4909 !Initializer->isIntegerConstantExpr(S.getASTContext()) || in TryOCLZeroEventInitialization()
DSemaStmt.cpp1191 SrcExpr->isIntegerConstantExpr(Context)) { in DiagnoseAssignmentEnum()
/external/clang/lib/CodeGen/
DCGBuiltin.cpp2431 bool IsConst = E->getArg(i)->isIntegerConstantExpr(Result,getContext()); in EmitBuiltinExpr()
3341 if (!Arg->isIntegerConstantExpr(NeonTypeConst, getContext())) in EmitCommonNeonBuiltinExpr()
4344 bool IsConst = E->getArg(i)->isIntegerConstantExpr(Result, getContext()); in EmitARMBuiltinExpr()
4405 if (!Arg->isIntegerConstantExpr(Result, getContext())) in EmitARMBuiltinExpr()
4670 if (!Arg->isIntegerConstantExpr(Result, CGF.getContext())) in EmitAArch64TblBuiltinExpr()
5035 bool IsConst = E->getArg(i)->isIntegerConstantExpr(Result, getContext()); in EmitAArch64BuiltinExpr()
5056 if (Arg->isIntegerConstantExpr(Result, getContext())) in EmitAArch64BuiltinExpr()
6723 bool IsConst = E->getArg(i)->isIntegerConstantExpr(Result, getContext()); in EmitX86BuiltinExpr()
7835 bool IsConstM4 = E->getArg(1)->isIntegerConstantExpr(M4, getContext()); in EmitSystemZBuiltinExpr()
7836 bool IsConstM5 = E->getArg(2)->isIntegerConstantExpr(M5, getContext()); in EmitSystemZBuiltinExpr()
DCGExpr.cpp3066 if (Length->isIntegerConstantExpr(ConstLength, C)) { in EmitOMPArraySectionExpr()
3072 if (LowerBound && LowerBound->isIntegerConstantExpr(ConstLowerBound, C)) { in EmitOMPArraySectionExpr()
3111 if (Length->isIntegerConstantExpr(ConstLength, C)) in EmitOMPArraySectionExpr()
/external/clang/include/clang/AST/
DExpr.h488 bool isIntegerConstantExpr(llvm::APSInt &Result, const ASTContext &Ctx,
491 bool isIntegerConstantExpr(const ASTContext &Ctx,
/external/clang/lib/AST/
DMicrosoftMangle.cpp1162 if (E->isIntegerConstantExpr(Value, Context.getASTContext())) { in mangleExpression()
DExprConstant.cpp9741 bool Expr::isIntegerConstantExpr(const ASTContext &Ctx, in isIntegerConstantExpr() function in Expr
9754 bool Expr::isIntegerConstantExpr(llvm::APSInt &Value, const ASTContext &Ctx, in isIntegerConstantExpr() function in Expr
9759 if (!isIntegerConstantExpr(Ctx, Loc)) in isIntegerConstantExpr()
DType.cpp2767 bool isICE = noexceptExpr->isIntegerConstantExpr(value, ctx, nullptr, in getNoexceptSpec()
DDecl.cpp2243 Eval->IsICE = Init->isIntegerConstantExpr(getASTContext()); in checkInitIsICE()
DExpr.cpp3236 if (!isIntegerConstantExpr(Ctx)) in isNullPointerConstant()
/external/llvm-project/clang/lib/Sema/
DSemaCast.cpp2047 && !SrcExpr->isIntegerConstantExpr(Self.Context) in checkIntToPointerCast()
DSemaOverload.cpp1938 From->isIntegerConstantExpr(S.getASTContext()) && in IsStandardConversion()
1943 From->isIntegerConstantExpr(S.getASTContext()) && in IsStandardConversion()
1948 From->isIntegerConstantExpr(S.getASTContext())) { in IsStandardConversion()
DSemaInit.cpp5512 (!Initializer->isIntegerConstantExpr(S.Context) && in TryOCLSamplerInitialization()
5521 return Initializer->isIntegerConstantExpr(S.getASTContext()) && in IsZeroInitializer()
DSemaStmt.cpp1319 SrcExpr->isIntegerConstantExpr(Context)) { in DiagnoseAssignmentEnum()
/external/llvm-project/clang/lib/AST/
DDecl.cpp2453 Eval->HasICEInit = Init->isIntegerConstantExpr(Context); in hasICEInitializer()
DExpr.cpp3710 if (!isIntegerConstantExpr(Ctx)) in isNullPointerConstant()

12