OSDN Git Service

[PGO] Value profile for size of memory intrinsic calls
authorRong Xu <xur@google.com>
Wed, 15 Mar 2017 21:47:27 +0000 (21:47 +0000)
committerRong Xu <xur@google.com>
Wed, 15 Mar 2017 21:47:27 +0000 (21:47 +0000)
commit670b4228b07bf061c814dd0f078fef528755b5ad
treea76aa9cfa1f2080fa5f7dcbb5fbcda2fa3ef43c1
parente822046c8012751e0e144fa0905a81048d22c839
[PGO] Value profile for size of memory intrinsic calls

This patch adds the value profile support to profile the size parameter of
memory intrinsic calls: memcpy, memcmp, and memmov.

Differential Revision: http://reviews.llvm.org/D28965

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297897 91177308-0d34-0410-b5e6-96231b3b80d8
docs/CommandGuide/llvm-profdata.rst
include/llvm/ProfileData/InstrProf.h
include/llvm/ProfileData/InstrProfData.inc
include/llvm/Transforms/InstrProfiling.h
lib/Transforms/Instrumentation/InstrProfiling.cpp
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
test/Instrumentation/InstrProfiling/PR23499.ll
test/Instrumentation/InstrProfiling/icall.ll
test/Transforms/PGOProfile/comdat_internal.ll
tools/llvm-profdata/llvm-profdata.cpp