Lines Matching refs:IC
71 InstCombiner &IC) {
114 return CanEvaluateShifted(I->getOperand(0), NumBits, isLeftShift, IC) &&
115 CanEvaluateShifted(I->getOperand(1), NumBits, isLeftShift, IC);
167 return CanEvaluateShifted(SI->getTrueValue(), NumBits, isLeftShift, IC) &&
168 CanEvaluateShifted(SI->getFalseValue(), NumBits, isLeftShift, IC);
176 if (!CanEvaluateShifted(PN->getIncomingValue(i), NumBits, isLeftShift,IC))
186 InstCombiner &IC) {
190 V = IC.Builder->CreateShl(C, NumBits);
192 V = IC.Builder->CreateLShr(C, NumBits);
195 V = ConstantFoldConstantExpression(CE, IC.getDataLayout(),
196 IC.getTargetLibraryInfo());
201 IC.Worklist.Add(I);
209 I->setOperand(0, GetShiftedValue(I->getOperand(0), NumBits,isLeftShift,IC));
210 I->setOperand(1, GetShiftedValue(I->getOperand(1), NumBits,isLeftShift,IC));
237 V = IC.Builder->CreateAnd(BO->getOperand(0),
277 V = IC.Builder->CreateAnd(I->getOperand(0),
296 I->setOperand(1, GetShiftedValue(I->getOperand(1), NumBits,isLeftShift,IC));
297 I->setOperand(2, GetShiftedValue(I->getOperand(2), NumBits,isLeftShift,IC));
306 NumBits, isLeftShift, IC));