CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
57 lines
2.3 KiB
Plaintext
57 lines
2.3 KiB
Plaintext
## Checks that llvm-bolt is able to read data generated by perf2bolt and update
|
|
## the CFG edges accordingly with absolute number of branches and mispredictions.
|
|
## Also checks that llvm-bolt disassembler and CFG builder is working properly.
|
|
|
|
RUN: yaml2obj %p/Inputs/blarge.yaml &> %t.exe
|
|
RUN: llvm-bolt %t.exe -o %t.null --data %p/Inputs/blarge.fdata --print-cfg | FileCheck %s
|
|
|
|
CHECK: Binary Function "usqrt"
|
|
CHECK: State : CFG constructed
|
|
CHECK: Address : 0x401170
|
|
CHECK: Size : 0x43
|
|
CHECK: MaxSize : 0x43
|
|
CHECK: Offset : 0xcb0
|
|
CHECK: Section : .text
|
|
CHECK: IsSimple : 1
|
|
CHECK: BB Count : 5
|
|
CHECK: Exec Count : 199
|
|
CHECK: Sample Count: 7689
|
|
CHECK: }
|
|
CHECK: .LBB{{.*}}
|
|
CHECK: Exec Count : 199
|
|
CHECK: {{.*}}: movl $0x20, %r8d
|
|
CHECK: {{.*}}: xorl %eax, %eax
|
|
CHECK: {{.*}}: xorl %edx, %edx
|
|
CHECK: Successors: .Ltmp{{.*}} (mispreds: 0, count: 0)
|
|
CHECK: .Ltmp{{.*}}
|
|
CHECK: Exec Count : 4711
|
|
CHECK: Predecessors: .Ltmp{{.*}}, .LBB{{.*}}
|
|
CHECK: {{.*}}: movq %rdi, %rcx
|
|
CHECK: {{.*}}: addq %rax, %rax
|
|
CHECK: {{.*}}: shlq $0x2, %rdi
|
|
CHECK: {{.*}}: andl $0xc0000000, %ecx
|
|
CHECK: {{.*}}: shrq $0x1e, %rcx
|
|
CHECK: {{.*}}: leaq (%rcx,%rdx,4), %rdx
|
|
CHECK: {{.*}}: leaq 0x1(%rax,%rax), %rcx
|
|
CHECK: {{.*}}: cmpq %rcx, %rdx
|
|
CHECK: {{.*}}: jb .Ltmp{{.*}}
|
|
CHECK: Successors: .Ltmp{{.*}} (mispreds: 171, count: 2886), .LFT{{.*}} (mispreds: 0, count: 0)
|
|
CHECK: .LFT{{.*}}
|
|
CHECK: Exec Count : 0
|
|
CHECK: Predecessors: .Ltmp{{.*}}
|
|
CHECK: {{.*}}: subq %rcx, %rdx
|
|
CHECK: {{.*}}: addq $0x1, %rax
|
|
CHECK: Successors: .Ltmp{{.*}} (mispreds: 0, count: 0)
|
|
CHECK: .Ltmp{{.*}}
|
|
CHECK: Exec Count : 4711
|
|
CHECK: Predecessors: .Ltmp{{.*}}, .LFT{{.*}}
|
|
CHECK: {{.*}}: subl $0x1, %r8d
|
|
CHECK: {{.*}}: jne .Ltmp{{.*}}
|
|
CHECK: Successors: .Ltmp{{.*}} (mispreds: 33, count: 4711), .LFT{{.*}} (mispreds: 0, count: 0)
|
|
CHECK: .LFT{{.*}}
|
|
CHECK: Exec Count : 0
|
|
CHECK: Predecessors: .Ltmp{{.*}}
|
|
CHECK: {{.*}}: movq %rax, (%rsi)
|
|
CHECK: {{.*}}: retq
|
|
CHECK: End of Function "usqrt"
|