llvm-mirror/test/Transforms/PGOProfile
Roman Lebedev b6a0e78067 [Value][InstCombine] Fix one-use checks in PHI-of-op -> Op-of-PHI[s] transforms to be one-user checks
As FIXME said, they really should be checking for a single user,
not use, so let's do that. It is not *that* unusual to have
the same value as incoming value in a PHI node, not unlike
how a PHI may have the same incoming basic block more than once.

There isn't a nice way to do that, Value::users() isn't uniqified,
and Value only tracks it's uses, not Users, so the check is
potentially costly since it does indeed potentially involes
traversing the entire use list of a value.
2020-08-26 20:20:41 +03:00
..
Inputs [PGO] Include the mem ops into the function hash. 2020-07-30 09:26:20 -07:00
X86
branch1.ll [PGO] Remove insignificant function hash values from some tests. 2020-07-29 10:23:42 -07:00
branch2.ll [PGO] Remove insignificant function hash values from some tests. 2020-07-29 10:23:42 -07:00
callbr.ll
chr.ll [Value][InstCombine] Fix one-use checks in PHI-of-op -> Op-of-PHI[s] transforms to be one-user checks 2020-08-26 20:20:41 +03:00
comdat_internal.ll [PGO] Move __profc_ and __profvp_ from their own comdat groups to __profd_'s comdat group 2020-08-03 20:35:50 -07:00
comdat_rename.ll [PGO] Delete dead comdat renaming code related to GlobalAlias. NFC 2020-08-10 09:02:04 -07:00
counter_promo_exit_catchswitch.ll [PGO] Supporting code for always instrumenting entry block 2020-07-22 15:01:53 -07:00
counter_promo_exit_merge.ll
counter_promo_mexits.ll Revert "[BPI] Improve static heuristics for integer comparisons" 2020-08-17 20:44:33 +02:00
counter_promo_nest.ll
counter_promo.ll [PGO][InstrProf] Do not promote count if the exit blocks contains ret instruction 2020-07-24 17:38:31 -07:00
criticaledge.ll [PGO] Remove insignificant function hash values from some tests. 2020-07-29 10:23:42 -07:00
cspgo_profile_summary.ll [PGO] Supporting code for always instrumenting entry block 2020-07-22 15:01:53 -07: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_entry_count.ll [PGO] Fix incorrect function entry count 2020-07-24 17:39:55 -07:00
func_entry.ll
icp_covariant_call_return.ll
icp_covariant_invoke_return.ll
icp_invoke_nouse.ll
icp_invoke.ll
icp_mismatch_msg.ll
icp_sample.ll
icp_vararg_sret.ll
icp_vararg.ll
indirect_call_annotation.ll
indirect_call_profile_funclet.ll
indirect_call_profile.ll
indirect_call_promotion_byval.ll
indirect_call_promotion_musttail.ll
indirect_call_promotion_vla.ll
indirect_call_promotion.ll
indirectbr.ll [PGO] Supporting code for always instrumenting entry block 2020-07-22 15:01:53 -07:00
infinite_loop_gen.ll
infinite_loop.ll
instr_entry_bb.ll [PGO] Remove insignificant function hash values from some tests. 2020-07-29 10:23:42 -07:00
irreducible.ll [PGO] Supporting code for always instrumenting entry block 2020-07-22 15:01:53 -07:00
landingpad.ll Revert "[BPI] Improve static heuristics for integer comparisons" 2020-08-17 20:44:33 +02:00
large_count_remarks.ll
loop1.ll [PGO] Remove insignificant function hash values from some tests. 2020-07-29 10:23:42 -07:00
loop2.ll [PGO] Remove insignificant function hash values from some tests. 2020-07-29 10:23:42 -07:00
memcpy.ll [PGO] Extend the value profile buckets for mem op sizes. 2020-08-03 11:04:32 -07:00
memop_clone.ll
memop_hash.ll [PGO][test] Add test to check memops changes function hash 2020-07-31 09:43:29 -07:00
memop_profile_funclet.ll [PGO] Extend the value profile buckets for mem op sizes. 2020-08-03 11:04:32 -07:00
memop_size_annotation.ll
memop_size_from_strlen.ll [PGO] Remove insignificant function hash values from some tests. 2020-07-29 10:23:42 -07:00
memop_size_opt_zero.ll
memop_size_opt.ll
misexpect-branch-correct.ll
misexpect-branch-stripped.ll [PGO] Supporting code for always instrumenting entry block 2020-07-22 15:01:53 -07:00
misexpect-branch-unpredictable.ll
misexpect-branch.ll [PGO] Supporting code for always instrumenting entry block 2020-07-22 15:01:53 -07:00
misexpect-switch-default.ll [PGO] Supporting code for always instrumenting entry block 2020-07-22 15:01:53 -07:00
misexpect-switch.ll [PGO] Supporting code for always instrumenting entry block 2020-07-22 15:01:53 -07:00
multiple_hash_profile.ll [PGO] Include the mem ops into the function hash. 2020-07-30 09:26:20 -07:00
noreturncall.ll
not_promote_ret_exit.ll [PGO][InstrProf] Do not promote count if the exit blocks contains ret instruction 2020-07-24 17:38:31 -07:00
PR28219.ll
PR41279_2.ll [PGO] Remove insignificant function hash values from some tests. 2020-07-29 10:23:42 -07:00
PR41279.ll [PGO] Remove insignificant function hash values from some tests. 2020-07-29 10:23:42 -07:00
preinline.ll
remap.ll
select1.ll
select2.ll
select_hash_conflict.ll
single_bb.ll [PGO] Remove insignificant function hash values from some tests. 2020-07-29 10:23:42 -07:00
split-indirectbr-critical-edges.ll
statics_counter_naming.ll
suppl-profile.ll Supplement instr profile with sample profile. 2020-07-27 20:17:40 -07:00
switch.ll [PGO] Remove insignificant function hash values from some tests. 2020-07-29 10:23:42 -07:00
thinlto_cspgo_gen.ll
thinlto_cspgo_use.ll [PGO] Supporting code for always instrumenting entry block 2020-07-22 15:01:53 -07:00
thinlto_indirect_call_promotion.ll
thinlto_samplepgo_icp2.ll
thinlto_samplepgo_icp3.ll
thinlto_samplepgo_icp_droppeddead.ll
thinlto_samplepgo_icp.ll
unreachable_bb.ll