view slide/simple.ll @ 21:9c757d566f02

poster
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Sun, 21 Feb 2016 00:19:09 +0900
parents
children
line wrap: on
line source

; ModuleID = 'simple.c'
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-apple-macosx10.11.0"

; Function Attrs: nounwind ssp uwtable
define fastcc void @code1(i32 %a, i32 %b) #0 {
entry:
  %add = add nsw i32 %a, %b
  tail call fastcc void @code2(i32 %add)
  ret void
}

; Function Attrs: nounwind ssp uwtable
define fastcc void @code2(i32 %c) #0 {
entry:
  ret void
}

; Function Attrs: nounwind ssp uwtable
define i32 @main() #0 {
entry:
  tail call fastcc void @code1(i32 0, i32 1)
  ret i32 0
}

attributes #0 = { nounwind ssp uwtable "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="core2" "target-features"="+cx16,+fxsr,+mmx,+sse,+sse2,+sse3,+ssse3" "unsafe-fp-math"="false" "use-soft-float"="false" }

!llvm.module.flags = !{!0}
!llvm.ident = !{!1}

!0 = !{i32 1, !"PIC Level", i32 2}
!1 = !{!"clang version 3.9.0 "}