Home
last modified time | relevance | path

Searched refs:PredMBB (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64RedundantCopyElimination.cpp155 MachineBasicBlock *PredMBB = *MBB->pred_begin(); in knownRegValInBlock() local
156 assert(PredMBB == CondBr.getParent() && in knownRegValInBlock()
158 if (CondBr == PredMBB->begin()) in knownRegValInBlock()
168 for (MachineInstr &PredI : make_range(std::next(RIt), PredMBB->rend())) { in knownRegValInBlock()
286 MachineBasicBlock *PredMBB = *MBB->pred_begin(); in optimizeBlock() local
287 if (PredMBB->succ_size() != 2) in optimizeBlock()
290 MachineBasicBlock::iterator CondBr = PredMBB->getLastNonDebugInstr(); in optimizeBlock()
291 if (CondBr == PredMBB->end()) in optimizeBlock()
351 if (PredI == PredMBB->begin()) in optimizeBlock()
364 } while (Itr != PredMBB->begin() && Itr->isTerminator()); in optimizeBlock()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86CondBrFolding.cpp143 MachineBasicBlock *PredMBB = *MBB->pred_begin(); in findPath() local
145 while (PredMBB) { in findPath()
146 TargetMBBInfo *PredMBBInfo = getMBBInfo(PredMBB); in findPath()
165 BranchPath.push_back(PredMBB); in findPath()
173 if (PredMBB->pred_size() != 1 || !PredMBBInfo->CmpBrOnly) in findPath()
176 SaveMBB = PredMBB; in findPath()
177 PredMBB = *PredMBB->pred_begin(); in findPath()
288 MachineBasicBlock *PredMBB = BranchPath.front(); in optimizeCondBr() local
289 TargetMBBInfo *PredMBBInfo = getMBBInfo(PredMBB); in optimizeCondBr()
292 fixupModifiedCond(PredMBB); in optimizeCondBr()
[all …]
DX86FlagsCopyLowering.cpp472 for (auto *PredMBB : MBB->predecessors()) { in runOnMachineFunction() local
473 if (!Visited.insert(PredMBB).second) in runOnMachineFunction()
475 if (HasEFLAGSClobber(PredMBB->begin(), PredMBB->end())) in runOnMachineFunction()
478 Worklist.push_back(PredMBB); in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZMachineScheduler.cpp42 MachineBasicBlock *PredMBB = nullptr; in getSingleSchedPred() local
44 PredMBB = *MBB->pred_begin(); in getSingleSchedPred()
51 PredMBB = (*I == MBB ? nullptr : *I); in getSingleSchedPred()
54 assert ((PredMBB == nullptr || !Loop || Loop->contains(PredMBB)) in getSingleSchedPred()
57 return PredMBB; in getSingleSchedPred()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DRenameIndependentSubregs.cpp325 for (MachineBasicBlock *PredMBB : MBB.predecessors()) { in computeMainRangesFixFlags()
326 SlotIndex PredEnd = Indexes.getMBBEndIdx(PredMBB); in computeMainRangesFixFlags()
331 llvm::findPHICopyInsertPoint(PredMBB, &MBB, Reg); in computeMainRangesFixFlags()
333 MachineInstrBuilder ImpDef = BuildMI(*PredMBB, InsertPos, in computeMainRangesFixFlags()
DMachineSink.cpp755 auto *PredMBB = *MBB->pred_begin(); in SinkingPreventsImplicitNullCheck() local
756 auto *PredBB = PredMBB->getBasicBlock(); in SinkingPreventsImplicitNullCheck()
777 if (TII->analyzeBranchPredicate(*PredMBB, MBP, false)) in SinkingPreventsImplicitNullCheck()
DBranchFolding.cpp1311 MachineBasicBlock &PredMBB) { in copyDebugInfoToPredecessor() argument
1312 auto InsertBefore = PredMBB.getFirstTerminator(); in copyDebugInfoToPredecessor()
1315 TII->duplicate(PredMBB, InsertBefore, MI); in copyDebugInfoToPredecessor()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp327 MachineBasicBlock *PredMBB);
1528 MachineBasicBlock *PredMBB) { in cloneBlockForPredecessor() argument
1529 assert(PredMBB->isSuccessor(MBB) && in cloneBlockForPredecessor()
1533 replaceInstrUseOfBlockWith(PredMBB, MBB, CloneMBB); in cloneBlockForPredecessor()
1536 PredMBB->replaceSuccessor(MBB, CloneMBB); in cloneBlockForPredecessor()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCMIPeephole.cpp1099 MachineBasicBlock *&PredMBB, in eligibleForCompareElimination() argument
1147 PredMBB = TmpMBB; in eligibleForCompareElimination()
1183 PredMBB = Pred1MBB; in eligibleForCompareElimination()