diff options
author | Chris Lattner <sabre@nondot.org> | 2002-11-19 22:04:49 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-11-19 22:04:49 +0000 |
commit | 6c2e2e52870230838380778415d9ad543e66dae3 (patch) | |
tree | 96a698c1de8bd2059584ee570c3e8341e4db393a | |
parent | 8437f4a7e49de39a3c53d7cdb916572cb97f41e4 (diff) | |
download | external_llvm-6c2e2e52870230838380778415d9ad543e66dae3.zip external_llvm-6c2e2e52870230838380778415d9ad543e66dae3.tar.gz external_llvm-6c2e2e52870230838380778415d9ad543e66dae3.tar.bz2 |
Fix two fixmes: integrate with inlining, and document
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4769 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/Utils/CloneFunction.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/Transforms/Utils/CloneFunction.cpp b/lib/Transforms/Utils/CloneFunction.cpp index 94a4750..442ff03 100644 --- a/lib/Transforms/Utils/CloneFunction.cpp +++ b/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. // |