add accessor
authorChris Lattner <sabre@nondot.org>
Wed, 6 Jun 2007 01:22:09 +0000 (01:22 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 6 Jun 2007 01:22:09 +0000 (01:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37453 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/ScalarEvolutionExpander.h

index f5ebceb85643de5749f51987a3f206f3e41cbc5b..44e8fb0a9a5b5300b3f152fdb0650edcaa019a06 100644 (file)
@@ -73,6 +73,8 @@ namespace llvm {
       InsertedInstructions.insert(I);
     }
 
+    Instruction *getInsertionPoint() const { return InsertPt; }
+    
     /// expandCodeFor - Insert code to directly compute the specified SCEV
     /// expression into the program.  The inserted code is inserted into the
     /// specified block.