llvm-project/llvm/test/LTO/Resolution/X86
Francis Visoiu Mistrih dd42236c6c Reland "[Remarks] Add -foptimization-record-passes to filter remark emission"
Currently we have -Rpass for filtering the remarks that are displayed as
diagnostics, but when using -fsave-optimization-record, there is no way
to filter the remarks while generating them.

This adds support for filtering remarks by passes using a regex.
Ex: `clang -fsave-optimization-record -foptimization-record-passes=inline`

will only emit the remarks coming from the pass `inline`.

This adds:

* `-fsave-optimization-record` to the driver
* `-opt-record-passes` to cc1
* `-lto-pass-remarks-filter` to the LTOCodeGenerator
* `--opt-remarks-passes` to lld
* `-pass-remarks-filter` to llc, opt, llvm-lto, llvm-lto2
* `-opt-remarks-passes` to gold-plugin

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

Original llvm-svn: 355964

llvm-svn: 355984
2019-03-12 21:22:27 +00:00
..
Inputs [LTO] Fix linking with an alias defined using another alias. 2018-07-13 21:58:55 +00:00
alias-alias.ll [LTO] Fix linking with an alias defined using another alias. 2018-07-13 21:58:55 +00:00
alias.ll
asm-output.ll
available-externally.ll LTO: Don't internalize available_externally globals. 2018-12-05 00:09:36 +00:00
cache-dso-local.ll
cache-dso-local2.ll
cache-prevailing.ll [ThinLTO] Keep non-prevailing (linkonce|weak)_odr symbols live 2018-10-08 15:12:48 +00:00
comdat-mixed-lto.ll
comdat.ll
common2.ll
commons.ll
dead-strip-alias.ll
dead-strip-fulllto.ll [LTO] Drop non-prevailing definitions only if linkage is not local or appending 2018-11-08 20:10:07 +00:00
diagnostic-handler-remarks-with-hotness.ll Enrich inline messages 2018-08-05 14:53:08 +00:00
diagnostic-handler-remarks.ll Reland "[Remarks] Add -foptimization-record-passes to filter remark emission" 2019-03-12 21:22:27 +00:00
empty-bitcode.test
export-jumptable.ll [LTO] Record whether LTOUnit splitting is enabled in index 2019-01-11 18:31:57 +00:00
function-alias-non-prevailing.ll
ifunc.ll
intrinsic.ll
link-odr-availextern.ll
linker-redef-thin.ll
linker-redef.ll
linkonce.ll
lit.local.cfg
load-sample-prof-icp.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
load-sample-prof-lto.ll [LTO] Load sample profile in LTO link step. 2018-11-15 18:06:42 +00:00
load-sample-prof.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
local-def-dllimport.ll [LTO] Record whether LTOUnit splitting is enabled in index 2019-01-11 18:31:57 +00:00
lowertypetests.ll [LTO] Record whether LTOUnit splitting is enabled in index 2019-01-11 18:31:57 +00:00
lto-unit-check.ll [LTO] Record whether LTOUnit splitting is enabled in index 2019-01-11 18:31:57 +00:00
mixed_lto.ll
mod-asm-used.ll [ThinLTO] Add per-module indexes to combined index consistently 2018-06-26 01:32:58 +00:00
multi-thinlto.ll
not-prevailing-alias.ll
not-prevailing-variables.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
not-prevailing.ll
setting-dso-local.ll
symtab-elf.ll
symtab.ll
type-checked-load.ll