Home
last modified time | relevance | path

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

12

/netbsd/external/bsd/libc++/dist/libcxxrt/src/
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.cc1450 return ATOMIC_SWAP(&unexpectedHandler, f);
1459 return ATOMIC_SWAP(&terminateHandler, f);
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DISDOpcodes.h1125 ATOMIC_SWAP, enumerator
H A DSelectionDAGNodes.h1368 N->getOpcode() == ISD::ATOMIC_SWAP ||
1425 N->getOpcode() == ISD::ATOMIC_SWAP ||
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp522 case ISD::ATOMIC_SWAP: { in getOUTLINE_ATOMIC()
568 OP_TO_LIBCALL(ISD::ATOMIC_SWAP, SYNC_LOCK_TEST_AND_SET) in getSYNC()
720 setOperationAction(ISD::ATOMIC_SWAP, VT, Promote); in initActions()
721 AddPromotedToType(ISD::ATOMIC_SWAP, VT, IntVT); in initActions()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/BPF/
H A DBPFISelLowering.cpp95 setOperationAction(ISD::ATOMIC_SWAP, VT, Custom); in BPFTargetLowering()
268 case ISD::ATOMIC_SWAP: in ReplaceNodeResults()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/VE/
H A DVEISelLowering.cpp261 setOperationAction(ISD::ATOMIC_SWAP, VT, Custom); in initSPUActions()
1680 case ISD::ATOMIC_SWAP: in LowerOperation()
1733 case ISD::ATOMIC_SWAP: in ReplaceNodeResults()
2490 case ISD::ATOMIC_SWAP: in isI32Insn()
/netbsd/external/apache2/llvm/dist/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_*).
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp86 case ISD::ATOMIC_SWAP: return "AtomicSwap"; in getOperationName()
H A DLegalizeFloatTypes.cpp127 case ISD::ATOMIC_SWAP: R = BitcastToInt_ATOMIC_SWAP(N); break; in SoftenFloatResult()
2271 case ISD::ATOMIC_SWAP: R = BitcastToInt_ATOMIC_SWAP(N); break; in PromoteFloatResult()
2537 = DAG.getAtomic(ISD::ATOMIC_SWAP, SL, CastVT, in BitcastToInt_ATOMIC_SWAP()
2634 case ISD::ATOMIC_SWAP: R = BitcastToInt_ATOMIC_SWAP(N); break; in SoftPromoteHalfResult()
H A DLegalizeDAG.cpp2762 SDValue Swap = DAG.getAtomic(ISD::ATOMIC_SWAP, dl, in ExpandNode()
3884 case ISD::ATOMIC_SWAP: in ConvertNodeToLibcall()
4915 case ISD::ATOMIC_SWAP: { in PromoteNode()
4925 = DAG.getAtomic(ISD::ATOMIC_SWAP, SL, NVT, in PromoteNode()
H A DLegalizeIntegerTypes.cpp200 case ISD::ATOMIC_SWAP: in PromoteIntegerResult()
2118 case ISD::ATOMIC_SWAP: in ExpandIntegerResult()
4505 SDValue Swap = DAG.getAtomic(ISD::ATOMIC_SWAP, dl, in ExpandIntOp_STORE()
4623 SDValue Swap = DAG.getAtomic(ISD::ATOMIC_SWAP, dl, in ExpandIntOp_ATOMIC_STORE()
H A DSelectionDAG.cpp715 case ISD::ATOMIC_SWAP: in AddNodeIDCustom()
3545 case ISD::ATOMIC_SWAP: in computeKnownBits()
4149 case ISD::ATOMIC_SWAP: in ComputeNumSignBits()
7084 Opcode == ISD::ATOMIC_SWAP || in getAtomic()
H A DSelectionDAGBuilder.cpp4608 case AtomicRMWInst::Xchg: NT = ISD::ATOMIC_SWAP; break; in visitAtomicRMW()
/netbsd/external/apache2/llvm/dist/llvm/docs/
H A DAtomics.rst597 ISelLowering code has set the corresponding ``ATOMIC_CMPXCHG``, ``ATOMIC_SWAP``,
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp1597 setOperationAction(ISD::ATOMIC_SWAP, MVT::i32, Legal); in SparcTargetLowering()
1607 setOperationAction(ISD::ATOMIC_SWAP, MVT::i64, Legal); in SparcTargetLowering()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AVR/
H A DAVRISelLowering.cpp135 setOperationAction(ISD::ATOMIC_SWAP, VT, Expand); in AVRTargetLowering()
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DIntrinsicsAMDGPU.td876 defm int_amdgcn_image_atomic_swap : AMDGPUImageDimAtomic<"ATOMIC_SWAP">;
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Target/
H A DTargetSelectionDAG.td616 def atomic_swap : SDNode<"ISD::ATOMIC_SWAP", SDTAtomic2,
/netbsd/external/apache2/llvm/dist/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;
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp734 setOperationAction(ISD::ATOMIC_SWAP, MVT::i8, LibCall); in AArch64TargetLowering()
735 setOperationAction(ISD::ATOMIC_SWAP, MVT::i16, LibCall); in AArch64TargetLowering()
736 setOperationAction(ISD::ATOMIC_SWAP, MVT::i32, LibCall); in AArch64TargetLowering()
737 setOperationAction(ISD::ATOMIC_SWAP, MVT::i64, LibCall); in AArch64TargetLowering()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp237 setOperationAction(ISD::ATOMIC_SWAP, MVT::i32, Custom); in SystemZTargetLowering()
5427 case ISD::ATOMIC_SWAP: in LowerOperation()
H A DSystemZInstrFormats.td5067 // OPERATOR is ATOMIC_SWAP or an ATOMIC_LOAD_* operation. PAT and OPERAND

12