Searched refs:AbsDiff (Results 1 – 3 of 3) sorted by relevance
| /third_party/protobuf/src/google/protobuf/stubs/ |
| D | mathutil.h | 119 static typename internal::MakeUnsignedT<T> AbsDiff(const T x, const T y) { in AbsDiff() function 155 return AbsDiff(x, y) <= Max(margin, relative_margin); in WithinFractionOrMargin()
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
| D | AMDGPUISelLowering.cpp | 2179 SDValue AbsDiff = DAG.getNode(ISD::FABS, SL, VT, Diff); in LowerFROUND_LegalFTRUNC() local 2190 SDValue Cmp = DAG.getSetCC(SL, SetCCVT, AbsDiff, Half, ISD::SETOGE); in LowerFROUND_LegalFTRUNC()
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
| D | X86ISelLowering.cpp | 37691 APInt AbsDiff = Diff.abs(); in combineSelectOfTwoConstants() local 37692 if (AbsDiff.isPowerOf2() || in combineSelectOfTwoConstants() 37694 (AbsDiff == 3 || AbsDiff == 5 || AbsDiff == 9))) { in combineSelectOfTwoConstants() 37708 if (!AbsDiff.isOneValue()) in combineSelectOfTwoConstants() 37709 R = DAG.getNode(ISD::MUL, DL, VT, R, DAG.getConstant(AbsDiff, DL, VT)); in combineSelectOfTwoConstants()
|