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
95 lines
3.4 KiB
LLVM
95 lines
3.4 KiB
LLVM
; RUN: llc -mtriple=aarch64-linux-gnu < %s | FileCheck %s --check-prefixes=CHECK,CHECK-LINUX
|
|
; RUN: llc -mtriple=aarch64-apple-darwin < %s | FileCheck %s --check-prefixes=CHECK,CHECK-MACOS
|
|
|
|
define i32 @callee() nounwind noinline uwtable "function-instrument"="xray-always" {
|
|
; CHECK: .p2align 2
|
|
; CHECK-LABEL: Lxray_sled_0:
|
|
; CHECK-NEXT: b #32
|
|
; CHECK-COUNT-7: nop
|
|
; CHECK-NEXT: Ltmp[[#]]:
|
|
ret i32 0
|
|
; CHECK-NEXT: mov w0, wzr
|
|
; CHECK-NEXT: .p2align 2
|
|
; CHECK-LABEL: Lxray_sled_1:
|
|
; CHECK-NEXT: b #32
|
|
; CHECK-COUNT-7: nop
|
|
; CHECK-NEXT: Ltmp[[#]]:
|
|
; CHECK-NEXT: ret
|
|
}
|
|
|
|
; CHECK-LINUX-LABEL: .section xray_instr_map,"ao",@progbits,callee{{$}}
|
|
; CHECK-LINUX-LABEL: .Lxray_sleds_start0:
|
|
; CHECK-LINUX-NEXT: [[TMP:.Ltmp[0-9]+]]:
|
|
; CHECK-LINUX: .xword .Lxray_sled_0-[[TMP]]
|
|
; CHECK-LINUX: .xword
|
|
; CHECK-LINUX-NEXT: .byte 0x00
|
|
; CHECK-LINUX: [[TMP:.Ltmp[0-9]+]]:
|
|
; CHECK-LINUX-NEXT: .xword .Lxray_sled_1-[[TMP]]
|
|
; CHECK-LINUX: .xword
|
|
; CHECK-LINUX-NEXT: .byte 0x01
|
|
; CHECK-LINUX-LABEL: Lxray_sleds_end0:
|
|
; CHECK-LINUX-LABEL: .section xray_fn_idx,"ao",@progbits,callee{{$}}
|
|
; CHECK-LINUX: .xword .Lxray_sleds_start0
|
|
; CHECK-LINUX-NEXT: .xword 2
|
|
|
|
; CHECK-MACOS-LABEL: .section __DATA,xray_instr_map,regular,live_support{{$}}
|
|
; CHECK-MACOS-LABEL: lxray_sleds_start0:
|
|
; CHECK-MACOS-NEXT: [[TMP:Ltmp[0-9]+]]:
|
|
; CHECK-MACOS: .quad Lxray_sled_0-[[TMP]]
|
|
; CHECK-MACOS-NEXT: .quad
|
|
; CHECK-MACOS-NEXT: .byte 0x00
|
|
; CHECK-MACOS: [[TMP:Ltmp[0-9]+]]:
|
|
; CHECK-MACOS-NEXT: .quad Lxray_sled_1-[[TMP]]
|
|
; CHECK-MACOS-NEXT: .quad
|
|
; CHECK-MACOS-NEXT: .byte 0x01
|
|
; CHECK-MACOS-LABEL: Lxray_sleds_end0:
|
|
; CHECK-MACOS-LABEL: .section __DATA,xray_fn_idx,regular,live_support{{$}}
|
|
; CHECK-MACOS: [[IDX:lxray_fn_idx[0-9]+]]:
|
|
; CHECK-MACOS-NEXT: .quad lxray_sleds_start0-[[IDX]]
|
|
; CHECK-MACOS-NEXT: .quad 2
|
|
|
|
define i32 @caller() nounwind noinline uwtable "function-instrument"="xray-always" {
|
|
; CHECK: .p2align 2
|
|
; CHECK-LABEL: Lxray_sled_2:
|
|
; CHECK-NEXT: b #32
|
|
; CHECK-COUNT-7: nop
|
|
; CHECK-NEXT: Ltmp[[#]]:
|
|
; CHECK: .p2align 2
|
|
; CHECK-LABEL: Lxray_sled_3:
|
|
; CHECK-NEXT: b #32
|
|
; CHECK-COUNT-7: nop
|
|
; CHECK-NEXT: Ltmp[[#]]:
|
|
%retval = tail call i32 @callee()
|
|
; CHECK-LINUX: b callee
|
|
; CHECK-MACOS: b _callee
|
|
ret i32 %retval
|
|
}
|
|
|
|
; CHECK-LINUX-LABEL: .section xray_instr_map,"ao",@progbits,caller{{$}}
|
|
; CHECK-LINUX-LABEL: Lxray_sleds_start1:
|
|
; CHECK-LINUX: .xword .Lxray_sled_2
|
|
; CHECK-LINUX-NEXT: .xword
|
|
; CHECK-LINUX-NEXT: .byte 0x00
|
|
; CHECK-LINUX: .xword .Lxray_sled_3
|
|
; CHECK-LINUX-NEXT: .xword
|
|
; CHECK-LINUX-NEXT: .byte 0x02
|
|
; CHECK-LINUX-LABEL: Lxray_sleds_end1:
|
|
; CHECK-LINUX-LABEL: .section xray_fn_idx,"ao",@progbits,caller{{$}}
|
|
; CHECK-LINUX: [[IDX:\.Lxray_fn_idx[0-9]+]]:
|
|
; CHECK-LINUX-NEXT: .xword .Lxray_sleds_start1-[[IDX]]
|
|
; CHECK-LINUX-NEXT: .xword 2
|
|
|
|
; CHECK-MACOS-LABEL: .section __DATA,xray_instr_map,regular,live_support{{$}}
|
|
; CHECK-MACOS-LABEL: lxray_sleds_start1:
|
|
; CHECK-MACOS: .quad Lxray_sled_2
|
|
; CHECK-MACOS-NEXT: .quad
|
|
; CHECK-MACOS-NEXT: .byte 0x00
|
|
; CHECK-MACOS: .quad Lxray_sled_3
|
|
; CHECK-MACOS-NEXT: .quad
|
|
; CHECK-MACOS-NEXT: .byte 0x02
|
|
; CHECK-MACOS-LABEL: Lxray_sleds_end1:
|
|
; CHECK-MACOS-LABEL: .section __DATA,xray_fn_idx,regular,live_support{{$}}
|
|
; CHECK-MACOS: [[IDX:lxray_fn_idx[0-9]+]]:
|
|
; CHECK-MACOS-NEXT: .quad lxray_sleds_start1-[[IDX]]
|
|
; CHECK-MACOS-NEXT: .quad 2
|