llvm-mirror/test/Transforms/PGOProfile
Teresa Johnson 4391198150 [ThinLTO] Indirect call promotion fixes for promoted local functions
Summary:
Fix a couple issues limiting the application of indirect call promotion
in ThinLTO mode:
- Invoke indirect call promotion before globalopt, since it may
  eliminate imported functions which appear unreferenced.
- Invoke indirect call promotion with InLTO=true so that the PGOFuncName
  metadata is used to get the name for locals which would have been
  renamed during promotion.

Reviewers: davidxl, mehdi_amini

Subscribers: Prazek, llvm-commits, mehdi_amini

Differential Revision: https://reviews.llvm.org/D24004

llvm-svn: 280024
2016-08-29 22:46:56 +00:00
..
Inputs [ThinLTO] Indirect call promotion fixes for promoted local functions 2016-08-29 22:46:56 +00:00
X86 [PGO] resubmit r268969 2016-05-10 17:45:33 +00:00
branch1.ll [Profile] add test with large counts 2016-08-20 05:28:42 +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 [Profile] improve warning control option 2016-08-11 05:09:30 +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] Indirect call promotion fixes for promoted local functions 2016-08-29 22:46:56 +00:00