reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s

; PTX does not support .hidden or .protected.
; Make sure we do not emit them.

define hidden void @f_hidden() {
       ret void
}
; CHECK-NOT: .hidden
; CHECK: .visible .func f_hidden

define protected void @f_protected() {
       ret void
}
; CHECK-NOT: .protected
; CHECK: .visible .func f_protected