aboutsummaryrefslogtreecommitdiff
path: root/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
commit309f19391b571084ba9f6b0372e63b875ca2b869 (patch)
tree95197de3d9e27fc6b6d4c4ba64ea0ff113c503d6 /lib/Transforms
parent84bf9880eaf57f00cc01b4ade40179553ea6fd08 (diff)
Start using the new function cloning header
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4764 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/IPO/InlineSimple.cpp3
-rw-r--r--lib/Transforms/Utils/CloneFunction.cpp6
2 files changed, 5 insertions, 4 deletions
diff --git a/lib/Transforms/IPO/InlineSimple.cpp b/lib/Transforms/IPO/InlineSimple.cpp
index 53add2ddfb..f1e92e4012 100644
--- a/lib/Transforms/IPO/InlineSimple.cpp
+++ b/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/lib/Transforms/Utils/CloneFunction.cpp b/lib/Transforms/Utils/CloneFunction.cpp
index 866b8c3bbe..0a2c41f785 100644
--- a/lib/Transforms/Utils/CloneFunction.cpp
+++ b/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