Home
last modified time | relevance | path

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

1234

/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineAtomicRMW.cpp80 case AtomicRMWInst::Xchg: in isSaturating()
109 RMWI.getOperation() != AtomicRMWInst::Xchg) { in visitAtomicRMWInst()
110 RMWI.setOperation(AtomicRMWInst::Xchg); in visitAtomicRMWInst()
121 if (RMWI.getOperation() == AtomicRMWInst::Xchg && in visitAtomicRMWInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineAtomicRMW.cpp78 case AtomicRMWInst::Xchg: in isSaturating()
107 RMWI.getOperation() != AtomicRMWInst::Xchg) { in visitAtomicRMWInst()
108 RMWI.setOperation(AtomicRMWInst::Xchg); in visitAtomicRMWInst()
119 if (RMWI.getOperation() == AtomicRMWInst::Xchg && in visitAtomicRMWInst()
/external/llvm-project/compiler-rt/lib/scudo/standalone/
Datomic_helpers.h117 typename T::Type Xchg, in atomic_compare_exchange_strong() argument
119 return __atomic_compare_exchange(&A->ValDoNotUse, Cmp, &Xchg, false, MO, in atomic_compare_exchange_strong()
138 typename T::Type Xchg) { in atomic_compare_exchange() argument
139 atomic_compare_exchange_strong(A, &Cmp, Xchg, memory_order_acquire); in atomic_compare_exchange()
/external/scudo/standalone/
Datomic_helpers.h117 typename T::Type Xchg, in atomic_compare_exchange_strong() argument
119 return __atomic_compare_exchange(&A->ValDoNotUse, Cmp, &Xchg, false, MO, in atomic_compare_exchange_strong()
138 typename T::Type Xchg) { in atomic_compare_exchange() argument
139 atomic_compare_exchange_strong(A, &Cmp, Xchg, memory_order_acquire); in atomic_compare_exchange()
/external/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp54 case AtomicRMWInst::Xchg: in LowerAtomicRMWInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp53 case AtomicRMWInst::Xchg: in LowerAtomicRMWInst()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp53 case AtomicRMWInst::Xchg: in LowerAtomicRMWInst()
/external/llvm/unittests/Analysis/
DAliasAnalysisTest.cpp185 new AtomicRMWInst(AtomicRMWInst::Xchg, Addr, ConstantInt::get(IntType, 1), in TEST_F()
/external/mesa3d/src/amd/llvm/
Dac_llvm_helper.cpp280 binop = llvm::AtomicRMWInst::Xchg;
/external/llvm-project/llvm/lib/Target/RISCV/
DRISCVExpandAtomicPseudoInsts.cpp100 return expandAtomicBinOp(MBB, MBBI, AtomicRMWInst::Xchg, true, 32, in expandMI()
304 case AtomicRMWInst::Xchg: in doMaskedAtomicBinOpExpansion()
/external/llvm/lib/CodeGen/
DAtomicExpandPass.cpp469 Builder.CreateAtomicRMW(AtomicRMWInst::Xchg, SI->getPointerOperand(), in expandAtomicStore()
494 case AtomicRMWInst::Xchg: in performAtomicOp()
645 case AtomicRMWInst::Xchg: { in performMaskedAtomicOp()
1388 case AtomicRMWInst::Xchg: in GetRMWLibcall()
/external/llvm-project/llvm/unittests/Analysis/
DAliasAnalysisTest.cpp188 AtomicRMWInst::Xchg, Addr, ConstantInt::get(IntType, 1), Alignment, in TEST_F()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVExpandPseudoInsts.cpp109 return expandAtomicBinOp(MBB, MBBI, AtomicRMWInst::Xchg, true, 32, in expandMI()
321 case AtomicRMWInst::Xchg: in doMaskedAtomicBinOpExpansion()
DRISCVISelLowering.cpp2767 case AtomicRMWInst::Xchg: in getIntrinsicForMaskedAtomicRMWBinOp()
2790 case AtomicRMWInst::Xchg: in getIntrinsicForMaskedAtomicRMWBinOp()
/external/llvm/lib/Transforms/Instrumentation/
DEfficiencySanitizer.cpp665 } else if (AtomicCmpXchgInst *Xchg = dyn_cast<AtomicCmpXchgInst>(I)) { in instrumentLoadOrStore() local
668 Addr = Xchg->getPointerOperand(); in instrumentLoadOrStore()
DThreadSanitizer.cpp195 if (op == AtomicRMWInst::Xchg) in initializeCallbacks()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DAtomicExpandPass.cpp490 Builder.CreateAtomicRMW(AtomicRMWInst::Xchg, SI->getPointerOperand(), in expandAtomicStore()
530 case AtomicRMWInst::Xchg: in performAtomicOp()
696 case AtomicRMWInst::Xchg: { in performMaskedAtomicOp()
1544 case AtomicRMWInst::Xchg: in GetRMWLibcall()
/external/llvm-project/llvm/lib/CodeGen/
DAtomicExpandPass.cpp458 Builder.CreateAtomicRMW(AtomicRMWInst::Xchg, SI->getPointerOperand(), in expandAtomicStore()
498 case AtomicRMWInst::Xchg: in performAtomicOp()
717 case AtomicRMWInst::Xchg: { in performMaskedAtomicOp()
1575 case AtomicRMWInst::Xchg: in GetRMWLibcall()
/external/swiftshader/third_party/subzero/unittest/AssemblerX8632/
DLocked.cpp32 TEST_F(AssemblerX8632Test, Xchg) { in TEST_F() argument
/external/swiftshader/third_party/subzero/unittest/AssemblerX8664/
DLocked.cpp32 TEST_F(AssemblerX8664Test, Xchg) { in TEST_F() argument
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp253 if (op == AtomicRMWInst::Xchg) in initialize()
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp325 if (Op == AtomicRMWInst::Xchg) in initialize()
/external/clang/lib/CodeGen/
DCGBuiltin.cpp1331 return EmitBinaryAtomic(*this, llvm::AtomicRMWInst::Xchg, E); in EmitBuiltinExpr()
1338 return EmitBinaryAtomic(*this, llvm::AtomicRMWInst::Xchg, E); in EmitBuiltinExpr()
1414 Result = Builder.CreateAtomicRMW(llvm::AtomicRMWInst::Xchg, Ptr, NewVal, in EmitBuiltinExpr()
1419 Result = Builder.CreateAtomicRMW(llvm::AtomicRMWInst::Xchg, Ptr, NewVal, in EmitBuiltinExpr()
1423 Result = Builder.CreateAtomicRMW(llvm::AtomicRMWInst::Xchg, Ptr, NewVal, in EmitBuiltinExpr()
1428 Result = Builder.CreateAtomicRMW(llvm::AtomicRMWInst::Xchg, Ptr, NewVal, in EmitBuiltinExpr()
1433 llvm::AtomicRMWInst::Xchg, Ptr, NewVal, in EmitBuiltinExpr()
1463 AtomicRMWInst *RMW = Builder.CreateAtomicRMW(llvm::AtomicRMWInst::Xchg, in EmitBuiltinExpr()
1913 return EmitBinaryAtomic(*this, llvm::AtomicRMWInst::Xchg, E); in EmitBuiltinExpr()
7991 return MakeBinaryAtomicValue(*this, llvm::AtomicRMWInst::Xchg, E); in EmitNVPTXBuiltinExpr()
/external/llvm-project/mlir/lib/Target/LLVMIR/
DModuleTranslation.cpp254 return llvm::AtomicRMWInst::BinOp::Xchg; in getLLVMAtomicBinOp()
/external/llvm-project/clang/lib/CodeGen/
DCGBuiltin.cpp1477 return MakeBinaryAtomicValue(*this, AtomicRMWInst::Xchg, E); in EmitMSVCBuiltinExpr()
1496 return MakeBinaryAtomicValue(*this, AtomicRMWInst::Xchg, E, in EmitMSVCBuiltinExpr()
1499 return MakeBinaryAtomicValue(*this, AtomicRMWInst::Xchg, E, in EmitMSVCBuiltinExpr()
1502 return MakeBinaryAtomicValue(*this, AtomicRMWInst::Xchg, E, in EmitMSVCBuiltinExpr()
3543 return EmitBinaryAtomic(*this, llvm::AtomicRMWInst::Xchg, E); in EmitBuiltinExpr()
3550 return EmitBinaryAtomic(*this, llvm::AtomicRMWInst::Xchg, E); in EmitBuiltinExpr()
3627 Result = Builder.CreateAtomicRMW(llvm::AtomicRMWInst::Xchg, Ptr, NewVal, in EmitBuiltinExpr()
3632 Result = Builder.CreateAtomicRMW(llvm::AtomicRMWInst::Xchg, Ptr, NewVal, in EmitBuiltinExpr()
3636 Result = Builder.CreateAtomicRMW(llvm::AtomicRMWInst::Xchg, Ptr, NewVal, in EmitBuiltinExpr()
3641 Result = Builder.CreateAtomicRMW(llvm::AtomicRMWInst::Xchg, Ptr, NewVal, in EmitBuiltinExpr()
[all …]

1234