[PATCH] D12781: PGO IR-level instrumentation infrastructure

Rong Xu via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 24 10:29:52 PST 2015


xur updated this revision to Diff 41062.
xur added a comment.

I changed the regression tests based on the feedbacks from Sean, David and Justin.  The IR is much simplified and the profile uses the text format.
I still keep the target triplet as x86_64-unknown-linux-gnu, because this is the only platform I tested. I will try to relax it later.

Thanks,

-Rong


http://reviews.llvm.org/D12781

Files:
  include/llvm/IR/DiagnosticInfo.h
  include/llvm/InitializePasses.h
  include/llvm/LinkAllPasses.h
  include/llvm/Transforms/Instrumentation.h
  lib/IR/DiagnosticInfo.cpp
  lib/Transforms/IPO/LLVMBuild.txt
  lib/Transforms/Instrumentation/CFGMST.h
  lib/Transforms/Instrumentation/CMakeLists.txt
  lib/Transforms/Instrumentation/Instrumentation.cpp
  lib/Transforms/Instrumentation/LLVMBuild.txt
  lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  test/Transforms/PGOProfile/Inputs/branch1.proftext
  test/Transforms/PGOProfile/Inputs/branch2.proftext
  test/Transforms/PGOProfile/Inputs/criticaledge.proftext
  test/Transforms/PGOProfile/Inputs/landingpad.proftext
  test/Transforms/PGOProfile/Inputs/loop1.proftext
  test/Transforms/PGOProfile/Inputs/loop2.proftext
  test/Transforms/PGOProfile/Inputs/loop3.proftext
  test/Transforms/PGOProfile/Inputs/single_bb.proftext
  test/Transforms/PGOProfile/Inputs/switch.proftext
  test/Transforms/PGOProfile/branch1_gen.ll
  test/Transforms/PGOProfile/branch1_use.ll
  test/Transforms/PGOProfile/branch2_gen.ll
  test/Transforms/PGOProfile/branch2_use.ll
  test/Transforms/PGOProfile/checksum_mismatch.ll
  test/Transforms/PGOProfile/criticaledge_gen.ll
  test/Transforms/PGOProfile/criticaledge_use.ll
  test/Transforms/PGOProfile/landingpad_gen.ll
  test/Transforms/PGOProfile/landingpad_use.ll
  test/Transforms/PGOProfile/loop1_gen.ll
  test/Transforms/PGOProfile/loop1_use.ll
  test/Transforms/PGOProfile/loop2_gen.ll
  test/Transforms/PGOProfile/loop2_use.ll
  test/Transforms/PGOProfile/loop3_gen.ll
  test/Transforms/PGOProfile/loop3_use.ll
  test/Transforms/PGOProfile/noprofile_use.ll
  test/Transforms/PGOProfile/single_bb_gen.ll
  test/Transforms/PGOProfile/switch_gen.ll
  test/Transforms/PGOProfile/switch_use.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12781.41062.patch
Type: text/x-patch
Size: 72383 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151124/feb963f0/attachment.bin>


More information about the llvm-commits mailing list