Lines Matching refs:UseInst
95 Instruction *UseInst, int OpIdx0,
1080 Instruction *UseInst = cast<Instruction>(User); in collectUsesWithPtrTypes() local
1081 if (UseInst->getOpcode() == Instruction::PtrToInt) in collectUsesWithPtrTypes()
1084 if (LoadInst *LI = dyn_cast<LoadInst>(UseInst)) { in collectUsesWithPtrTypes()
1091 if (StoreInst *SI = dyn_cast<StoreInst>(UseInst)) { in collectUsesWithPtrTypes()
1098 } else if (AtomicRMWInst *RMW = dyn_cast<AtomicRMWInst>(UseInst)) { in collectUsesWithPtrTypes()
1101 } else if (AtomicCmpXchgInst *CAS = dyn_cast<AtomicCmpXchgInst>(UseInst)) { in collectUsesWithPtrTypes()
1108 if (ICmpInst *ICmp = dyn_cast<ICmpInst>(UseInst)) { in collectUsesWithPtrTypes()
1116 if (UseInst->getOpcode() == Instruction::AddrSpaceCast) { in collectUsesWithPtrTypes()
1118 if (PointerMayBeCaptured(UseInst, true, true)) in collectUsesWithPtrTypes()
1133 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(UseInst)) { in collectUsesWithPtrTypes()
1142 if (SelectInst *SI = dyn_cast<SelectInst>(UseInst)) { in collectUsesWithPtrTypes()
1148 if (PHINode *Phi = dyn_cast<PHINode>(UseInst)) { in collectUsesWithPtrTypes()