add a method
authorChris Lattner <sabre@nondot.org>
Sat, 4 Feb 2006 05:49:01 +0000 (05:49 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 4 Feb 2006 05:49:01 +0000 (05:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25959 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/ScalarEvolutionExpander.h

index 3e05ab0c09706fe82eb15e0679b0ee62d03e9219..daf82dc853f5e2078c0e3ab398bdeec7e58cdd17 100644 (file)
@@ -41,6 +41,8 @@ namespace llvm {
   public:
     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
     /// trying to expand the same expression into multiple BasicBlocks or
     /// different places within the same BasicBlock can do so.