Home
last modified time | relevance | path

Searched refs:GreatestCommonDivisor (Results 1 - 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dloop_dependence.cpp37 int64_t GreatestCommonDivisor(int64_t a, int64_t b) { in GreatestCommonDivisor() function
49 return 2 * GreatestCommonDivisor(a / 2, b / 2); in GreatestCommonDivisor()
54 return GreatestCommonDivisor(a / 2, b); in GreatestCommonDivisor()
59 return GreatestCommonDivisor(a, b / 2); in GreatestCommonDivisor()
64 return GreatestCommonDivisor((a - b) / 2, b); in GreatestCommonDivisor()
66 return GreatestCommonDivisor((b - a) / 2, a); in GreatestCommonDivisor()
157 running_gcd = GreatestCommonDivisor( in CalculateGCDFromCoefficients()
169 GreatestCommonDivisor(std::abs(numerator_0), std::abs(denominator_0)); in NormalizeAndCompareFractions()
171 GreatestCommonDivisor(std::abs(numerator_1), std::abs(denominator_1)); in NormalizeAndCompareFractions()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dloop_dependence.cpp37 int64_t GreatestCommonDivisor(int64_t a, int64_t b) { in GreatestCommonDivisor() function
49 return 2 * GreatestCommonDivisor(a / 2, b / 2); in GreatestCommonDivisor()
54 return GreatestCommonDivisor(a / 2, b); in GreatestCommonDivisor()
59 return GreatestCommonDivisor(a, b / 2); in GreatestCommonDivisor()
64 return GreatestCommonDivisor((a - b) / 2, b); in GreatestCommonDivisor()
66 return GreatestCommonDivisor((b - a) / 2, a); in GreatestCommonDivisor()
157 running_gcd = GreatestCommonDivisor( in CalculateGCDFromCoefficients()
169 GreatestCommonDivisor(std::abs(numerator_0), std::abs(denominator_0)); in NormalizeAndCompareFractions()
171 GreatestCommonDivisor(std::abs(numerator_1), std::abs(denominator_1)); in NormalizeAndCompareFractions()
/third_party/spirv-tools/source/opt/
H A Dloop_dependence.cpp35 int64_t GreatestCommonDivisor(int64_t a, int64_t b) { in GreatestCommonDivisor() function
47 return 2 * GreatestCommonDivisor(a / 2, b / 2); in GreatestCommonDivisor()
52 return GreatestCommonDivisor(a / 2, b); in GreatestCommonDivisor()
57 return GreatestCommonDivisor(a, b / 2); in GreatestCommonDivisor()
62 return GreatestCommonDivisor((a - b) / 2, b); in GreatestCommonDivisor()
64 return GreatestCommonDivisor((b - a) / 2, a); in GreatestCommonDivisor()
155 running_gcd = GreatestCommonDivisor( in CalculateGCDFromCoefficients()
167 GreatestCommonDivisor(std::abs(numerator_0), std::abs(denominator_0)); in NormalizeAndCompareFractions()
169 GreatestCommonDivisor(std::abs(numerator_1), std::abs(denominator_1)); in NormalizeAndCompareFractions()
/third_party/node/deps/v8/src/profiler/
H A Dprofile-generator.cc1168 int64_t GreatestCommonDivisor(int64_t a, int64_t b) { in GreatestCommonDivisor() function
1169 return b ? GreatestCommonDivisor(b, a % b) : a; in GreatestCommonDivisor()
1191 interval_us = GreatestCommonDivisor(interval_us, profile_interval_us); in GetCommonSamplingInterval()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp2347 RunningGCD = APIntOps::GreatestCommonDivisor(RunningGCD, ConstCoeff.abs()); in gcdMIVtest()
2366 RunningGCD = APIntOps::GreatestCommonDivisor(RunningGCD, ConstCoeff.abs()); in gcdMIVtest()
2390 ExtraGCD = APIntOps::GreatestCommonDivisor(ExtraGCD, in gcdMIVtest()
2403 RunningGCD = APIntOps::GreatestCommonDivisor(RunningGCD, ExtraGCD); in gcdMIVtest()
2447 RunningGCD = APIntOps::GreatestCommonDivisor(RunningGCD, ConstCoeff.abs()); in gcdMIVtest()
2464 RunningGCD = APIntOps::GreatestCommonDivisor(RunningGCD, ConstCoeff.abs()); in gcdMIVtest()
2477 RunningGCD = APIntOps::GreatestCommonDivisor(RunningGCD, ConstCoeff.abs()); in gcdMIVtest()
H A DScalarEvolution.cpp3337 return APIntOps::GreatestCommonDivisor(std::move(A), std::move(B));
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A DAPInt.h1842 APInt GreatestCommonDivisor(const APInt &Val1, const APInt &Val2);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
H A DAPInt.h2187 APInt GreatestCommonDivisor(APInt A, APInt B);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A DAPInt.cpp786 APInt llvm::APIntOps::GreatestCommonDivisor(const APInt& API1, in GreatestCommonDivisor() function in llvm::APIntOps
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DAPInt.cpp726 APInt llvm::APIntOps::GreatestCommonDivisor(APInt A, APInt B) {

Completed in 39 milliseconds