Home
last modified time | relevance | path

Searched refs:IndexExprs (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNaryReassociate.cpp400 SmallVector<const SCEV *, 4> IndexExprs; in tryReassociateGEPAtIndex() local
402 IndexExprs.push_back(SE->getSCEV(Index)); in tryReassociateGEPAtIndex()
404 IndexExprs[I] = SE->getSCEV(LHS); in tryReassociateGEPAtIndex()
413 IndexExprs[I] = in tryReassociateGEPAtIndex()
414 SE->getZeroExtendExpr(IndexExprs[I], GEP->getOperand(I)->getType()); in tryReassociateGEPAtIndex()
417 IndexExprs); in tryReassociateGEPAtIndex()
H A DStraightLineStrengthReduce.cpp528 SmallVector<const SCEV *, 4> IndexExprs; in allocateCandidatesAndFindBasisForGEP() local
530 IndexExprs.push_back(SE->getSCEV(Idx)); in allocateCandidatesAndFindBasisForGEP()
537 const SCEV *OrigIndexExpr = IndexExprs[I - 1]; in allocateCandidatesAndFindBasisForGEP()
538 IndexExprs[I - 1] = SE->getZero(OrigIndexExpr->getType()); in allocateCandidatesAndFindBasisForGEP()
542 const SCEV *BaseExpr = SE->getGEPExpr(cast<GEPOperator>(GEP), IndexExprs); in allocateCandidatesAndFindBasisForGEP()
563 IndexExprs[I - 1] = OrigIndexExpr; in allocateCandidatesAndFindBasisForGEP()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp4574 ArrayRef<Expr *> IndexExprs, Expr *Init) in DesignatedInitExpr() argument
4578 NumDesignators(Designators.size()), NumSubExprs(IndexExprs.size() + 1) { in DesignatedInitExpr()
4592 *Child++ = IndexExprs[IndexIdx++]; in DesignatedInitExpr()
4595 *Child++ = IndexExprs[IndexIdx++]; in DesignatedInitExpr()
4596 *Child++ = IndexExprs[IndexIdx++]; in DesignatedInitExpr()
4600 assert(IndexIdx == IndexExprs.size() && "Wrong number of index expressions"); in DesignatedInitExpr()
4607 ArrayRef<Expr*> IndexExprs, in Create() argument
4610 void *Mem = C.Allocate(totalSizeToAlloc<Stmt *>(IndexExprs.size() + 1), in Create()
4614 IndexExprs, Init); in Create()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolution.h638 const SmallVectorImpl<const SCEV *> &IndexExprs);
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h5304 ArrayRef<Expr *> IndexExprs, Expr *Init);
5496 ArrayRef<Expr*> IndexExprs,
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp2611 SmallVector<Expr*, 4> IndexExprs(NumIndexExprs); in CloneDesignatedInitExpr() local
2613 IndexExprs[I] = DIE->getSubExpr(I + 1); in CloneDesignatedInitExpr()
2615 IndexExprs, in CloneDesignatedInitExpr()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp3744 const SmallVectorImpl<const SCEV *> &IndexExprs) { in getGEPExpr() argument
3770 for (const SCEV *IndexExpr : IndexExprs) { in getGEPExpr()
6275 SmallVector<const SCEV *, 4> IndexExprs; in createNodeForGEP() local
6277 IndexExprs.push_back(getSCEV(Index)); in createNodeForGEP()
6278 return getGEPExpr(GEP, IndexExprs); in createNodeForGEP()