mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
Relax the interface a bit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12533 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d179961d40
commit
62fe9b59c1
@ -28,7 +28,7 @@
|
||||
#include <iosfwd>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class Constant;
|
||||
class ConstantIntegral;
|
||||
class Type;
|
||||
|
||||
@ -40,15 +40,15 @@ class ConstantRange {
|
||||
ConstantRange(const Type *Ty, bool isFullSet = true);
|
||||
|
||||
/// Initialize a range of values explicitly... this will assert out if
|
||||
/// Lower==Upper and Lower != Min or Max for its type (or if the two constants
|
||||
/// have different types)
|
||||
/// Lower==Upper and Lower != Min or Max for its type, if the two constants
|
||||
/// have different types, or if the constant are not integral values.
|
||||
///
|
||||
ConstantRange(ConstantIntegral *Lower, ConstantIntegral *Upper);
|
||||
ConstantRange(Constant *Lower, Constant *Upper);
|
||||
|
||||
/// Initialize a set of values that all satisfy the condition with C.
|
||||
///
|
||||
ConstantRange(unsigned SetCCOpcode, ConstantIntegral *C);
|
||||
|
||||
|
||||
/// getLower - Return the lower value for this range...
|
||||
///
|
||||
ConstantIntegral *getLower() const { return Lower; }
|
||||
|
Loading…
Reference in New Issue
Block a user