Home
last modified time | relevance | path

Searched refs:AbsDiff (Results 1 – 9 of 9) sorted by relevance

/external/protobuf/src/google/protobuf/stubs/
Dmathutil.h97 static typename MathLimits<T>::UnsignedType AbsDiff(const T x, const T y) { in AbsDiff() function
133 return AbsDiff(x, y) <= Max(margin, relative_margin); in WithinFractionOrMargin()
/external/libgav1/libgav1/src/dsp/x86/
Dloop_filter_sse4.cc48 inline __m128i AbsDiff(const __m128i& a, const __m128i& b) { in AbsDiff() function
56 const __m128i abs_pmq = AbsDiff(p1p0, q1q0); in CheckOuterThreshF4()
65 const __m128i abs_qp1mqp0 = AbsDiff(qp1, qp0); in Hev()
96 const __m128i abs_qp1mqp0 = AbsDiff(qp1, qp0); in NeedsFilter4()
262 const __m128i abs_qp2mqp1 = AbsDiff(qp2, qp1); in NeedsFilter6()
263 const __m128i abs_qp1mqp0 = AbsDiff(qp1, qp0); in NeedsFilter6()
276 const __m128i abs_pq2mpq0 = AbsDiff(qp2, qp0); in IsFlat3()
277 const __m128i abs_qp1mqp0 = AbsDiff(qp1, qp0); in IsFlat3()
489 const __m128i abs_qp2mqp1 = AbsDiff(qp2, qp1); in NeedsFilter8()
490 const __m128i abs_qp1mqp0 = AbsDiff(qp1, qp0); in NeedsFilter8()
[all …]
/external/zopfli/src/zopfli/
Ddeflate.c369 static size_t AbsDiff(size_t x, size_t y) { in AbsDiff() function
430 || AbsDiff(counts[i], limit) >= 4) { in OptimizeHuffmanForRle()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp1737 SDValue AbsDiff = DAG.getNode(ISD::FABS, SL, MVT::f32, Diff); in LowerFROUND32() local
1748 SDValue Cmp = DAG.getSetCC(SL, SetCCVT, AbsDiff, Half, ISD::SETOGE); in LowerFROUND32()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp2179 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()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUISelLowering.cpp2246 SDValue AbsDiff = DAG.getNode(ISD::FABS, SL, VT, Diff); in LowerFROUND() local
2257 SDValue Cmp = DAG.getSetCC(SL, SetCCVT, AbsDiff, Half, ISD::SETOGE); in LowerFROUND()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp5511 auto AbsDiff = MIRBuilder.buildFAbs(Ty, Diff, Flags); in lowerIntrinsicRound() local
5517 auto Cmp = MIRBuilder.buildFCmp(CmpInst::FCMP_OGE, CondTy, AbsDiff, Half, in lowerIntrinsicRound()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp37691 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()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp40429 APInt AbsDiff = Diff.abs(); in combineSelectOfTwoConstants() local
40430 if (AbsDiff.isPowerOf2() || in combineSelectOfTwoConstants()
40432 (AbsDiff == 3 || AbsDiff == 5 || AbsDiff == 9))) { in combineSelectOfTwoConstants()
40446 if (!AbsDiff.isOneValue()) in combineSelectOfTwoConstants()
40447 R = DAG.getNode(ISD::MUL, DL, VT, R, DAG.getConstant(AbsDiff, DL, VT)); in combineSelectOfTwoConstants()