diff options
author | Dan Gohman <gohman@apple.com> | 2009-07-09 22:07:27 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-07-09 22:07:27 +0000 |
commit | 5035fbf91c3966ab4f9b01408bdd8e6cc679796b (patch) | |
tree | c352c27c2d176138e8199abb04c3e73c6f6bac14 /llvm/lib/CodeGen/StackProtector.cpp | |
parent | 2b77eef1609d907c0d617f375087b27af9abd152 (diff) | |
download | llvm-5035fbf91c3966ab4f9b01408bdd8e6cc679796b.zip llvm-5035fbf91c3966ab4f9b01408bdd8e6cc679796b.tar.gz llvm-5035fbf91c3966ab4f9b01408bdd8e6cc679796b.tar.bz2 |
Add a ConstantSignedRange class, which does for signed integers
what ConstantRange does for unsigned integers. Factor out a
common base class for common functionality.
Add some new functions for performing arithmetic on constant
ranges. Some of these are currently just stubbed out with
conservative implementations.
Add unittests for ConstantRange and ConstantSignedRange.
llvm-svn: 75177
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions