Home | History | Annotate | Download | only in CodeGenOpenCL
      1 // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
      2 
      3 void normal_function() {
      4 }
      5 
      6 __kernel void kernel_function() {
      7 }
      8 
      9 // CHECK: !opencl.kernels = !{!0}
     10 // CHECK: !0 = !{void ()* @kernel_function, !1, !2, !3, !4, !5}
     11 // CHECK: !1 = !{!"kernel_arg_addr_space"}
     12 // CHECK: !2 = !{!"kernel_arg_access_qual"}
     13 // CHECK: !3 = !{!"kernel_arg_type"}
     14 // CHECK: !4 = !{!"kernel_arg_base_type"}
     15 // CHECK: !5 = !{!"kernel_arg_type_qual"}
     16