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()
240 const Expr *IdxExpr, in checkFunctionOrMethodArgumentIndex() argument252 if (IdxExpr->isTypeDependent() || IdxExpr->isValueDependent() || in checkFunctionOrMethodArgumentIndex()253 !IdxExpr->isIntegerConstantExpr(IdxInt, S.Context)) { in checkFunctionOrMethodArgumentIndex()255 << AttrName << AttrArgNum << IdxExpr->getSourceRange(); in checkFunctionOrMethodArgumentIndex()262 << AttrName << AttrArgNum << IdxExpr->getSourceRange(); in checkFunctionOrMethodArgumentIndex()270 << AttrName << IdxExpr->getSourceRange(); in checkFunctionOrMethodArgumentIndex()1354 Expr *IdxExpr = *I; in handleOwnershipAttr() local1356 if (IdxExpr->isTypeDependent() || IdxExpr->isValueDependent() in handleOwnershipAttr()1357 || !IdxExpr->isIntegerConstantExpr(ArgNum, S.Context)) { in handleOwnershipAttr()1359 << AL.getName()->getName() << IdxExpr->getSourceRange(); in handleOwnershipAttr()[all …]
4632 const SCEVAddRecExpr *IdxExpr = dyn_cast<SCEVAddRecExpr>(Idx); in ComputeLoadConstantCompareExitLimit() local4633 if (!IdxExpr || !IdxExpr->isAffine() || isLoopInvariant(IdxExpr, L) || in ComputeLoadConstantCompareExitLimit()4634 !isa<SCEVConstant>(IdxExpr->getOperand(0)) || in ComputeLoadConstantCompareExitLimit()4635 !isa<SCEVConstant>(IdxExpr->getOperand(1))) in ComputeLoadConstantCompareExitLimit()4641 cast<IntegerType>(IdxExpr->getType()), IterationNum); in ComputeLoadConstantCompareExitLimit()4642 ConstantInt *Val = EvaluateConstantChrecAtConstant(IdxExpr, ItCst, *this); in ComputeLoadConstantCompareExitLimit()
1724 Expr *IdxExpr = E->getIndexExpr(ON.getArrayExprIndex()); in VisitOffsetOfExpr() local1725 llvm::Value* Idx = CGF.EmitScalarExpr(IdxExpr); in VisitOffsetOfExpr()1726 bool IdxSigned = IdxExpr->getType()->isSignedIntegerOrEnumerationType(); in VisitOffsetOfExpr()