mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Fix two fixmes: integrate with inlining, and document
llvm-svn: 4769
This commit is contained in:
parent
4a4ea55228
commit
aff50cfe1d
@ -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.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user