forked from OSchip/llvm-project
parent
1a9078b862
commit
a5a3ff586f
|
@ -37,8 +37,6 @@
|
|||
|
||||
namespace llvm {
|
||||
|
||||
class ConstantInt;
|
||||
|
||||
/// ConstantRange - This class represents an range of values.
|
||||
///
|
||||
class ConstantRange {
|
||||
|
@ -54,7 +52,6 @@ public:
|
|||
/// Initialize a range to hold the single specified value.
|
||||
///
|
||||
ConstantRange(const APInt &Value);
|
||||
ConstantRange(const ConstantInt *Value);
|
||||
|
||||
/// @brief Initialize a range of values explicitly. This will assert out if
|
||||
/// Lower==Upper and Lower != Min or Max value for its type. It will also
|
||||
|
|
|
@ -40,8 +40,6 @@ ConstantRange::ConstantRange(uint32_t BitWidth, bool Full) {
|
|||
/// Initialize a range to hold the single specified value.
|
||||
///
|
||||
ConstantRange::ConstantRange(const APInt & V) : Lower(V), Upper(V + 1) {}
|
||||
ConstantRange::ConstantRange(const ConstantInt *V)
|
||||
: Lower(V->getValue()), Upper(V->getValue() + 1) {}
|
||||
|
||||
ConstantRange::ConstantRange(const APInt &L, const APInt &U) :
|
||||
Lower(L), Upper(U) {
|
||||
|
|
Loading…
Reference in New Issue