Home
last modified time | relevance | path

Searched refs:getLoop (Results 1 – 10 of 10) sorted by relevance

/external/llvm/lib/CodeGen/
DSplitter.cpp64 MachineLoop& getLoop() const { return loop; } in getLoop() function in llvm::LoopSplit
706 MachineBasicBlock &header = *split.getLoop().getHeader(); in processHeader()
712 MachineBasicBlock *preHeader = split.getLoop().getLoopPreheader(); in processHeader()
715 if (!canInsertPreHeader(split.getLoop())) { in processHeader()
736 split.getLoop().getExitEdges(exitEdges); in processLoopExits()
767 if (split.getLoop().contains(&instr) && processed.count(&instr) == 0) { in processLoopUses()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp167 WriteAsOperand(OS, AR->getLoop()->getHeader(), /*PrintType=*/false); in print()
526 const Loop *LLoop = LA->getLoop(), *RLoop = RA->getLoop(); in compare()
860 return getAddRecExpr(Operands, AddRec->getLoop(), SCEV::FlagAnyWrap); in getTruncateExpr()
928 const Loop *L = AR->getLoop(); in getZeroExtendExpr()
1067 const Loop *L = AR->getLoop(); in getPreStartForSignExtend()
1182 const Loop *L = AR->getLoop(); in getSignExtendExpr()
1314 return getAddRecExpr(Ops, AR->getLoop(), SCEV::FlagNW); in getAnyExtendExpr()
1712 const Loop *AddRecLoop = AddRec->getLoop(); in getAddExpr()
1753 if (AddRecLoop == cast<SCEVAddRecExpr>(Ops[OtherIdx])->getLoop()) { in getAddExpr()
1761 if (OtherAddRec->getLoop() == AddRecLoop) { in getAddExpr()
[all …]
DIVUsers.cpp54 if (AR->getLoop() == L) in isInteresting()
242 if (AR->getLoop() == L) in findAddRecForLoop()
DScalarEvolutionExpander.cpp268 S = SE.getAddRecExpr(Start, Step, A->getLoop(), SCEV::FlagAnyWrap); in FactorOutConstant()
320 A->getLoop(), in SplitAddRecs()
637 L = AR->getLoop(); in getRelevantLoop()
831 A->getLoop(), in ExposePointerBase()
1006 const Loop *L = S->getLoop(); in expandAddRecExprLiterally()
1027 Normalized->getLoop(), in expandAddRecExprLiterally()
1040 Normalized->getLoop(), in expandAddRecExprLiterally()
1090 const Loop *L = S->getLoop(); in visitAddRecExpr()
1106 Value *V = expand(SE.getAddRecExpr(NewOps, S->getLoop(), in visitAddRecExpr()
DScalarEvolutionNormalization.cpp90 const Loop *L = AR->getLoop(); in TransformForPostIncUse()
/external/llvm/include/llvm/CodeGen/
DMachineLoopRanges.h53 const MachineLoop *getLoop() const { return Loop; } in getLoop() function
/external/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp285 if (StoreEv == 0 || StoreEv->getLoop() != CurLoop || !StoreEv->isAffine()) in processLoopStore()
316 if (LoadEv && LoadEv->getLoop() == CurLoop && LoadEv->isAffine() && in processLoopStore()
342 if (Ev == 0 || Ev->getLoop() != CurLoop || !Ev->isAffine()) in processLoopMemSet()
DIndVarSimplify.cpp986 if (!AddRec || AddRec->getLoop() != L) in GetWideRecurrence()
1123 if (!AddRec || AddRec->getLoop() != L) in CreateWideIV()
1336 if (AR && AR->getLoop() == L) in isSimpleIVUser()
1725 if (!AR || AR->getLoop() != L || !AR->isAffine()) in FindLoopCounter()
1829 assert(AR && AR->getLoop() == L && AR->isAffine() && "bad loop counter"); in LinearFunctionTestReplace()
2141 if (!AR || AR->getLoop()->getLoopPreheader()) in runOnLoop()
DLoopStrengthReduce.cpp262 AR->getLoop(), SCEV::FlagAnyWrap), in DoInitialMatch()
471 return SE.getAddRecExpr(Start, Step, AR->getLoop(), SCEV::FlagAnyWrap); in getExactSDiv()
536 S = SE.getAddRecExpr(NewOps, AR->getLoop(), in ExtractImmediate()
563 S = SE.getAddRecExpr(NewOps, AR->getLoop(), in ExtractSymbol()
702 if (AR->getLoop() == L) in RateRegister()
709 else if (L->contains(AR->getLoop()) || in RateRegister()
710 (!AR->getLoop()->contains(L) && in RateRegister()
711 DT.dominates(L->getHeader(), AR->getLoop()->getHeader()))) { in RateRegister()
712 for (BasicBlock::iterator I = AR->getLoop()->getHeader()->begin(); in RateRegister()
1647 assert(AR->getLoop() == L && in OptimizeMax()
[all …]
/external/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h303 const Loop *getLoop() const { return L; } in getLoop() function
313 getLoop(), FlagAnyWrap); in getStepRecurrence()