[PGO] Shorten profile symbol prefixes
authorXinliang David Li <davidxl@google.com>
Mon, 14 Dec 2015 23:26:27 +0000 (23:26 +0000)
committerXinliang David Li <davidxl@google.com>
Mon, 14 Dec 2015 23:26:27 +0000 (23:26 +0000)
commit617c484013647c70701347edac477f2d91a65d51
tree04dde4f284361da808294e6f50b8d5007733fd7e
parente5305e5a2eb63b73f195241a5df101dc06d22a09
[PGO] Shorten profile symbol prefixes

Profile symbols have long prefixes which waste space and creating pressure for linker.
This patch shortens the prefixes to minimal length without losing verbosity.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255575 91177308-0d34-0410-b5e6-96231b3b80d8
15 files changed:
include/llvm/ProfileData/InstrProf.h
test/Instrumentation/InstrProfiling/PR23499.ll
test/Instrumentation/InstrProfiling/linkage.ll
test/Instrumentation/InstrProfiling/no-counters.ll
test/Instrumentation/InstrProfiling/noruntime.ll
test/Instrumentation/InstrProfiling/platform.ll
test/Instrumentation/InstrProfiling/profiling.ll
test/Transforms/PGOProfile/branch1.ll
test/Transforms/PGOProfile/branch2.ll
test/Transforms/PGOProfile/criticaledge.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