forked from OSchip/llvm-project
[IRCE] Use C++11 style initializers; NFC
llvm-svn: 270815
This commit is contained in:
parent
683abe79b2
commit
ee77a4828e
|
@ -115,11 +115,11 @@ class InductiveRangeCheck {
|
|||
|
||||
static StringRef rangeCheckKindToStr(RangeCheckKind);
|
||||
|
||||
const SCEV *Offset;
|
||||
const SCEV *Scale;
|
||||
Value *Length;
|
||||
Use *CheckUse;
|
||||
RangeCheckKind Kind;
|
||||
const SCEV *Offset = nullptr;
|
||||
const SCEV *Scale = nullptr;
|
||||
Value *Length = nullptr;
|
||||
Use *CheckUse = nullptr;
|
||||
RangeCheckKind Kind = RANGE_CHECK_UNKNOWN;
|
||||
|
||||
static RangeCheckKind parseRangeCheckICmp(Loop *L, ICmpInst *ICI,
|
||||
ScalarEvolution &SE, Value *&Index,
|
||||
|
@ -130,10 +130,6 @@ class InductiveRangeCheck {
|
|||
SmallVectorImpl<InductiveRangeCheck> &Checks,
|
||||
SmallPtrSetImpl<Value *> &Visited);
|
||||
|
||||
InductiveRangeCheck()
|
||||
: Offset(nullptr), Scale(nullptr), Length(nullptr),
|
||||
CheckUse(nullptr) {}
|
||||
|
||||
public:
|
||||
const SCEV *getOffset() const { return Offset; }
|
||||
const SCEV *getScale() const { return Scale; }
|
||||
|
|
Loading…
Reference in New Issue