llvm-project/llvm/test/Transforms/PGOProfile
Rong Xu 48596b6f7a [PGO] Memory intrinsic calls optimization based on profiled size
This patch optimizes two memory intrinsic operations: memset and memcpy based
on the profiled size of the operation. The high level transformation is like:
  mem_op(..., size)
  ==>
  switch (size) {
    case s1:
       mem_op(..., s1);
       goto merge_bb;
    case s2:
       mem_op(..., s2);
       goto merge_bb;
    ...
    default:
       mem_op(..., size);
       goto merge_bb;
    }
  merge_bb:

Differential Revision: http://reviews.llvm.org/D28966

llvm-svn: 299446
2017-04-04 16:42:20 +00:00
..
Inputs [PGO] Value profile for size of memory intrinsic calls 2017-03-17 18:07:26 +00:00
X86
PR28219.ll
branch1.ll [Profile] add test with large counts 2016-08-20 05:28:42 +00:00
branch2.ll
comdat_internal.ll Resubmit r297897: [PGO] Value profile for size of memory intrinsic calls 2017-03-16 21:15:48 +00:00
comdat_rename.ll Resubmit "[PGO] Turn off comdat renaming in IR PGO by default" 2017-01-11 20:19:41 +00:00
criticaledge.ll
diag_FE_profile.ll
diag_mismatch.ll
diag_no_funcprofdata.ll [Profile] improve warning control option 2016-08-11 05:09:30 +00:00
diag_no_profile.ll
do-not-instrument.ll
icp_covariant_call_return.ll
icp_covariant_invoke_return.ll
icp_invoke.ll
icp_mismatch_msg.ll
icp_vararg.ll
indirect_call_annotation.ll
indirect_call_profile.ll Resubmit "[PGO] Turn off comdat renaming in IR PGO by default" 2017-01-11 20:19:41 +00:00
indirect_call_promotion.ll Add call branch annotation for ICP promoted direct call in SamplePGO mode. 2017-02-23 22:15:18 +00:00
landingpad.ll
loop1.ll
loop2.ll
memcpy.ll [PGO] Add omitted test cases. 2017-03-17 20:05:13 +00:00
memop_size_annotation.ll [PGO] Value profile for size of memory intrinsic calls 2017-03-17 18:07:26 +00:00
memop_size_opt.ll [PGO] Memory intrinsic calls optimization based on profiled size 2017-04-04 16:42:20 +00:00
multiple_hash_profile.ll Fix some broken CHECK lines. 2017-01-22 20:28:56 +00:00
noreturncall.ll Fix the test cases committed in r289521. 2016-12-13 17:34:29 +00:00
preinline.ll [Profile] Use explicit flag to enable IR PGO 2016-07-23 04:28:52 +00:00
select1.ll [Profile] Implement select instruction instrumentation in IR PGO 2016-09-18 18:34:07 +00:00
select2.ll [PGO] Fix select instruction annotation 2016-10-25 21:47:24 +00:00
single_bb.ll
statics_counter_naming.ll [PGO] Directory name stripping in global identifier for static functions 2017-02-25 00:00:36 +00:00
switch.ll
thinlto_indirect_call_promotion.ll [ThinLTO] Indirect call promotion fixes for promoted local functions 2016-08-29 22:46:56 +00:00
thinlto_samplepgo_icp.ll SamplePGO ThinLTO ICP fix for local functions. 2017-03-14 17:33:01 +00:00
unreachable_bb.ll [PGO] Fix PGO use ICE when there are unreachable BBs 2016-12-02 19:10:29 +00:00