summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-11-19 22:04:49 +0000
committerChris Lattner <sabre@nondot.org>2002-11-19 22:04:49 +0000
commit8bce9886c351806d93abf11c32d9d7c2624f9293 (patch)
treec89f2015b184c98dc75fece81316fac0cf13d17f /llvm/lib/Transforms/Utils
parent526c368ea215f92d9a6e0dfc6515e4c19a648769 (diff)
downloadbcm5719-llvm-8bce9886c351806d93abf11c32d9d7c2624f9293.tar.gz
bcm5719-llvm-8bce9886c351806d93abf11c32d9d7c2624f9293.zip
Fix two fixmes: integrate with inlining, and document
llvm-svn: 4769
Diffstat (limited to 'llvm/lib/Transforms/Utils')
-rw-r--r--llvm/lib/Transforms/Utils/CloneFunction.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/llvm/lib/Transforms/Utils/CloneFunction.cpp b/llvm/lib/Transforms/Utils/CloneFunction.cpp
index 94a4750a2d4..442ff03df3d 100644
--- a/llvm/lib/Transforms/Utils/CloneFunction.cpp
+++ b/llvm/lib/Transforms/Utils/CloneFunction.cpp
@@ -1,15 +1,16 @@
-
-
-
-// FIXME: document
+//===- CloneFunction.cpp - Clone a function into another function ---------===//
+//
+// This file implements the CloneFunctionInto interface, which is used as the
+// low-level function cloner. This is used by the CloneFunction and function
+// inliner to do the dirty work of copying the body of a function around.
+//
+//===----------------------------------------------------------------------===//
#include "llvm/Transforms/Utils/Cloning.h"
#include "llvm/iTerminators.h"
#include "llvm/Function.h"
#include <map>
-// FIXME: This should be merged with FunctionInlining
-
// RemapInstruction - Convert the instruction operands from referencing the
// current values into those specified by ValueMap.
//
OpenPOWER on IntegriCloud