Searched refs:CmpX (Results 1 – 7 of 7) sorted by relevance
366 else if (auto *CmpX = dyn_cast<AtomicCmpXchgInst>(&I)) in collectFlatAddressExpressions() local367 PushPtrOperand(CmpX->getPointerOperand()); in collectFlatAddressExpressions()776 if (auto *CmpX = dyn_cast<AtomicCmpXchgInst>(Inst)) in isSimplePointerUseValidToReplace() local778 (VolatileIsAllowed || !CmpX->isVolatile()); in isSimplePointerUseValidToReplace()
830 } else if (AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(Inst)) { in isAddressUse() local831 if (CmpX->getPointerOperand() == OperandVal) in isAddressUse()848 } else if (const AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(Inst)) { in getAccessType() local849 AccessTy.AddrSpace = CmpX->getPointerAddressSpace(); in getAccessType()
442 else if (auto *CmpX = dyn_cast<AtomicCmpXchgInst>(&I)) in collectFlatAddressExpressions() local443 PushPtrOperand(CmpX->getPointerOperand()); in collectFlatAddressExpressions()918 if (auto *CmpX = dyn_cast<AtomicCmpXchgInst>(Inst)) in isSimplePointerUseValidToReplace() local920 (VolatileIsAllowed || !CmpX->isVolatile()); in isSimplePointerUseValidToReplace()
839 } else if (AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(Inst)) { in isAddressUse() local840 if (CmpX->getPointerOperand() == OperandVal) in isAddressUse()857 } else if (const AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(Inst)) { in getAccessType() local858 AccessTy.AddrSpace = CmpX->getPointerAddressSpace(); in getAccessType()
4575 if (AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(UserI)) { in FindAllMemoryUses() local4579 MemoryUses.push_back(std::make_pair(CmpX, opNo)); in FindAllMemoryUses()7131 if (AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(I)) { in optimizeInst() local7132 unsigned AS = CmpX->getPointerAddressSpace(); in optimizeInst()7133 return optimizeMemoryInst(I, CmpX->getPointerOperand(), in optimizeInst()7134 CmpX->getCompareOperand()->getType(), AS); in optimizeInst()
4729 if (AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(UserI)) { in FindAllMemoryUses() local4733 MemoryUses.push_back(std::make_pair(CmpX, opNo)); in FindAllMemoryUses()7593 if (AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(I)) { in optimizeInst() local7594 unsigned AS = CmpX->getPointerAddressSpace(); in optimizeInst()7595 return optimizeMemoryInst(I, CmpX->getPointerOperand(), in optimizeInst()7596 CmpX->getCompareOperand()->getType(), AS); in optimizeInst()
2250 } else if (const AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(&AI)) { in getAtomicMemOperandFlags() local2251 if (CmpX->isVolatile()) in getAtomicMemOperandFlags()