Lines Matching defs:IC
537 InstCombinerImpl &IC, Instruction *CxtI) {
570 if (IC.MaskedValueIsZero(InnerShift->getOperand(0), Mask, 0, CxtI))
588 InstCombinerImpl &IC, Instruction *CxtI) {
606 return canEvaluateShifted(I->getOperand(0), NumBits, IsLeftShift, IC, I) &&
607 canEvaluateShifted(I->getOperand(1), NumBits, IsLeftShift, IC, I);
611 return canEvaluateShiftedShift(NumBits, IsLeftShift, I, IC, CxtI);
617 return canEvaluateShifted(TrueVal, NumBits, IsLeftShift, IC, SI) &&
618 canEvaluateShifted(FalseVal, NumBits, IsLeftShift, IC, SI);
626 if (!canEvaluateShifted(IncValue, NumBits, IsLeftShift, IC, PN))
705 InstCombinerImpl &IC, const DataLayout &DL) {
709 return IC.Builder.CreateShl(C, NumBits);
711 return IC.Builder.CreateLShr(C, NumBits);
715 IC.addToWorklist(I);
724 0, getShiftedValue(I->getOperand(0), NumBits, isLeftShift, IC, DL));
726 1, getShiftedValue(I->getOperand(1), NumBits, isLeftShift, IC, DL));
732 IC.Builder);
736 1, getShiftedValue(I->getOperand(1), NumBits, isLeftShift, IC, DL));
738 2, getShiftedValue(I->getOperand(2), NumBits, isLeftShift, IC, DL));
747 isLeftShift, IC, DL));
753 IC.InsertNewInstWith(Neg, I->getIterator());
759 return IC.InsertNewInstWith(And, I->getIterator());