Home
last modified time | relevance | path

Searched refs:SuccBB (Results 1 – 25 of 35) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSimpleLoopUnswitch.cpp603 auto *SuccBB = Case.getCaseSuccessor(); in unswitchTrivialSwitch() local
604 if (!L.contains(SuccBB) && in unswitchTrivialSwitch()
605 areLoopExitPHIsLoopInvariant(L, *ParentBB, *SuccBB)) in unswitchTrivialSwitch()
1096 for (auto *SuccBB : successors(LoopBB)) in buildClonedLoopBlocks() local
1097 if (auto *ClonedSuccBB = cast_or_null<BasicBlock>(VMap.lookup(SuccBB))) in buildClonedLoopBlocks()
1104 for (auto *SuccBB : successors(ParentBB)) { in buildClonedLoopBlocks() local
1105 if (SuccBB == UnswitchedSuccBB) in buildClonedLoopBlocks()
1108 auto *ClonedSuccBB = cast_or_null<BasicBlock>(VMap.lookup(SuccBB)); in buildClonedLoopBlocks()
1143 for (auto *SuccBB : successors(ClonedBB)) in buildClonedLoopBlocks() local
1144 if (SuccSet.insert(SuccBB).second) in buildClonedLoopBlocks()
[all …]
DJumpThreading.cpp227 auto *SuccBB = PhiBB; in updatePredecessorProfileMetadata() local
232 return {PredBB, SuccBB}; in updatePredecessorProfileMetadata()
243 SuccBB = PredBB; in updatePredecessorProfileMetadata()
1642 for (BasicBlock *SuccBB : successors(BB)) { in ProcessThreadableEdges()
1643 if (SuccBB == OnlyDest && !SeenFirstBranchToOnlyDest) { in ProcessThreadableEdges()
1646 SuccBB->removePredecessor(BB, true); // This is unreachable successor. in ProcessThreadableEdges()
1647 Updates.push_back({DominatorTree::Delete, BB, SuccBB}); in ProcessThreadableEdges()
2021 BasicBlock *SuccBB) { in TryThreadEdge() argument
2023 if (SuccBB == BB) { in TryThreadEdge()
2031 if (LoopHeaders.count(BB) || LoopHeaders.count(SuccBB)) { in TryThreadEdge()
[all …]
DTailRecursionElimination.cpp283 for (auto *SuccBB : make_range(succ_begin(BB), succ_end(BB))) { in markTails() local
284 auto &State = Visited[SuccBB]; in markTails()
288 WorklistEscaped.push_back(SuccBB); in markTails()
290 WorklistUnescaped.push_back(SuccBB); in markTails()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DBranchFolding.cpp464 static void FixTail(MachineBasicBlock *CurMBB, MachineBasicBlock *SuccBB, in FixTail() argument
476 TII->insertBranch(*CurMBB, SuccBB, nullptr, Cond, dl); in FixTail()
481 TII->insertBranch(*CurMBB, SuccBB, nullptr, in FixTail()
590 MachineBasicBlock::iterator &I2, MachineBasicBlock *SuccBB, in ProfitableToMerge() argument
677 if (SuccBB && MBB1 != PredBB && MBB2 != PredBB && in ProfitableToMerge()
702 MachineBasicBlock *SuccBB, in ComputeSameTails() argument
716 SuccBB, PredBB, in ComputeSameTails()
737 MachineBasicBlock *SuccBB, in RemoveBlocksWithHash() argument
745 if (SuccBB && CurMBB != PredBB) in RemoveBlocksWithHash()
746 FixTail(CurMBB, SuccBB, TII); in RemoveBlocksWithHash()
[all …]
DBranchFolding.h163 bool TryTailMergeBlocks(MachineBasicBlock* SuccBB,
190 MachineBasicBlock *SuccBB,
195 void RemoveBlocksWithHash(unsigned CurHash, MachineBasicBlock* SuccBB,
201 MachineBasicBlock *SuccBB,
DMachineSink.cpp1209 static void updateLiveIn(MachineInstr *MI, MachineBasicBlock *SuccBB, in updateLiveIn() argument
1212 MachineFunction &MF = *SuccBB->getParent(); in updateLiveIn()
1216 SuccBB->removeLiveIn(*S); in updateLiveIn()
1223 SuccBB->addLiveIn(SrcReg, Mask.any() ? Mask : LaneBitmask::getAll()); in updateLiveIn()
1225 SuccBB->sortUniqueLiveIns(); in updateLiveIn()
1344 MachineBasicBlock *SuccBB = in tryToSinkCopy() local
1348 if (!SuccBB) { in tryToSinkCopy()
1353 assert((SuccBB->pred_size() == 1 && *SuccBB->pred_begin() == &CurBB) && in tryToSinkCopy()
1376 MachineBasicBlock::iterator InsertPos = SuccBB->getFirstNonPHI(); in tryToSinkCopy()
1377 performSink(*MI, *SuccBB, InsertPos, DbgValsToSink); in tryToSinkCopy()
[all …]
DIndirectBrExpandPass.cpp105 for (BasicBlock *SuccBB : IBr->successors()) in runOnFunction()
106 IndirectBrSuccs.insert(SuccBB); in runOnFunction()
DLiveVariables.cpp765 MachineBasicBlock *SuccBB) { in addNewBlock() argument
770 MachineBasicBlock::iterator BBI = SuccBB->begin(), BBE = SuccBB->end(); in addNewBlock()
805 if (Kills.count(Reg) || VI.AliveBlocks.test(SuccBB->getNumber())) in addNewBlock()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DHotColdSplitting.cpp274 for (BasicBlock *SuccBB : successors(BB)) { in getOutliningPenalty()
275 if (find(Region, SuccBB) == Region.end()) { in getOutliningPenalty()
277 SuccsOutsideRegion.insert(SuccBB); in getOutliningPenalty()
471 BasicBlock &SuccBB = **SuccIt; in create() local
472 bool SinkDom = DT.dominates(&SinkBB, &SuccBB); in create()
475 bool DuplicateBlock = RegionBlocks.count(&SuccBB); in create()
479 if (DuplicateBlock || !SinkDom || !mayExtractBlock(SuccBB)) { in create()
484 unsigned SuccScore = getEntryPointScore(SuccBB, ScoreForSuccBlock); in create()
486 ColdRegion->SuggestedEntryPoint = &SuccBB; in create()
490 addBlockToRegion(&SuccBB, SuccScore); in create()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DGenericIteratedDominanceFrontier.h186 NodeTy *SuccBB = SuccNode->getBlock(); in calculate() local
187 if (useLiveIn && !LiveInBlocks->count(SuccBB)) in calculate()
190 PHIBlocks.emplace_back(SuccBB); in calculate()
191 if (!DefBlocks->count(SuccBB)) in calculate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsDelaySlotFiller.cpp124 const MachineBasicBlock &SuccBB);
404 const MachineBasicBlock &SuccBB) { in addLiveOut() argument
407 if (*SI != &SuccBB) in addLiveOut()
826 MachineBasicBlock *SuccBB = selectSuccBB(MBB); in searchSuccBBs() local
828 if (!SuccBB) in searchSuccBBs()
839 for (MachineBasicBlock::pred_iterator PI = SuccBB->pred_begin(), in searchSuccBBs()
840 PE = SuccBB->pred_end(); PI != PE; ++PI) in searchSuccBBs()
841 if (!examinePred(**PI, *SuccBB, RegDU, HasMultipleSuccs, BrMap)) in searchSuccBBs()
857 if (!searchRange(MBB, SuccBB->begin(), SuccBB->end(), RegDU, *IM, Slot, in searchSuccBBs()
862 addLiveInRegs(Filler, *SuccBB); in searchSuccBBs()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/
DJumpThreading.h121 BasicBlock *SuccBB);
123 BasicBlock *SuccBB);
165 BasicBlock *NewBB, BasicBlock *SuccBB);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DBasicBlock.cpp286 const BasicBlock *SuccBB = *SI; in getUniqueSuccessor() local
289 if (*SI != SuccBB) in getUniqueSuccessor()
294 return SuccBB; in getUniqueSuccessor()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86WinEHState.cpp594 for (BasicBlock *SuccBB : successors(BB)) { in getSuccState()
597 auto SuccStartState = InitialStates.find(SuccBB); in getSuccState()
602 if (SuccBB->isEHPad()) in getSuccState()
714 for (BasicBlock *SuccBB : successors(BB)) in addStateStores()
715 Worklist.push_back(SuccBB); in addStateStores()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLibCallsShrinkWrap.cpp494 BasicBlock *SuccBB = CallBB->getSingleSuccessor(); in shrinkWrapCI() local
495 assert(SuccBB && "The split block should have a single successor"); in shrinkWrapCI()
496 SuccBB->setName("cdce.end"); in shrinkWrapCI()
DLoopUnrollRuntime.cpp829 for (BasicBlock *SuccBB : successors(BB)) { in UnrollRuntimeLoopRemainder()
831 [SuccBB](BasicBlock *EB) { return EB == SuccBB; }) || in UnrollRuntimeLoopRemainder()
832 SuccBB == LatchExit) && in UnrollRuntimeLoopRemainder()
DLoopSimplify.cpp616 for (auto *SuccBB : successors(ExitingBB)) { in simplifyOneLoop() local
617 if (L->contains(SuccBB)) in simplifyOneLoop()
621 UniqueExit = SuccBB; in simplifyOneLoop()
622 else if (UniqueExit != SuccBB) in simplifyOneLoop()
DLowerSwitch.cpp211 fixPhis(BasicBlock *SuccBB, BasicBlock *OrigBB, BasicBlock *NewBB, in fixPhis() argument
213 for (BasicBlock::iterator I = SuccBB->begin(), in fixPhis()
214 IE = SuccBB->getFirstNonPHI()->getIterator(); in fixPhis()
DLoopUtils.cpp104 for (auto *SuccBB : successors(BB)) { in formDedicatedExitBlocks() local
106 if (L->contains(SuccBB)) in formDedicatedExitBlocks()
110 if (!Visited.insert(SuccBB).second) in formDedicatedExitBlocks()
113 Changed |= RewriteExit(SuccBB); in formDedicatedExitBlocks()
DLoopRotationUtils.cpp395 for (BasicBlock *SuccBB : successors(OrigHeader)) in rotateLoop()
396 for (BasicBlock::iterator BI = SuccBB->begin(); in rotateLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/ObjCARC/
DObjCARCOpts.cpp1600 BasicBlock *SuccBB = *SuccStack.back().second++; in ComputePostOrders() local
1601 if (Visited.insert(SuccBB).second) { in ComputePostOrders()
1603 std::make_pair(SuccBB, succ_iterator(SuccBB->getTerminator()))); in ComputePostOrders()
1604 BBStates[CurrBB].addSucc(SuccBB); in ComputePostOrders()
1605 BBState &SuccStates = BBStates[SuccBB]; in ComputePostOrders()
1607 OnStack.insert(SuccBB); in ComputePostOrders()
1611 if (!OnStack.count(SuccBB)) { in ComputePostOrders()
1612 BBStates[CurrBB].addSucc(SuccBB); in ComputePostOrders()
1613 BBStates[SuccBB].addPred(CurrBB); in ComputePostOrders()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ConditionOptimizer.cpp156 for (auto SuccBB : MBB->successors()) in findSuitableCompare() local
157 if (SuccBB->isLiveIn(AArch64::NZCV)) in findSuitableCompare()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMustExecute.cpp519 for (const BasicBlock *SuccBB : successors(InitBB)) { in findForwardJoinPoint() local
520 bool IsLatch = SuccBB == HeaderBB; in findForwardJoinPoint()
524 Worklist.push_back(SuccBB); in findForwardJoinPoint()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Frontend/OpenMP/
DOMPIRBuilder.cpp437 for (BasicBlock *SuccBB : successors(BB)) in CreateParallel()
438 if (ParallelRegionBlockSet.insert(SuccBB).second) in CreateParallel()
439 Worklist.push_back(SuccBB); in CreateParallel()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DLiveVariables.h298 MachineBasicBlock *SuccBB);

12