Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DExpr.cpp4222 ArrayRef<Expr *> IndexExprs, Expr *Init) in DesignatedInitExpr() argument
4226 NumDesignators(Designators.size()), NumSubExprs(IndexExprs.size() + 1) { in DesignatedInitExpr()
4240 *Child++ = IndexExprs[IndexIdx++]; in DesignatedInitExpr()
4243 *Child++ = IndexExprs[IndexIdx++]; in DesignatedInitExpr()
4244 *Child++ = IndexExprs[IndexIdx++]; in DesignatedInitExpr()
4248 assert(IndexIdx == IndexExprs.size() && "Wrong number of index expressions"); in DesignatedInitExpr()
4255 ArrayRef<Expr*> IndexExprs, in Create() argument
4258 void *Mem = C.Allocate(totalSizeToAlloc<Stmt *>(IndexExprs.size() + 1), in Create()
4262 IndexExprs, Init); in Create()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DScalarEvolution.h577 const SmallVectorImpl<const SCEV *> &IndexExprs);
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DExpr.h4981 ArrayRef<Expr *> IndexExprs, Expr *Init);
5145 ArrayRef<Expr*> IndexExprs,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DScalarEvolution.cpp3440 const SmallVectorImpl<const SCEV *> &IndexExprs) { in getGEPExpr() argument
3456 for (const SCEV *IndexExpr : IndexExprs) { in getGEPExpr()
5539 SmallVector<const SCEV *, 4> IndexExprs; in createNodeForGEP() local
5541 IndexExprs.push_back(getSCEV(*Index)); in createNodeForGEP()
5542 return getGEPExpr(GEP, IndexExprs); in createNodeForGEP()
/netbsd-src/external/apache2/llvm/dist/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()