Lines Matching refs:TestPos
101 MachineBasicBlock::iterator TestPos,
104 MachineBasicBlock &TestMBB, MachineBasicBlock::iterator TestPos,
110 MachineBasicBlock::iterator TestPos,
114 MachineBasicBlock::iterator TestPos, const DebugLoc &TestLoc,
118 MachineBasicBlock::iterator TestPos,
122 MachineBasicBlock::iterator TestPos,
128 MachineBasicBlock::iterator TestPos,
436 auto TestPos = CopyDefI.getIterator(); in runOnMachineFunction() local
486 !HasEFLAGSClobber(TestMBB->begin(), TestPos)) { in runOnMachineFunction()
509 TestPos = TestMBB->getFirstTerminator()->getIterator(); in runOnMachineFunction()
515 llvm::reverse(llvm::make_range(TestMBB->instr_begin(), TestPos)), in runOnMachineFunction()
538 CondRegArray CondRegs = collectCondsInRegs(*TestMBB, TestPos); in runOnMachineFunction()
622 rewriteCMov(*TestMBB, TestPos, TestLoc, MI, *FlagUse, CondRegs); in runOnMachineFunction()
624 rewriteFCMov(*TestMBB, TestPos, TestLoc, MI, *FlagUse, CondRegs); in runOnMachineFunction()
626 rewriteSetCC(*TestMBB, TestPos, TestLoc, MI, *FlagUse, CondRegs); in runOnMachineFunction()
643 rewriteArithmetic(*TestMBB, TestPos, TestLoc, MI, *FlagUse, in runOnMachineFunction()
709 rewriteCondJmp(*TestMBB, TestPos, TestLoc, *JmpI, CondRegs); in runOnMachineFunction()
734 MachineBasicBlock &MBB, MachineBasicBlock::iterator TestPos) { in collectCondsInRegs() argument
739 llvm::reverse(llvm::make_range(MBB.begin(), TestPos))) { in collectCondsInRegs()
757 MachineBasicBlock &TestMBB, MachineBasicBlock::iterator TestPos, in promoteCondToReg() argument
760 auto SetI = BuildMI(TestMBB, TestPos, TestLoc, in promoteCondToReg()
769 MachineBasicBlock &TestMBB, MachineBasicBlock::iterator TestPos, in getCondOrInverseInReg() argument
774 CondReg = promoteCondToReg(TestMBB, TestPos, TestLoc, Cond); in getCondOrInverseInReg()
793 MachineBasicBlock &TestMBB, MachineBasicBlock::iterator TestPos, in rewriteArithmetic() argument
829 CondReg = promoteCondToReg(TestMBB, TestPos, TestLoc, Cond); in rewriteArithmetic()
847 MachineBasicBlock::iterator TestPos, in rewriteCMov() argument
857 getCondOrInverseInReg(TestMBB, TestPos, TestLoc, Cond, CondRegs); in rewriteCMov()
873 MachineBasicBlock::iterator TestPos, in rewriteFCMov() argument
883 getCondOrInverseInReg(TestMBB, TestPos, TestLoc, Cond, CondRegs); in rewriteFCMov()
918 MachineBasicBlock &TestMBB, MachineBasicBlock::iterator TestPos, in rewriteCondJmp() argument
925 getCondOrInverseInReg(TestMBB, TestPos, TestLoc, Cond, CondRegs); in rewriteCondJmp()
949 MachineBasicBlock::iterator TestPos, in rewriteSetCC() argument
960 CondReg = promoteCondToReg(TestMBB, TestPos, TestLoc, Cond); in rewriteSetCC()