HomeSort by: relevance | last modified time | path
    Searched refs:ShAmt1 (Results 1 - 4 of 4) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineShifts.cpp 25 Value *ShAmt1) {
28 if (ShAmt0->getType() != ShAmt1->getType())
78 // Inner shift: (x shiftopcode ShAmt1)
80 Value *X, *ShAmt1;
81 if (!match(Sh1, m_Shift(m_Value(X), m_ZExtOrSelf(m_Value(ShAmt1)))))
85 if (!canTryToConstantAddTwoShiftAmounts(Sh0, ShAmt0, Sh1, ShAmt1))
109 // Can we fold (ShAmt0+ShAmt1) ?
111 SimplifyAddInst(ShAmt0, ShAmt1, /*isNSW=*/false, /*isNUW=*/false,
InstCombineCasts.cpp 534 // trunc (or (lshr ShVal0, ShAmt0), (shl ShVal1, ShAmt1))
539 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1;
541 !match(Or1, m_OneUse(m_LogicalShift(m_Value(ShVal1), m_Value(ShAmt1)))) ||
545 // Canonicalize to or(shl(ShVal0, ShAmt0), lshr(ShVal1, ShAmt1)).
549 std::swap(ShAmt0, ShAmt1);
589 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, NarrowWidth);
592 ShAmt = matchShiftAmount(ShAmt1, ShAmt0, NarrowWidth);
InstCombineAndOrXor.cpp 2118 // or (lshr ShVal0, ShAmt0), (shl ShVal1, ShAmt1)
2124 Value *ShVal0, *ShVal1, *ShAmt0, *ShAmt1;
2126 !match(Or1, m_OneUse(m_LogicalShift(m_Value(ShVal1), m_Value(ShAmt1)))) ||
2130 // Canonicalize to or(shl(ShVal0, ShAmt0), lshr(ShVal1, ShAmt1)).
2134 std::swap(ShAmt0, ShAmt1);
2199 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, Width);
2202 ShAmt = matchShiftAmount(ShAmt1, ShAmt0, Width);
  /src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
RISCVISelLowering.cpp 5403 unsigned ShAmt1 = N->getConstantOperandVal(1);
5409 CombinedShAmt = ShAmt1 | ShAmt2;
5411 CombinedShAmt = ShAmt1 ^ ShAmt2;

Completed in 38 milliseconds