From 8f9f0d3a34ebbcd6d075fbb1250dc74f36579d50 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 4 Feb 2006 05:49:01 +0000 Subject: [PATCH] add a method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25959 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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 3e05ab0c097..daf82dc853f 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.