Home
last modified time | relevance | path

Searched refs:RMW (Results 1 - 23 of 23) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DAliasAnalysis.cpp604 ModRefInfo AAResults::getModRefInfo(const AtomicRMWInst *RMW, in getModRefInfo() argument
607 return getModRefInfo(RMW, Loc, AAQIP); in getModRefInfo()
610 ModRefInfo AAResults::getModRefInfo(const AtomicRMWInst *RMW, in getModRefInfo() argument
614 if (isStrongerThanMonotonic(RMW->getOrdering())) in getModRefInfo()
618 AliasResult AR = alias(MemoryLocation::get(RMW), Loc, AAQI); in getModRefInfo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp364 else if (auto *RMW = dyn_cast<AtomicRMWInst>(&I)) in collectFlatAddressExpressions()
365 PushPtrOperand(RMW->getPointerOperand()); in collectFlatAddressExpressions()
772 if (auto *RMW = dyn_cast<AtomicRMWInst>(Inst)) in isSimplePointerUseValidToReplace()
774 (VolatileIsAllowed || !RMW->isVolatile()); in isSimplePointerUseValidToReplace()
H A DLoopStrengthReduce.cpp827 } else if (AtomicRMWInst *RMW = dyn_cast<AtomicRMWInst>(Inst)) { in isAddressUse()
828 if (RMW->getPointerOperand() == OperandVal) in isAddressUse()
846 } else if (const AtomicRMWInst *RMW = dyn_cast<AtomicRMWInst>(Inst)) { in getAccessType()
847 AccessTy.AddrSpace = RMW->getPointerAddressSpace(); in getAccessType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
H A DAliasAnalysis.h575 ModRefInfo getModRefInfo(const AtomicRMWInst *RMW, const MemoryLocation &Loc);
578 ModRefInfo getModRefInfo(const AtomicRMWInst *RMW, const Value *P, in getModRefInfo() argument
580 return getModRefInfo(RMW, MemoryLocation(P, Size)); in getModRefInfo()
713 ModRefInfo getModRefInfo(const AtomicRMWInst *RMW, const MemoryLocation &Loc,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp529 } else if (AtomicRMWInst *RMW = dyn_cast<AtomicRMWInst>(I)) { in isInterestingMemoryAccess()
532 *TypeSize = DL.getTypeStoreSizeInBits(RMW->getValOperand()->getType()); in isInterestingMemoryAccess()
534 PtrOperand = RMW->getPointerOperand(); in isInterestingMemoryAccess()
566 if (AtomicRMWInst *RMW = dyn_cast<AtomicRMWInst>(I)) in getPointerOperandIndex()
567 return RMW->getPointerOperandIndex(); in getPointerOperandIndex()
H A DAddressSanitizer.cpp1370 } else if (AtomicRMWInst *RMW = dyn_cast<AtomicRMWInst>(I)) { in isInterestingMemoryAccess()
1373 *TypeSize = DL.getTypeStoreSizeInBits(RMW->getValOperand()->getType()); in isInterestingMemoryAccess()
1375 PtrOperand = RMW->getPointerOperand(); in isInterestingMemoryAccess()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp558 } else if (AtomicRMWInst *RMW = dyn_cast<AtomicRMWInst>(UseInst)) { in collectUsesWithPtrTypes()
559 if (RMW->isVolatile()) in collectUsesWithPtrTypes()
H A DSIISelLowering.cpp10961 SITargetLowering::shouldExpandAtomicRMWInIR(AtomicRMWInst *RMW) const { in shouldExpandAtomicRMWInIR()
10962 switch (RMW->getOperation()) { in shouldExpandAtomicRMWInIR()
10964 Type *Ty = RMW->getType(); in shouldExpandAtomicRMWInIR()
10975 unsigned AS = RMW->getPointerAddressSpace(); in shouldExpandAtomicRMWInIR()
10978 return RMW->use_empty() ? AtomicExpansionKind::None : in shouldExpandAtomicRMWInIR()
10989 return AMDGPUTargetLowering::shouldExpandAtomicRMWInIR(RMW); in shouldExpandAtomicRMWInIR()
H A DAMDGPUISelLowering.cpp4708 AMDGPUTargetLowering::shouldExpandAtomicRMWInIR(AtomicRMWInst *RMW) const { in shouldExpandAtomicRMWInIR()
4709 switch (RMW->getOperation()) { in shouldExpandAtomicRMWInIR()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
H A DIceTargetLoweringX8632.cpp384 // optimization so that doAddressOpt() doesn't need to be applied to RMW in translateO2()
387 Func->dump("After RMW transform"); in translateO2()
502 // X86 vector instructions write to a register and have no RMW option. in canRMW()
511 // Not handled for lack of RMW instructions: in canRMW()
546 Func->dump("Before RMW"); in findRMW()
551 // instructions, and look for the particular RMW pattern. Note that this in findRMW()
554 // moved out of the way to reveal an RMW pattern. in findRMW()
579 // RMW <op>, addr, other, x in findRMW()
588 // is eliminated, then it must be the case that the RMW instruction ends in findRMW()
589 // x's live range, and therefore the RMW instructio in findRMW()
628 auto *RMW = findRMW() local
6758 lowerRMW(const InstX86FakeRMW *RMW) lowerRMW() argument
[all...]
H A DIceTargetLoweringX8664.cpp393 // optimization so that doAddressOpt() doesn't need to be applied to RMW in translateO2()
396 Func->dump("After RMW transform"); in translateO2()
511 // X86 vector instructions write to a register and have no RMW option. in canRMW()
520 // Not handled for lack of RMW instructions: in canRMW()
555 Func->dump("Before RMW"); in findRMW()
560 // instructions, and look for the particular RMW pattern. Note that this in findRMW()
563 // moved out of the way to reveal an RMW pattern. in findRMW()
588 // RMW <op>, addr, other, x in findRMW()
597 // is eliminated, then it must be the case that the RMW instruction ends in findRMW()
598 // x's live range, and therefore the RMW instructio in findRMW()
637 auto *RMW = findRMW() local
6099 lowerRMW(const InstX86FakeRMW *RMW) lowerRMW() argument
[all...]
H A DIceTargetLoweringX8632.h285 void lowerRMW(const InstX86FakeRMW *RMW);
H A DIceTargetLoweringX8664.h281 void lowerRMW(const InstX86FakeRMW *RMW);
/third_party/node/deps/v8/src/execution/loong64/
H A Dsimulator-loong64.h553 RMW, member in v8::internal::Simulator::MonitorAccess
H A Dsimulator-loong64.cc5396 if (access_state_ == MonitorAccess::RMW) { in NotifyLoad()
5405 access_state_ = MonitorAccess::RMW; in NotifyLoadLinked()
5411 if (access_state_ == MonitorAccess::RMW) { in NotifyStore()
5420 if (access_state_ == MonitorAccess::RMW) { in NotifyStoreConditional()
5447 access_state_ = MonitorAccess::RMW; in NotifyLoadLinked_Locked()
5452 if (access_state_ == MonitorAccess::RMW) { in NotifyStore_Locked()
5461 if (access_state_ == MonitorAccess::RMW) { in NotifyStoreConditional_Locked()
/third_party/node/deps/v8/src/execution/mips64/
H A Dsimulator-mips64.h649 RMW, member in v8::internal::Simulator::MonitorAccess
H A Dsimulator-mips64.cc7563 if (access_state_ == MonitorAccess::RMW) {
7572 access_state_ = MonitorAccess::RMW;
7578 if (access_state_ == MonitorAccess::RMW) {
7587 if (access_state_ == MonitorAccess::RMW) {
7614 access_state_ = MonitorAccess::RMW;
7619 if (access_state_ == MonitorAccess::RMW) {
7628 if (access_state_ == MonitorAccess::RMW) {
/third_party/node/deps/v8/src/execution/mips/
H A Dsimulator-mips.h626 RMW, member in v8::internal::Simulator::MonitorAccess
H A Dsimulator-mips.cc7129 if (access_state_ == MonitorAccess::RMW) {
7138 access_state_ = MonitorAccess::RMW;
7144 if (access_state_ == MonitorAccess::RMW) {
7153 if (access_state_ == MonitorAccess::RMW) {
7180 access_state_ = MonitorAccess::RMW;
7185 if (access_state_ == MonitorAccess::RMW) {
7194 if (access_state_ == MonitorAccess::RMW) {
/third_party/node/deps/v8/src/execution/riscv64/
H A Dsimulator-riscv64.cc7148 if (access_state_ == MonitorAccess::RMW) {
7157 access_state_ = MonitorAccess::RMW;
7163 if (access_state_ == MonitorAccess::RMW) {
7172 if (access_state_ == MonitorAccess::RMW) {
7199 access_state_ = MonitorAccess::RMW;
7204 if (access_state_ == MonitorAccess::RMW) {
7213 if (access_state_ == MonitorAccess::RMW) {
H A Dsimulator-riscv64.h984 RMW, member in v8::internal::Simulator::MonitorAccess
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp4567 if (AtomicRMWInst *RMW = dyn_cast<AtomicRMWInst>(UserI)) { in FindAllMemoryUses()
4571 MemoryUses.push_back(std::make_pair(RMW, opNo)); in FindAllMemoryUses()
7125 if (AtomicRMWInst *RMW = dyn_cast<AtomicRMWInst>(I)) { in optimizeInst()
7126 unsigned AS = RMW->getPointerAddressSpace(); in optimizeInst()
7127 return optimizeMemoryInst(I, RMW->getPointerOperand(), in optimizeInst()
7128 RMW->getType(), AS); in optimizeInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
H A DTargetLowering.h1837 virtual AtomicExpansionKind shouldExpandAtomicRMWInIR(AtomicRMWInst *RMW) const { in shouldExpandAtomicRMWInIR()
1838 return RMW->isFloatingPointOperation() ? in shouldExpandAtomicRMWInIR()

Completed in 115 milliseconds