Home
last modified time | relevance | path

Searched refs:IndexVar (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DLoopConvertUtils.cpp254 const VarDecl *IndexVar) { in isIndexInSubscriptExpr() argument
257 areSameVariable(IndexVar, Idx->getDecl()); in isIndexInSubscriptExpr()
288 const VarDecl *IndexVar, const Expr *Obj, in isIndexInSubscriptExpr() argument
290 if (!SourceExpr || !Obj || !isIndexInSubscriptExpr(IndexExpr, IndexVar)) in isIndexInSubscriptExpr()
314 const VarDecl *IndexVar) { in isDereferenceOfOpCall() argument
316 exprReferencesVariable(IndexVar, OpCall->getArg(0)); in isDereferenceOfOpCall()
327 const VarDecl *IndexVar) { in isDereferenceOfUop() argument
329 exprReferencesVariable(IndexVar, Uop->getSubExpr()); in isDereferenceOfUop()
350 const VarDecl *IndexVar) { in isAliasDecl() argument
384 return isIndexInSubscriptExpr(E->getIdx(), IndexVar); in isAliasDecl()
[all …]
DLoopConvertCheck.h45 void doConversion(ASTContext *Context, const VarDecl *IndexVar,
DLoopConvertUtils.h291 ForLoopIndexUseVisitor(ASTContext *Context, const VarDecl *IndexVar,
366 const VarDecl *IndexVar; variable
DLoopConvertCheck.cpp571 ASTContext *Context, const VarDecl *IndexVar, in doConversion() argument
618 Loop, IndexVar, MaybeContainer, Context, NamingStyle); in doConversion()
656 TUInfo->getReplacedVars().insert(std::make_pair(Loop, IndexVar)); in doConversion()
/external/clang/lib/CodeGen/
DCGClass.cpp615 Address IndexVar = CGF.GetAddrOfLocalVar(ArrayIndexes[Index]); in EmitAggMemberInitializer() local
619 = llvm::Constant::getNullValue(IndexVar.getElementType()); in EmitAggMemberInitializer()
620 CGF.Builder.CreateStore(Zero, IndexVar); in EmitAggMemberInitializer()
632 llvm::Value *Counter = CGF.Builder.CreateLoad(IndexVar); in EmitAggMemberInitializer()
653 Counter = CGF.Builder.CreateLoad(IndexVar); in EmitAggMemberInitializer()
655 CGF.Builder.CreateStore(NextVal, IndexVar); in EmitAggMemberInitializer()