| /freebsd-14.2/sys/contrib/openzfs/lib/libspl/ |
| H A D | atomic.c | 319 #define ATOMIC_SWAP(name, type) \ in ATOMIC_CAS() macro 326 ATOMIC_SWAP(8, uint8_t) 327 ATOMIC_SWAP(16, uint16_t) 328 ATOMIC_SWAP(32, uint32_t) 329 ATOMIC_SWAP(64, uint64_t) 330 ATOMIC_SWAP(uchar, uchar_t) 331 ATOMIC_SWAP(ushort, ushort_t) 332 ATOMIC_SWAP(uint, uint_t) 333 ATOMIC_SWAP(ulong, ulong_t)
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | ISDOpcodes.h | 1254 ATOMIC_SWAP, enumerator
|
| H A D | SelectionDAGNodes.h | 1427 case ISD::ATOMIC_SWAP: 1502 N->getOpcode() == ISD::ATOMIC_SWAP ||
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetLoweringBase.cpp | 583 case ISD::ATOMIC_SWAP: { in getOUTLINE_ATOMIC() 629 OP_TO_LIBCALL(ISD::ATOMIC_SWAP, SYNC_LOCK_TEST_AND_SET) in getSYNC() 810 setOperationAction(ISD::ATOMIC_SWAP, VT, Promote); in initActions() 811 AddPromotedToType(ISD::ATOMIC_SWAP, VT, IntVT); in initActions()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFISelLowering.cpp | 92 setOperationAction(ISD::ATOMIC_SWAP, VT, Custom); in BPFTargetLowering() 288 case ISD::ATOMIC_SWAP: in ReplaceNodeResults()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | Mips16ISelLowering.cpp | 132 setOperationAction(ISD::ATOMIC_SWAP, MVT::i32, LibCall); in Mips16TargetLowering()
|
| H A D | MipsInstrInfo.td | 1808 // Atomic instructions with 2 source operands (ATOMIC_SWAP & ATOMIC_LOAD_*).
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/VE/ |
| H A D | VEISelLowering.cpp | 276 setOperationAction(ISD::ATOMIC_SWAP, VT, Custom); in initSPUActions() 1880 case ISD::ATOMIC_SWAP: in LowerOperation() 1956 case ISD::ATOMIC_SWAP: in ReplaceNodeResults() 2919 case ISD::ATOMIC_SWAP: in isI32Insn()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGDumper.cpp | 86 case ISD::ATOMIC_SWAP: return "AtomicSwap"; in getOperationName()
|
| H A D | LegalizeFloatTypes.cpp | 138 case ISD::ATOMIC_SWAP: R = BitcastToInt_ATOMIC_SWAP(N); break; in SoftenFloatResult() 2452 case ISD::ATOMIC_SWAP: R = BitcastToInt_ATOMIC_SWAP(N); break; in PromoteFloatResult() 2755 = DAG.getAtomic(ISD::ATOMIC_SWAP, SL, CastVT, in BitcastToInt_ATOMIC_SWAP() 2857 case ISD::ATOMIC_SWAP: R = BitcastToInt_ATOMIC_SWAP(N); break; in SoftPromoteHalfResult()
|
| H A D | LegalizeDAG.cpp | 3095 ISD::ATOMIC_SWAP, dl, cast<AtomicSDNode>(Node)->getMemoryVT(), in ExpandNode() 4344 case ISD::ATOMIC_SWAP: in ConvertNodeToLibcall() 5555 case ISD::ATOMIC_SWAP: { in PromoteNode() 5565 = DAG.getAtomic(ISD::ATOMIC_SWAP, SL, NVT, in PromoteNode()
|
| H A D | LegalizeIntegerTypes.cpp | 248 case ISD::ATOMIC_SWAP: in PromoteIntegerResult() 2673 case ISD::ATOMIC_SWAP: in ExpandIntegerResult() 5511 DAG.getAtomic(ISD::ATOMIC_SWAP, dl, cast<AtomicSDNode>(N)->getMemoryVT(), in ExpandIntOp_ATOMIC_STORE()
|
| H A D | SelectionDAG.cpp | 890 case ISD::ATOMIC_SWAP: in AddNodeIDCustom() 3995 case ISD::ATOMIC_SWAP: in computeKnownBits() 4803 case ISD::ATOMIC_SWAP: in ComputeNumSignBits() 8290 Opcode == ISD::ATOMIC_SWAP || in getAtomic()
|
| H A D | SelectionDAGBuilder.cpp | 4865 case AtomicRMWInst::Xchg: NT = ISD::ATOMIC_SWAP; break; in visitAtomicRMW()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Sparc/ |
| H A D | SparcISelLowering.cpp | 1776 setOperationAction(ISD::ATOMIC_SWAP, MVT::i32, Legal); in SparcTargetLowering() 1786 setOperationAction(ISD::ATOMIC_SWAP, MVT::i64, Legal); in SparcTargetLowering()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86InstrMisc.td | 819 multiclass ATOMIC_SWAP<bits<8> opc8, bits<8> opc, string mnemonic, string frag> { 850 defm XCHG : ATOMIC_SWAP<0x86, 0x87, "xchg", "atomic_swap">;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AVR/ |
| H A D | AVRISelLowering.cpp | 141 setOperationAction(ISD::ATOMIC_SWAP, VT, Expand); in AVRTargetLowering()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/M68k/ |
| H A D | M68kISelLowering.cpp | 182 ISD::ATOMIC_SWAP, in M68kTargetLowering()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Target/ |
| H A D | TargetSelectionDAG.td | 673 def atomic_swap : SDNode<"ISD::ATOMIC_SWAP", SDTAtomic2,
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 821 setOperationAction(ISD::ATOMIC_SWAP, MVT::i8, LibCall); in AArch64TargetLowering() 822 setOperationAction(ISD::ATOMIC_SWAP, MVT::i16, LibCall); in AArch64TargetLowering() 823 setOperationAction(ISD::ATOMIC_SWAP, MVT::i32, LibCall); in AArch64TargetLowering() 824 setOperationAction(ISD::ATOMIC_SWAP, MVT::i64, LibCall); in AArch64TargetLowering() 869 setOperationAction(ISD::ATOMIC_SWAP, MVT::i128, Custom); in AArch64TargetLowering() 24676 if (ISDOpcode == ISD::ATOMIC_SWAP) { in getAtomicLoad128Opcode() 24825 case ISD::ATOMIC_SWAP: { in ReplaceNodeResults()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | IntrinsicsAMDGPU.td | 1024 defm int_amdgcn_image_atomic_swap : AMDGPUImageDimAtomic<"ATOMIC_SWAP">;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelLowering.cpp | 284 setOperationAction(ISD::ATOMIC_SWAP, MVT::i32, Custom); in SystemZTargetLowering() 6151 case ISD::ATOMIC_SWAP: in LowerOperation()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SIISelLowering.cpp | 926 ISD::ATOMIC_SWAP, in SITargetLowering()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 1347 {ISD::ATOMIC_CMP_SWAP, ISD::ATOMIC_SWAP, ISD::ATOMIC_LOAD_ADD, in RISCVTargetLowering()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.cpp | 1354 setOperationAction(ISD::ATOMIC_SWAP, MVT::i32, LibCall); in ARMTargetLowering()
|