Files
clang-p2996/llvm/test/Transforms/PGOProfile/Inputs/indirect_call.proftext
Rong Xu 13b01dc8d9 [PGO] Indirect-call profile annotation in IR level profiling
This patch reads the indirect-call value records in the profile and makes the
annotation in the indirect-call instruction. This is for IR level profile
instrumentation.

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

llvm-svn: 260400
2016-02-10 18:24:45 +00:00

44 lines
397 B
Plaintext

:ir
bar
# Func Hash:
12884901887
# Num Counters:
1
# Counter Values:
140
# Num Value Kinds:
1
# ValueKind = IPVK_IndirectCallTarget:
0
# NumValueSites:
1
3
func2:80
func1:40
func3:20
func1
# Func Hash:
12884901887
# Num Counters:
1
# Counter Values:
40
func2
# Func Hash:
12884901887
# Num Counters:
1
# Counter Values:
80
func3
# Func Hash:
12884901887
# Num Counters:
1
# Counter Values:
20