Home
last modified time | relevance | path

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

/freebsd-14.2/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.cpp530 SmallVector<const SCEV *, 4> IndexExprs; in allocateCandidatesAndFindBasisForGEP() local
532 IndexExprs.push_back(SE->getSCEV(Idx)); in allocateCandidatesAndFindBasisForGEP()
539 const SCEV *OrigIndexExpr = IndexExprs[I - 1]; in allocateCandidatesAndFindBasisForGEP()
540 IndexExprs[I - 1] = SE->getZero(OrigIndexExpr->getType()); in allocateCandidatesAndFindBasisForGEP()
544 const SCEV *BaseExpr = SE->getGEPExpr(cast<GEPOperator>(GEP), IndexExprs); in allocateCandidatesAndFindBasisForGEP()
565 IndexExprs[I - 1] = OrigIndexExpr; in allocateCandidatesAndFindBasisForGEP()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp4492 ArrayRef<Expr *> IndexExprs, Expr *Init) in DesignatedInitExpr() argument
4496 NumDesignators(Designators.size()), NumSubExprs(IndexExprs.size() + 1) { in DesignatedInitExpr()
4510 *Child++ = IndexExprs[IndexIdx++]; in DesignatedInitExpr()
4513 *Child++ = IndexExprs[IndexIdx++]; in DesignatedInitExpr()
4514 *Child++ = IndexExprs[IndexIdx++]; in DesignatedInitExpr()
4518 assert(IndexIdx == IndexExprs.size() && "Wrong number of index expressions"); in DesignatedInitExpr()
4525 ArrayRef<Expr*> IndexExprs, in Create() argument
4528 void *Mem = C.Allocate(totalSizeToAlloc<Stmt *>(IndexExprs.size() + 1), in Create()
4532 IndexExprs, Init); in Create()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolution.h637 const SmallVectorImpl<const SCEV *> &IndexExprs);
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h5093 ArrayRef<Expr *> IndexExprs, Expr *Init);
5285 ArrayRef<Expr*> IndexExprs,
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp2472 SmallVector<Expr*, 4> IndexExprs(NumIndexExprs); in CloneDesignatedInitExpr() local
2474 IndexExprs[I] = DIE->getSubExpr(I + 1); in CloneDesignatedInitExpr()
2476 IndexExprs, in CloneDesignatedInitExpr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp3742 const SmallVectorImpl<const SCEV *> &IndexExprs) { in getGEPExpr() argument
3766 for (const SCEV *IndexExpr : IndexExprs) { in getGEPExpr()
6268 SmallVector<const SCEV *, 4> IndexExprs; in createNodeForGEP() local
6270 IndexExprs.push_back(getSCEV(Index)); in createNodeForGEP()
6271 return getGEPExpr(GEP, IndexExprs); in createNodeForGEP()