Lines Matching refs:UseInst
106 Instruction *UseInst,
535 Instruction *UseInst = cast<Instruction>(User); in collectUsesWithPtrTypes() local
536 if (UseInst->getOpcode() == Instruction::PtrToInt) in collectUsesWithPtrTypes()
539 if (LoadInst *LI = dyn_cast<LoadInst>(UseInst)) { in collectUsesWithPtrTypes()
546 if (StoreInst *SI = dyn_cast<StoreInst>(UseInst)) { in collectUsesWithPtrTypes()
553 } else if (AtomicRMWInst *RMW = dyn_cast<AtomicRMWInst>(UseInst)) { in collectUsesWithPtrTypes()
556 } else if (AtomicCmpXchgInst *CAS = dyn_cast<AtomicCmpXchgInst>(UseInst)) { in collectUsesWithPtrTypes()
563 if (ICmpInst *ICmp = dyn_cast<ICmpInst>(UseInst)) { in collectUsesWithPtrTypes()
571 if (UseInst->getOpcode() == Instruction::AddrSpaceCast) { in collectUsesWithPtrTypes()
573 if (PointerMayBeCaptured(UseInst, true, true)) in collectUsesWithPtrTypes()
583 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(UseInst)) { in collectUsesWithPtrTypes()
592 if (SelectInst *SI = dyn_cast<SelectInst>(UseInst)) { in collectUsesWithPtrTypes()
598 if (PHINode *Phi = dyn_cast<PHINode>(UseInst)) { in collectUsesWithPtrTypes()