Lines Matching refs:UserI
74 const Instruction *UserI, const Instruction *I, unsigned OperandNo, in determineLiveOperandBits() argument
91 &AC, UserI, &DT); in determineLiveOperandBits()
97 0, &AC, UserI, &DT); in determineLiveOperandBits()
101 switch (UserI->getOpcode()) { in determineLiveOperandBits()
105 if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(UserI)) in determineLiveOperandBits()
146 dyn_cast<ConstantInt>(UserI->getOperand(1))) { in determineLiveOperandBits()
152 const ShlOperator *S = cast<ShlOperator>(UserI); in determineLiveOperandBits()
162 dyn_cast<ConstantInt>(UserI->getOperand(1))) { in determineLiveOperandBits()
168 if (cast<LShrOperator>(UserI)->isExact()) in determineLiveOperandBits()
175 dyn_cast<ConstantInt>(UserI->getOperand(1))) { in determineLiveOperandBits()
187 if (cast<AShrOperator>(UserI)->isExact()) in determineLiveOperandBits()
199 ComputeKnownBits(BitWidth, I, UserI->getOperand(1)); in determineLiveOperandBits()
202 if (!isa<Instruction>(UserI->getOperand(0))) in determineLiveOperandBits()
203 ComputeKnownBits(BitWidth, UserI->getOperand(0), I); in determineLiveOperandBits()
215 ComputeKnownBits(BitWidth, I, UserI->getOperand(1)); in determineLiveOperandBits()
218 if (!isa<Instruction>(UserI->getOperand(0))) in determineLiveOperandBits()
219 ComputeKnownBits(BitWidth, UserI->getOperand(0), I); in determineLiveOperandBits()
307 Instruction *UserI = Worklist.pop_back_val(); in performAnalysis() local
309 DEBUG(dbgs() << "DemandedBits: Visiting: " << *UserI); in performAnalysis()
311 if (UserI->getType()->isIntegerTy()) { in performAnalysis()
312 AOut = AliveBits[UserI]; in performAnalysis()
317 if (!UserI->getType()->isIntegerTy()) in performAnalysis()
318 Visited.insert(UserI); in performAnalysis()
324 for (Use &OI : UserI->operands()) { in performAnalysis()
329 if (UserI->getType()->isIntegerTy() && !AOut && in performAnalysis()
330 !isAlwaysLive(UserI)) { in performAnalysis()
336 determineLiveOperandBits(UserI, I, OI.getOperandNo(), AOut, AB, in performAnalysis()