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()
415 IndexExprs[I] = SE->getZeroExtendExpr(IndexExprs[I], GEPArgType); in tryReassociateGEPAtIndex()
418 IndexExprs); in tryReassociateGEPAtIndex()
H A DStraightLineStrengthReduce.cpp532 SmallVector<const SCEV *, 4> IndexExprs; in allocateCandidatesAndFindBasisForGEP() local
534 IndexExprs.push_back(SE->getSCEV(Idx)); in allocateCandidatesAndFindBasisForGEP()
541 const SCEV *OrigIndexExpr = IndexExprs[I - 1]; in allocateCandidatesAndFindBasisForGEP()
542 IndexExprs[I - 1] = SE->getZero(OrigIndexExpr->getType()); in allocateCandidatesAndFindBasisForGEP()
546 const SCEV *BaseExpr = SE->getGEPExpr(cast<GEPOperator>(GEP), IndexExprs); in allocateCandidatesAndFindBasisForGEP()
567 IndexExprs[I - 1] = OrigIndexExpr; in allocateCandidatesAndFindBasisForGEP()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp4598 ArrayRef<Expr *> IndexExprs, Expr *Init) in DesignatedInitExpr() argument
4602 NumDesignators(Designators.size()), NumSubExprs(IndexExprs.size() + 1) { in DesignatedInitExpr()
4616 *Child++ = IndexExprs[IndexIdx++]; in DesignatedInitExpr()
4619 *Child++ = IndexExprs[IndexIdx++]; in DesignatedInitExpr()
4620 *Child++ = IndexExprs[IndexIdx++]; in DesignatedInitExpr()
4624 assert(IndexIdx == IndexExprs.size() && "Wrong number of index expressions"); in DesignatedInitExpr()
4630 ArrayRef<Expr *> IndexExprs, in Create() argument
4634 void *Mem = C.Allocate(totalSizeToAlloc<Stmt *>(IndexExprs.size() + 1), in Create()
4638 IndexExprs, Init); in Create()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolution.h640 getGEPExpr(GEPOperator *GEP, const SmallVectorImpl<const SCEV *> &IndexExprs);
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h5509 ArrayRef<Expr *> IndexExprs, Expr *Init);
5701 ArrayRef<Expr *> IndexExprs,
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp2689 SmallVector<Expr*, 4> IndexExprs(NumIndexExprs); in CloneDesignatedInitExpr() local
2691 IndexExprs[I] = DIE->getSubExpr(I + 1); in CloneDesignatedInitExpr()
2693 IndexExprs, in CloneDesignatedInitExpr()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp3726 const SmallVectorImpl<const SCEV *> &IndexExprs) { in getGEPExpr() argument
3752 for (const SCEV *IndexExpr : IndexExprs) { in getGEPExpr()
6287 SmallVector<const SCEV *, 4> IndexExprs; in createNodeForGEP() local
6289 IndexExprs.push_back(getSCEV(Index)); in createNodeForGEP()
6290 return getGEPExpr(GEP, IndexExprs); in createNodeForGEP()