[PGO] Value profiling support
authorBetul Buyukkurt <betulb@codeaurora.org>
Wed, 18 Nov 2015 18:14:55 +0000 (18:14 +0000)
committerBetul Buyukkurt <betulb@codeaurora.org>
Wed, 18 Nov 2015 18:14:55 +0000 (18:14 +0000)
commita5be9e3cfba9cc841f37881a60bf5337aac5a704
tree2419b04d855e58baf9aec601ff633b97e40f89cc
parent2e1334977408d524b9e96066d60fd1f6e1601144
[PGO] Value profiling support

This change introduces an instrumentation intrinsic instruction for
value profiling purposes, the lowering of the instrumentation intrinsic
and raw reader updates. The raw profile data files for llvm-profdata
testing are updated.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253484 91177308-0d34-0410-b5e6-96231b3b80d8
20 files changed:
docs/LangRef.rst
include/llvm/IR/IntrinsicInst.h
include/llvm/IR/Intrinsics.td
include/llvm/ProfileData/InstrProf.h
include/llvm/ProfileData/InstrProfData.inc
include/llvm/ProfileData/InstrProfReader.h
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/ProfileData/InstrProfReader.cpp
lib/Transforms/Instrumentation/InstrProfiling.cpp
test/Instrumentation/InstrProfiling/PR23499.ll
test/Instrumentation/InstrProfiling/linkage.ll
test/Instrumentation/InstrProfiling/platform.ll
test/Instrumentation/InstrProfiling/profiling.ll
test/tools/llvm-profdata/Inputs/c-general.profraw
test/tools/llvm-profdata/c-general.test
test/tools/llvm-profdata/raw-32-bits-be.test
test/tools/llvm-profdata/raw-32-bits-le.test
test/tools/llvm-profdata/raw-64-bits-be.test
test/tools/llvm-profdata/raw-64-bits-le.test
test/tools/llvm-profdata/raw-two-profiles.test