aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-06-06 01:22:09 +0000
committerChris Lattner <sabre@nondot.org>2007-06-06 01:22:09 +0000
commit76ea084489baa1e5a5dff2e0186a1284d4df3c91 (patch)
treec03f863e6e42e8a2708cf5cb01cef0c10cb92916
parentde09d172311d36c555d1f69aba9bc4118599b706 (diff)
add accessor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37453 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Analysis/ScalarEvolutionExpander.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Analysis/ScalarEvolutionExpander.h b/include/llvm/Analysis/ScalarEvolutionExpander.h
index f5ebceb856..44e8fb0a9a 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.