Searched refs:CmpX (Results 1 – 3 of 3) sorted by relevance
368 else if (auto *CmpX = dyn_cast<AtomicCmpXchgInst>(&I)) in collectFlatAddressExpressions() local369 PushPtrOperand(CmpX->getPointerOperand()); in collectFlatAddressExpressions()769 if (auto *CmpX = dyn_cast<AtomicCmpXchgInst>(Inst)) in isSimplePointerUseValidToReplace() local771 (VolatileIsAllowed || !CmpX->isVolatile()); in isSimplePointerUseValidToReplace()
816 } else if (AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(Inst)) { in isAddressUse() local817 if (CmpX->getPointerOperand() == OperandVal) in isAddressUse()834 } else if (const AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(Inst)) { in getAccessType() local835 AccessTy.AddrSpace = CmpX->getPointerAddressSpace(); in getAccessType()
4160 if (AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(UserI)) { in FindAllMemoryUses() local4164 MemoryUses.push_back(std::make_pair(CmpX, opNo)); in FindAllMemoryUses()6586 if (AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(I)) { in optimizeInst() local6587 unsigned AS = CmpX->getPointerAddressSpace(); in optimizeInst()6588 return optimizeMemoryInst(I, CmpX->getPointerOperand(), in optimizeInst()6589 CmpX->getCompareOperand()->getType(), AS); in optimizeInst()