Home
last modified time | relevance | path

Searched refs:ATOMIC_SWAP (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/sys/contrib/openzfs/lib/libspl/
H A Datomic.c294 #define ATOMIC_SWAP(name, type) \ in ATOMIC_CAS() macro
300 ATOMIC_SWAP(8, uint8_t)
301 ATOMIC_SWAP(16, uint16_t)
302 ATOMIC_SWAP(32, uint32_t)
303 ATOMIC_SWAP(64, uint64_t)
304 ATOMIC_SWAP(uchar, uchar_t)
305 ATOMIC_SWAP(ushort, ushort_t)
306 ATOMIC_SWAP(uint, uint_t)
307 ATOMIC_SWAP(ulong, ulong_t)
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DISDOpcodes.h1372 ATOMIC_SWAP, enumerator
H A DSelectionDAGNodes.h1537 case ISD::ATOMIC_SWAP:
1625 N->getOpcode() == ISD::ATOMIC_SWAP ||
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp496 case ISD::ATOMIC_SWAP: { in getOUTLINE_ATOMIC()
542 OP_TO_LIBCALL(ISD::ATOMIC_SWAP, SYNC_LOCK_TEST_AND_SET) in getSYNC()
772 setOperationAction(ISD::ATOMIC_SWAP, VT, Promote); in initActions()
773 AddPromotedToType(ISD::ATOMIC_SWAP, VT, IntVT); in initActions()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelLowering.cpp95 setOperationAction(ISD::ATOMIC_SWAP, VT, Custom); in BPFTargetLowering()
295 case ISD::ATOMIC_SWAP: in ReplaceNodeResults()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips16ISelLowering.cpp140 setOperationAction(ISD::ATOMIC_SWAP, MVT::i32, LibCall); in Mips16TargetLowering()
H A DMipsInstrInfo.td1820 // Atomic instructions with 2 source operands (ATOMIC_SWAP & ATOMIC_LOAD_*).
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEISelLowering.cpp276 setOperationAction(ISD::ATOMIC_SWAP, VT, Custom); in initSPUActions()
1865 case ISD::ATOMIC_SWAP: in LowerOperation()
1941 case ISD::ATOMIC_SWAP: in ReplaceNodeResults()
2901 case ISD::ATOMIC_SWAP: in isI32Insn()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp90 case ISD::ATOMIC_SWAP: return "AtomicSwap"; in getOperationName()
H A DLegalizeFloatTypes.cpp160 case ISD::ATOMIC_SWAP: R = BitcastToInt_ATOMIC_SWAP(N); break; in SoftenFloatResult()
2906 case ISD::ATOMIC_SWAP: R = BitcastToInt_ATOMIC_SWAP(N); break; in PromoteFloatResult()
3260 = DAG.getAtomic(ISD::ATOMIC_SWAP, SL, CastVT, in BitcastToInt_ATOMIC_SWAP()
3389 case ISD::ATOMIC_SWAP: R = BitcastToInt_ATOMIC_SWAP(N); break; in SoftPromoteHalfResult()
H A DLegalizeDAG.cpp3194 ISD::ATOMIC_SWAP, dl, cast<AtomicSDNode>(Node)->getMemoryVT(), in ExpandNode()
4598 case ISD::ATOMIC_SWAP: in ConvertNodeToLibcall()
6005 case ISD::ATOMIC_SWAP: in PromoteNode()
H A DLegalizeIntegerTypes.cpp294 case ISD::ATOMIC_SWAP: in PromoteIntegerResult()
3019 case ISD::ATOMIC_SWAP: in ExpandIntegerResult()
5921 DAG.getAtomic(ISD::ATOMIC_SWAP, dl, cast<AtomicSDNode>(N)->getMemoryVT(), in ExpandIntOp_ATOMIC_STORE()
H A DSelectionDAG.cpp919 case ISD::ATOMIC_SWAP: in AddNodeIDCustom()
4443 case ISD::ATOMIC_SWAP: in computeKnownBits()
5286 case ISD::ATOMIC_SWAP: in ComputeNumSignBits()
9270 Opcode == ISD::ATOMIC_LOAD_USUB_SAT || Opcode == ISD::ATOMIC_SWAP || in getAtomic()
H A DSelectionDAGBuilder.cpp5163 case AtomicRMWInst::Xchg: NT = ISD::ATOMIC_SWAP; break; in visitAtomicRMW()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrMisc.td819 multiclass ATOMIC_SWAP<bits<8> opc8, bits<8> opc, string mnemonic, string frag> {
850 defm XCHG : ATOMIC_SWAP<0x86, 0x87, "xchg", "atomic_swap">;
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp1773 setOperationAction(ISD::ATOMIC_SWAP, MVT::i32, Legal); in SparcTargetLowering()
1783 setOperationAction(ISD::ATOMIC_SWAP, MVT::i64, Legal); in SparcTargetLowering()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRISelLowering.cpp140 setOperationAction(ISD::ATOMIC_SWAP, VT, Expand); in AVRTargetLowering()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kISelLowering.cpp184 ISD::ATOMIC_SWAP, in M68kTargetLowering()
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetSelectionDAG.td756 def atomic_swap : SDNode<"ISD::ATOMIC_SWAP", SDTAtomic2,
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp956 setOperationAction(ISD::ATOMIC_SWAP, MVT::i8, LibCall); in AArch64TargetLowering()
957 setOperationAction(ISD::ATOMIC_SWAP, MVT::i16, LibCall); in AArch64TargetLowering()
958 setOperationAction(ISD::ATOMIC_SWAP, MVT::i32, LibCall); in AArch64TargetLowering()
959 setOperationAction(ISD::ATOMIC_SWAP, MVT::i64, LibCall); in AArch64TargetLowering()
1010 setOperationAction(ISD::ATOMIC_SWAP, MVT::i128, Custom); in AArch64TargetLowering()
27612 if (ISDOpcode == ISD::ATOMIC_SWAP) { in getAtomicLoad128Opcode()
27765 case ISD::ATOMIC_SWAP: { in ReplaceNodeResults()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp306 setOperationAction(ISD::ATOMIC_SWAP, MVT::i32, Custom); in SystemZTargetLowering()
7074 case ISD::ATOMIC_SWAP: in LowerOperation()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicsAMDGPU.td1266 defm int_amdgcn_image_atomic_swap : AMDGPUImageDimAnyAtomic<"ATOMIC_SWAP">;
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp1004 ISD::ATOMIC_SWAP, in SITargetLowering()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp1315 setOperationAction(ISD::ATOMIC_SWAP, MVT::i32, LibCall); in ARMTargetLowering()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp1562 {ISD::ATOMIC_CMP_SWAP, ISD::ATOMIC_SWAP, ISD::ATOMIC_LOAD_ADD, in RISCVTargetLowering()

12