reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/IR/Instructions.h
  741     FIRST_BINOP = Xchg,
lib/AsmParser/LLParser.cpp
 7094   case lltok::kw_xchg: Operation = AtomicRMWInst::Xchg; break;
 7129   if (Operation == AtomicRMWInst::Xchg) {
lib/Bitcode/Reader/BitcodeReader.cpp
 1112   case bitc::RMW_XCHG: return AtomicRMWInst::Xchg;
lib/Bitcode/Writer/BitcodeWriter.cpp
  554   case AtomicRMWInst::Xchg: return bitc::RMW_XCHG;
lib/CodeGen/AtomicExpandPass.cpp
  489       Builder.CreateAtomicRMW(AtomicRMWInst::Xchg, SI->getPointerOperand(),
  529   case AtomicRMWInst::Xchg:
  695   case AtomicRMWInst::Xchg: {
 1543   case AtomicRMWInst::Xchg:
lib/CodeGen/GlobalISel/IRTranslator.cpp
 1989   case AtomicRMWInst::Xchg:
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 4592   case AtomicRMWInst::Xchg: NT = ISD::ATOMIC_SWAP; break;
lib/IR/Core.cpp
 3533     case LLVMAtomicRMWBinOpXchg: return AtomicRMWInst::Xchg;
 3553     case AtomicRMWInst::Xchg: return LLVMAtomicRMWBinOpXchg;
lib/IR/Instructions.cpp
 1540   case AtomicRMWInst::Xchg:
lib/IR/Verifier.cpp
 3525   if (Op == AtomicRMWInst::Xchg) {
lib/Target/RISCV/RISCVExpandPseudoInsts.cpp
  109     return expandAtomicBinOp(MBB, MBBI, AtomicRMWInst::Xchg, true, 32,
  321   case AtomicRMWInst::Xchg:
lib/Target/RISCV/RISCVISelLowering.cpp
 2759     case AtomicRMWInst::Xchg:
 2782     case AtomicRMWInst::Xchg:
lib/Target/Sparc/SparcISelLowering.cpp
 1355   if (AI->getOperation() == AtomicRMWInst::Xchg &&
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  295   case AtomicRMWInst::Xchg:
lib/Target/X86/X86ISelLowering.cpp
26497   case AtomicRMWInst::Xchg:
lib/Transforms/InstCombine/InstCombineAtomicRMW.cpp
   78   case AtomicRMWInst::Xchg:
  107       RMWI.getOperation() != AtomicRMWInst::Xchg) {
  108     RMWI.setOperation(AtomicRMWInst::Xchg);
  119   if (RMWI.getOperation() == AtomicRMWInst::Xchg &&
lib/Transforms/Instrumentation/ThreadSanitizer.cpp
  252       if (op == AtomicRMWInst::Xchg)
lib/Transforms/Scalar/LowerAtomic.cpp
   52   case AtomicRMWInst::Xchg:
tools/clang/lib/CodeGen/CGAtomic.cpp
  570     Op = llvm::AtomicRMWInst::Xchg;
tools/clang/lib/CodeGen/CGBuiltin.cpp
  965     return MakeBinaryAtomicValue(*this, AtomicRMWInst::Xchg, E);
  984     return MakeBinaryAtomicValue(*this, AtomicRMWInst::Xchg, E,
  987     return MakeBinaryAtomicValue(*this, AtomicRMWInst::Xchg, E,
  990     return MakeBinaryAtomicValue(*this, AtomicRMWInst::Xchg, E,
 2826     return EmitBinaryAtomic(*this, llvm::AtomicRMWInst::Xchg, E);
 2833     return EmitBinaryAtomic(*this, llvm::AtomicRMWInst::Xchg, E);
 2910         Result = Builder.CreateAtomicRMW(llvm::AtomicRMWInst::Xchg, Ptr, NewVal,
 2915         Result = Builder.CreateAtomicRMW(llvm::AtomicRMWInst::Xchg, Ptr, NewVal,
 2919         Result = Builder.CreateAtomicRMW(llvm::AtomicRMWInst::Xchg, Ptr, NewVal,
 2924         Result = Builder.CreateAtomicRMW(llvm::AtomicRMWInst::Xchg, Ptr, NewVal,
 2929             llvm::AtomicRMWInst::Xchg, Ptr, NewVal,
 2959       AtomicRMWInst *RMW = Builder.CreateAtomicRMW(llvm::AtomicRMWInst::Xchg,
13662     return MakeBinaryAtomicValue(*this, llvm::AtomicRMWInst::Xchg, E);
tools/clang/lib/CodeGen/CGExprScalar.cpp
 2373           llvm::AtomicRMWInst::Xchg, LV.getPointer(), True,
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
 3800     RMWOp = llvm::AtomicRMWInst::Xchg;
unittests/Analysis/AliasAnalysisTest.cpp
  186       new AtomicRMWInst(AtomicRMWInst::Xchg, Addr, ConstantInt::get(IntType, 1),