llvm/unittests
Matthias Braun fa5c5c7db3 CodeGen: Remove MachineFunctionAnalysis => Enable (Machine)ModulePasses
Re-apply this patch, hopefully I will get away without any warnings
in the constructor now.

This patch removes the MachineFunctionAnalysis. Instead we keep a
map from IR Function to MachineFunction in the MachineModuleInfo.

This allows the insertion of ModulePasses into the codegen pipeline
without breaking it because the MachineFunctionAnalysis gets dropped
before a module pass.

Peak memory should stay unchanged without a ModulePass in the codegen
pipeline: Previously the MachineFunction was freed at the end of a codegen
function pipeline because the MachineFunctionAnalysis was dropped; With
this patch the MachineFunction is freed after the AsmPrinter has
finished.

Differential Revision: http://reviews.llvm.org/D23736

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279602 91177308-0d34-0410-b5e6-96231b3b80d8
2016-08-24 01:52:46 +00:00
..
ADT Rename unittests/ADT/ilistTest.cpp to ilistTestTemp.cpp (temporarily) 2016-08-23 15:56:50 +00:00
Analysis [GraphTraits] Replace all NodeType usage with NodeRef 2016-08-22 21:09:30 +00:00
AsmParser
Bitcode
CodeGen GlobalISel: extend legalizer interface to handle multiple types. 2016-08-23 19:30:42 +00:00
DebugInfo [msf] Resubmit "Rename Msf -> MSF". 2016-07-29 20:56:36 +00:00
ExecutionEngine Revert r279016 -- it breaks win32-elf JIT tests. 2016-08-18 01:33:28 +00:00
IR [PM] Re-instate r279227 and r279228 with a fix to the way the templating 2016-08-19 18:36:06 +00:00
LineEditor
Linker Remangle intrinsics names when types are renamed 2016-06-24 15:10:29 +00:00
MC
MI CodeGen: Remove MachineFunctionAnalysis => Enable (Machine)ModulePasses 2016-08-24 01:52:46 +00:00
ObjectYAML
Option
ProfileData Use the range variant of find_if instead of unpacking begin/end 2016-08-12 00:18:03 +00:00
Support Move unittests/Support/IteratorTest.cpp to unittests/ADT/ 2016-08-20 14:58:31 +00:00
Transforms [asan] Add support of lifetime poisoning into ComputeASanStackFrameLayout 2016-08-20 16:48:24 +00:00
CMakeLists.txt