1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 04:52:54 +02:00
llvm-mirror/test/Transforms/PGOProfile
Rong Xu 6471f6664d [PGO] Fix profile mismatch in COMDAT function with pre-inliner
Pre-instrumentation inline (pre-inliner) greatly improves the IR
instrumentation code performance, among other benefits. One issue of the
pre-inliner is it can introduce CFG-mismatch for COMDAT functions. This
is due to the fact that the same COMDAT function may have different early
inline decisions across different modules -- that means different copies
of COMDAT functions will have different CFG checksum.

In this patch, we propose a partially renaming the COMDAT group and its
member function/variable so we have different profile counter for each
version. We will post-fix the COMDAT function and the group name with its
FunctionHash.

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

llvm-svn: 276673
2016-07-25 18:45:37 +00:00
..
Inputs [PGO] Fix profile mismatch in COMDAT function with pre-inliner 2016-07-25 18:45:37 +00:00
X86 [PGO] resubmit r268969 2016-05-10 17:45:33 +00:00
branch1.ll Bring back r271090 in a way that doesn't depend on r271089. 2016-05-28 04:05:36 +00:00
branch2.ll [PM]: port IR based profUse pass to new pass manager 2016-05-10 21:59:52 +00:00
comdat_internal.ll [PGO] Fix profile mismatch in COMDAT function with pre-inliner 2016-07-25 18:45:37 +00:00
comdat_rename.ll [PGO] Fix profile mismatch in COMDAT function with pre-inliner 2016-07-25 18:45:37 +00:00
criticaledge.ll [PM]: port IR based profUse pass to new pass manager 2016-05-10 21:59:52 +00:00
diag_FE_profile.ll [PM]: port IR based profUse pass to new pass manager 2016-05-10 21:59:52 +00:00
diag_mismatch.ll [PM]: port IR based profUse pass to new pass manager 2016-05-10 21:59:52 +00:00
diag_no_funcprofdata.ll [PM]: port IR based profUse pass to new pass manager 2016-05-10 21:59:52 +00:00
diag_no_profile.ll [PM]: port IR based profUse pass to new pass manager 2016-05-10 21:59:52 +00:00
do-not-instrument.ll [PM] port IR based PGO prof-gen pass to new pass manager 2016-05-06 05:49:19 +00:00
icp_covariant_call_return.ll [PM] Port indirect call promotion pass to new pass manager 2016-05-16 16:31:07 +00:00
icp_covariant_invoke_return.ll [PM] Port indirect call promotion pass to new pass manager 2016-05-16 16:31:07 +00:00
icp_invoke.ll [PM] Port indirect call promotion pass to new pass manager 2016-05-16 16:31:07 +00:00
icp_mismatch_msg.ll make icall pass name consistent /NFC 2016-06-02 01:52:05 +00:00
icp_vararg.ll [PM] Port indirect call promotion pass to new pass manager 2016-05-16 16:31:07 +00:00
indirect_call_annotation.ll [PM]: port IR based profUse pass to new pass manager 2016-05-10 21:59:52 +00:00
indirect_call_profile.ll [PGO] Fix profile mismatch in COMDAT function with pre-inliner 2016-07-25 18:45:37 +00:00
indirect_call_promotion.ll make icall pass name consistent /NFC 2016-06-02 01:52:05 +00:00
landingpad.ll [PM]: port IR based profUse pass to new pass manager 2016-05-10 21:59:52 +00:00
loop1.ll [PM]: port IR based profUse pass to new pass manager 2016-05-10 21:59:52 +00:00
loop2.ll [PM]: port IR based profUse pass to new pass manager 2016-05-10 21:59:52 +00:00
PR28219.ll Fix PR28219: Use profile summary from reader and not compute it 2016-06-21 19:29:49 +00:00
preinline.ll [Profile] Use explicit flag to enable IR PGO 2016-07-23 04:28:52 +00:00
single_bb.ll [PM] port IR based PGO prof-gen pass to new pass manager 2016-05-06 05:49:19 +00:00
statics_counter_naming.ll [PGO] Don't include full file path in static function profile counter names 2016-07-12 17:14:51 +00:00
switch.ll [PM]: port IR based profUse pass to new pass manager 2016-05-10 21:59:52 +00:00
thinlto_indirect_call_promotion.ll [ThinLTO] Perform profile-guided indirect call promotion 2016-07-17 14:47:01 +00:00