aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Constant.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Constant.h')
-rw-r--r--include/llvm/Constant.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Constant.h b/include/llvm/Constant.h
index 601b37b..8ae585d 100644
--- a/include/llvm/Constant.h
+++ b/include/llvm/Constant.h
@@ -51,6 +51,9 @@ public:
/// isNullValue - Return true if this is the value that would be returned by
/// getNullValue.
bool isNullValue() const;
+ /// isAllOnesValue - Return true if this is the value that would be returned by
+ /// getAllOnesValue.
+ bool isAllOnesValue() const;
/// isNegativeZeroValue - Return true if the value is what would be returned
/// by getZeroValueForNegation.