summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-11-19 20:59:41 +0000
committerChris Lattner <sabre@nondot.org>2002-11-19 20:59:41 +0000
commit16667512575477760f14c5280b21239329716e30 (patch)
tree3a75e74bc9eb5a1d8cf94f6d9ee3f22716ac63a9 /llvm/lib/Transforms
parent36d074aac62e248c43626ff8ce37d3a47d7bc095 (diff)
downloadbcm5719-llvm-16667512575477760f14c5280b21239329716e30.tar.gz
bcm5719-llvm-16667512575477760f14c5280b21239329716e30.zip
Start using the new function cloning header
llvm-svn: 4764
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/IPO/InlineSimple.cpp3
-rw-r--r--llvm/lib/Transforms/Utils/CloneFunction.cpp6
2 files changed, 5 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/IPO/InlineSimple.cpp b/llvm/lib/Transforms/IPO/InlineSimple.cpp
index 53add2ddfb8..f1e92e40120 100644
--- a/llvm/lib/Transforms/IPO/InlineSimple.cpp
+++ b/llvm/lib/Transforms/IPO/InlineSimple.cpp
@@ -18,7 +18,8 @@
//
//===----------------------------------------------------------------------===//
-#include "llvm/Transforms/FunctionInlining.h"
+#include "llvm/Transforms/IPO.h"
+#include "llvm/Transforms/Utils/Cloning.h"
#include "llvm/Module.h"
#include "llvm/Pass.h"
#include "llvm/iTerminators.h"
diff --git a/llvm/lib/Transforms/Utils/CloneFunction.cpp b/llvm/lib/Transforms/Utils/CloneFunction.cpp
index 866b8c3bbe4..0a2c41f7856 100644
--- a/llvm/lib/Transforms/Utils/CloneFunction.cpp
+++ b/llvm/lib/Transforms/Utils/CloneFunction.cpp
@@ -1,10 +1,10 @@
+
+
// FIXME: document
-#include "llvm/Transforms/Utils/CloneFunction.h"
+#include "llvm/Transforms/Utils/Cloning.h"
#include "llvm/Function.h"
-#include "llvm/BasicBlock.h"
-#include "llvm/Instruction.h"
#include <map>
// FIXME: This should be merged with FunctionInlining
OpenPOWER on IntegriCloud