http://reviews.llvm.org/D13145
authorDehao Chen <dehao@google.com>
Wed, 30 Sep 2015 00:42:46 +0000 (00:42 +0000)
committerDehao Chen <dehao@google.com>
Wed, 30 Sep 2015 00:42:46 +0000 (00:42 +0000)
commitbadd989bbae2521dd13085efe58ffb4eccab074d
treea6bd3a7fe6f18126b3b4e28ba478129055aa798b
parent129d8a8eb0e0e21640048ce57576d820049edb6b
http://reviews.llvm.org/D13145

Support hierarachical sample profile format.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248865 91177308-0d34-0410-b5e6-96231b3b80d8
16 files changed:
include/llvm/ProfileData/SampleProf.h
lib/ProfileData/SampleProfReader.cpp
lib/Transforms/IPO/SampleProfile.cpp
test/Transforms/SampleProfile/Inputs/bad_discriminator_value.prof
test/Transforms/SampleProfile/Inputs/bad_fn_header.prof
test/Transforms/SampleProfile/Inputs/bad_mangle.prof
test/Transforms/SampleProfile/Inputs/bad_sample_line.prof
test/Transforms/SampleProfile/Inputs/bad_samples.prof
test/Transforms/SampleProfile/Inputs/branch.prof
test/Transforms/SampleProfile/Inputs/calls.prof
test/Transforms/SampleProfile/Inputs/discriminator.prof
test/Transforms/SampleProfile/Inputs/entry_counts.prof
test/Transforms/SampleProfile/Inputs/fnptr.prof
test/Transforms/SampleProfile/Inputs/propagate.prof
test/Transforms/SampleProfile/Inputs/syntax.prof
test/tools/llvm-profdata/Inputs/sample-profile.proftext