Lines Matching defs:IC
521 InstCombinerImpl &IC, Instruction *CxtI) {
554 if (IC.MaskedValueIsZero(InnerShift->getOperand(0), Mask, 0, CxtI))
572 InstCombinerImpl &IC, Instruction *CxtI) {
590 return canEvaluateShifted(I->getOperand(0), NumBits, IsLeftShift, IC, I) &&
591 canEvaluateShifted(I->getOperand(1), NumBits, IsLeftShift, IC, I);
595 return canEvaluateShiftedShift(NumBits, IsLeftShift, I, IC, CxtI);
601 return canEvaluateShifted(TrueVal, NumBits, IsLeftShift, IC, SI) &&
602 canEvaluateShifted(FalseVal, NumBits, IsLeftShift, IC, SI);
610 if (!canEvaluateShifted(IncValue, NumBits, IsLeftShift, IC, PN))
689 InstCombinerImpl &IC, const DataLayout &DL) {
693 return IC.Builder.CreateShl(C, NumBits);
695 return IC.Builder.CreateLShr(C, NumBits);
699 IC.addToWorklist(I);
708 0, getShiftedValue(I->getOperand(0), NumBits, isLeftShift, IC, DL));
710 1, getShiftedValue(I->getOperand(1), NumBits, isLeftShift, IC, DL));
716 IC.Builder);
720 1, getShiftedValue(I->getOperand(1), NumBits, isLeftShift, IC, DL));
722 2, getShiftedValue(I->getOperand(2), NumBits, isLeftShift, IC, DL));
731 isLeftShift, IC, DL));
737 IC.InsertNewInstWith(Neg, I->getIterator());
743 return IC.InsertNewInstWith(And, I->getIterator());