Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
test/Bitcode/attributes.ll
Show First 20 Lines • Show All 198 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
declare void @nobuiltin() | declare void @nobuiltin() | ||||
define void @f34() | define void @f34() | ||||
; CHECK: define void @f34() | ; CHECK: define void @f34() | ||||
{ | { | ||||
call void @nobuiltin() nobuiltin | call void @nobuiltin() nobuiltin | ||||
; CHECK: call void @nobuiltin() #36 | ; CHECK: call void @nobuiltin() #37 | ||||
ret void; | ret void; | ||||
} | } | ||||
define void @f35() optnone noinline | define void @f35() optnone noinline | ||||
; CHECK: define void @f35() #23 | ; CHECK: define void @f35() #23 | ||||
{ | { | ||||
ret void; | ret void; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 130 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
; CHECK: define void @f59() #35 | ; CHECK: define void @f59() #35 | ||||
define void @f59() shadowcallstack | define void @f59() shadowcallstack | ||||
{ | { | ||||
ret void | ret void | ||||
} | } | ||||
; CHECK: define void @f60() #36 | |||||
define void @f60() nofree { | |||||
ret void | |||||
} | |||||
; CHECK: attributes #0 = { noreturn } | ; CHECK: attributes #0 = { noreturn } | ||||
; CHECK: attributes #1 = { nounwind } | ; CHECK: attributes #1 = { nounwind } | ||||
; CHECK: attributes #2 = { readnone } | ; CHECK: attributes #2 = { readnone } | ||||
; CHECK: attributes #3 = { readonly } | ; CHECK: attributes #3 = { readonly } | ||||
; CHECK: attributes #4 = { noinline } | ; CHECK: attributes #4 = { noinline } | ||||
; CHECK: attributes #5 = { alwaysinline } | ; CHECK: attributes #5 = { alwaysinline } | ||||
; CHECK: attributes #6 = { optsize } | ; CHECK: attributes #6 = { optsize } | ||||
; CHECK: attributes #7 = { ssp } | ; CHECK: attributes #7 = { ssp } | ||||
Show All 20 Lines | |||||
; CHECK: attributes #28 = { inaccessiblememonly } | ; CHECK: attributes #28 = { inaccessiblememonly } | ||||
; CHECK: attributes #29 = { inaccessiblemem_or_argmemonly } | ; CHECK: attributes #29 = { inaccessiblemem_or_argmemonly } | ||||
; CHECK: attributes #30 = { allocsize(0) } | ; CHECK: attributes #30 = { allocsize(0) } | ||||
; CHECK: attributes #31 = { allocsize(0,1) } | ; CHECK: attributes #31 = { allocsize(0,1) } | ||||
; CHECK: attributes #32 = { writeonly } | ; CHECK: attributes #32 = { writeonly } | ||||
; CHECK: attributes #33 = { speculatable } | ; CHECK: attributes #33 = { speculatable } | ||||
; CHECK: attributes #34 = { sanitize_hwaddress } | ; CHECK: attributes #34 = { sanitize_hwaddress } | ||||
; CHECK: attributes #35 = { shadowcallstack } | ; CHECK: attributes #35 = { shadowcallstack } | ||||
; CHECK: attributes #36 = { nobuiltin } | ; CHECK: attributes #36 = { nofree } | ||||
; CHECK: attributes #37 = { nobuiltin } |