Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ExpandPseudoInsts.cpp252 auto LoadCmpBB = MF->CreateMachineBasicBlock(MBB.getBasicBlock()); in expandCMP_SWAP() local
256 MF->insert(++MBB.getIterator(), LoadCmpBB); in expandCMP_SWAP()
257 MF->insert(++LoadCmpBB->getIterator(), StoreBB); in expandCMP_SWAP()
266 BuildMI(LoadCmpBB, MIMD, TII->get(AArch64::MOVZWi), StatusReg) in expandCMP_SWAP()
268 BuildMI(LoadCmpBB, MIMD, TII->get(LdarOp), Dest.getReg()) in expandCMP_SWAP()
270 BuildMI(LoadCmpBB, MIMD, TII->get(CmpOp), ZeroReg) in expandCMP_SWAP()
274 BuildMI(LoadCmpBB, MIMD, TII->get(AArch64::Bcc)) in expandCMP_SWAP()
278 LoadCmpBB->addSuccessor(DoneBB); in expandCMP_SWAP()
279 LoadCmpBB->addSuccessor(StoreBB); in expandCMP_SWAP()
289 .addMBB(LoadCmpBB); in expandCMP_SWAP()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMExpandPseudoInsts.cpp1833 auto LoadCmpBB = MF->CreateMachineBasicBlock(MBB.getBasicBlock()); in ExpandCMP_SWAP() local
1837 MF->insert(++MBB.getIterator(), LoadCmpBB); in ExpandCMP_SWAP()
1838 MF->insert(++LoadCmpBB->getIterator(), StoreBB); in ExpandCMP_SWAP()
1856 MIB = BuildMI(LoadCmpBB, DL, TII->get(LdrexOp), Dest.getReg()); in ExpandCMP_SWAP()
1863 BuildMI(LoadCmpBB, DL, TII->get(CMPrr)) in ExpandCMP_SWAP()
1868 BuildMI(LoadCmpBB, DL, TII->get(Bcc)) in ExpandCMP_SWAP()
1872 LoadCmpBB->addSuccessor(DoneBB); in ExpandCMP_SWAP()
1873 LoadCmpBB->addSuccessor(StoreBB); in ExpandCMP_SWAP()
1893 .addMBB(LoadCmpBB) in ExpandCMP_SWAP()
1896 StoreBB->addSuccessor(LoadCmpBB); in ExpandCMP_SWAP()
[all …]