Lines Matching defs:UseInst
105 /// be the same value as one of the input operands of UseInst.
107 Instruction *UseInst,
540 Instruction *UseInst = cast<Instruction>(User);
541 if (UseInst->getOpcode() == Instruction::PtrToInt)
544 if (LoadInst *LI = dyn_cast<LoadInst>(UseInst)) {
551 if (StoreInst *SI = dyn_cast<StoreInst>(UseInst)) {
558 } else if (AtomicRMWInst *RMW = dyn_cast<AtomicRMWInst>(UseInst)) {
561 } else if (AtomicCmpXchgInst *CAS = dyn_cast<AtomicCmpXchgInst>(UseInst)) {
568 if (ICmpInst *ICmp = dyn_cast<ICmpInst>(UseInst)) {
576 if (UseInst->getOpcode() == Instruction::AddrSpaceCast) {
578 if (PointerMayBeCaptured(UseInst, true, true))
588 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(UseInst)) {
597 if (SelectInst *SI = dyn_cast<SelectInst>(UseInst)) {
603 if (PHINode *Phi = dyn_cast<PHINode>(UseInst)) {