mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-13 10:32:06 +00:00
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
This commit is contained in:
parent
8437f4a7e4
commit
6c2e2e5287
@ -1,15 +1,16 @@
|
|||||||
|
//===- CloneFunction.cpp - Clone a function into another function ---------===//
|
||||||
|
//
|
||||||
|
// This file implements the CloneFunctionInto interface, which is used as the
|
||||||
// FIXME: document
|
// 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/Transforms/Utils/Cloning.h"
|
||||||
#include "llvm/iTerminators.h"
|
#include "llvm/iTerminators.h"
|
||||||
#include "llvm/Function.h"
|
#include "llvm/Function.h"
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
||||||
// FIXME: This should be merged with FunctionInlining
|
|
||||||
|
|
||||||
// RemapInstruction - Convert the instruction operands from referencing the
|
// RemapInstruction - Convert the instruction operands from referencing the
|
||||||
// current values into those specified by ValueMap.
|
// current values into those specified by ValueMap.
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user