Revision tags: llvmorg-5.0.0-rc3 |
|
#
5df3d890 |
| 24-Aug-2017 |
Eugene Zelenko <eugene.zelenko@gmail.com> |
[CodeGen] Fix some Clang-tidy modernize-use-using and Include What You Use warnings; other minor fixes (NFC).
llvm-svn: 311703
|
Revision tags: llvmorg-5.0.0-rc2, llvmorg-5.0.0-rc1, llvmorg-4.0.1, llvmorg-4.0.1-rc3, llvmorg-4.0.1-rc2 |
|
#
1527baab |
| 25-May-2017 |
Matthias Braun <matze@braunis.de> |
CodeGen: Rename DEBUG_TYPE to match passnames
Rename the DEBUG_TYPE to match the names of corresponding passes where it makes sense. Also establish the pattern of simply referencing DEBUG_TYPE inste
CodeGen: Rename DEBUG_TYPE to match passnames
Rename the DEBUG_TYPE to match the names of corresponding passes where it makes sense. Also establish the pattern of simply referencing DEBUG_TYPE instead of repeating the passname where possible.
llvm-svn: 303921
show more ...
|
Revision tags: llvmorg-4.0.1-rc1, llvmorg-4.0.0, llvmorg-4.0.0-rc4, llvmorg-4.0.0-rc3 |
|
#
538d6668 |
| 15-Feb-2017 |
Xinliang David Li <davidxl@google.com> |
include function name in dot filename
Differential Revision: http://reviews.llvm.org/D29975
llvm-svn: 295220
|
#
bbb141c7 |
| 14-Feb-2017 |
Adam Nemet <anemet@apple.com> |
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
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
show more ...
|
Revision tags: llvmorg-4.0.0-rc2 |
|
#
58fcc9bd |
| 02-Feb-2017 |
Xinliang David Li <davidxl@google.com> |
[PGO] internal option cleanups
1. Added comments for options 2. Added missing option cl::desc field 3. Uniified function filter option for graph viewing. Now PGO count/raw-counts share the same
[PGO] internal option cleanups
1. Added comments for options 2. Added missing option cl::desc field 3. Uniified function filter option for graph viewing. Now PGO count/raw-counts share the same filter option: -view-bfi-func-name=.
llvm-svn: 293938
show more ...
|
#
1eb4ec6a |
| 02-Feb-2017 |
Xinliang David Li <davidxl@google.com> |
[PGO] make graph view internal options available for all builds
Differential Revision: https://reviews.llvm.org/D29259
llvm-svn: 293921
|
#
fd3f645f |
| 29-Jan-2017 |
Xinliang David Li <davidxl@google.com> |
Add support to dump dot graph block layout after MBP
Differential Revision: https://reviews.llvm.org/D29141
llvm-svn: 293408
|
Revision tags: llvmorg-4.0.0-rc1, llvmorg-3.9.1, llvmorg-3.9.1-rc3, llvmorg-3.9.1-rc2, llvmorg-3.9.1-rc1 |
|
#
732afdd0 |
| 08-Oct-2016 |
Mehdi Amini <mehdi.amini@apple.com> |
Turn cl::values() (for enum) from a vararg function to using C++ variadic template
The core of the change is supposed to be NFC, however it also fixes what I believe was an undefined behavior when c
Turn cl::values() (for enum) from a vararg function to using C++ variadic template
The core of the change is supposed to be NFC, however it also fixes what I believe was an undefined behavior when calling:
va_start(ValueArgs, Desc);
with Desc being a StringRef.
Differential Revision: https://reviews.llvm.org/D25342
llvm-svn: 283671
show more ...
|
#
48f814e8 |
| 31-Aug-2016 |
Tim Shen <timshen91@gmail.com> |
s/static inline/static/ for headers I have changed in r279475. NFC.
llvm-svn: 280257
|
Revision tags: llvmorg-3.9.0, llvmorg-3.9.0-rc3 |
|
#
f2187ed3 |
| 22-Aug-2016 |
Tim Shen <timshen91@gmail.com> |
[GraphTraits] Replace all NodeType usage with NodeRef
This should finish the GraphTraits migration.
Differential Revision: http://reviews.llvm.org/D23730
llvm-svn: 279475
|
#
b5e0f5ac |
| 19-Aug-2016 |
Tim Shen <timshen91@gmail.com> |
[GraphTraits] Make nodes_iterator dereference to NodeType*/NodeRef
Currently nodes_iterator may dereference to a NodeType* or a NodeType&. Make them all dereference to NodeType*, which is NodeRef la
[GraphTraits] Make nodes_iterator dereference to NodeType*/NodeRef
Currently nodes_iterator may dereference to a NodeType* or a NodeType&. Make them all dereference to NodeType*, which is NodeRef later.
Differential Revision: https://reviews.llvm.org/D23704 Differential Revision: https://reviews.llvm.org/D23705
llvm-svn: 279326
show more ...
|
Revision tags: llvmorg-3.9.0-rc2 |
|
#
eb3958fa |
| 17-Aug-2016 |
Tim Shen <timshen91@gmail.com> |
[GraphWriter] Change GraphWriter to use NodeRef in GraphTraits
Summary: This is part of the "NodeType* -> NodeRef" migration. Notice that since GraphWriter prints object address as identity, I added
[GraphWriter] Change GraphWriter to use NodeRef in GraphTraits
Summary: This is part of the "NodeType* -> NodeRef" migration. Notice that since GraphWriter prints object address as identity, I added a static_assert on NodeRef to be a pointer type.
Reviewers: dblaikie
Subscribers: llvm-commits, MatzeB
Differential Revision: https://reviews.llvm.org/D23580
llvm-svn: 278966
show more ...
|
#
f801575f |
| 02-Aug-2016 |
Sean Silva <chisophugis@gmail.com> |
CodeExtractor : Add ability to preserve profile data.
Added ability to estimate the entry count of the extracted function and the branch probabilities of the exit branches.
Patch by River Riddle!
CodeExtractor : Add ability to preserve profile data.
Added ability to estimate the entry count of the extracted function and the branch probabilities of the exit branches.
Patch by River Riddle!
Differential Revision: https://reviews.llvm.org/D22744
llvm-svn: 277411
show more ...
|
#
423c7149 |
| 01-Aug-2016 |
Sean Silva <chisophugis@gmail.com> |
Revert r277313 and r277314.
They seem to trigger an LSan failure: http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/15140/steps/check-llvm%20asan/logs/stdio
Revert "Add the tests
Revert r277313 and r277314.
They seem to trigger an LSan failure: http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/15140/steps/check-llvm%20asan/logs/stdio
Revert "Add the tests for r277313"
This reverts commit r277314.
Revert "CodeExtractor : Add ability to preserve profile data."
This reverts commit r277313.
llvm-svn: 277317
show more ...
|
#
62089243 |
| 01-Aug-2016 |
Sean Silva <chisophugis@gmail.com> |
CodeExtractor : Add ability to preserve profile data.
Added ability to estimate the entry count of the extracted function and the branch probabilities of the exit branches.
Patch by River Riddle!
CodeExtractor : Add ability to preserve profile data.
Added ability to estimate the entry count of the extracted function and the branch probabilities of the exit branches.
Patch by River Riddle!
Differential Revision: https://reviews.llvm.org/D22744
llvm-svn: 277313
show more ...
|
Revision tags: llvmorg-3.9.0-rc1 |
|
#
2d531580 |
| 28-Jun-2016 |
Simon Pilgrim <llvm-dev@redking.me.uk> |
Fixed MSVC unresolved symbol error due to an incorrectly declared extern
llvm-svn: 274007
|
#
3e176c77 |
| 28-Jun-2016 |
Xinliang David Li <davidxl@google.com> |
[BFI/MBFI]: cfg graph view with color scheme
This patch enhances dot graph viewer to show hot regions with hot bbs/edges displayed in red. The ratio of the bb freq to the max freq of the function n
[BFI/MBFI]: cfg graph view with color scheme
This patch enhances dot graph viewer to show hot regions with hot bbs/edges displayed in red. The ratio of the bb freq to the max freq of the function needs to be no less than the value specified by view-hot-freq-percent option. The default value is 10 (i.e. 10%).
llvm-svn: 273996
show more ...
|
#
8dd5ce97 |
| 28-Jun-2016 |
Xinliang David Li <davidxl@google.com> |
[BFI]: enhance BFI graph dump
MBFI supports profile count dumping and function name based filtering. Add these two feature to BFI as well. The filtering option is shared between BFI and MBFI: -view-
[BFI]: enhance BFI graph dump
MBFI supports profile count dumping and function name based filtering. Add these two feature to BFI as well. The filtering option is shared between BFI and MBFI: -view-bfi-func-name=..
llvm-svn: 273992
show more ...
|
#
55415f25 |
| 28-Jun-2016 |
Xinliang David Li <davidxl@google.com> |
[BFI]: graph viewer code refactoring
BFI and MBFI's dot traits class share most of the code and all future enhancement. This patch extracts common implementation into base class BFIDOTGraphTraitsBa
[BFI]: graph viewer code refactoring
BFI and MBFI's dot traits class share most of the code and all future enhancement. This patch extracts common implementation into base class BFIDOTGraphTraitsBase.
This patch also enables BFI graph to show branch probability on edges as MBFI does before.
llvm-svn: 273990
show more ...
|
#
3264fdd3 |
| 28-Jun-2016 |
Xinliang David Li <davidxl@google.com> |
[BFI]: code cleanup
Expose getBPI interface from BFI impl and use it in graph viewer. This eliminates the dependency on old PM interface.
llvm-svn: 273967
|
#
30c50f3c |
| 22-Jun-2016 |
Xinliang David Li <davidxl@google.com> |
[MBFI]: Add a new suboption for graph viewer
-view-machine-block-freq-propagation-dags currently support integer and fraction as the suboptions. This patch adds the 'count' suboption to display act
[MBFI]: Add a new suboption for graph viewer
-view-machine-block-freq-propagation-dags currently support integer and fraction as the suboptions. This patch adds the 'count' suboption to display actual profile count if available.
llvm-svn: 273460
show more ...
|
#
69317f2e |
| 22-Jun-2016 |
Xinliang David Li <davidxl@google.com> |
[MBFI]: show branch probability in DOT graph
Differential Revision: http://reviews.llvm.org/D21596
llvm-svn: 273430
|
#
80457ce5 |
| 22-Jun-2016 |
Xinliang David Li <davidxl@google.com> |
Add an option to enable MBFI dot viewer for a given function
llvm-svn: 273366
|
#
bc157084 |
| 21-Jun-2016 |
Xinliang David Li <davidxl@google.com> |
Clang format change /NFC
llvm-svn: 273335
|
Revision tags: llvmorg-3.8.1, llvmorg-3.8.1-rc1, llvmorg-3.8.0, llvmorg-3.8.0-rc3, llvmorg-3.8.0-rc2, llvmorg-3.8.0-rc1, llvmorg-3.7.1, llvmorg-3.7.1-rc2, llvmorg-3.7.1-rc1 |
|
#
0ac8eb91 |
| 09-Oct-2015 |
Duncan P. N. Exon Smith <dexonsmith@apple.com> |
CodeGen: Avoid ilist iterator implicit conversions in a few more places, NFC
llvm-svn: 249880
|