reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1724 assert((MI.getOpcode() == Mips::ATOMIC_CMP_SWAP_I32 || 1725 MI.getOpcode() == Mips::ATOMIC_CMP_SWAP_I64) && 1728 const unsigned Size = MI.getOpcode() == Mips::ATOMIC_CMP_SWAP_I32 ? 4 : 8; 1734 DebugLoc DL = MI.getDebugLoc(); 1736 unsigned AtomicOp = MI.getOpcode() == Mips::ATOMIC_CMP_SWAP_I32 1739 Register Dest = MI.getOperand(0).getReg(); 1740 Register Ptr = MI.getOperand(1).getReg(); 1741 Register OldVal = MI.getOperand(2).getReg(); 1742 Register NewVal = MI.getOperand(3).getReg(); 1745 MachineBasicBlock::iterator II(MI); 1772 MI.eraseFromParent(); // The instruction is gone now.