Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DInferAddressSpaces.cpp368 else if (auto *CmpX = dyn_cast<AtomicCmpXchgInst>(&I)) in collectFlatAddressExpressions() local
369 PushPtrOperand(CmpX->getPointerOperand()); in collectFlatAddressExpressions()
769 if (auto *CmpX = dyn_cast<AtomicCmpXchgInst>(Inst)) in isSimplePointerUseValidToReplace() local
771 (VolatileIsAllowed || !CmpX->isVolatile()); in isSimplePointerUseValidToReplace()
DLoopStrengthReduce.cpp816 } else if (AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(Inst)) { in isAddressUse() local
817 if (CmpX->getPointerOperand() == OperandVal) in isAddressUse()
834 } else if (const AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(Inst)) { in getAccessType() local
835 AccessTy.AddrSpace = CmpX->getPointerAddressSpace(); in getAccessType()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp4160 if (AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(UserI)) { in FindAllMemoryUses() local
4164 MemoryUses.push_back(std::make_pair(CmpX, opNo)); in FindAllMemoryUses()
6586 if (AtomicCmpXchgInst *CmpX = dyn_cast<AtomicCmpXchgInst>(I)) { in optimizeInst() local
6587 unsigned AS = CmpX->getPointerAddressSpace(); in optimizeInst()
6588 return optimizeMemoryInst(I, CmpX->getPointerOperand(), in optimizeInst()
6589 CmpX->getCompareOperand()->getType(), AS); in optimizeInst()