Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DNaryReassociate.cpp396 SmallVector<const SCEV *, 4> IndexExprs; in tryReassociateGEPAtIndex() local
398 IndexExprs.push_back(SE->getSCEV(Index)); in tryReassociateGEPAtIndex()
400 IndexExprs[I] = SE->getSCEV(LHS); in tryReassociateGEPAtIndex()
408 IndexExprs[I] = in tryReassociateGEPAtIndex()
409 SE->getZeroExtendExpr(IndexExprs[I], GEP->getOperand(I)->getType()); in tryReassociateGEPAtIndex()
412 IndexExprs); in tryReassociateGEPAtIndex()
H A DStraightLineStrengthReduce.cpp535 SmallVector<const SCEV *, 4> IndexExprs; in allocateCandidatesAndFindBasisForGEP() local
537 IndexExprs.push_back(SE->getSCEV(Idx)); in allocateCandidatesAndFindBasisForGEP()
544 const SCEV *OrigIndexExpr = IndexExprs[I - 1]; in allocateCandidatesAndFindBasisForGEP()
545 IndexExprs[I - 1] = SE->getZero(OrigIndexExpr->getType()); in allocateCandidatesAndFindBasisForGEP()
549 const SCEV *BaseExpr = SE->getGEPExpr(cast<GEPOperator>(GEP), IndexExprs); in allocateCandidatesAndFindBasisForGEP()
570 IndexExprs[I - 1] = OrigIndexExpr; in allocateCandidatesAndFindBasisForGEP()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp4293 ArrayRef<Expr *> IndexExprs, Expr *Init) in DesignatedInitExpr() argument
4297 NumDesignators(Designators.size()), NumSubExprs(IndexExprs.size() + 1) { in DesignatedInitExpr()
4311 *Child++ = IndexExprs[IndexIdx++]; in DesignatedInitExpr()
4314 *Child++ = IndexExprs[IndexIdx++]; in DesignatedInitExpr()
4315 *Child++ = IndexExprs[IndexIdx++]; in DesignatedInitExpr()
4319 assert(IndexIdx == IndexExprs.size() && "Wrong number of index expressions"); in DesignatedInitExpr()
4326 ArrayRef<Expr*> IndexExprs, in Create() argument
4329 void *Mem = C.Allocate(totalSizeToAlloc<Stmt *>(IndexExprs.size() + 1), in Create()
4333 IndexExprs, Init); in Create()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolution.h588 const SmallVectorImpl<const SCEV *> &IndexExprs);
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h5048 ArrayRef<Expr *> IndexExprs, Expr *Init);
5212 ArrayRef<Expr*> IndexExprs,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp3591 const SmallVectorImpl<const SCEV *> &IndexExprs) { in getGEPExpr() argument
3607 for (const SCEV *IndexExpr : IndexExprs) { in getGEPExpr()
5749 SmallVector<const SCEV *, 4> IndexExprs; in createNodeForGEP() local
5751 IndexExprs.push_back(getSCEV(Index)); in createNodeForGEP()
5752 return getGEPExpr(GEP, IndexExprs); in createNodeForGEP()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaInit.cpp2329 SmallVector<Expr*, 4> IndexExprs(NumIndexExprs); in CloneDesignatedInitExpr() local
2331 IndexExprs[I] = DIE->getSubExpr(I + 1); in CloneDesignatedInitExpr()
2333 IndexExprs, in CloneDesignatedInitExpr()