ΒΆllvm::APInt GreatestCommonDivisor(llvm::APInt A,
llvm::APInt B)
llvm::APInt GreatestCommonDivisor(llvm::APInt A,
llvm::APInt B)
Description
Compute GCD of two unsigned APInt values. This function returns the greatest common divisor of the two APInt values using Stein's algorithm.
Declared at: llvm/include/llvm/ADT/APInt.h:2187
Parameters
Returns
the greatest common divisor of A and B.