diff options
Diffstat (limited to 'llvm/include/llvm/Support/KnownBits.h')
-rw-r--r-- | llvm/include/llvm/Support/KnownBits.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/llvm/include/llvm/Support/KnownBits.h b/llvm/include/llvm/Support/KnownBits.h index 06d2c90f7b0f..73cb01e0644a 100644 --- a/llvm/include/llvm/Support/KnownBits.h +++ b/llvm/include/llvm/Support/KnownBits.h @@ -390,8 +390,11 @@ public: /// Compute known bits for smin(LHS, RHS). static KnownBits smin(const KnownBits &LHS, const KnownBits &RHS); - /// Compute known bits for absdiff(LHS, RHS). - static KnownBits absdiff(const KnownBits &LHS, const KnownBits &RHS); + /// Compute known bits for abdu(LHS, RHS). + static KnownBits abdu(const KnownBits &LHS, const KnownBits &RHS); + + /// Compute known bits for abds(LHS, RHS). + static KnownBits abds(const KnownBits &LHS, const KnownBits &RHS); /// Compute known bits for shl(LHS, RHS). /// NOTE: RHS (shift amount) bitwidth doesn't need to be the same as LHS. |