Searched refs:IndexExprs (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | NaryReassociate.cpp | 400 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() 412 IndexExprs[I] = in tryReassociateGEPAtIndex() 413 SE->getZeroExtendExpr(IndexExprs[I], GEP->getOperand(I)->getType()); in tryReassociateGEPAtIndex() 416 IndexExprs); in tryReassociateGEPAtIndex()
|
| H A D | StraightLineStrengthReduce.cpp | 534 SmallVector<const SCEV *, 4> IndexExprs; in allocateCandidatesAndFindBasisForGEP() local 536 IndexExprs.push_back(SE->getSCEV(Idx)); in allocateCandidatesAndFindBasisForGEP() 543 const SCEV *OrigIndexExpr = IndexExprs[I - 1]; in allocateCandidatesAndFindBasisForGEP() 544 IndexExprs[I - 1] = SE->getZero(OrigIndexExpr->getType()); in allocateCandidatesAndFindBasisForGEP() 548 const SCEV *BaseExpr = SE->getGEPExpr(cast<GEPOperator>(GEP), IndexExprs); in allocateCandidatesAndFindBasisForGEP() 569 IndexExprs[I - 1] = OrigIndexExpr; in allocateCandidatesAndFindBasisForGEP()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Expr.cpp | 4319 ArrayRef<Expr *> IndexExprs, Expr *Init) in DesignatedInitExpr() argument 4323 NumDesignators(Designators.size()), NumSubExprs(IndexExprs.size() + 1) { in DesignatedInitExpr() 4337 *Child++ = IndexExprs[IndexIdx++]; in DesignatedInitExpr() 4340 *Child++ = IndexExprs[IndexIdx++]; in DesignatedInitExpr() 4341 *Child++ = IndexExprs[IndexIdx++]; in DesignatedInitExpr() 4345 assert(IndexIdx == IndexExprs.size() && "Wrong number of index expressions"); in DesignatedInitExpr() 4352 ArrayRef<Expr*> IndexExprs, in Create() argument 4355 void *Mem = C.Allocate(totalSizeToAlloc<Stmt *>(IndexExprs.size() + 1), in Create() 4359 IndexExprs, Init); in Create()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | ScalarEvolution.h | 624 const SmallVectorImpl<const SCEV *> &IndexExprs);
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Expr.h | 5060 ArrayRef<Expr *> IndexExprs, Expr *Init); 5224 ArrayRef<Expr*> IndexExprs,
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 3670 const SmallVectorImpl<const SCEV *> &IndexExprs) { in getGEPExpr() argument 3694 for (const SCEV *IndexExpr : IndexExprs) { in getGEPExpr() 6162 SmallVector<const SCEV *, 4> IndexExprs; in createNodeForGEP() local 6164 IndexExprs.push_back(getSCEV(Index)); in createNodeForGEP() 6165 return getGEPExpr(GEP, IndexExprs); in createNodeForGEP()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaInit.cpp | 2357 SmallVector<Expr*, 4> IndexExprs(NumIndexExprs); in CloneDesignatedInitExpr() local 2359 IndexExprs[I] = DIE->getSubExpr(I + 1); in CloneDesignatedInitExpr() 2361 IndexExprs, in CloneDesignatedInitExpr()
|