mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-25 05:52:53 +02:00
e728c537a2
Remove the ModuleLevelChanges argument, and the ability to create new subprograms for cloned functions. The latter was added without review in r203662, but it has no in-tree clients (all non-test callers pass false for ModuleLevelChanges [1], so it isn't reachable outside of tests). It also isn't clear that adding a duplicate subprogram to the compile unit is always the right thing to do when cloning a function within a module. If this functionality comes back it should be accompanied with a more concrete use case. Furthermore, all in-tree clients add the returned function to the module. Since that's pretty much the only sensible thing you can do with the function, just do that in CloneFunction. [1] http://llvm-cs.pcc.me.uk/lib/Transforms/Utils/CloneFunction.cpp/rCloneFunction Differential Revision: http://reviews.llvm.org/D18628 llvm-svn: 269110 |
||
---|---|---|
.. | ||
ASanStackFrameLayout.h | ||
BasicBlockUtils.h | ||
BuildLibCalls.h | ||
BypassSlowDivision.h | ||
Cloning.h | ||
CmpInstAnalysis.h | ||
CodeExtractor.h | ||
CtorUtils.h | ||
Evaluator.h | ||
FunctionImportUtils.h | ||
GlobalStatus.h | ||
IntegerDivision.h | ||
Local.h | ||
LoopUtils.h | ||
LoopVersioning.h | ||
MemorySSA.h | ||
ModuleUtils.h | ||
PromoteMemToReg.h | ||
SanitizerStats.h | ||
SimplifyIndVar.h | ||
SimplifyLibCalls.h | ||
SplitModule.h | ||
SSAUpdater.h | ||
SSAUpdaterImpl.h | ||
SymbolRewriter.h | ||
UnifyFunctionExitNodes.h | ||
UnrollLoop.h | ||
ValueMapper.h |