Home
last modified time | relevance | path

Searched refs:CmpX (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DInferAddressSpaces.cpp366 else if (auto *CmpX = dyn_cast<AtomicCmpXchgInst>(&I)) in collectFlatAddressExpressions() local
367 PushPtrOperand(CmpX->getPointerOperand()); in collectFlatAddressExpressions()
776 if (auto *CmpX = dyn_cast<AtomicCmpXchgInst>(Inst)) in isSimplePointerUseValidToReplace() local
778 (VolatileIsAllowed || !CmpX->isVolatile()); in isSimplePointerUseValidToReplace()
DLoopStrengthReduce.cpp830 } else if (AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(Inst)) { in isAddressUse() local
831 if (CmpX->getPointerOperand() == OperandVal) in isAddressUse()
848 } else if (const AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(Inst)) { in getAccessType() local
849 AccessTy.AddrSpace = CmpX->getPointerAddressSpace(); in getAccessType()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DInferAddressSpaces.cpp442 else if (auto *CmpX = dyn_cast<AtomicCmpXchgInst>(&I)) in collectFlatAddressExpressions() local
443 PushPtrOperand(CmpX->getPointerOperand()); in collectFlatAddressExpressions()
918 if (auto *CmpX = dyn_cast<AtomicCmpXchgInst>(Inst)) in isSimplePointerUseValidToReplace() local
920 (VolatileIsAllowed || !CmpX->isVolatile()); in isSimplePointerUseValidToReplace()
DLoopStrengthReduce.cpp839 } else if (AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(Inst)) { in isAddressUse() local
840 if (CmpX->getPointerOperand() == OperandVal) in isAddressUse()
857 } else if (const AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(Inst)) { in getAccessType() local
858 AccessTy.AddrSpace = CmpX->getPointerAddressSpace(); in getAccessType()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4575 if (AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(UserI)) { in FindAllMemoryUses() local
4579 MemoryUses.push_back(std::make_pair(CmpX, opNo)); in FindAllMemoryUses()
7131 if (AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(I)) { in optimizeInst() local
7132 unsigned AS = CmpX->getPointerAddressSpace(); in optimizeInst()
7133 return optimizeMemoryInst(I, CmpX->getPointerOperand(), in optimizeInst()
7134 CmpX->getCompareOperand()->getType(), AS); in optimizeInst()
/external/llvm-project/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4729 if (AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(UserI)) { in FindAllMemoryUses() local
4733 MemoryUses.push_back(std::make_pair(CmpX, opNo)); in FindAllMemoryUses()
7593 if (AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(I)) { in optimizeInst() local
7594 unsigned AS = CmpX->getPointerAddressSpace(); in optimizeInst()
7595 return optimizeMemoryInst(I, CmpX->getPointerOperand(), in optimizeInst()
7596 CmpX->getCompareOperand()->getType(), AS); in optimizeInst()
DTargetLoweringBase.cpp2250 } else if (const AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(&AI)) { in getAtomicMemOperandFlags() local
2251 if (CmpX->isVolatile()) in getAtomicMemOperandFlags()