Searched refs:IdxExpr (Results 1 – 6 of 6) sorted by relevance
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | ObjCContainersChecker.cpp | 130 const Expr *IdxExpr = CE->getArg(1); in checkPreStmt() local 131 SVal IdxVal = State->getSVal(IdxExpr, C.getLocationContext()); in checkPreStmt() 137 const QualType T = IdxExpr->getType(); in checkPreStmt() 146 R->addRange(IdxExpr->getSourceRange()); in checkPreStmt()
|
/external/clang/lib/Sema/ |
D | SemaDeclAttr.cpp | 269 const Expr *IdxExpr, in checkFunctionOrMethodParameterIndex() argument 282 if (IdxExpr->isTypeDependent() || IdxExpr->isValueDependent() || in checkFunctionOrMethodParameterIndex() 283 !IdxExpr->isIntegerConstantExpr(IdxInt, S.Context)) { in checkFunctionOrMethodParameterIndex() 286 << IdxExpr->getSourceRange(); in checkFunctionOrMethodParameterIndex() 293 << Attr.getName() << AttrArgNum << IdxExpr->getSourceRange(); in checkFunctionOrMethodParameterIndex() 301 << Attr.getName() << IdxExpr->getSourceRange(); in checkFunctionOrMethodParameterIndex() 2753 Expr *IdxExpr = Attr.getArgAsExpr(0); in handleFormatArgAttr() local 2755 if (!checkFunctionOrMethodParameterIndex(S, D, Attr, 1, IdxExpr, Idx)) in handleFormatArgAttr() 2767 << "a string type" << IdxExpr->getSourceRange() in handleFormatArgAttr() 2778 << IdxExpr->getSourceRange() << getFunctionOrMethodParamRange(D, 0); in handleFormatArgAttr() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ScalarEvolution.cpp | 4622 const SCEVAddRecExpr *IdxExpr = dyn_cast<SCEVAddRecExpr>(Idx); in ComputeLoadConstantCompareExitLimit() local 4623 if (!IdxExpr || !IdxExpr->isAffine() || isLoopInvariant(IdxExpr, L) || in ComputeLoadConstantCompareExitLimit() 4624 !isa<SCEVConstant>(IdxExpr->getOperand(0)) || in ComputeLoadConstantCompareExitLimit() 4625 !isa<SCEVConstant>(IdxExpr->getOperand(1))) in ComputeLoadConstantCompareExitLimit() 4631 cast<IntegerType>(IdxExpr->getType()), IterationNum); in ComputeLoadConstantCompareExitLimit() 4632 ConstantInt *Val = EvaluateConstantChrecAtConstant(IdxExpr, ItCst, *this); in ComputeLoadConstantCompareExitLimit()
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 6113 const SCEVAddRecExpr *IdxExpr = dyn_cast<SCEVAddRecExpr>(Idx); in computeLoadConstantCompareExitLimit() local 6114 if (!IdxExpr || !IdxExpr->isAffine() || isLoopInvariant(IdxExpr, L) || in computeLoadConstantCompareExitLimit() 6115 !isa<SCEVConstant>(IdxExpr->getOperand(0)) || in computeLoadConstantCompareExitLimit() 6116 !isa<SCEVConstant>(IdxExpr->getOperand(1))) in computeLoadConstantCompareExitLimit() 6122 cast<IntegerType>(IdxExpr->getType()), IterationNum); in computeLoadConstantCompareExitLimit() 6123 ConstantInt *Val = EvaluateConstantChrecAtConstant(IdxExpr, ItCst, *this); in computeLoadConstantCompareExitLimit()
|
/external/clang/lib/CodeGen/ |
D | CGExprScalar.cpp | 1919 Expr *IdxExpr = E->getIndexExpr(ON.getArrayExprIndex()); in VisitOffsetOfExpr() local 1920 llvm::Value* Idx = CGF.EmitScalarExpr(IdxExpr); in VisitOffsetOfExpr() 1921 bool IdxSigned = IdxExpr->getType()->isSignedIntegerOrEnumerationType(); in VisitOffsetOfExpr()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 7471 const SCEVAddRecExpr *IdxExpr = dyn_cast<SCEVAddRecExpr>(Idx); in computeLoadConstantCompareExitLimit() local 7472 if (!IdxExpr || !IdxExpr->isAffine() || isLoopInvariant(IdxExpr, L) || in computeLoadConstantCompareExitLimit() 7473 !isa<SCEVConstant>(IdxExpr->getOperand(0)) || in computeLoadConstantCompareExitLimit() 7474 !isa<SCEVConstant>(IdxExpr->getOperand(1))) in computeLoadConstantCompareExitLimit() 7480 cast<IntegerType>(IdxExpr->getType()), IterationNum); in computeLoadConstantCompareExitLimit() 7481 ConstantInt *Val = EvaluateConstantChrecAtConstant(IdxExpr, ItCst, *this); in computeLoadConstantCompareExitLimit()
|