Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64RedundantCopyElimination.cpp154 MachineBasicBlock *PredMBB = *MBB->pred_begin(); in knownRegValInBlock() local
155 assert(PredMBB == CondBr.getParent() && in knownRegValInBlock()
157 if (CondBr == PredMBB->begin()) in knownRegValInBlock()
167 for (MachineInstr &PredI : make_range(std::next(RIt), PredMBB->rend())) { in knownRegValInBlock()
285 MachineBasicBlock *PredMBB = *MBB->pred_begin(); in optimizeBlock() local
286 if (PredMBB->succ_size() != 2) in optimizeBlock()
289 MachineBasicBlock::iterator CondBr = PredMBB->getLastNonDebugInstr(); in optimizeBlock()
290 if (CondBr == PredMBB->end()) in optimizeBlock()
350 if (PredI == PredMBB->begin()) in optimizeBlock()
363 } while (Itr != PredMBB->begin() && Itr->isTerminator()); in optimizeBlock()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZMachineScheduler.cpp42 MachineBasicBlock *PredMBB = nullptr; in getSingleSchedPred() local
44 PredMBB = *MBB->pred_begin(); in getSingleSchedPred()
51 PredMBB = (Pred == MBB ? nullptr : Pred); in getSingleSchedPred()
54 assert ((PredMBB == nullptr || !Loop || Loop->contains(PredMBB)) in getSingleSchedPred()
57 return PredMBB; in getSingleSchedPred()
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVRedundantCopyElimination.cpp94 MachineBasicBlock *PredMBB = *MBB.pred_begin(); in optimizeBlock() local
95 if (PredMBB->succ_size() != 2) in optimizeBlock()
100 if (TII->analyzeBranch(*PredMBB, TBB, FBB, Cond, /*AllowModify*/ false) || in optimizeBlock()
143 MachineBasicBlock::iterator CondBr = PredMBB->getFirstTerminator(); in optimizeBlock()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A 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()
H A DMachineFunctionSplitter.cpp107 for (auto *PredMBB : MBB->predecessors()) { in setDescendantEHBlocksCold() local
108 Status PredStatus = getStatus(PredMBB); in setDescendantEHBlocksCold()
H A DMachineSink.cpp1006 auto *PredMBB = *MBB->pred_begin(); in SinkingPreventsImplicitNullCheck() local
1007 auto *PredBB = PredMBB->getBasicBlock(); in SinkingPreventsImplicitNullCheck()
1029 if (TII->analyzeBranchPredicate(*PredMBB, MBP, false)) in SinkingPreventsImplicitNullCheck()
H A DBranchFolding.cpp1270 MachineBasicBlock &PredMBB) { in copyDebugInfoToPredecessor() argument
1271 auto InsertBefore = PredMBB.getFirstTerminator(); in copyDebugInfoToPredecessor()
1274 TII->duplicate(PredMBB, InsertBefore, MI); in copyDebugInfoToPredecessor()
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86FlagsCopyLowering.cpp473 for (auto *PredMBB : MBB->predecessors()) { in runOnMachineFunction() local
474 if (!Visited.insert(PredMBB).second) in runOnMachineFunction()
476 if (HasEFLAGSClobber(PredMBB->begin(), PredMBB->end())) in runOnMachineFunction()
479 Worklist.push_back(PredMBB); in runOnMachineFunction()
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DR600MachineCFGStructurizer.cpp305 MachineBasicBlock *PredMBB);
1492 MachineBasicBlock *PredMBB) { in cloneBlockForPredecessor() argument
1493 assert(PredMBB->isSuccessor(MBB) && "succBlk is not a predecessor of curBlk"); in cloneBlockForPredecessor()
1496 replaceInstrUseOfBlockWith(PredMBB, MBB, CloneMBB); in cloneBlockForPredecessor()
1499 PredMBB->replaceSuccessor(MBB, CloneMBB); in cloneBlockForPredecessor()
/openbsd/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCMIPeephole.cpp1227 MachineBasicBlock *&PredMBB, in eligibleForCompareElimination() argument
1275 PredMBB = TmpMBB; in eligibleForCompareElimination()
1311 PredMBB = Pred1MBB; in eligibleForCompareElimination()
/openbsd/gnu/llvm/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.cpp2437 const MachineBasicBlock *PredMBB = BlockOrders[I]; in mlocJoin() local
2439 OutLocs[PredMBB->getNumber()][Idx.asU64()]; in mlocJoin()