Lines Matching refs:UserI
60 void determineLiveOperandBits(const Instruction *UserI,
84 void BDCE::determineLiveOperandBits(const Instruction *UserI, in determineLiveOperandBits() argument
103 AC, UserI, DT); in determineLiveOperandBits()
109 0, AC, UserI, DT); in determineLiveOperandBits()
113 switch (UserI->getOpcode()) { in determineLiveOperandBits()
117 if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(UserI)) in determineLiveOperandBits()
157 dyn_cast<ConstantInt>(UserI->getOperand(1))) { in determineLiveOperandBits()
163 const ShlOperator *S = cast<ShlOperator>(UserI); in determineLiveOperandBits()
173 dyn_cast<ConstantInt>(UserI->getOperand(1))) { in determineLiveOperandBits()
179 if (cast<LShrOperator>(UserI)->isExact()) in determineLiveOperandBits()
186 dyn_cast<ConstantInt>(UserI->getOperand(1))) { in determineLiveOperandBits()
198 if (cast<AShrOperator>(UserI)->isExact()) in determineLiveOperandBits()
210 ComputeKnownBits(BitWidth, I, UserI->getOperand(1)); in determineLiveOperandBits()
213 if (!isa<Instruction>(UserI->getOperand(0))) in determineLiveOperandBits()
214 ComputeKnownBits(BitWidth, UserI->getOperand(0), I); in determineLiveOperandBits()
226 ComputeKnownBits(BitWidth, I, UserI->getOperand(1)); in determineLiveOperandBits()
229 if (!isa<Instruction>(UserI->getOperand(0))) in determineLiveOperandBits()
230 ComputeKnownBits(BitWidth, UserI->getOperand(0), I); in determineLiveOperandBits()
309 Instruction *UserI = Worklist.pop_back_val(); in runOnFunction() local
311 DEBUG(dbgs() << "BDCE: Visiting: " << *UserI); in runOnFunction()
313 if (UserI->getType()->isIntegerTy()) { in runOnFunction()
314 AOut = AliveBits[UserI]; in runOnFunction()
319 if (!UserI->getType()->isIntegerTy()) in runOnFunction()
320 Visited.insert(UserI); in runOnFunction()
326 for (Use &OI : UserI->operands()) { in runOnFunction()
331 if (UserI->getType()->isIntegerTy() && !AOut && in runOnFunction()
332 !isAlwaysLive(UserI)) { in runOnFunction()
338 determineLiveOperandBits(UserI, I, OI.getOperandNo(), AOut, AB, in runOnFunction()