Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp374 SmallVector<const SCEV *, 4> IndexExprs; in tryReassociateGEPAtIndex() local
376 IndexExprs.push_back(SE->getSCEV(*Index)); in tryReassociateGEPAtIndex()
378 IndexExprs[I] = SE->getSCEV(LHS); in tryReassociateGEPAtIndex()
386 IndexExprs[I] = in tryReassociateGEPAtIndex()
387 SE->getZeroExtendExpr(IndexExprs[I], GEP->getOperand(I)->getType()); in tryReassociateGEPAtIndex()
391 IndexExprs, GEP->isInBounds()); in tryReassociateGEPAtIndex()
DStraightLineStrengthReduce.cpp488 SmallVector<const SCEV *, 4> IndexExprs; in allocateCandidatesAndFindBasisForGEP() local
490 IndexExprs.push_back(SE->getSCEV(*I)); in allocateCandidatesAndFindBasisForGEP()
497 const SCEV *OrigIndexExpr = IndexExprs[I - 1]; in allocateCandidatesAndFindBasisForGEP()
498 IndexExprs[I - 1] = SE->getZero(OrigIndexExpr->getType()); in allocateCandidatesAndFindBasisForGEP()
504 IndexExprs, GEP->isInBounds()); in allocateCandidatesAndFindBasisForGEP()
525 IndexExprs[I - 1] = OrigIndexExpr; in allocateCandidatesAndFindBasisForGEP()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp372 SmallVector<const SCEV *, 4> IndexExprs; in tryReassociateGEPAtIndex() local
374 IndexExprs.push_back(SE->getSCEV(*Index)); in tryReassociateGEPAtIndex()
376 IndexExprs[I] = SE->getSCEV(LHS); in tryReassociateGEPAtIndex()
384 IndexExprs[I] = in tryReassociateGEPAtIndex()
385 SE->getZeroExtendExpr(IndexExprs[I], GEP->getOperand(I)->getType()); in tryReassociateGEPAtIndex()
388 IndexExprs); in tryReassociateGEPAtIndex()
DStraightLineStrengthReduce.cpp524 SmallVector<const SCEV *, 4> IndexExprs; in allocateCandidatesAndFindBasisForGEP() local
526 IndexExprs.push_back(SE->getSCEV(*I)); in allocateCandidatesAndFindBasisForGEP()
533 const SCEV *OrigIndexExpr = IndexExprs[I - 1]; in allocateCandidatesAndFindBasisForGEP()
534 IndexExprs[I - 1] = SE->getZero(OrigIndexExpr->getType()); in allocateCandidatesAndFindBasisForGEP()
538 const SCEV *BaseExpr = SE->getGEPExpr(cast<GEPOperator>(GEP), IndexExprs); in allocateCandidatesAndFindBasisForGEP()
559 IndexExprs[I - 1] = OrigIndexExpr; in allocateCandidatesAndFindBasisForGEP()
/external/clang/lib/AST/
DExpr.cpp3526 ArrayRef<Expr*> IndexExprs, in DesignatedInitExpr() argument
3534 NumDesignators(Designators.size()), NumSubExprs(IndexExprs.size() + 1) { in DesignatedInitExpr()
3549 Expr *Index = IndexExprs[IndexIdx]; in DesignatedInitExpr()
3559 *Child++ = IndexExprs[IndexIdx++]; in DesignatedInitExpr()
3562 Expr *Start = IndexExprs[IndexIdx]; in DesignatedInitExpr()
3563 Expr *End = IndexExprs[IndexIdx + 1]; in DesignatedInitExpr()
3579 *Child++ = IndexExprs[IndexIdx++]; in DesignatedInitExpr()
3580 *Child++ = IndexExprs[IndexIdx++]; in DesignatedInitExpr()
3584 assert(IndexIdx == IndexExprs.size() && "Wrong number of index expressions"); in DesignatedInitExpr()
3590 ArrayRef<Expr*> IndexExprs, in Create() argument
[all …]
DASTImporter.cpp5445 SmallVector<Expr *, 4> IndexExprs(DIE->getNumSubExprs() - 1); in VisitDesignatedInitExpr() local
5449 IndexExprs[I - 1] = Arg; in VisitDesignatedInitExpr()
5466 IndexExprs, Importer.Import(DIE->getEqualOrColonLoc()), in VisitDesignatedInitExpr()
/external/llvm/include/llvm/Analysis/
DScalarEvolution.h1242 const SmallVectorImpl<const SCEV *> &IndexExprs,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DScalarEvolution.h584 const SmallVectorImpl<const SCEV *> &IndexExprs);
/external/clang/include/clang/AST/
DExpr.h3984 ArrayRef<Expr *> IndexExprs, Expr *Init);
4145 ArrayRef<Expr*> IndexExprs,
/external/llvm/lib/Analysis/
DScalarEvolution.cpp2974 const SmallVectorImpl<const SCEV *> &IndexExprs, in getGEPExpr() argument
2990 for (const SCEV *IndexExpr : IndexExprs) { in getGEPExpr()
4332 SmallVector<const SCEV *, 4> IndexExprs; in createNodeForGEP() local
4334 IndexExprs.push_back(getSCEV(*Index)); in createNodeForGEP()
4337 IndexExprs, GEP->isInBounds()); in createNodeForGEP()
/external/clang/lib/Sema/
DSemaInit.cpp1976 SmallVector<Expr*, 4> IndexExprs(NumIndexExprs); in CloneDesignatedInitExpr() local
1978 IndexExprs[I] = DIE->getSubExpr(I + 1); in CloneDesignatedInitExpr()
1980 IndexExprs, in CloneDesignatedInitExpr()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DScalarEvolution.cpp3441 const SmallVectorImpl<const SCEV *> &IndexExprs) { in getGEPExpr() argument
3458 for (const SCEV *IndexExpr : IndexExprs) { in getGEPExpr()
5439 SmallVector<const SCEV *, 4> IndexExprs; in createNodeForGEP() local
5441 IndexExprs.push_back(getSCEV(*Index)); in createNodeForGEP()
5442 return getGEPExpr(GEP, IndexExprs); in createNodeForGEP()