Home
last modified time | relevance | path

Searched refs:IdxExpr (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DObjCContainersChecker.cpp125 const Expr *IdxExpr = CE->getArg(1); in checkPreStmt() local
126 SVal IdxVal = State->getSVal(IdxExpr, C.getLocationContext()); in checkPreStmt()
132 const QualType T = IdxExpr->getType(); in checkPreStmt()
141 R->addRange(IdxExpr->getSourceRange()); in checkPreStmt()
/external/clang/lib/Sema/
DSemaDeclAttr.cpp242 const Expr *IdxExpr, in checkFunctionOrMethodArgumentIndex() argument
256 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() local
1344 if (IdxExpr->isTypeDependent() || IdxExpr->isValueDependent() in handleOwnershipAttr()
1345 || !IdxExpr->isIntegerConstantExpr(ArgNum, S.Context)) { in handleOwnershipAttr()
1348 << IdxExpr->getSourceRange(); in handleOwnershipAttr()
[all …]
/external/llvm/lib/Analysis/
DScalarEvolution.cpp4715 const SCEVAddRecExpr *IdxExpr = dyn_cast<SCEVAddRecExpr>(Idx); in ComputeLoadConstantCompareExitLimit() local
4716 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()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp1735 Expr *IdxExpr = E->getIndexExpr(ON.getArrayExprIndex()); in VisitOffsetOfExpr() local
1736 llvm::Value* Idx = CGF.EmitScalarExpr(IdxExpr); in VisitOffsetOfExpr()
1737 bool IdxSigned = IdxExpr->getType()->isSignedIntegerOrEnumerationType(); in VisitOffsetOfExpr()