forked from OSchip/llvm-project
parent
154d78a661
commit
526605d06f
|
@ -32,7 +32,7 @@ namespace llvm {
|
||||||
ScalarEvolution &SE;
|
ScalarEvolution &SE;
|
||||||
|
|
||||||
// New instructions receive a name to identifies them with the current pass.
|
// New instructions receive a name to identifies them with the current pass.
|
||||||
const char* Label;
|
const char* IVName;
|
||||||
|
|
||||||
std::map<std::pair<const SCEV *, Instruction *>, AssertingVH<Value> >
|
std::map<std::pair<const SCEV *, Instruction *>, AssertingVH<Value> >
|
||||||
InsertedExpressions;
|
InsertedExpressions;
|
||||||
|
@ -71,8 +71,8 @@ namespace llvm {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/// SCEVExpander - Construct a SCEVExpander in "canonical" mode.
|
/// SCEVExpander - Construct a SCEVExpander in "canonical" mode.
|
||||||
explicit SCEVExpander(ScalarEvolution &se, const char *label)
|
explicit SCEVExpander(ScalarEvolution &se, const char *name)
|
||||||
: SE(se), Label(label), IVIncInsertLoop(0), CanonicalMode(true),
|
: SE(se), IVName(name), IVIncInsertLoop(0), CanonicalMode(true),
|
||||||
Builder(se.getContext(), TargetFolder(se.TD)) {}
|
Builder(se.getContext(), TargetFolder(se.TD)) {}
|
||||||
|
|
||||||
/// clear - Erase the contents of the InsertedExpressions map so that users
|
/// clear - Erase the contents of the InsertedExpressions map so that users
|
||||||
|
|
Loading…
Reference in New Issue