/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/ |
D | AArch64RedundantCopyElimination.cpp | 156 MachineBasicBlock *PredMBB = *MBB->pred_begin(); in knownRegValInBlock() local 157 assert(PredMBB == CondBr.getParent() && in knownRegValInBlock() 159 if (CondBr == PredMBB->begin()) in knownRegValInBlock() 169 for (MachineInstr &PredI : make_range(std::next(RIt), PredMBB->rend())) { in knownRegValInBlock() 287 MachineBasicBlock *PredMBB = *MBB->pred_begin(); in optimizeBlock() local 288 if (PredMBB->succ_size() != 2) in optimizeBlock() 291 MachineBasicBlock::iterator CondBr = PredMBB->getLastNonDebugInstr(); in optimizeBlock() 292 if (CondBr == PredMBB->end()) in optimizeBlock() 352 if (PredI == PredMBB->begin()) in optimizeBlock() 365 } while (Itr != PredMBB->begin() && Itr->isTerminator()); in optimizeBlock() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64RedundantCopyElimination.cpp | 89 MachineBasicBlock *PredMBB = *MBB->pred_begin(); in optimizeCopy() local 90 MachineBasicBlock::iterator CompBr = PredMBB->getLastNonDebugInstr(); in optimizeCopy() 91 if (CompBr == PredMBB->end() || PredMBB->succ_size() != 2) in optimizeCopy() 99 } while (CompBr != PredMBB->begin() && CompBr->isTerminator()); in optimizeCopy()
|
D | AArch64CollectLOH.cpp | 417 for (const MachineBasicBlock *PredMBB : MBB.predecessors()) { in reachingDefAlgorithm() local 418 SetOfMachineInstr &PredOutSet = getSet(Out, *PredMBB, CurReg, NbReg); in reachingDefAlgorithm()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZMachineScheduler.cpp | 42 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()
|
/external/llvm/lib/CodeGen/ |
D | RenameIndependentSubregs.cpp | 313 for (MachineBasicBlock *PredMBB : MBB.predecessors()) { in computeMainRangesFixFlags() 314 SlotIndex PredEnd = Indexes.getMBBEndIdx(PredMBB); in computeMainRangesFixFlags() 319 llvm::findPHICopyInsertPoint(PredMBB, &MBB, Reg); in computeMainRangesFixFlags() 321 MachineInstrBuilder ImpDef = BuildMI(*PredMBB, InsertPos, in computeMainRangesFixFlags()
|
D | MachineSink.cpp | 688 auto *PredMBB = *MBB->pred_begin(); in SinkingPreventsImplicitNullCheck() local 689 auto *PredBB = PredMBB->getBasicBlock(); in SinkingPreventsImplicitNullCheck() 707 if (TII->analyzeBranchPredicate(*PredMBB, MBP, false)) in SinkingPreventsImplicitNullCheck()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | RenameIndependentSubregs.cpp | 325 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()
|
D | MachineSink.cpp | 728 auto *PredMBB = *MBB->pred_begin(); in SinkingPreventsImplicitNullCheck() local 729 auto *PredBB = PredMBB->getBasicBlock(); in SinkingPreventsImplicitNullCheck() 747 if (TII->analyzeBranchPredicate(*PredMBB, MBP, false)) in SinkingPreventsImplicitNullCheck()
|
D | BranchFolding.cpp | 1363 MachineBasicBlock &PredMBB) { in copyDebugInfoToPredecessor() argument 1364 auto InsertBefore = PredMBB.getFirstTerminator(); in copyDebugInfoToPredecessor() 1367 TII->duplicate(PredMBB, InsertBefore, MI); in copyDebugInfoToPredecessor()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86FlagsCopyLowering.cpp | 455 for (auto *PredMBB : MBB->predecessors()) { in runOnMachineFunction() local 456 if (!Visited.insert(PredMBB).second) in runOnMachineFunction() 458 if (HasEFLAGSClobber(PredMBB->begin(), PredMBB->end())) in runOnMachineFunction() 461 Worklist.push_back(PredMBB); in runOnMachineFunction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDILCFGStructurizer.cpp | 327 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()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDILCFGStructurizer.cpp | 326 MachineBasicBlock *PredMBB); 1581 MachineBasicBlock *PredMBB) { in cloneBlockForPredecessor() argument 1582 assert(PredMBB->isSuccessor(MBB) && in cloneBlockForPredecessor() 1586 replaceInstrUseOfBlockWith(PredMBB, MBB, CloneMBB); in cloneBlockForPredecessor() 1589 PredMBB->replaceSuccessor(MBB, CloneMBB); in cloneBlockForPredecessor()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGISel.cpp | 1233 auto *PredMBB = FuncInfo->MBBMap[*PI]; in mergeIncomingSwiftErrors() local 1234 if (!FuncInfo->SwiftErrorMap.count(PredMBB) && in mergeIncomingSwiftErrors() 1235 !FuncInfo->SwiftErrorWorklist.count(PredMBB)) { in mergeIncomingSwiftErrors() 1240 FuncInfo->SwiftErrorWorklist[PredMBB].push_back(VReg); in mergeIncomingSwiftErrors() 1256 auto *PredMBB = FuncInfo->MBBMap[*PI]; in mergeIncomingSwiftErrors() local 1257 unsigned SwiftErrorReg = FuncInfo->SwiftErrorMap.count(PredMBB) ? in mergeIncomingSwiftErrors() 1258 FuncInfo->SwiftErrorMap[PredMBB][I] : in mergeIncomingSwiftErrors() 1259 FuncInfo->SwiftErrorWorklist[PredMBB][I]; in mergeIncomingSwiftErrors() 1261 .addMBB(PredMBB); in mergeIncomingSwiftErrors()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCMIPeephole.cpp | 886 MachineBasicBlock *&PredMBB, in eligibleForCompareElimination() argument 935 PredMBB = TmpMBB; in eligibleForCompareElimination() 971 PredMBB = Pred1MBB; in eligibleForCompareElimination()
|