1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/test/Transforms/PGOProfile
Wei Mi 934e800466 [IndirectCallPromotion] Recommit "Don't strip ".__uniq." suffix when it strips
".llvm." suffix".

The recommit fixed a bug that symbols with "." at the beginning is not
properly handled in the last commit.

Original commit message:
Currently IndirectCallPromotion simply strip everything after the first "."
in LTO mode, in order to match the symbol name and the name with ".llvm."
suffix in the value profile. However, if -funique-internal-linkage-names
and thinlto are both enabled, the name may have both ".__uniq." suffix and
".llvm." suffix, and the current mechanism will strip them both, which is
unexpected. The patch fixes the problem.

Differential Revision: https://reviews.llvm.org/D98389
2021-03-12 13:48:14 -08:00
..
Inputs [llvm-profdata] Emit Error when Invalid MemOpSize Section is Created by llvm-profdata 2021-02-23 12:51:54 -08:00
X86
bfi_verification.ll [PGO] Use the sum of profile counts to fix the function entry count 2020-12-16 13:37:43 -08:00
branch1.ll Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
branch2.ll Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
callbr.ll
chr.ll Revert "[SimplifyCFG] Update FoldBranchToCommonDest to be poison-safe" 2021-03-08 00:15:47 +00:00
comdat_internal.ll [test] Fix PGOProfile/comdat_internal.ll 2021-02-26 16:27:23 -08:00
comdat_rename.ll
consecutive-zeros.ll [LTO] Fix test failures caused by 6da7d3141651 2021-02-23 14:58:30 -08:00
counter_promo_exit_catchswitch.ll
counter_promo_exit_merge.ll
counter_promo_mexits.ll [InstrProfiling] Use ELF section groups for counters, data and values 2021-02-22 14:00:02 -08:00
counter_promo_nest-inseltpoison.ll Precommit transform tests that have poison as insertelement's placeholder 2020-12-24 11:46:17 +09:00
counter_promo_nest.ll
counter_promo.ll [InstrProfiling] Use ELF section groups for counters, data and values 2021-02-22 14:00:02 -08:00
criticaledge.ll Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
cspgo_profile_summary.ll [PGO] Make -disable-preinline work with NPM 2020-11-19 22:58:55 -08:00
diag_FE_profile.ll
diag_mismatch.ll
diag_no_funcprofdata.ll
diag_no_profile.ll
diag_no_value_sites.ll
do-not-instrument.ll
fix_bfi.ll [PGO] Use the sum of profile counts to fix the function entry count 2020-12-16 13:37:43 -08:00
fix_entry_count.ll Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
func_entry.ll
hash_mismatch_metadata.ll Emit metadata when instr. profiles hash mismatch occurs. 2021-01-29 12:56:01 -08:00
icp_covariant_call_return.ll [ICP] Don't promote when target not defined in module 2020-12-08 07:45:36 -08:00
icp_covariant_invoke_return.ll [ICP] Don't promote when target not defined in module 2020-12-08 07:45:36 -08:00
icp_invoke_nouse.ll
icp_invoke.ll Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
icp_mismatch_msg.ll
icp_sample.ll
icp_vararg_sret.ll OpaquePtr: Bulk update tests to use typed sret 2020-11-20 17:58:26 -05:00
icp_vararg.ll Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
indirect_call_annotation.ll
indirect_call_profile_funclet.ll
indirect_call_profile.ll
indirect_call_promotion_byval.ll OpaquePtr: Bulk update tests to use typed byval 2020-11-20 14:00:46 -05:00
indirect_call_promotion_musttail.ll [ICP] Don't promote when target not defined in module 2020-12-08 07:45:36 -08:00
indirect_call_promotion_unique.ll [IndirectCallPromotion] Recommit "Don't strip ".__uniq." suffix when it strips 2021-03-12 13:48:14 -08:00
indirect_call_promotion_vla.ll Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
indirect_call_promotion.ll Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
indirectbr.ll Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
infinite_loop_gen.ll
infinite_loop.ll
instr_entry_bb.ll Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
irreducible.ll
landingpad.ll Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
large_count_remarks.ll
loop1.ll Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
loop2.ll Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
memcpy.ll
memop_clone.ll
memop_hash.ll
memop_profile_funclet.ll
memop_size_annotation.ll
memop_size_from_strlen.ll
memop_size_opt_skip_ranges_promote_three.ll [PGO] Fix two issues in PGOMemOPSizeOpt. 2021-03-11 09:53:05 -08:00
memop_size_opt_zero.ll
memop_size_opt.ll [PGO] Fix two issues in PGOMemOPSizeOpt. 2021-03-11 09:53:05 -08:00
multiple_hash_profile.ll Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
noprofile.ll Support for instrumenting only selected files or functions 2021-01-26 17:13:34 -08:00
noreturncall.ll Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
not_promote_ret_exit.ll
PR28219.ll
PR41279_2.ll
PR41279.ll
preinline.ll
remap.ll Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
select1.ll Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
select2.ll Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
select_hash_conflict.ll
single_bb.ll
split-indirectbr-critical-edges.ll
statics_counter_naming.ll
suppl-profile.ll
switch.ll Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
thinlto_cspgo_gen.ll
thinlto_cspgo_use.ll Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
thinlto_indirect_call_promotion.ll Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
thinlto_samplepgo_icp2.ll
thinlto_samplepgo_icp3.ll
thinlto_samplepgo_icp_droppeddead.ll
thinlto_samplepgo_icp.ll
unreachable_bb.ll