#
14e8add9 |
| 02-Jun-2022 |
Liqiang Tao <taolq@outlook.com> |
[llvm][ModuleInliner] Refactor InlineSizePriority and PriorityInlineOrder
This patch introduces the abstract base class InlinePriority to serve as the comparison function for the priority queue. A
[llvm][ModuleInliner] Refactor InlineSizePriority and PriorityInlineOrder
This patch introduces the abstract base class InlinePriority to serve as the comparison function for the priority queue. A derived class, such as SizePriority, may choose to cache the priorities for different functions for performance reasons.
This design shields the type used for the priority away from classes outside InlinePriority and classes derived from it. In turn, PriorityInlineOrder no longer needs to be a template class.
Reviewed By: kazu
Differential Revision: https://reviews.llvm.org/D126300
show more ...
|
#
5c6ed60c |
| 02-Jun-2022 |
Liqiang Tao <taolq@outlook.com> |
Revert "[llvm][ModuleInliner] Refactor InlineSizePriority and PriorityInlineOrder"
This reverts commit 50de7f1e7787bf327d1d04c4daab97c1c180b58c.
|
#
50de7f1e |
| 02-Jun-2022 |
Liqiang Tao <taolq@outlook.com> |
[llvm][ModuleInliner] Refactor InlineSizePriority and PriorityInlineOrder
This patch introduces the abstract base class InlinePriority to serve as the comparison function for the priority queue. A
[llvm][ModuleInliner] Refactor InlineSizePriority and PriorityInlineOrder
This patch introduces the abstract base class InlinePriority to serve as the comparison function for the priority queue. A derived class, such as SizePriority, may choose to cache the priorities for different functions for performance reasons.
This design shields the type used for the priority away from classes outside InlinePriority and classes derived from it. In turn, PriorityInlineOrder no longer needs to be a template class.
Reviewed By: kazu
Differential Revision: https://reviews.llvm.org/D126300
show more ...
|
Revision tags: llvmorg-14.0.3, llvmorg-14.0.2, llvmorg-14.0.1 |
|
#
f1985a3f |
| 21-Mar-2022 |
serge-sans-paille <sguelton@redhat.com> |
Cleanup includes: Transforms/IPO
Preprocessor output diff: -238205 lines Discourse thread: https://discourse.llvm.org/t/include-what-you-use-include-cleanup Differential Revision: https://reviews.ll
Cleanup includes: Transforms/IPO
Preprocessor output diff: -238205 lines Discourse thread: https://discourse.llvm.org/t/include-what-you-use-include-cleanup Differential Revision: https://reviews.llvm.org/D122183
show more ...
|
Revision tags: llvmorg-14.0.0, llvmorg-14.0.0-rc4, llvmorg-14.0.0-rc3, llvmorg-14.0.0-rc2, llvmorg-14.0.0-rc1, llvmorg-15-init, llvmorg-13.0.1, llvmorg-13.0.1-rc3, llvmorg-13.0.1-rc2 |
|
#
fe827a93 |
| 12-Jan-2022 |
Arthur Eubanks <aeubanks@google.com> |
[ModuleInliner] Properly delete dead functions
Followup to D116964 where we only did this in the CGSCC inliner. Fixes leaks reported in D116964.
|
Revision tags: llvmorg-13.0.1-rc1 |
|
#
6cad45d5 |
| 09-Nov-2021 |
Liqiang Tao <taolq@outlook.com> |
[llvm][Inline] Add a module level inliner
Add module level inliner, which is a minimum viable product at this point. Also add some tests for it.
RFC: https://lists.llvm.org/pipermail/llvm-dev/2021-
[llvm][Inline] Add a module level inliner
Add module level inliner, which is a minimum viable product at this point. Also add some tests for it.
RFC: https://lists.llvm.org/pipermail/llvm-dev/2021-August/152297.html
Reviewed By: kazu
Differential Revision: https://reviews.llvm.org/D106448
show more ...
|