Home
last modified time | relevance | path

Searched refs:MathOp (Results 1 - 7 of 7) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/numerics/
H A Dsafe_math_shared_impl.h201 return CL_ABBR##MathOp<CLASS##OP_NAME##Op, L, R, Args...>(lhs, rhs, args...); \
211 return decltype(lhs OP rhs)::template MathOp<CLASS##OP_NAME##Op>(lhs, rhs); \
218 return MathOp<CLASS##OP_NAME##Op>(rhs); \
H A Dclamped_math.h156 static constexpr ClampedNumeric MathOp(const L lhs, const R rhs) in MathOp() function in angle::base::internal::ClampedNumeric
165 constexpr ClampedNumeric &MathOp(const R rhs) in MathOp() function in angle::base::internal::ClampedNumeric
221 return ClampedNumeric<typename Math::result_type>::template MathOp<M>(lhs, rhs); in ClampMathOp()
H A Dchecked_math.h225 static constexpr CheckedNumeric MathOp(const L lhs, const R rhs) in MathOp() function in angle::base::internal::CheckedNumeric
236 constexpr CheckedNumeric &MathOp(const R rhs) in MathOp() function in angle::base::internal::CheckedNumeric
317 return CheckedNumeric<typename Math::result_type>::template MathOp<M>(lhs, rhs); in CheckMathOp()
/third_party/gn/src/base/numerics/
H A Dclamped_math.h148 static constexpr ClampedNumeric MathOp(const L lhs, const R rhs) { in MathOp() function in base::internal::ClampedNumeric
156 constexpr ClampedNumeric& MathOp(const R rhs) { in MathOp() function in base::internal::ClampedNumeric
210 return ClampedNumeric<typename Math::result_type>::template MathOp<M>(lhs, in ClampMathOp()
H A Dsafe_math_shared_impl.h208 return CL_ABBR##MathOp<CLASS##OP_NAME##Op, L, R, Args...>(lhs, rhs, \
220 return decltype(lhs OP rhs)::template MathOp<CLASS##OP_NAME##Op>(lhs, \
228 return MathOp<CLASS##OP_NAME##Op>(rhs); \
H A Dchecked_math.h169 // TODO(jschuh): This can be converted to the MathOp version and remain in Max()
184 // TODO(jschuh): This can be converted to the MathOp version and remain in Min()
230 static constexpr CheckedNumeric MathOp(const L lhs, const R rhs) { in MathOp() function in base::internal::CheckedNumeric
241 constexpr CheckedNumeric& MathOp(const R rhs) { in MathOp() function in base::internal::CheckedNumeric
325 return CheckedNumeric<typename Math::result_type>::template MathOp<M>(lhs, in CheckMathOp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp3528 unsigned MathOp = ISD::DELETED_NODE; in visitMUL() local
3531 MathOp = ISD::ADD; in visitMUL()
3533 MathOp = ISD::SUB; in visitMUL()
3535 if (MathOp != ISD::DELETED_NODE) { in visitMUL()
3537 MathOp == ISD::ADD ? (MulC - 1).logBase2() : (MulC + 1).logBase2(); in visitMUL()
3543 SDValue R = DAG.getNode(MathOp, DL, VT, Shl, N0); in visitMUL()

Completed in 34 milliseconds