Home
last modified time | relevance | path

Searched refs:LoadCmpBB (Results 1 – 2 of 2) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64ExpandPseudoInsts.cpp205 auto LoadCmpBB = MF->CreateMachineBasicBlock(MBB.getBasicBlock()); in expandCMP_SWAP() local
209 MF->insert(++MBB.getIterator(), LoadCmpBB); in expandCMP_SWAP()
210 MF->insert(++LoadCmpBB->getIterator(), StoreBB); in expandCMP_SWAP()
219 BuildMI(LoadCmpBB, MIMD, TII->get(AArch64::MOVZWi), StatusReg) in expandCMP_SWAP()
221 BuildMI(LoadCmpBB, MIMD, TII->get(LdarOp), Dest.getReg()) in expandCMP_SWAP()
223 BuildMI(LoadCmpBB, MIMD, TII->get(CmpOp), ZeroReg) in expandCMP_SWAP()
227 BuildMI(LoadCmpBB, MIMD, TII->get(AArch64::Bcc)) in expandCMP_SWAP()
231 LoadCmpBB->addSuccessor(DoneBB); in expandCMP_SWAP()
232 LoadCmpBB->addSuccessor(StoreBB); in expandCMP_SWAP()
242 .addMBB(LoadCmpBB); in expandCMP_SWAP()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMExpandPseudoInsts.cpp1746 auto LoadCmpBB = MF->CreateMachineBasicBlock(MBB.getBasicBlock()); in ExpandCMP_SWAP() local
1750 MF->insert(++MBB.getIterator(), LoadCmpBB); in ExpandCMP_SWAP()
1751 MF->insert(++LoadCmpBB->getIterator(), StoreBB); in ExpandCMP_SWAP()
1769 MIB = BuildMI(LoadCmpBB, DL, TII->get(LdrexOp), Dest.getReg()); in ExpandCMP_SWAP()
1776 BuildMI(LoadCmpBB, DL, TII->get(CMPrr)) in ExpandCMP_SWAP()
1781 BuildMI(LoadCmpBB, DL, TII->get(Bcc)) in ExpandCMP_SWAP()
1785 LoadCmpBB->addSuccessor(DoneBB); in ExpandCMP_SWAP()
1786 LoadCmpBB->addSuccessor(StoreBB); in ExpandCMP_SWAP()
1806 .addMBB(LoadCmpBB) in ExpandCMP_SWAP()
1809 StoreBB->addSuccessor(LoadCmpBB); in ExpandCMP_SWAP()
[all …]