Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DISDOpcodes.h1184 ATOMIC_SWAP, enumerator
H A DSelectionDAGNodes.h1393 case ISD::ATOMIC_SWAP:
1460 N->getOpcode() == ISD::ATOMIC_SWAP ||
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DTargetLoweringBase.cpp551 case ISD::ATOMIC_SWAP: { in getOUTLINE_ATOMIC()
597 OP_TO_LIBCALL(ISD::ATOMIC_SWAP, SYNC_LOCK_TEST_AND_SET) in getSYNC()
774 setOperationAction(ISD::ATOMIC_SWAP, VT, Promote); in initActions()
775 AddPromotedToType(ISD::ATOMIC_SWAP, VT, IntVT); in initActions()
/llvm-project-15.0.7/llvm/lib/Target/BPF/
H A DBPFISelLowering.cpp95 setOperationAction(ISD::ATOMIC_SWAP, VT, Custom); in BPFTargetLowering()
269 case ISD::ATOMIC_SWAP: in ReplaceNodeResults()
/llvm-project-15.0.7/llvm/lib/Target/VE/
H A DVEISelLowering.cpp265 setOperationAction(ISD::ATOMIC_SWAP, VT, Custom); in initSPUActions()
1867 case ISD::ATOMIC_SWAP: in LowerOperation()
1944 case ISD::ATOMIC_SWAP: in ReplaceNodeResults()
2701 case ISD::ATOMIC_SWAP: in isI32Insn()
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMips16ISelLowering.cpp132 setOperationAction(ISD::ATOMIC_SWAP, MVT::i32, Expand); in Mips16TargetLowering()
H A DMipsInstrInfo.td1807 // Atomic instructions with 2 source operands (ATOMIC_SWAP & ATOMIC_LOAD_*).
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp85 case ISD::ATOMIC_SWAP: return "AtomicSwap"; in getOperationName()
H A DLegalizeFloatTypes.cpp131 case ISD::ATOMIC_SWAP: R = BitcastToInt_ATOMIC_SWAP(N); break; in SoftenFloatResult()
2301 case ISD::ATOMIC_SWAP: R = BitcastToInt_ATOMIC_SWAP(N); break; in PromoteFloatResult()
2567 = DAG.getAtomic(ISD::ATOMIC_SWAP, SL, CastVT, in BitcastToInt_ATOMIC_SWAP()
2664 case ISD::ATOMIC_SWAP: R = BitcastToInt_ATOMIC_SWAP(N); break; in SoftPromoteHalfResult()
H A DLegalizeDAG.cpp2787 SDValue Swap = DAG.getAtomic(ISD::ATOMIC_SWAP, dl, in ExpandNode()
3943 case ISD::ATOMIC_SWAP: in ConvertNodeToLibcall()
5030 case ISD::ATOMIC_SWAP: { in PromoteNode()
5040 = DAG.getAtomic(ISD::ATOMIC_SWAP, SL, NVT, in PromoteNode()
H A DLegalizeIntegerTypes.cpp226 case ISD::ATOMIC_SWAP: in PromoteIntegerResult()
2458 case ISD::ATOMIC_SWAP: in ExpandIntegerResult()
5025 SDValue Swap = DAG.getAtomic(ISD::ATOMIC_SWAP, dl, in ExpandIntOp_STORE()
5143 SDValue Swap = DAG.getAtomic(ISD::ATOMIC_SWAP, dl, in ExpandIntOp_ATOMIC_STORE()
H A DSelectionDAG.cpp805 case ISD::ATOMIC_SWAP: in AddNodeIDCustom()
3786 case ISD::ATOMIC_SWAP: in computeKnownBits()
4411 case ISD::ATOMIC_SWAP: in ComputeNumSignBits()
7565 Opcode == ISD::ATOMIC_SWAP || in getAtomic()
H A DSelectionDAGBuilder.cpp4612 case AtomicRMWInst::Xchg: NT = ISD::ATOMIC_SWAP; break; in visitAtomicRMW()
/llvm-project-15.0.7/llvm/docs/
H A DAtomics.rst597 ISelLowering code has set the corresponding ``ATOMIC_CMPXCHG``, ``ATOMIC_SWAP``,
/llvm-project-15.0.7/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp1695 setOperationAction(ISD::ATOMIC_SWAP, MVT::i32, Legal); in SparcTargetLowering()
1705 setOperationAction(ISD::ATOMIC_SWAP, MVT::i64, Legal); in SparcTargetLowering()
/llvm-project-15.0.7/llvm/lib/Target/AVR/
H A DAVRISelLowering.cpp136 setOperationAction(ISD::ATOMIC_SWAP, VT, Expand); in AVRTargetLowering()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DIntrinsicsAMDGPU.td946 defm int_amdgcn_image_atomic_swap : AMDGPUImageDimAtomic<"ATOMIC_SWAP">;
/llvm-project-15.0.7/llvm/include/llvm/Target/
H A DTargetSelectionDAG.td628 def atomic_swap : SDNode<"ISD::ATOMIC_SWAP", SDTAtomic2,
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86InstrInfo.td2091 multiclass ATOMIC_SWAP<bits<8> opc8, bits<8> opc, string mnemonic, string frag> {
2122 defm XCHG : ATOMIC_SWAP<0x86, 0x87, "xchg", "atomic_swap">, NotMemoryFoldable;
H A DX86ISelLowering.cpp31789 SDValue Swap = DAG.getAtomic(ISD::ATOMIC_SWAP, dl, in LowerATOMIC_STORE()
33309 case ISD::ATOMIC_SWAP: in ReplaceNodeResults()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp239 setOperationAction(ISD::ATOMIC_SWAP, MVT::i32, Custom); in SystemZTargetLowering()
5751 case ISD::ATOMIC_SWAP: in LowerOperation()
H A DSystemZInstrFormats.td5146 // OPERATOR is ATOMIC_SWAP or an ATOMIC_LOAD_* operation. PAT and OPERAND
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp726 setOperationAction(ISD::ATOMIC_SWAP, MVT::i8, LibCall); in AArch64TargetLowering()
727 setOperationAction(ISD::ATOMIC_SWAP, MVT::i16, LibCall); in AArch64TargetLowering()
728 setOperationAction(ISD::ATOMIC_SWAP, MVT::i32, LibCall); in AArch64TargetLowering()
729 setOperationAction(ISD::ATOMIC_SWAP, MVT::i64, LibCall); in AArch64TargetLowering()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp756 ISD::ATOMIC_SWAP, in SITargetLowering()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp1340 setOperationAction(ISD::ATOMIC_SWAP, MVT::i32, Expand); in ARMTargetLowering()