1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 05:52:53 +02:00
llvm-mirror/lib
Adam Nemet 337f461009 Add new pass LazyMachineBlockFrequencyInfo
And use it in MachineOptimizationRemarkEmitter.  A test will follow on top of
Justin's changes to enable MachineORE in AsmPrinter.

The approach is similar to the IR-level pass.  It's a bit simpler because BPI
is immutable at the Machine level so we don't need to make that lazy.

Because of this, a new function mapping is introduced (BPIPassTrait::getBPI).
This function extracts BPI from the pass.  In case of the lazy pass, this is
when the calculation of the BFI occurs.  For Machine-level, this is the
identity function.

Differential Revision: https://reviews.llvm.org/D29836

llvm-svn: 295072
2017-02-14 17:21:09 +00:00
..
Analysis [SCEV] Cache results during GetMinTrailingZeros query 2017-02-14 15:53:12 +00:00
AsmParser Change debug-info-for-profiling from a TargetOption to a function attribute. 2017-02-01 22:45:09 +00:00
Bitcode Move symbols from the global namespace into (anonymous) namespaces. NFC. 2017-02-11 11:06:55 +00:00
CodeGen Add new pass LazyMachineBlockFrequencyInfo 2017-02-14 17:21:09 +00:00
DebugInfo Add an additional set of braces to deal with subobject initialization. 2017-02-10 00:02:09 +00:00
Demangle Add support for demangling C++11 thread_local variables. 2017-01-31 15:56:36 +00:00
ExecutionEngine [CMake] Fix pthread handling for out-of-tree builds 2017-02-10 01:59:20 +00:00
Fuzzer [libFuzzer] Use stoull instead of stol to ensure 64 bits. 2017-02-10 18:44:14 +00:00
IR fix documentation comments for Argument; NFC 2017-02-14 16:43:49 +00:00
IRReader
LibDriver
LineEditor
Linker IRMover: Merge flags LinkModuleInlineAsm and IsPerformingImport. 2017-02-03 17:01:14 +00:00
LTO [ThinLTO] Make a copy of buffer identifier in ThinLTOCodeGenerator 2017-02-14 02:20:51 +00:00
MC [MC] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-02-14 00:33:36 +00:00
Object Yet another fix llvm-objdump so it picks a good CPU based for Mach-O files, 2017-02-10 19:27:10 +00:00
ObjectYAML Move symbols from the global namespace into (anonymous) namespaces. NFC. 2017-02-11 11:06:55 +00:00
Option Cleanup dump() functions. 2017-01-28 02:02:38 +00:00
Passes [PM] Hook up the instrumented PGO machinery in the new PM. 2017-02-13 15:26:22 +00:00
ProfileData Cleanup dump() functions. 2017-01-28 02:02:38 +00:00
Support [CMake] Fix pthread handling for out-of-tree builds 2017-02-10 01:59:20 +00:00
TableGen Use print() instead of dump() in code 2017-01-28 02:47:46 +00:00
Target Remove unused variable. 2017-02-14 16:39:54 +00:00
Transforms Correct a typo, s/hosting/hoisting/ 2017-02-14 16:41:10 +00:00
XRay Move symbols from the global namespace into (anonymous) namespaces. NFC. 2017-02-11 11:06:55 +00:00
CMakeLists.txt
LLVMBuild.txt