aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-02-04 05:49:01 +0000
committerChris Lattner <sabre@nondot.org>2006-02-04 05:49:01 +0000
commit8f9f0d3a34ebbcd6d075fbb1250dc74f36579d50 (patch)
treeafaea064ee1dc7a49b393a6e4ddcee00439da041
parentfdcc71eaa804f3a2604485def9c3757488e8dcdb (diff)
add a method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25959 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 3e05ab0c09..daf82dc853 100644
--- a/include/llvm/Analysis/ScalarEvolutionExpander.h
+++ b/include/llvm/Analysis/ScalarEvolutionExpander.h
@@ -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.