Home
last modified time | relevance | path

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

12

/external/llvm-project/llvm/test/CodeGen/X86/
Dpatchable-prologue.ll3 …fy-machineinstrs -show-mc-encoding -mtriple=i386 < %s | FileCheck %s --check-prefixes=32,32CFI,XCHG
6 …-mc-encoding -mtriple=i386-windows-msvc -mcpu=pentium4 < %s | FileCheck %s --check-prefixes=32,XCHG
25 ; XCHG-NEXT: xchgw %ax, %ax # encoding: [0x66,0x90]
47 ; XCHG-NEXT: xchgw %ax, %ax # encoding: [0x66,0x90]
69 ; XCHG-NEXT: xchgw %ax, %ax # encoding: [0x66,0x90]
93 ; XCHG-NEXT: xchgw %ax, %ax
113 ; XCHG-NEXT: xchgw %ax, %ax
/external/strace/xlat/
Datomic_ops.in3 { OR1K_ATOMIC_XCHG, "XCHG" },
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DMemProfiler.cpp356 } else if (AtomicCmpXchgInst *XCHG = dyn_cast<AtomicCmpXchgInst>(I)) { in isInterestingMemoryAccess() local
361 DL.getTypeStoreSizeInBits(XCHG->getCompareOperand()->getType()); in isInterestingMemoryAccess()
363 Access.Addr = XCHG->getPointerOperand(); in isInterestingMemoryAccess()
DHWAddressSanitizer.cpp666 } else if (AtomicCmpXchgInst *XCHG = dyn_cast<AtomicCmpXchgInst>(I)) { in getInterestingMemoryOperands() local
667 if (!ClInstrumentAtomics || ignoreAccess(XCHG->getPointerOperand())) in getInterestingMemoryOperands()
669 Interesting.emplace_back(I, XCHG->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
670 XCHG->getCompareOperand()->getType(), None); in getInterestingMemoryOperands()
689 if (AtomicCmpXchgInst *XCHG = dyn_cast<AtomicCmpXchgInst>(I)) in getPointerOperandIndex() local
690 return XCHG->getPointerOperandIndex(); in getPointerOperandIndex()
DAddressSanitizer.cpp1395 } else if (AtomicCmpXchgInst *XCHG = dyn_cast<AtomicCmpXchgInst>(I)) { in getInterestingMemoryOperands() local
1396 if (!ClInstrumentAtomics || ignoreAccess(XCHG->getPointerOperand())) in getInterestingMemoryOperands()
1398 Interesting.emplace_back(I, XCHG->getPointerOperandIndex(), true, in getInterestingMemoryOperands()
1399 XCHG->getCompareOperand()->getType(), None); in getInterestingMemoryOperands()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DHWAddressSanitizer.cpp535 } else if (AtomicCmpXchgInst *XCHG = dyn_cast<AtomicCmpXchgInst>(I)) { in isInterestingMemoryAccess() local
538 *TypeSize = DL.getTypeStoreSizeInBits(XCHG->getCompareOperand()->getType()); in isInterestingMemoryAccess()
540 PtrOperand = XCHG->getPointerOperand(); in isInterestingMemoryAccess()
568 if (AtomicCmpXchgInst *XCHG = dyn_cast<AtomicCmpXchgInst>(I)) in getPointerOperandIndex() local
569 return XCHG->getPointerOperandIndex(); in getPointerOperandIndex()
DAddressSanitizer.cpp1376 } else if (AtomicCmpXchgInst *XCHG = dyn_cast<AtomicCmpXchgInst>(I)) { in isInterestingMemoryAccess() local
1379 *TypeSize = DL.getTypeStoreSizeInBits(XCHG->getCompareOperand()->getType()); in isInterestingMemoryAccess()
1381 PtrOperand = XCHG->getPointerOperand(); in isInterestingMemoryAccess()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ScheduleZnver2.td514 // XCHG.
520 def : InstRW<[Zn2WriteXCHG], (instregex "XCHG(8|16|32|64)rr", "XCHG(16|32|64)ar")>;
527 def : InstRW<[Zn2WriteXCHGrm, ReadAfterLd], (instregex "XCHG(8|16|32|64)rm")>;
DX86ScheduleZnver1.td532 // XCHG.
538 def : InstRW<[ZnWriteXCHGrm, ReadAfterLd], (instregex "XCHG(8|16|32|64)rm")>;
DX86ScheduleAtom.td583 "XCHG(8|16|32|64)rm",
DX86ScheduleBtVer2.td456 // atomic XCHG operations. We need two writes because the instruction latency
DX86SchedBroadwell.td1175 def: InstRW<[BWWriteResGroup99], (instregex "XCHG(8|16|32|64)rm")>;
DX86SchedSkylakeClient.td1357 def: InstRW<[SKLWriteResGroup143], (instregex "XCHG(8|16|32|64)rm")>;
/external/llvm-project/llvm/lib/Target/X86/
DX86ScheduleZnver2.td523 // XCHG.
529 def : InstRW<[Zn2WriteXCHG], (instregex "^XCHG(8|16|32|64)rr", "^XCHG(16|32|64)ar")>;
536 def : InstRW<[Zn2WriteXCHGrm, ReadAfterLd], (instregex "^XCHG(8|16|32|64)rm")>;
DX86ScheduleZnver1.td535 // XCHG.
541 def : InstRW<[ZnWriteXCHGrm, ReadAfterLd], (instregex "XCHG(8|16|32|64)rm")>;
DX86ScheduleAtom.td586 "XCHG(8|16|32|64)rm",
DX86ScheduleBtVer2.td456 // atomic XCHG operations. We need two writes because the instruction latency
DX86SchedBroadwell.td1178 def: InstRW<[BWWriteResGroup99], (instregex "XCHG(8|16|32|64)rm")>;
DX86SchedHaswell.td1310 def: InstRW<[HWWriteResGroup68], (instregex "XCHG(8|16|32|64)rm")>;
DX86SchedSkylakeClient.td1360 def: InstRW<[SKLWriteResGroup143], (instregex "XCHG(8|16|32|64)rm")>;
/external/llvm/lib/Target/X86/
DX86SchedHaswell.td447 // XCHG.
454 def : InstRW<[WriteXCHG], (instregex "XCHG(8|16|32|64)rr", "XCHG(16|32|64)ar")>;
461 def : InstRW<[WriteXCHGrm], (instregex "XCHG(8|16|32|64)rm")>;
/external/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp964 } else if (AtomicCmpXchgInst *XCHG = dyn_cast<AtomicCmpXchgInst>(I)) { in isInterestingMemoryAccess() local
967 *TypeSize = DL.getTypeStoreSizeInBits(XCHG->getCompareOperand()->getType()); in isInterestingMemoryAccess()
969 PtrOperand = XCHG->getPointerOperand(); in isInterestingMemoryAccess()
/external/llvm-project/llvm/lib/Target/BPF/
DBPFInstrInfo.td749 class XCHG<BPFWidthModifer SizeOp, string OpcodeStr, PatFrag OpNode>
788 def XCHGD : XCHG<BPF_DW, "64", atomic_swap_64>;
/external/llvm-project/llvm/docs/
DAtomics.rst437 generate an ``XCHG``, other stores generate a ``MOV``. SequentiallyConsistent
440 uses ``XCHG``, ``atomicrmw add`` and ``atomicrmw sub`` use ``XADD``, and all
/external/llvm/docs/
DAtomics.rst435 generate an ``XCHG``, other stores generate a ``MOV``. SequentiallyConsistent
438 uses ``XCHG``, ``atomicrmw add`` and ``atomicrmw sub`` use ``XADD``, and all

12