[PATCH] D16935: [PGO] Indirect-call profile annotation in IR level

Rong Xu via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 5 14:41:35 PST 2016


xur created this revision.
xur added reviewers: davidxl, silvas, bogner, betulb, ivanbaev.
xur added a subscriber: llvm-commits.

This patch read the indirect call value records in the profile and make the annotation in the indirectcall instructions. This is for IR level instrumentation.

Thanks,

-Rong 

http://reviews.llvm.org/D16935

Files:
  lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  test/Transforms/PGOProfile/Inputs/indirect_call.proftext
  test/Transforms/PGOProfile/indirect_call_annotation.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16935.47051.patch
Type: text/x-patch
Size: 6288 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160205/6848eec4/attachment.bin>


More information about the llvm-commits mailing list