mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-23 19:17:17 +00:00
a5be9e3cfb
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
52 lines
1.5 KiB
Plaintext
52 lines
1.5 KiB
Plaintext
RUN: printf '\201rforpl\377' > %t
|
|
RUN: printf '\2\0\0\0\0\0\0\0' >> %t
|
|
RUN: printf '\2\0\0\0\0\0\0\0' >> %t
|
|
RUN: printf '\3\0\0\0\0\0\0\0' >> %t
|
|
RUN: printf '\6\0\0\0\0\0\0\0' >> %t
|
|
RUN: printf '\0\0\4\0\1\0\0\0' >> %t
|
|
RUN: printf '\0\0\4\0\2\0\0\0' >> %t
|
|
RUN: printf '\0\0\0\0\0\0\0\0' >> %t
|
|
RUN: printf '\0\0\0\0\0\0\0\0' >> %t
|
|
RUN: printf '\0\0\0\0\0\0\0\0' >> %t
|
|
|
|
RUN: printf '\3\0\0\0' >> %t
|
|
RUN: printf '\1\0\0\0' >> %t
|
|
RUN: printf '\1\0\0\0\0\0\0\0' >> %t
|
|
RUN: printf '\0\0\4\0\2\0\0\0' >> %t
|
|
RUN: printf '\0\0\4\0\1\0\0\0' >> %t
|
|
RUN: printf '\0\0\0\0\0\0\0\0' >> %t
|
|
RUN: printf '\0\0\0\0\0\0\0\0' >> %t
|
|
RUN: printf '\0\0\0\0\0\0\0\0' >> %t
|
|
|
|
RUN: printf '\03\0\0\0' >> %t
|
|
RUN: printf '\02\0\0\0' >> %t
|
|
RUN: printf '\02\0\0\0\0\0\0\0' >> %t
|
|
RUN: printf '\03\0\4\0\2\0\0\0' >> %t
|
|
RUN: printf '\10\0\4\0\1\0\0\0' >> %t
|
|
RUN: printf '\0\0\0\0\0\0\0\0' >> %t
|
|
RUN: printf '\0\0\0\0\0\0\0\0' >> %t
|
|
RUN: printf '\0\0\0\0\0\0\0\0' >> %t
|
|
|
|
RUN: printf '\023\0\0\0\0\0\0\0' >> %t
|
|
RUN: printf '\067\0\0\0\0\0\0\0' >> %t
|
|
RUN: printf '\101\0\0\0\0\0\0\0' >> %t
|
|
RUN: printf 'foobar\0\0' >> %t
|
|
|
|
RUN: llvm-profdata show %t -all-functions -counts | FileCheck %s
|
|
|
|
CHECK: Counters:
|
|
CHECK: foo:
|
|
CHECK: Hash: 0x0000000000000001
|
|
CHECK: Counters: 1
|
|
CHECK: Function count: 19
|
|
CHECK: Block counts: []
|
|
CHECK: bar:
|
|
CHECK: Hash: 0x0000000000000002
|
|
CHECK: Counters: 2
|
|
CHECK: Function count: 55
|
|
CHECK: Block counts: [65]
|
|
CHECK: Functions shown: 2
|
|
CHECK: Total functions: 2
|
|
CHECK: Maximum function count: 55
|
|
CHECK: Maximum internal block count: 65
|