ΒΆOptional<unsigned int>
GetMostSignificantDifferentBit(
const llvm::APInt& A,
const llvm::APInt& B)
Optional<unsigned int>
GetMostSignificantDifferentBit(
const llvm::APInt& A,
const llvm::APInt& B)
Description
Compare two values, and if they are different, return the position of the most significant bit that is different in the values.
Declared at: llvm/include/llvm/ADT/APInt.h:2271
Parameters
- const llvm::APInt& A
- const llvm::APInt& B