[PATCH] D15540: [PGO] differentiate FE instrumentation and IR level instrumentation profiles
Rong Xu via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 15 16:20:44 PST 2016
xur updated this revision to Diff 45050.
xur added a comment.
rebased the patch with recent change. Also have the following changes:
(1) directly generate __llvm_profile_raw_version variable so that no compile_rt change is needed.
(2) use ":ir or :fe" instead of a number as a ProfileKind flag in text profile.
http://reviews.llvm.org/D15540
Files:
include/llvm/ProfileData/InstrProfData.inc
include/llvm/ProfileData/InstrProfReader.h
include/llvm/ProfileData/InstrProfWriter.h
lib/ProfileData/InstrProfReader.cpp
lib/ProfileData/InstrProfWriter.cpp
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/diag.proftext
test/Transforms/PGOProfile/Inputs/diag_FE.proftext
test/Transforms/PGOProfile/Inputs/landingpad.proftext
test/Transforms/PGOProfile/Inputs/loop1.proftext
test/Transforms/PGOProfile/Inputs/loop2.proftext
test/Transforms/PGOProfile/Inputs/switch.proftext
test/Transforms/PGOProfile/branch1.ll
test/Transforms/PGOProfile/branch2.ll
test/Transforms/PGOProfile/criticaledge.ll
test/Transforms/PGOProfile/diag_FE_profile.ll
test/Transforms/PGOProfile/landingpad.ll
test/Transforms/PGOProfile/loop1.ll
test/Transforms/PGOProfile/loop2.ll
test/Transforms/PGOProfile/single_bb.ll
test/Transforms/PGOProfile/switch.ll
tools/llvm-profdata/llvm-profdata.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15540.45050.patch
Type: text/x-patch
Size: 21551 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160116/91426001/attachment.bin>
More information about the llvm-commits
mailing list