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
72 lines
2.0 KiB
LLVM
72 lines
2.0 KiB
LLVM
; RUN: llc -mtriple=hexagon < %s | FileCheck %s
|
|
|
|
target triple = "hexagon"
|
|
|
|
; CHECK-LABEL: dc00:
|
|
; CHECK: dcfetch
|
|
define void @dc00(ptr nocapture readonly %p) local_unnamed_addr #0 {
|
|
tail call void @llvm.hexagon.prefetch(ptr %p)
|
|
ret void
|
|
}
|
|
|
|
; CHECK-LABEL: dc01:
|
|
; CHECK: dccleana
|
|
define void @dc01(ptr nocapture readonly %p) local_unnamed_addr #0 {
|
|
entry:
|
|
tail call void @llvm.hexagon.Y2.dccleana(ptr %p)
|
|
ret void
|
|
}
|
|
|
|
; CHECK-LABEL: dc02:
|
|
; CHECK: dccleaninva
|
|
define void @dc02(ptr nocapture readonly %p) local_unnamed_addr #0 {
|
|
entry:
|
|
tail call void @llvm.hexagon.Y2.dccleaninva(ptr %p)
|
|
ret void
|
|
}
|
|
|
|
; CHECK-LABEL: dc03:
|
|
; CHECK: dcinva
|
|
define void @dc03(ptr nocapture readonly %p) local_unnamed_addr #0 {
|
|
entry:
|
|
tail call void @llvm.hexagon.Y2.dcinva(ptr %p)
|
|
ret void
|
|
}
|
|
|
|
; CHECK-LABEL: dc04:
|
|
; CHECK: dczeroa
|
|
define void @dc04(ptr nocapture %p) local_unnamed_addr #0 {
|
|
entry:
|
|
tail call void @llvm.hexagon.Y2.dczeroa(ptr %p)
|
|
ret void
|
|
}
|
|
|
|
; CHECK-LABEL: dc05:
|
|
; CHECK: l2fetch(r{{[0-9]+}},r{{[0-9]+}})
|
|
define void @dc05(ptr nocapture readonly %p, i32 %q) local_unnamed_addr #0 {
|
|
entry:
|
|
tail call void @llvm.hexagon.Y4.l2fetch(ptr %p, i32 %q)
|
|
ret void
|
|
}
|
|
|
|
; CHECK-LABEL: dc06:
|
|
; CHECK: l2fetch(r{{[0-9]+}},r{{[0-9]+}}:{{[0-9]+}})
|
|
define void @dc06(ptr nocapture readonly %p, i64 %q) local_unnamed_addr #0 {
|
|
entry:
|
|
tail call void @llvm.hexagon.Y5.l2fetch(ptr %p, i64 %q)
|
|
ret void
|
|
}
|
|
|
|
declare void @llvm.hexagon.prefetch(ptr nocapture) #1
|
|
declare void @llvm.hexagon.Y2.dccleana(ptr nocapture readonly) #2
|
|
declare void @llvm.hexagon.Y2.dccleaninva(ptr nocapture readonly) #2
|
|
declare void @llvm.hexagon.Y2.dcinva(ptr nocapture readonly) #2
|
|
declare void @llvm.hexagon.Y2.dczeroa(ptr nocapture) #3
|
|
declare void @llvm.hexagon.Y4.l2fetch(ptr nocapture readonly, i32) #2
|
|
declare void @llvm.hexagon.Y5.l2fetch(ptr nocapture readonly, i64) #2
|
|
|
|
attributes #0 = { nounwind "target-cpu"="hexagonv60" "target-features"="-hvx,-long-calls" }
|
|
attributes #1 = { inaccessiblemem_or_argmemonly nounwind }
|
|
attributes #2 = { nounwind }
|
|
attributes #3 = { argmemonly nounwind writeonly }
|