Lines Matching refs:LoadCmpBB
201 auto LoadCmpBB = MF->CreateMachineBasicBlock(MBB.getBasicBlock()); in expandCMP_SWAP() local
205 MF->insert(++MBB.getIterator(), LoadCmpBB); in expandCMP_SWAP()
206 MF->insert(++LoadCmpBB->getIterator(), StoreBB); in expandCMP_SWAP()
215 BuildMI(LoadCmpBB, DL, TII->get(AArch64::MOVZWi), StatusReg) in expandCMP_SWAP()
217 BuildMI(LoadCmpBB, DL, TII->get(LdarOp), Dest.getReg()) in expandCMP_SWAP()
219 BuildMI(LoadCmpBB, DL, TII->get(CmpOp), ZeroReg) in expandCMP_SWAP()
223 BuildMI(LoadCmpBB, DL, TII->get(AArch64::Bcc)) in expandCMP_SWAP()
227 LoadCmpBB->addSuccessor(DoneBB); in expandCMP_SWAP()
228 LoadCmpBB->addSuccessor(StoreBB); in expandCMP_SWAP()
238 .addMBB(LoadCmpBB); in expandCMP_SWAP()
239 StoreBB->addSuccessor(LoadCmpBB); in expandCMP_SWAP()
245 MBB.addSuccessor(LoadCmpBB); in expandCMP_SWAP()
254 computeAndAddLiveIns(LiveRegs, *LoadCmpBB); in expandCMP_SWAP()
258 LoadCmpBB->clearLiveIns(); in expandCMP_SWAP()
259 computeAndAddLiveIns(LiveRegs, *LoadCmpBB); in expandCMP_SWAP()
306 auto LoadCmpBB = MF->CreateMachineBasicBlock(MBB.getBasicBlock()); in expandCMP_SWAP_128() local
311 MF->insert(++MBB.getIterator(), LoadCmpBB); in expandCMP_SWAP_128()
312 MF->insert(++LoadCmpBB->getIterator(), StoreBB); in expandCMP_SWAP_128()
321 BuildMI(LoadCmpBB, DL, TII->get(LdxpOp)) in expandCMP_SWAP_128()
325 BuildMI(LoadCmpBB, DL, TII->get(AArch64::SUBSXrs), AArch64::XZR) in expandCMP_SWAP_128()
329 BuildMI(LoadCmpBB, DL, TII->get(AArch64::CSINCWr), StatusReg) in expandCMP_SWAP_128()
333 BuildMI(LoadCmpBB, DL, TII->get(AArch64::SUBSXrs), AArch64::XZR) in expandCMP_SWAP_128()
337 BuildMI(LoadCmpBB, DL, TII->get(AArch64::CSINCWr), StatusReg) in expandCMP_SWAP_128()
341 BuildMI(LoadCmpBB, DL, TII->get(AArch64::CBNZW)) in expandCMP_SWAP_128()
344 LoadCmpBB->addSuccessor(FailBB); in expandCMP_SWAP_128()
345 LoadCmpBB->addSuccessor(StoreBB); in expandCMP_SWAP_128()
356 .addMBB(LoadCmpBB); in expandCMP_SWAP_128()
358 StoreBB->addSuccessor(LoadCmpBB); in expandCMP_SWAP_128()
370 .addMBB(LoadCmpBB); in expandCMP_SWAP_128()
371 FailBB->addSuccessor(LoadCmpBB); in expandCMP_SWAP_128()
377 MBB.addSuccessor(LoadCmpBB); in expandCMP_SWAP_128()
387 computeAndAddLiveIns(LiveRegs, *LoadCmpBB); in expandCMP_SWAP_128()
394 LoadCmpBB->clearLiveIns(); in expandCMP_SWAP_128()
395 computeAndAddLiveIns(LiveRegs, *LoadCmpBB); in expandCMP_SWAP_128()