1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/ThinLTO/X86
Arthur Eubanks 2a2896669d [NewPM] Cleanup IR printing instrumentation
Being lazy with printing the banner seems hard to reason with, we should print it
unconditionally first (it could also lead to duplicate banners if we
have multiple functions in -filter-print-funcs).

The printIR() functions were doing too many things. I separated out the
call from PrintPassInstrumentation since we were essentially doing two
completely separate things in printIR() from different callers.

There were multiple ways to generate the name of some IR. That's all
been moved to getIRName(). The printing of the IR name was also
inconsistent, now it's always "IR Dump on $foo" where "$foo" is the
name. For a function, it's the function name. For a loop, it's what's
printed by Loop::print(), which is more detailed. For an SCC, it's the
list of functions in parentheses. For a module it's "[module]", to
differentiate between a possible SCC with a function called "module".

To preserve D74814, we have to check if we're going to print anything at
all first. This is unfortunate, but I would consider this a special
case that shouldn't be handled in the core logic.

Reviewed By: jamieschmeiser

Differential Revision: https://reviews.llvm.org/D100231
2021-04-15 09:50:55 -07:00
..
Inputs
alias_import.ll
alias_internal.ll
alias_resolution.ll
asm.ll
autoupgrade.ll
builtin-nostrip.ll
cache-config.ll
cache-icall.ll
cache-import-lists.ll
cache-typeid-resolutions.ll
cache.ll
callees-metadata.ll
cfi-devirt.ll
cfi-distributed.ll
cfi-icall-only-defuse.ll
cfi-icall.ll
cfi-unsat.ll
cfi.ll
crash_debuginfo.ll
deadstrip.ll
debuginfo-compositetype-import.ll
debuginfo-cu-import.ll
devirt2.ll
devirt_alias.ll
devirt_available_externally.ll
devirt_check.ll
devirt_external_comdat_same_guid.ll
devirt_local_same_guid.ll
devirt_multiple_type_test.ll
devirt_promote_legacy.ll
devirt_promote.ll
devirt_pure_virtual_base.ll
devirt_single_hybrid.ll
devirt_vcall_vis_hidden.ll
devirt_vcall_vis_public.ll
devirt-after-icp.ll
devirt.ll
diagnostic-handler-remarks-with-hotness.ll
diagnostic-handler-remarks.ll
dicompositetype-unique2.ll
dicompositetype-unique-alias.ll
dicompositetype-unique.ll
distributed_import.ll
distributed_indexes.ll
dot-dumper2.ll
dot-dumper-full-lto.ll
dot-dumper.ll
drop-debug-info.ll
dsolocal_dllimport.ll
DSOLocalEquivalent.ll
emit_imports.ll
empty_module_with_cache.ll
empty-module.ll
export.ll
funcimport2.ll
funcimport_alwaysinline.ll
funcimport-debug.ll
funcimport-stats.ll
funcimport-tbaa.ll
funcimport.ll
function_entry_count.ll
globals-import-blockaddr.ll
globals-import-const-fold.ll
globals-import.ll
guid_collision.ll
import_opaque_type.ll
import-constant.ll Revert "[GlobalOpt] Revert valgrind hacks" 2021-04-13 17:47:07 -07:00
import-metadata.ll
import-ro-constant.ll
import-symver.ll
index-const-prop2.ll
index-const-prop-alias.ll
index-const-prop-cache.ll
index-const-prop-comdat.ll
index-const-prop-dead.ll
index-const-prop-full-lto.ll
index-const-prop-gvref-pie.ll
index-const-prop-gvref.ll
index-const-prop-ldst.ll
index-const-prop-linkage.ll
index-const-prop-O0.ll
index-const-prop.ll
internalize.ll
lazyload_metadata.ll
linkonce_aliasee_ref_import.ll
linkonce_odr_unnamed_addr.ll
linkonce_resolution_comdat.ll
lit.local.cfg
llvm.used.ll
load-store-caching.ll
local_name_conflict_var.ll
local_name_conflict.ll
mangled_symbol.ll
merge-triple.ll
module_asm2.ll
module_asm_glob.ll
module_summary_graph_traits.ll
newpm-basic.ll
nodevirt-nonpromoted-typeid.ll
noinline.ll
nossp.ll
not-internalized.ll
personality-local.ll
personality.ll
pr35472.ll
prefix_replace.ll
printer.ll [NewPM] Cleanup IR printing instrumentation 2021-04-15 09:50:55 -07:00
reference_non_importable.ll
referenced_by_constant.ll
save_objects.ll
section.ll
strong_non_prevailing.ll
thinlto-internalize-doublepromoted.ll
thinlto-internalize-used.ll
tli-nobuiltin.ll
type_test_noindircall.ll
visibility-elf.ll
visibility-macho.ll
weak_externals.ll
weak_globals_import.ll
weak_resolution_single.ll
weak_resolution.ll
writeonly2.ll
writeonly-with-refs.ll
writeonly.ll