Lines Matching defs:Log2
8390 // least Log2(EltSize) significant bits and not a general funnel shift.
14694 unsigned AlignShift = Log2(AL);
17269 // -> (bitcast_to_FP (add (bitcast_to_INT C), Log2(Pow2) << mantissa))
17271 // -> (bitcast_to_FP (sub (bitcast_to_INT C), Log2(Pow2) << mantissa))
17300 // `Log2(Pow2Op) < Pow2Op.getScalarSizeInBits()`.
17348 // Get Log2 type with same bitwidth as the float type (VT).
17354 SDValue Log2 = BuildLogBase2(Pow2Op, DL, DAG.isKnownNeverZero(Pow2Op),
17356 if (!Log2)
17362 // TODO: Sometimes Log2 is of form `(X + C)`. `(X + C) << C1` should fold to
17365 SDValue Shift = DAG.getNode(ISD::SHL, DL, NewIntVT, Log2, MantissaShiftCnt);
28456 // Returns the node that represents `Log2(Op)`. This may create a new node. If
28457 // we are unable to compute `Log2(Op)` its return `SDValue()`.
28461 // This will only return `Log2(Op)` if we can prove `Op` is non-zero. Set
28542 // c ? X : Y -> c ? Log2(X) : Log2(Y)