Home
last modified time | relevance | path

Searched refs:ShiftAmt2 (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp562 uint32_t ShiftAmt2 = COp1->getLimitedValue(TypeBits); in FoldShiftByConstant() local
563 assert(ShiftAmt2 != 0 && "Should have been simplified earlier"); in FoldShiftByConstant()
571 uint32_t AmtSum = ShiftAmt1+ShiftAmt2; // Fold into one big shift. in FoldShiftByConstant()
584 if (ShiftAmt1 == ShiftAmt2) { in FoldShiftByConstant()
592 } else if (ShiftAmt1 < ShiftAmt2) { in FoldShiftByConstant()
593 uint32_t ShiftDiff = ShiftAmt2-ShiftAmt1; in FoldShiftByConstant()
624 APInt Mask(APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt2)); in FoldShiftByConstant()
643 assert(ShiftAmt2 < ShiftAmt1); in FoldShiftByConstant()
644 uint32_t ShiftDiff = ShiftAmt1-ShiftAmt2; in FoldShiftByConstant()
672 APInt Mask(APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt2)); in FoldShiftByConstant()