Home
last modified time | relevance | path

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

12

/freebsd-13.1/sys/contrib/openzfs/lib/libspl/
H A Datomic.c294 #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 Datomic.h13 #define ATOMIC_SWAP(addr, val)\ macro
16 #define ATOMIC_SWAP(addr, val)\ macro
19 #define ATOMIC_SWAP(addr, val)\ macro
H A Dmemory.cc64 return ATOMIC_SWAP(&new_handl, handler); in set_new_handler()
H A Dexception.cc1464 return ATOMIC_SWAP(&unexpectedHandler, f);
1473 return ATOMIC_SWAP(&terminateHandler, f);
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DISDOpcodes.h1139 ATOMIC_SWAP, enumerator
H A DSelectionDAGNodes.h1376 case ISD::ATOMIC_SWAP:
1435 N->getOpcode() == ISD::ATOMIC_SWAP ||
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp544 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 DBPFISelLowering.cpp95 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 DVEISelLowering.cpp262 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 DMips16ISelLowering.cpp132 setOperationAction(ISD::ATOMIC_SWAP, MVT::i32, Expand); in Mips16TargetLowering()
H A DMipsInstrInfo.td1803 // Atomic instructions with 2 source operands (ATOMIC_SWAP & ATOMIC_LOAD_*).
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp86 case ISD::ATOMIC_SWAP: return "AtomicSwap"; in getOperationName()
H A DLegalizeFloatTypes.cpp130 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 DLegalizeDAG.cpp2749 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 DLegalizeIntegerTypes.cpp203 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 DSelectionDAG.cpp716 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 DSelectionDAGBuilder.cpp4609 case AtomicRMWInst::Xchg: NT = ISD::ATOMIC_SWAP; break; in visitAtomicRMW()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp1600 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 DAVRISelLowering.cpp135 setOperationAction(ISD::ATOMIC_SWAP, VT, Expand); in AVRTargetLowering()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicsAMDGPU.td876 defm int_amdgcn_image_atomic_swap : AMDGPUImageDimAtomic<"ATOMIC_SWAP">;
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetSelectionDAG.td618 def atomic_swap : SDNode<"ISD::ATOMIC_SWAP", SDTAtomic2,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.td2088 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 DSystemZISelLowering.cpp237 setOperationAction(ISD::ATOMIC_SWAP, MVT::i32, Custom); in SystemZTargetLowering()
5476 case ISD::ATOMIC_SWAP: in LowerOperation()
H A DSystemZInstrFormats.td5146 // OPERATOR is ATOMIC_SWAP or an ATOMIC_LOAD_* operation. PAT and OPERAND
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp741 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()

12