From a1ad6012553f0148936227bd77c3cbfa06648f99 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 6 Jun 2007 01:22:09 +0000 Subject: [PATCH] add accessor llvm-svn: 37453 --- include/llvm/Analysis/ScalarEvolutionExpander.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/llvm/Analysis/ScalarEvolutionExpander.h b/include/llvm/Analysis/ScalarEvolutionExpander.h index f5ebceb8564..44e8fb0a9a5 100644 --- a/include/llvm/Analysis/ScalarEvolutionExpander.h +++ b/include/llvm/Analysis/ScalarEvolutionExpander.h @@ -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.