Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/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.cpp534 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()
/openbsd/gnu/llvm/clang/lib/AST/
H A DExpr.cpp4407 ArrayRef<Expr *> IndexExprs, Expr *Init) in DesignatedInitExpr() argument
4411 NumDesignators(Designators.size()), NumSubExprs(IndexExprs.size() + 1) { in DesignatedInitExpr()
4425 *Child++ = IndexExprs[IndexIdx++]; in DesignatedInitExpr()
4428 *Child++ = IndexExprs[IndexIdx++]; in DesignatedInitExpr()
4429 *Child++ = IndexExprs[IndexIdx++]; in DesignatedInitExpr()
4433 assert(IndexIdx == IndexExprs.size() && "Wrong number of index expressions"); in DesignatedInitExpr()
4440 ArrayRef<Expr*> IndexExprs, in Create() argument
4443 void *Mem = C.Allocate(totalSizeToAlloc<Stmt *>(IndexExprs.size() + 1), in Create()
4447 IndexExprs, Init); in Create()
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/
H A DScalarEvolution.h633 const SmallVectorImpl<const SCEV *> &IndexExprs);
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DExpr.h5065 ArrayRef<Expr *> IndexExprs, Expr *Init);
5229 ArrayRef<Expr*> IndexExprs,
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DScalarEvolution.cpp3749 const SmallVectorImpl<const SCEV *> &IndexExprs) { in getGEPExpr() argument
3773 for (const SCEV *IndexExpr : IndexExprs) { in getGEPExpr()
6307 SmallVector<const SCEV *, 4> IndexExprs; in createNodeForGEP() local
6309 IndexExprs.push_back(getSCEV(Index)); in createNodeForGEP()
6310 return getGEPExpr(GEP, IndexExprs); in createNodeForGEP()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaInit.cpp2371 SmallVector<Expr*, 4> IndexExprs(NumIndexExprs); in CloneDesignatedInitExpr() local
2373 IndexExprs[I] = DIE->getSubExpr(I + 1); in CloneDesignatedInitExpr()
2375 IndexExprs, in CloneDesignatedInitExpr()