Lines Matching refs:TestMBB
102 MachineBasicBlock &TestMBB, MachineBasicBlock::iterator TestPos,
436 MachineBasicBlock *TestMBB = CopyDefI.getParent(); in runOnMachineFunction() local
487 while (TestMBB->isLiveIn(X86::EFLAGS) && !TestMBB->pred_empty() && in runOnMachineFunction()
488 !HasEFLAGSClobber(TestMBB->begin(), TestPos)) { in runOnMachineFunction()
492 std::accumulate(std::next(TestMBB->pred_begin()), TestMBB->pred_end(), in runOnMachineFunction()
493 *TestMBB->pred_begin(), in runOnMachineFunction()
501 if (HasEFLAGSClobberPath(HoistMBB, TestMBB)) in runOnMachineFunction()
510 TestMBB = HoistMBB; in runOnMachineFunction()
511 TestPos = TestMBB->getFirstTerminator()->getIterator(); in runOnMachineFunction()
517 llvm::reverse(llvm::make_range(TestMBB->instr_begin(), TestPos)), in runOnMachineFunction()
521 if (DefIt.base() != TestMBB->instr_begin()) { in runOnMachineFunction()
526 TestMBB->dump(); in runOnMachineFunction()
540 CondRegArray CondRegs = collectCondsInRegs(*TestMBB, TestPos); in runOnMachineFunction()
622 rewriteSetCC(*TestMBB, TestPos, TestLoc, MI, CondRegs); in runOnMachineFunction()
624 rewriteArithmetic(*TestMBB, TestPos, TestLoc, MI, CondRegs); in runOnMachineFunction()
626 rewriteMI(*TestMBB, TestPos, TestLoc, MI, CondRegs); in runOnMachineFunction()
656 if (SuccMBB == TestMBB || !MDT->dominates(TestMBB, SuccMBB)) { in runOnMachineFunction()
663 TestMBB->dump(); in runOnMachineFunction()
691 rewriteMI(*TestMBB, TestPos, TestLoc, *JmpI, CondRegs); in runOnMachineFunction()
739 MachineBasicBlock &TestMBB, MachineBasicBlock::iterator TestPos, in promoteCondToReg() argument
742 auto SetI = BuildMI(TestMBB, TestPos, TestLoc, TII->get(X86::SETCCr), Reg) in promoteCondToReg()
751 MachineBasicBlock &TestMBB, MachineBasicBlock::iterator TestPos, in getCondOrInverseInReg() argument
756 CondReg = promoteCondToReg(TestMBB, TestPos, TestLoc, Cond); in getCondOrInverseInReg()