Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DLiveRangeCalc.cpp244 MachineBasicBlock *UseMBB = Indexes->getMBBFromIndex(Use.getPrevSlot()); in extend() local
245 assert(UseMBB && "No MBB at Use"); in extend()
248 if (LR.extendInBlock(Indexes->getMBBStartIdx(UseMBB), Use)) in extend()
255 if (findReachingDefs(LR, *UseMBB, Use, PhysReg)) in extend()
274 bool LiveRangeCalc::findReachingDefs(LiveRange &LR, MachineBasicBlock &UseMBB, in findReachingDefs() argument
276 unsigned UseMBBNum = UseMBB.getNumber(); in findReachingDefs()
339 if (Pred != &UseMBB) in findReachingDefs()
378 if (MBB == &UseMBB) in findReachingDefs()
DPeepholeOptimizer.cpp488 MachineBasicBlock *UseMBB = UseMI->getParent(); in INITIALIZE_PASS_DEPENDENCY() local
489 if (UseMBB == MBB) { in INITIALIZE_PASS_DEPENDENCY()
493 } else if (ReachedBBs.count(UseMBB)) { in INITIALIZE_PASS_DEPENDENCY()
497 } else if (Aggressive && DT->dominates(MBB, UseMBB)) { in INITIALIZE_PASS_DEPENDENCY()
529 MachineBasicBlock *UseMBB = UseMI->getParent(); in INITIALIZE_PASS_DEPENDENCY() local
530 if (PHIBBs.count(UseMBB)) in INITIALIZE_PASS_DEPENDENCY()
540 MachineInstr *Copy = BuildMI(*UseMBB, UseMI, UseMI->getDebugLoc(), in INITIALIZE_PASS_DEPENDENCY()
DLiveRangeCalc.h114 bool findReachingDefs(LiveRange &LR, MachineBasicBlock &UseMBB,
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DPeepholeOptimizer.cpp195 MachineBasicBlock *UseMBB = UseMI->getParent(); in OptimizeExtInstr() local
196 if (UseMBB == MBB) { in OptimizeExtInstr()
200 } else if (ReachedBBs.count(UseMBB)) { in OptimizeExtInstr()
204 } else if (Aggressive && DT->dominates(MBB, UseMBB)) { in OptimizeExtInstr()
239 MachineBasicBlock *UseMBB = UseMI->getParent(); in OptimizeExtInstr() local
240 if (PHIBBs.count(UseMBB)) in OptimizeExtInstr()
244 BuildMI(*UseMBB, UseMI, UseMI->getDebugLoc(), in OptimizeExtInstr()
DTwoAddressInstructionPass.cpp315 MachineBasicBlock *UseMBB = UseMI->getParent(); in isProfitableToReMat() local
316 if (UseMBB == MBB) { in isProfitableToReMat()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DLiveRangeCalc.cpp247 MachineBasicBlock *UseMBB = Indexes->getMBBFromIndex(Use.getPrevSlot()); in extend() local
248 assert(UseMBB && "No MBB at Use"); in extend()
251 auto EP = LR.extendInBlock(Undefs, Indexes->getMBBStartIdx(UseMBB), Use); in extend()
259 if (findReachingDefs(LR, *UseMBB, Use, PhysReg, Undefs)) in extend()
346 bool LiveRangeCalc::findReachingDefs(LiveRange &LR, MachineBasicBlock &UseMBB, in findReachingDefs() argument
349 unsigned UseMBBNum = UseMBB.getNumber(); in findReachingDefs()
416 if (Pred != &UseMBB) in findReachingDefs()
474 if (MBB == &UseMBB) in findReachingDefs()
DPeepholeOptimizer.cpp534 MachineBasicBlock *UseMBB = UseMI->getParent(); in INITIALIZE_PASS_DEPENDENCY() local
535 if (UseMBB == &MBB) { in INITIALIZE_PASS_DEPENDENCY()
539 } else if (ReachedBBs.count(UseMBB)) { in INITIALIZE_PASS_DEPENDENCY()
543 } else if (Aggressive && DT->dominates(&MBB, UseMBB)) { in INITIALIZE_PASS_DEPENDENCY()
575 MachineBasicBlock *UseMBB = UseMI->getParent(); in INITIALIZE_PASS_DEPENDENCY() local
576 if (PHIBBs.count(UseMBB)) in INITIALIZE_PASS_DEPENDENCY()
586 MachineInstr *Copy = BuildMI(*UseMBB, UseMI, UseMI->getDebugLoc(), in INITIALIZE_PASS_DEPENDENCY()
DLiveRangeCalc.h149 bool findReachingDefs(LiveRange &LR, MachineBasicBlock &UseMBB,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86FlagsCopyLowering.cpp530 MachineBasicBlock &UseMBB = *Blocks.pop_back_val(); in runOnMachineFunction() local
544 for (auto MII = (&UseMBB == &MBB && !VisitedBlocks.count(&UseMBB)) in runOnMachineFunction()
546 : UseMBB.instr_begin(), in runOnMachineFunction()
547 MIE = UseMBB.instr_end(); in runOnMachineFunction()
555 assert(&UseMBB == &MBB && VisitedBlocks.count(&MBB) && in runOnMachineFunction()
596 } while (JmpIt != UseMBB.instr_end() && in runOnMachineFunction()
654 for (MachineBasicBlock *SuccMBB : UseMBB.successors()) in runOnMachineFunction()