add a method

llvm-svn: 25959
This commit is contained in:
Chris Lattner 2006-02-04 05:49:01 +00:00
parent 2d2e2e3c0e
commit ca05e6a837
1 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,8 @@ namespace llvm {
public: public:
SCEVExpander(ScalarEvolution &se, LoopInfo &li) : SE(se), LI(li) {} SCEVExpander(ScalarEvolution &se, LoopInfo &li) : SE(se), LI(li) {}
LoopInfo &getLoopInfo() const { return LI; }
/// clear - Erase the contents of the InsertedExpressions map so that users /// clear - Erase the contents of the InsertedExpressions map so that users
/// trying to expand the same expression into multiple BasicBlocks or /// trying to expand the same expression into multiple BasicBlocks or
/// different places within the same BasicBlock can do so. /// different places within the same BasicBlock can do so.