| /freebsd-13.1/sys/contrib/openzfs/lib/libspl/ |
| H A D | atomic.c | 294 #define ATOMIC_SWAP(name, type) \ macro 300 ATOMIC_SWAP(8, uint8_t) 301 ATOMIC_SWAP(uchar, uchar_t) in ATOMIC_SWAP() function 302 ATOMIC_SWAP(16, uint16_t) in ATOMIC_SWAP() 303 ATOMIC_SWAP(ushort, ushort_t) in ATOMIC_SWAP() 304 ATOMIC_SWAP(32, uint32_t) in ATOMIC_SWAP() 305 ATOMIC_SWAP(uint, uint_t) in ATOMIC_SWAP() 306 ATOMIC_SWAP(ulong, ulong_t) in ATOMIC_SWAP() 307 ATOMIC_SWAP(64, uint64_t) in ATOMIC_SWAP()
|
| /freebsd-13.1/contrib/libcxxrt/ |
| H A D | atomic.h | 13 #define ATOMIC_SWAP(addr, val)\ macro 16 #define ATOMIC_SWAP(addr, val)\ macro 19 #define ATOMIC_SWAP(addr, val)\ macro
|
| H A D | memory.cc | 64 return ATOMIC_SWAP(&new_handl, handler); in set_new_handler()
|
| H A D | exception.cc | 1464 return ATOMIC_SWAP(&unexpectedHandler, f); 1473 return ATOMIC_SWAP(&terminateHandler, f);
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | ISDOpcodes.h | 1139 ATOMIC_SWAP, enumerator
|
| H A D | SelectionDAGNodes.h | 1376 case ISD::ATOMIC_SWAP: 1435 N->getOpcode() == ISD::ATOMIC_SWAP ||
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | TargetLoweringBase.cpp | 544 case ISD::ATOMIC_SWAP: { in getOUTLINE_ATOMIC() 590 OP_TO_LIBCALL(ISD::ATOMIC_SWAP, SYNC_LOCK_TEST_AND_SET) in getSYNC() 742 setOperationAction(ISD::ATOMIC_SWAP, VT, Promote); in initActions() 743 AddPromotedToType(ISD::ATOMIC_SWAP, VT, IntVT); in initActions()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFISelLowering.cpp | 95 setOperationAction(ISD::ATOMIC_SWAP, VT, Custom); in BPFTargetLowering() 268 case ISD::ATOMIC_SWAP: in ReplaceNodeResults()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/VE/ |
| H A D | VEISelLowering.cpp | 262 setOperationAction(ISD::ATOMIC_SWAP, VT, Custom); in initSPUActions() 1681 case ISD::ATOMIC_SWAP: in LowerOperation() 1734 case ISD::ATOMIC_SWAP: in ReplaceNodeResults() 2491 case ISD::ATOMIC_SWAP: in isI32Insn()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | Mips16ISelLowering.cpp | 132 setOperationAction(ISD::ATOMIC_SWAP, MVT::i32, Expand); in Mips16TargetLowering()
|
| H A D | MipsInstrInfo.td | 1803 // Atomic instructions with 2 source operands (ATOMIC_SWAP & ATOMIC_LOAD_*).
|
| /freebsd-13.1/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 | 130 case ISD::ATOMIC_SWAP: R = BitcastToInt_ATOMIC_SWAP(N); break; in SoftenFloatResult() 2276 case ISD::ATOMIC_SWAP: R = BitcastToInt_ATOMIC_SWAP(N); break; in PromoteFloatResult() 2542 = DAG.getAtomic(ISD::ATOMIC_SWAP, SL, CastVT, in BitcastToInt_ATOMIC_SWAP() 2639 case ISD::ATOMIC_SWAP: R = BitcastToInt_ATOMIC_SWAP(N); break; in SoftPromoteHalfResult()
|
| H A D | LegalizeDAG.cpp | 2749 SDValue Swap = DAG.getAtomic(ISD::ATOMIC_SWAP, dl, in ExpandNode() 3871 case ISD::ATOMIC_SWAP: in ConvertNodeToLibcall() 4904 case ISD::ATOMIC_SWAP: { in PromoteNode() 4914 = DAG.getAtomic(ISD::ATOMIC_SWAP, SL, NVT, in PromoteNode()
|
| H A D | LegalizeIntegerTypes.cpp | 203 case ISD::ATOMIC_SWAP: in PromoteIntegerResult() 2151 case ISD::ATOMIC_SWAP: in ExpandIntegerResult() 4560 SDValue Swap = DAG.getAtomic(ISD::ATOMIC_SWAP, dl, in ExpandIntOp_STORE() 4678 SDValue Swap = DAG.getAtomic(ISD::ATOMIC_SWAP, dl, in ExpandIntOp_ATOMIC_STORE()
|
| H A D | SelectionDAG.cpp | 716 case ISD::ATOMIC_SWAP: in AddNodeIDCustom() 3542 case ISD::ATOMIC_SWAP: in computeKnownBits() 4146 case ISD::ATOMIC_SWAP: in ComputeNumSignBits() 7169 Opcode == ISD::ATOMIC_SWAP || in getAtomic()
|
| H A D | SelectionDAGBuilder.cpp | 4609 case AtomicRMWInst::Xchg: NT = ISD::ATOMIC_SWAP; break; in visitAtomicRMW()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Sparc/ |
| H A D | SparcISelLowering.cpp | 1600 setOperationAction(ISD::ATOMIC_SWAP, MVT::i32, Legal); in SparcTargetLowering() 1610 setOperationAction(ISD::ATOMIC_SWAP, MVT::i64, Legal); in SparcTargetLowering()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AVR/ |
| H A D | AVRISelLowering.cpp | 135 setOperationAction(ISD::ATOMIC_SWAP, VT, Expand); in AVRTargetLowering()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | IntrinsicsAMDGPU.td | 876 defm int_amdgcn_image_atomic_swap : AMDGPUImageDimAtomic<"ATOMIC_SWAP">;
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Target/ |
| H A D | TargetSelectionDAG.td | 618 def atomic_swap : SDNode<"ISD::ATOMIC_SWAP", SDTAtomic2,
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86InstrInfo.td | 2088 multiclass ATOMIC_SWAP<bits<8> opc8, bits<8> opc, string mnemonic, string frag> { 2119 defm XCHG : ATOMIC_SWAP<0x86, 0x87, "xchg", "atomic_swap">, NotMemoryFoldable;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelLowering.cpp | 237 setOperationAction(ISD::ATOMIC_SWAP, MVT::i32, Custom); in SystemZTargetLowering() 5476 case ISD::ATOMIC_SWAP: in LowerOperation()
|
| H A D | SystemZInstrFormats.td | 5146 // OPERATOR is ATOMIC_SWAP or an ATOMIC_LOAD_* operation. PAT and OPERAND
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 741 setOperationAction(ISD::ATOMIC_SWAP, MVT::i8, LibCall); in AArch64TargetLowering() 742 setOperationAction(ISD::ATOMIC_SWAP, MVT::i16, LibCall); in AArch64TargetLowering() 743 setOperationAction(ISD::ATOMIC_SWAP, MVT::i32, LibCall); in AArch64TargetLowering() 744 setOperationAction(ISD::ATOMIC_SWAP, MVT::i64, LibCall); in AArch64TargetLowering()
|