Home
last modified time | relevance | path

Searched refs:XCHG (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp844 } else if (AtomicCmpXchgInst *XCHG = dyn_cast<AtomicCmpXchgInst>(I)) { in getInterestingMemoryOperands() local
845 if (!ClInstrumentAtomics || ignoreAccess(ORE, I, XCHG->getPointerOperand())) in getInterestingMemoryOperands()
847 Interesting.emplace_back(I, XCHG->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
848 XCHG->getCompareOperand()->getType(), in getInterestingMemoryOperands()
869 if (AtomicCmpXchgInst *XCHG = dyn_cast<AtomicCmpXchgInst>(I)) in getPointerOperandIndex() local
870 return XCHG->getPointerOperandIndex(); in getPointerOperandIndex()
H A DMemProfiler.cpp353 } else if (AtomicCmpXchgInst *XCHG = dyn_cast<AtomicCmpXchgInst>(I)) { in isInterestingMemoryAccess() local
357 Access.AccessTy = XCHG->getCompareOperand()->getType(); in isInterestingMemoryAccess()
358 Access.Addr = XCHG->getPointerOperand(); in isInterestingMemoryAccess()
H A DAddressSanitizer.cpp1425 } else if (AtomicCmpXchgInst *XCHG = dyn_cast<AtomicCmpXchgInst>(I)) { in getInterestingMemoryOperands() local
1426 if (!ClInstrumentAtomics || ignoreAccess(I, XCHG->getPointerOperand())) in getInterestingMemoryOperands()
1428 Interesting.emplace_back(I, XCHG->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
1429 XCHG->getCompareOperand()->getType(), in getInterestingMemoryOperands()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ScheduleZnver2.td526 // XCHG.
532 def : InstRW<[Zn2WriteXCHG], (instregex "^XCHG(8|16|32|64)rr", "^XCHG(16|32|64)ar")>;
539 def : InstRW<[Zn2WriteXCHGrm, ReadAfterLd], (instregex "^XCHG(8|16|32|64)rm")>;
H A DX86ScheduleZnver1.td527 // XCHG.
533 def : InstRW<[ZnWriteXCHGrm, ReadAfterLd], (instregex "XCHG(8|16|32|64)rm")>;
H A DX86ScheduleAtom.td624 "XCHG(8|16|32|64)rm",
H A DX86ScheduleBtVer2.td460 // atomic XCHG operations. We need two writes because the instruction latency
H A DX86SchedBroadwell.td1156 def: InstRW<[BWWriteResGroup99], (instregex "XCHG(8|16|32|64)rm")>;
H A DX86SchedSkylakeClient.td1313 def: InstRW<[SKLWriteResGroup143], (instregex "XCHG(8|16|32|64)rm")>;
H A DX86SchedHaswell.td1316 def: InstRW<[HWWriteResGroup68], (instregex "XCHG(8|16|32|64)rm")>;
H A DX86SchedAlderlakeP.td2367 def : InstRW<[ADLPWriteResGroup273, WriteRMW], (instregex "^XCHG(16|32)rm$")>;
H A DX86SchedSkylakeServer.td1843 def: InstRW<[SKXWriteResGroup157], (instregex "XCHG(8|16|32|64)rm")>;
H A DX86SchedIceLake.td1860 def: InstRW<[ICXWriteResGroup157], (instregex "XCHG(8|16|32|64)rm")>;
H A DX86InstrMisc.td850 defm XCHG : ATOMIC_SWAP<0x86, 0x87, "xchg", "atomic_swap">;
H A DX86SchedSapphireRapids.td5087 def : InstRW<[SPRWriteResGroup560, WriteRMW], (instregex "^XCHG(16|32)rm$")>;
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFInstrInfo.td920 class XCHG<BPFWidthModifer SizeOp, string OpcodeStr, PatFrag OpNode>
959 def XCHGD : XCHG<BPF_DW, "64", atomic_swap_i64>;