[PATCH] D79751: [PGO] Add memcmp/bcmp size value profiling.
Hiroshi Yamauchi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 11 16:12:55 PDT 2020
yamauchi created this revision.
yamauchi added a reviewer: davidxl.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
yamauchi updated this revision to Diff 263302.
yamauchi added a comment.
Applied clang-format.
This adds support for memcmp/bcmp to the existing memcpy/memset value profiling.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D79751
Files:
llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
llvm/lib/Transforms/Instrumentation/ValueProfileCollector.cpp
llvm/lib/Transforms/Instrumentation/ValueProfileCollector.h
llvm/lib/Transforms/Instrumentation/ValueProfilePlugins.inc
llvm/test/Transforms/PGOProfile/Inputs/memop_size_annotation.proftext
llvm/test/Transforms/PGOProfile/memop_size_annotation.ll
llvm/test/Transforms/PGOProfile/memop_size_opt.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79751.263302.patch
Type: text/x-patch
Size: 32822 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200511/6cce4d5f/attachment.bin>
More information about the llvm-commits
mailing list