Lines Matching refs:TestPos
110 MachineBasicBlock::iterator TestPos,
114 MachineBasicBlock::iterator TestPos, DebugLoc TestLoc,
120 MachineBasicBlock::iterator TestPos, DebugLoc TestLoc,
124 MachineBasicBlock::iterator TestPos, DebugLoc TestLoc,
128 MachineBasicBlock::iterator TestPos, DebugLoc TestLoc,
133 MachineBasicBlock::iterator TestPos,
137 MachineBasicBlock::iterator TestPos, DebugLoc TestLoc,
418 auto TestPos = CopyDefI.getIterator(); in runOnMachineFunction() local
468 !HasEFLAGSClobber(TestMBB->begin(), TestPos)) { in runOnMachineFunction()
491 TestPos = TestMBB->getFirstTerminator()->getIterator(); in runOnMachineFunction()
497 llvm::reverse(llvm::make_range(TestMBB->instr_begin(), TestPos)), in runOnMachineFunction()
520 CondRegArray CondRegs = collectCondsInRegs(*TestMBB, TestPos); in runOnMachineFunction()
604 rewriteCMov(*TestMBB, TestPos, TestLoc, MI, *FlagUse, CondRegs); in runOnMachineFunction()
607 rewriteSetCC(*TestMBB, TestPos, TestLoc, MI, *FlagUse, CondRegs); in runOnMachineFunction()
630 rewriteSetCarryExtended(*TestMBB, TestPos, TestLoc, MI, *FlagUse, in runOnMachineFunction()
636 rewriteArithmetic(*TestMBB, TestPos, TestLoc, MI, *FlagUse, in runOnMachineFunction()
702 rewriteCondJmp(*TestMBB, TestPos, TestLoc, *JmpI, CondRegs); in runOnMachineFunction()
727 MachineBasicBlock &MBB, MachineBasicBlock::iterator TestPos) { in collectCondsInRegs() argument
732 llvm::reverse(llvm::make_range(MBB.begin(), TestPos))) { in collectCondsInRegs()
750 MachineBasicBlock &TestMBB, MachineBasicBlock::iterator TestPos, in promoteCondToReg() argument
753 auto SetI = BuildMI(TestMBB, TestPos, TestLoc, in promoteCondToReg()
762 MachineBasicBlock &TestMBB, MachineBasicBlock::iterator TestPos, in getCondOrInverseInReg() argument
767 CondReg = promoteCondToReg(TestMBB, TestPos, TestLoc, Cond); in getCondOrInverseInReg()
786 MachineBasicBlock &TestMBB, MachineBasicBlock::iterator TestPos, in rewriteArithmetic() argument
821 CondReg = promoteCondToReg(TestMBB, TestPos, TestLoc, Cond); in rewriteArithmetic()
839 MachineBasicBlock::iterator TestPos, in rewriteCMov() argument
849 getCondOrInverseInReg(TestMBB, TestPos, TestLoc, Cond, CondRegs); in rewriteCMov()
867 MachineBasicBlock &TestMBB, MachineBasicBlock::iterator TestPos, in rewriteCondJmp() argument
874 getCondOrInverseInReg(TestMBB, TestPos, TestLoc, Cond, CondRegs); in rewriteCondJmp()
900 MachineBasicBlock &TestMBB, MachineBasicBlock::iterator TestPos, in rewriteSetCarryExtended() argument
981 CondReg = promoteCondToReg(TestMBB, TestPos, TestLoc, X86::COND_B); in rewriteSetCarryExtended()
1024 MachineBasicBlock::iterator TestPos, in rewriteSetCC() argument
1035 CondReg = promoteCondToReg(TestMBB, TestPos, TestLoc, Cond); in rewriteSetCC()