llvm-project/llvm/test/Transforms/PGOProfile
Teresa Johnson b1926f308f Restore "[MemProf] Memprof profile matching and annotation"
This reverts commit 794b7ea960, and
thus restores commit a212d8da94, and
follow on fixes 0cd6763fa9,
e9ff53d42f, and
37c6a25e9a.

Use a hash function (BLAKE3) instead of hash_combine/hash_code which are
not guaranteed to be stable across executions.

Additionally, it adds a "REQUIRES: x86_64-linux" to the tests that have
raw profile inputs to avoid failures on big endian bots.

Reviewers: snehasish, davidxl

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D128142
2022-09-23 11:38:47 -07:00
..
Inputs Restore "[MemProf] Memprof profile matching and annotation" 2022-09-23 11:38:47 -07:00
X86 [PGO][test] Change opt -foo tests to -passes= and remove duplicates 2022-04-14 20:35:35 -07:00
PR28219.ll [PGO][test] Change opt -foo tests to -passes= and remove duplicates 2022-04-14 20:35:35 -07:00
PR41279.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
PR41279_2.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
bfi_verification.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
branch1.ll [IR] Enable opaque pointers by default 2022-06-02 09:40:56 +02:00
branch2.ll [IR] Enable opaque pointers by default 2022-06-02 09:40:56 +02:00
callbr.ll [PGO] Support PGO annotation of CallBrInst 2022-09-01 14:13:50 -07:00
chr.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
chr_coro.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
comdat.ll
comdat_internal.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
comdat_rename.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
consecutive-zeros.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
counter_promo.ll [IR] Enable opaque pointers by default 2022-06-02 09:40:56 +02:00
counter_promo_exit_catchswitch.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
counter_promo_exit_merge.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
counter_promo_mexits.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
counter_promo_nest-inseltpoison.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
counter_promo_nest.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
counter_promo_with_bias.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
coverage.ll
criticaledge.ll [IR] Enable opaque pointers by default 2022-06-02 09:40:56 +02:00
cspgo_profile_summary.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
diag_FE_profile.ll [PGO][test] Change opt -foo tests to -passes= and remove duplicates 2022-04-14 20:35:35 -07:00
diag_mismatch.ll [PGO] Report number of counts being dropped when a hash-mismatch happens 2022-07-15 14:53:59 -07:00
diag_no_funcprofdata.ll [PGO][test] Change opt -foo tests to -passes= and remove duplicates 2022-04-14 20:35:35 -07:00
diag_no_funcprofdata_cs.ll [PGO] Don't cross reference CSFDO profile and non-CSFDO profile 2022-07-15 13:57:23 -07:00
diag_no_profile.ll [PGO][test] Change opt -foo tests to -passes= and remove duplicates 2022-04-14 20:35:35 -07:00
diag_no_value_sites.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
do-not-instrument.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
fix_bfi.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
fix_entry_count.ll [PGO][test] Change opt -foo tests to -passes= and remove duplicates 2022-04-14 20:35:35 -07:00
func_entry.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
function_size_threshold.ll [InstrProf] Add option to avoid instrumenting small functions 2022-08-17 06:47:15 -07:00
hash_mismatch_metadata.ll
icp_covariant_call_return.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
icp_covariant_invoke_return.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
icp_invoke.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
icp_invoke_nouse.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
icp_mismatch_msg.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
icp_sample.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
icp_vararg.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
icp_vararg_sret.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
indirect_call_annotation.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
indirect_call_profile.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
indirect_call_profile_funclet.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
indirect_call_promotion.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
indirect_call_promotion_byval.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
indirect_call_promotion_musttail.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
indirect_call_promotion_unique.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
indirect_call_promotion_vla.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
indirectbr.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
infinite_loop.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
infinite_loop_gen.ll [PGO][test] Change opt -foo tests to -passes= and remove duplicates 2022-04-14 20:35:35 -07:00
instr_entry_bb.ll [IR] Enable opaque pointers by default 2022-06-02 09:40:56 +02:00
irreducible.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
landingpad.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
large_count_remarks.ll [PGO][test] Change opt -foo tests to -passes= and remove duplicates 2022-04-14 20:35:35 -07:00
loop1.ll [IR] Enable opaque pointers by default 2022-06-02 09:40:56 +02:00
loop2.ll [IR] Enable opaque pointers by default 2022-06-02 09:40:56 +02:00
lto_cspgo_gen.ll
memcpy.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
memop_clone.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
memop_hash.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
memop_profile_funclet.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
memop_size_annotation.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
memop_size_from_strlen.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
memop_size_opt.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
memop_size_opt_skip_ranges_promote_three.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
memop_size_opt_zero.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
memprof.ll Restore "[MemProf] Memprof profile matching and annotation" 2022-09-23 11:38:47 -07:00
memprofmissingfunc.ll Restore "[MemProf] Memprof profile matching and annotation" 2022-09-23 11:38:47 -07:00
misexpect-branch-correct.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
misexpect-branch-overflow.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
misexpect-branch-stripped.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
misexpect-branch-unpredictable.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
misexpect-branch.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
misexpect-switch-default.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
misexpect-switch.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
mismatched-byval.ll
mismatched-inalloca.ll
multiple_hash_profile.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
noprofile.ll [InstrProf] Add the skipprofile attribute 2022-08-04 08:45:27 -07:00
noreturncall.ll [PGO][test] Change opt -foo tests to -passes= and remove duplicates 2022-04-14 20:35:35 -07:00
not_promote_ret_exit.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
ppc-prevent-mma-types.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
preinline.ll [IR] Enable opaque pointers by default 2022-06-02 09:40:56 +02:00
remap.ll
select1.ll [PGO][test] Change opt -foo tests to -passes= and remove duplicates 2022-04-14 20:35:35 -07:00
select2.ll [PGO][test] Change opt -foo tests to -passes= and remove duplicates 2022-04-14 20:35:35 -07:00
select_hash_conflict.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
single_bb.ll [IR] Enable opaque pointers by default 2022-06-02 09:40:56 +02:00
split-indirectbr-critical-edges.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
statics_counter_naming.ll [PGO][test] Remove duplicate --pgo-instr-memop tests 2022-04-14 21:13:43 -07:00
suppl-profile.ll [llvm-profdata] Improve profile supplementation 2022-08-29 16:50:42 -07:00
switch.ll [IR] Enable opaque pointers by default 2022-06-02 09:40:56 +02:00
thinlto_cspgo_gen.ll
thinlto_cspgo_use.ll
thinlto_indirect_call_promotion.ll [test] Change -function-import tests to use -passes= 2022-07-17 21:43:00 -07:00
thinlto_samplepgo_icp.ll [test] Change -function-import tests to use -passes= 2022-07-17 21:43:00 -07:00
thinlto_samplepgo_icp2.ll [IR] Enable opaque pointers by default 2022-06-02 09:40:56 +02:00
thinlto_samplepgo_icp3.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
thinlto_samplepgo_icp_droppeddead.ll [PGO][InstrProf][test] Convert to opaque pointers and fix some stale tests 2022-07-16 11:42:35 -07:00
unreachable_bb.ll [PGO][test] Change opt -foo tests to -passes= and remove duplicates 2022-04-14 20:35:35 -07:00