Searched refs:IdxExpr (Results 1 – 4 of 4) sorted by relevance
125 const Expr *IdxExpr = CE->getArg(1); in checkPreStmt() local126 SVal IdxVal = State->getSVal(IdxExpr, C.getLocationContext()); in checkPreStmt()132 const QualType T = IdxExpr->getType(); in checkPreStmt()141 R->addRange(IdxExpr->getSourceRange()); in checkPreStmt()
242 const Expr *IdxExpr, in checkFunctionOrMethodArgumentIndex() argument256 if (IdxExpr->isTypeDependent() || IdxExpr->isValueDependent() || in checkFunctionOrMethodArgumentIndex()257 !IdxExpr->isIntegerConstantExpr(IdxInt, S.Context)) { in checkFunctionOrMethodArgumentIndex()260 << AttrArgNum << AANT_ArgumentIntegerConstant << IdxExpr->getSourceRange(); in checkFunctionOrMethodArgumentIndex()267 << AttrName << AttrArgNum << IdxExpr->getSourceRange(); in checkFunctionOrMethodArgumentIndex()275 << AttrName << IdxExpr->getSourceRange(); in checkFunctionOrMethodArgumentIndex()1342 Expr *IdxExpr = AL.getArg(0); in handleOwnershipAttr() local1344 if (IdxExpr->isTypeDependent() || IdxExpr->isValueDependent() in handleOwnershipAttr()1345 || !IdxExpr->isIntegerConstantExpr(ArgNum, S.Context)) { in handleOwnershipAttr()1348 << IdxExpr->getSourceRange(); in handleOwnershipAttr()[all …]
4715 const SCEVAddRecExpr *IdxExpr = dyn_cast<SCEVAddRecExpr>(Idx); in ComputeLoadConstantCompareExitLimit() local4716 if (!IdxExpr || !IdxExpr->isAffine() || isLoopInvariant(IdxExpr, L) || in ComputeLoadConstantCompareExitLimit()4717 !isa<SCEVConstant>(IdxExpr->getOperand(0)) || in ComputeLoadConstantCompareExitLimit()4718 !isa<SCEVConstant>(IdxExpr->getOperand(1))) in ComputeLoadConstantCompareExitLimit()4724 cast<IntegerType>(IdxExpr->getType()), IterationNum); in ComputeLoadConstantCompareExitLimit()4725 ConstantInt *Val = EvaluateConstantChrecAtConstant(IdxExpr, ItCst, *this); in ComputeLoadConstantCompareExitLimit()
1735 Expr *IdxExpr = E->getIndexExpr(ON.getArrayExprIndex()); in VisitOffsetOfExpr() local1736 llvm::Value* Idx = CGF.EmitScalarExpr(IdxExpr); in VisitOffsetOfExpr()1737 bool IdxSigned = IdxExpr->getType()->isSignedIntegerOrEnumerationType(); in VisitOffsetOfExpr()