Lines Matching refs:UserI
729 Instruction *UserI = cast<Instruction>(U); in SliceUpIllegalIntegerPHI() local
732 if (PHINode *UserPN = dyn_cast<PHINode>(UserI)) { in SliceUpIllegalIntegerPHI()
739 if (isa<TruncInst>(UserI)) { in SliceUpIllegalIntegerPHI()
740 PHIUsers.push_back(PHIUsageRecord(PHIId, 0, UserI)); in SliceUpIllegalIntegerPHI()
745 if (UserI->getOpcode() != Instruction::LShr || in SliceUpIllegalIntegerPHI()
746 !UserI->hasOneUse() || !isa<TruncInst>(UserI->user_back()) || in SliceUpIllegalIntegerPHI()
747 !isa<ConstantInt>(UserI->getOperand(1))) in SliceUpIllegalIntegerPHI()
750 unsigned Shift = cast<ConstantInt>(UserI->getOperand(1))->getZExtValue(); in SliceUpIllegalIntegerPHI()
751 PHIUsers.push_back(PHIUsageRecord(PHIId, Shift, UserI->user_back())); in SliceUpIllegalIntegerPHI()
776 for (unsigned UserI = 0, UserE = PHIUsers.size(); UserI != UserE; ++UserI) { in SliceUpIllegalIntegerPHI() local
777 unsigned PHIId = PHIUsers[UserI].PHIId; in SliceUpIllegalIntegerPHI()
779 unsigned Offset = PHIUsers[UserI].Shift; in SliceUpIllegalIntegerPHI()
780 Type *Ty = PHIUsers[UserI].Inst->getType(); in SliceUpIllegalIntegerPHI()
853 replaceInstUsesWith(*PHIUsers[UserI].Inst, EltPHI); in SliceUpIllegalIntegerPHI()