Lines Matching refs:CurrentMBB
161 MachineBasicBlock *CurrentMBB = LoopMBB; in expandAtomicRMW128() local
162 BuildMI(CurrentMBB, DL, LL, Old).addReg(RA).addReg(RB); in expandAtomicRMW128()
166 PairedCopy(TII, *CurrentMBB, CurrentMBB->end(), DL, ScratchHi, ScratchLo, in expandAtomicRMW128()
170 BuildMI(CurrentMBB, DL, TII->get(PPC::ADDC8), ScratchLo) in expandAtomicRMW128()
173 BuildMI(CurrentMBB, DL, TII->get(PPC::ADDE8), ScratchHi) in expandAtomicRMW128()
178 BuildMI(CurrentMBB, DL, TII->get(PPC::SUBFC8), ScratchLo) in expandAtomicRMW128()
181 BuildMI(CurrentMBB, DL, TII->get(PPC::SUBFE8), ScratchHi) in expandAtomicRMW128()
188 BuildMI(CurrentMBB, DL, TII->get((Instr)), ScratchLo) \ in expandAtomicRMW128()
191 BuildMI(CurrentMBB, DL, TII->get((Instr)), ScratchHi) \ in expandAtomicRMW128()
204 BuildMI(CurrentMBB, DL, SC).addReg(Scratch).addReg(RA).addReg(RB); in expandAtomicRMW128()
205 BuildMI(CurrentMBB, DL, TII->get(PPC::BCC)) in expandAtomicRMW128()
209 CurrentMBB->addSuccessor(LoopMBB); in expandAtomicRMW128()
210 CurrentMBB->addSuccessor(ExitMBB); in expandAtomicRMW128()
259 MachineBasicBlock *CurrentMBB = LoopCmpMBB; in expandAtomicCmpSwap128() local
260 BuildMI(CurrentMBB, DL, LL, Old).addReg(RA).addReg(RB); in expandAtomicCmpSwap128()
261 BuildMI(CurrentMBB, DL, TII->get(PPC::XOR8), ScratchLo) in expandAtomicCmpSwap128()
264 BuildMI(CurrentMBB, DL, TII->get(PPC::XOR8), ScratchHi) in expandAtomicCmpSwap128()
267 BuildMI(CurrentMBB, DL, TII->get(PPC::OR8_rec), ScratchLo) in expandAtomicCmpSwap128()
270 BuildMI(CurrentMBB, DL, TII->get(PPC::BCC)) in expandAtomicCmpSwap128()
274 CurrentMBB->addSuccessor(CmpSuccMBB); in expandAtomicCmpSwap128()
275 CurrentMBB->addSuccessor(ExitMBB); in expandAtomicCmpSwap128()
277 CurrentMBB = CmpSuccMBB; in expandAtomicCmpSwap128()
278 PairedCopy(TII, *CurrentMBB, CurrentMBB->end(), DL, ScratchHi, ScratchLo, in expandAtomicCmpSwap128()
280 BuildMI(CurrentMBB, DL, SC).addReg(Scratch).addReg(RA).addReg(RB); in expandAtomicCmpSwap128()
281 BuildMI(CurrentMBB, DL, TII->get(PPC::BCC)) in expandAtomicCmpSwap128()
285 CurrentMBB->addSuccessor(LoopCmpMBB); in expandAtomicCmpSwap128()
286 CurrentMBB->addSuccessor(ExitMBB); in expandAtomicCmpSwap128()