Lines Matching defs:Log2
8218 // least Log2(EltSize) significant bits and not a general funnel shift.
14402 unsigned AlignShift = Log2(AL);
16839 // -> (bitcast_to_FP (add (bitcast_to_INT C), Log2(Pow2) << mantissa))
16841 // -> (bitcast_to_FP (sub (bitcast_to_INT C), Log2(Pow2) << mantissa))
16870 // `Log2(Pow2Op) < Pow2Op.getScalarSizeInBits()`.
16918 // Get Log2 type with same bitwidth as the float type (VT).
16924 SDValue Log2 = BuildLogBase2(Pow2Op, DL, DAG.isKnownNeverZero(Pow2Op),
16926 if (!Log2)
16932 // TODO: Sometimes Log2 is of form `(X + C)`. `(X + C) << C1` should fold to
16935 SDValue Shift = DAG.getNode(ISD::SHL, DL, NewIntVT, Log2, MantissaShiftCnt);
27914 // Returns the node that represents `Log2(Op)`. This may create a new node. If
27915 // we are unable to compute `Log2(Op)` its return `SDValue()`.
27919 // This will only return `Log2(Op)` if we can prove `Op` is non-zero. Set
28000 // c ? X : Y -> c ? Log2(X) : Log2(Y)