Lines Matching refs:UserI
653 Instruction *UserI = cast<Instruction>(U); in SliceUpIllegalIntegerPHI() local
656 if (PHINode *UserPN = dyn_cast<PHINode>(UserI)) { in SliceUpIllegalIntegerPHI()
663 if (isa<TruncInst>(UserI)) { in SliceUpIllegalIntegerPHI()
664 PHIUsers.push_back(PHIUsageRecord(PHIId, 0, UserI)); in SliceUpIllegalIntegerPHI()
669 if (UserI->getOpcode() != Instruction::LShr || in SliceUpIllegalIntegerPHI()
670 !UserI->hasOneUse() || !isa<TruncInst>(UserI->user_back()) || in SliceUpIllegalIntegerPHI()
671 !isa<ConstantInt>(UserI->getOperand(1))) in SliceUpIllegalIntegerPHI()
674 unsigned Shift = cast<ConstantInt>(UserI->getOperand(1))->getZExtValue(); in SliceUpIllegalIntegerPHI()
675 PHIUsers.push_back(PHIUsageRecord(PHIId, Shift, UserI->user_back())); in SliceUpIllegalIntegerPHI()
700 for (unsigned UserI = 0, UserE = PHIUsers.size(); UserI != UserE; ++UserI) { in SliceUpIllegalIntegerPHI() local
701 unsigned PHIId = PHIUsers[UserI].PHIId; in SliceUpIllegalIntegerPHI()
703 unsigned Offset = PHIUsers[UserI].Shift; in SliceUpIllegalIntegerPHI()
704 Type *Ty = PHIUsers[UserI].Inst->getType(); in SliceUpIllegalIntegerPHI()
777 ReplaceInstUsesWith(*PHIUsers[UserI].Inst, EltPHI); in SliceUpIllegalIntegerPHI()