• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2# REQUIRES: x86-registered-target
3# Ensure llc can read and parse MIR pseudo probe operations.
4# RUN: llc -O0 -mtriple x86_64-- -run-pass none %s -o - | FileCheck %s
5
6# CHECK: PSEUDO_PROBE 6699318081062747564, 1, 0, 0
7# CHECK: PSEUDO_PROBE 6699318081062747564, 3, 0, 0
8# CHECK: PSEUDO_PROBE 6699318081062747564, 4, 0, 0
9# CHECK: PSEUDO_PROBE 6699318081062747564, 2, 0, 0
10# CHECK: PSEUDO_PROBE 6699318081062747564, 4, 0, 0
11
12name:            foo
13body:             |
14  bb.0:
15    TEST32rr killed renamable $edi, renamable $edi, implicit-def $eflags
16    PSEUDO_PROBE 6699318081062747564, 1, 0, 0
17    JCC_1 %bb.1, 4, implicit $eflags
18
19  bb.2:
20    PSEUDO_PROBE 6699318081062747564, 3, 0, 0
21    PSEUDO_PROBE 6699318081062747564, 4, 0, 0
22    RETQ
23
24  bb.1:
25    PSEUDO_PROBE 6699318081062747564, 2, 0, 0
26    PSEUDO_PROBE 6699318081062747564, 4, 0, 0
27    RETQ
28
29...
30