Home | History | Annotate | Download | only in single_kernel
      1 ; RUN: rs2spirv_lit_driver.sh %s | FileCheck %s
      2 
      3 target datalayout = "e-m:e-i64:64-i128:128-n32:64-S128"
      4 target triple = "aarch64-none-linux-gnueabi"
      5 
      6 ; CHECK: OpEntryPoint GLCompute [[WrapperId:%[a-zA-Z_0-9]*]] "entry_foo"
      7 ; CHECK: [[KernelId:%[a-zA-Z_0-9]+]] = OpFunction {{.*}}
      8 
      9 ; Function Attrs: norecurse nounwind readnone
     10 define void @foo() #0 {
     11   ret void
     12 }
     13 ; CHECK: [[WrapperId]] = OpFunction {{.*}}
     14 ; CHECK-NEXT: OpLabel
     15 ; CHECK-NEXT: %{{[0-9]+}} = OpFunctionCall %{{.*}} [[KernelId]]
     16 ; CHECK-NEXT: OpReturn
     17 
     18 attributes #0 = { norecurse nounwind readnone "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="0" "stackrealign" "unsafe-fp-math"="false" "use-soft-float"="false" }
     19 
     20 !llvm.ident = !{!0}
     21 !\23pragma = !{!1, !2, !3}
     22 !\23rs_export_foreach_name = !{!4, !5}
     23 !\23rs_export_foreach = !{!6, !7}
     24 
     25 !0 = !{!"Android clang version 3.8.256229  (based on LLVM 3.8.256229)"}
     26 !1 = !{!"version", !"1"}
     27 !2 = !{!"java_package_name", !"rs2srpiv"}
     28 !3 = !{!"rs_fp_relaxed", !""}
     29 !4 = !{!"root"}
     30 !5 = !{!"foo"}
     31 !6 = !{!"0"}
     32 !7 = !{!"32"}
     33