Lines Matching refs:IC

62                                     Instruction *SecondShift, InstCombiner &IC,  in canEvaluateShiftedShift()  argument
96 if (IC.MaskedValueIsZero(SecondShift->getOperand(0), Mask, 0, CxtI)) in canEvaluateShiftedShift()
116 InstCombiner &IC, Instruction *CxtI) { in CanEvaluateShifted() argument
159 return CanEvaluateShifted(I->getOperand(0), NumBits, IsLeftShift, IC, I) && in CanEvaluateShifted()
160 CanEvaluateShifted(I->getOperand(1), NumBits, IsLeftShift, IC, I); in CanEvaluateShifted()
164 return canEvaluateShiftedShift(NumBits, IsLeftShift, I, IC, CxtI); in CanEvaluateShifted()
170 return CanEvaluateShifted(TrueVal, NumBits, IsLeftShift, IC, SI) && in CanEvaluateShifted()
171 CanEvaluateShifted(FalseVal, NumBits, IsLeftShift, IC, SI); in CanEvaluateShifted()
179 if (!CanEvaluateShifted(IncValue, NumBits, IsLeftShift, IC, PN)) in CanEvaluateShifted()
189 InstCombiner &IC, const DataLayout &DL) { in GetShiftedValue() argument
193 V = IC.Builder->CreateShl(C, NumBits); in GetShiftedValue()
195 V = IC.Builder->CreateLShr(C, NumBits); in GetShiftedValue()
198 V = ConstantFoldConstantExpression(CE, DL, IC.getTargetLibraryInfo()); in GetShiftedValue()
203 IC.Worklist.Add(I); in GetShiftedValue()
212 0, GetShiftedValue(I->getOperand(0), NumBits, isLeftShift, IC, DL)); in GetShiftedValue()
214 1, GetShiftedValue(I->getOperand(1), NumBits, isLeftShift, IC, DL)); in GetShiftedValue()
241 V = IC.Builder->CreateAnd(BO->getOperand(0), in GetShiftedValue()
283 V = IC.Builder->CreateAnd(I->getOperand(0), in GetShiftedValue()
303 1, GetShiftedValue(I->getOperand(1), NumBits, isLeftShift, IC, DL)); in GetShiftedValue()
305 2, GetShiftedValue(I->getOperand(2), NumBits, isLeftShift, IC, DL)); in GetShiftedValue()
314 isLeftShift, IC, DL)); in GetShiftedValue()