Lines Matching refs:UseInst
93 Instruction *UseInst,
619 Instruction *UseInst = cast<Instruction>(User); in collectUsesWithPtrTypes() local
620 if (UseInst->getOpcode() == Instruction::PtrToInt) in collectUsesWithPtrTypes()
623 if (LoadInst *LI = dyn_cast<LoadInst>(UseInst)) { in collectUsesWithPtrTypes()
630 if (StoreInst *SI = dyn_cast<StoreInst>(UseInst)) { in collectUsesWithPtrTypes()
637 } else if (AtomicRMWInst *RMW = dyn_cast<AtomicRMWInst>(UseInst)) { in collectUsesWithPtrTypes()
640 } else if (AtomicCmpXchgInst *CAS = dyn_cast<AtomicCmpXchgInst>(UseInst)) { in collectUsesWithPtrTypes()
647 if (ICmpInst *ICmp = dyn_cast<ICmpInst>(UseInst)) { in collectUsesWithPtrTypes()
655 if (UseInst->getOpcode() == Instruction::AddrSpaceCast) { in collectUsesWithPtrTypes()
657 if (PointerMayBeCaptured(UseInst, true, true)) in collectUsesWithPtrTypes()
672 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(UseInst)) { in collectUsesWithPtrTypes()
681 if (SelectInst *SI = dyn_cast<SelectInst>(UseInst)) { in collectUsesWithPtrTypes()
687 if (PHINode *Phi = dyn_cast<PHINode>(UseInst)) { in collectUsesWithPtrTypes()