Lines Matching refs:pointer
1 ;; Test that function attributes "no-frame-pointer-elim" ("true" or "false") and
2 ;; "no-frame-pointer-elim-non-leaf" (value is ignored) can be upgraded to
3 ;; "frame-pointer".
8 define void @all0() "no-frame-pointer-elim"="true" { ret void }
13 define void @non_leaf0() "no-frame-pointer-elim-non-leaf" { ret void }
18 define void @none() "no-frame-pointer-elim"="false" { ret void }
20 ;; Don't add "frame-pointer" if neither "no-frame-pointer-elim" nor
21 ;; "no-frame-pointer-elim-non-leaf" is present.
25 attributes #0 = { readnone "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" }
26 attributes #1 = { readnone "no-frame-pointer-elim"="false" "no-frame-pointer-elim-non-leaf" }
29 ; CHECK: attributes #0 = { "frame-pointer"="all" }
30 ; CHECK: attributes #1 = { memory(none) "frame-pointer"="all" }
31 ; CHECK: attributes #2 = { "frame-pointer"="non-leaf" }
32 ; CHECK: attributes #3 = { memory(none) "frame-pointer"="non-leaf" }
33 ; CHECK: attributes #4 = { "frame-pointer"="none" }