Searched refs:Latches (Results 1 – 7 of 7) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | LoopUnroll.cpp | 230 std::vector<BasicBlock*> Latches; in UnrollLoop() local 232 Latches.push_back(LatchBlock); in UnrollLoop() 292 Latches.push_back(New); in UnrollLoop() 319 assert(Latches.back() == LastValueMap[LatchBlock] && "bad last latch"); in UnrollLoop() 320 PN->addIncoming(InVal, Latches.back()); in UnrollLoop() 326 for (unsigned i = 0, e = Latches.size(); i != e; ++i) { in UnrollLoop() 328 BranchInst *Term = cast<BranchInst>(Latches[i]->getTerminator()); in UnrollLoop() 355 BasicBlock *BB = Latches[i]; in UnrollLoop() 373 for (unsigned i = 0, e = Latches.size(); i != e; ++i) { in UnrollLoop() 374 BranchInst *Term = cast<BranchInst>(Latches[i]->getTerminator()); in UnrollLoop() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | LoopUnroll.cpp | 370 std::vector<BasicBlock*> Latches; in UnrollLoop() local 372 Latches.push_back(LatchBlock); in UnrollLoop() 460 Latches.push_back(New); in UnrollLoop() 471 DT->addNewBlock(New, Latches[It - 1]); in UnrollLoop() 502 assert(Latches.back() == LastValueMap[LatchBlock] && "bad last latch"); in UnrollLoop() 503 PN->addIncoming(InVal, Latches.back()); in UnrollLoop() 509 for (unsigned i = 0, e = Latches.size(); i != e; ++i) { in UnrollLoop() 511 BranchInst *Term = cast<BranchInst>(Latches[i]->getTerminator()); in UnrollLoop() 543 BasicBlock *BB = Latches[i]; in UnrollLoop() 575 BasicBlock *NewIDom = DT->findNearestCommonDominator(BB, Latches[0]); in UnrollLoop() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | LoopUnroll.cpp | 571 std::vector<BasicBlock*> Latches; in UnrollLoop() local 573 Latches.push_back(LatchBlock); in UnrollLoop() 655 Latches.push_back(New); in UnrollLoop() 666 DT->addNewBlock(New, Latches[It - 1]); in UnrollLoop() 702 assert(Latches.back() == LastValueMap[LatchBlock] && "bad last latch"); in UnrollLoop() 703 PN->addIncoming(InVal, Latches.back()); in UnrollLoop() 709 for (unsigned i = 0, e = Latches.size(); i != e; ++i) { in UnrollLoop() 711 BranchInst *Term = cast<BranchInst>(Latches[i]->getTerminator()); in UnrollLoop() 747 BasicBlock *BB = Latches[i]; in UnrollLoop() 783 NewIDom = Latches.back(); in UnrollLoop() [all …]
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIAnnotateControlFlow.cpp | 359 SmallVector <BasicBlock*, 8> Latches; in closeControlFlow() local 360 L->getLoopLatches(Latches); in closeControlFlow() 364 if (std::find(Latches.begin(), Latches.end(), *PI) == Latches.end()) in closeControlFlow()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopLoadElimination.cpp | 114 SmallVector<BasicBlock *, 8> Latches; in doesStoreDominatesAllLatches() local 115 L->getLoopLatches(Latches); in doesStoreDominatesAllLatches() 116 return std::all_of(Latches.begin(), Latches.end(), in doesStoreDominatesAllLatches()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | SIAnnotateControlFlow.cpp | 366 SmallVector <BasicBlock *, 8> Latches; in closeControlFlow() local 367 L->getLoopLatches(Latches); in closeControlFlow() 371 if (!is_contained(Latches, Pred)) in closeControlFlow()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LoopLoadElimination.cpp | 144 SmallVector<BasicBlock *, 8> Latches; in doesStoreDominatesAllLatches() local 145 L->getLoopLatches(Latches); in doesStoreDominatesAllLatches() 146 return llvm::all_of(Latches, [&](const BasicBlock *Latch) { in doesStoreDominatesAllLatches()
|