summaryrefslogtreecommitdiffstats
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
commitca05e6a8375f553945eaa3970b74ae5adddaa1e6 (patch)
treefdbe8977e2017d445de48d635cd062141e8acdff
parent2d2e2e3c0e4250037af69092de3695f6218aa33d (diff)
downloadbcm5719-llvm-ca05e6a8375f553945eaa3970b74ae5adddaa1e6.tar.gz
bcm5719-llvm-ca05e6a8375f553945eaa3970b74ae5adddaa1e6.zip
add a method
llvm-svn: 25959
-rw-r--r--llvm/include/llvm/Analysis/ScalarEvolutionExpander.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/Analysis/ScalarEvolutionExpander.h b/llvm/include/llvm/Analysis/ScalarEvolutionExpander.h
index 3e05ab0c097..daf82dc853f 100644
--- a/llvm/include/llvm/Analysis/ScalarEvolutionExpander.h
+++ b/llvm/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.
OpenPOWER on IntegriCloud