; ModuleID = './main.cpp' target datalayout = "e-p:16:8:8-i8:8:8-i16:8:8-i32:8:8-i64:8:8-f32:8:8-f64:8:8-n8" target triple = "avr" define weak i16 @atexit(void ()* %func) #0 { entry: ret i16 0 } define weak void @initVariant() #0 { entry: ret void } ; Function Attrs: noreturn define i16 @main() #1 { entry: tail call void @init() tail call void @initVariant() tail call void @setup() br label %for.cond for.cond: ; preds = %for.cond.backedge, %entry tail call void @loop() br i1 icmp ne (void ()* @_Z14serialEventRunv, void ()* null), label %if.then, label %for.cond.backedge if.then: ; preds = %for.cond tail call void @_Z14serialEventRunv() br label %for.cond.backedge for.cond.backedge: ; preds = %if.then, %for.cond br label %for.cond } declare void @init() #0 declare void @setup() #0 declare void @loop() #0 declare extern_weak void @_Z14serialEventRunv() #0 attributes #0 = { "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"="atmega328p" "unsafe-fp-math"="false" "use-soft-float"="false" } attributes #1 = { noreturn "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"="atmega328p" "unsafe-fp-math"="false" "use-soft-float"="false" } !llvm.ident = !{!0} !0 = !{!"clang version 3.7.0 (https://github.com/llvm-mirror/clang.git 287e62c84a1ccd74fbca46bfc13e364e314d4b41) (https://github.com/llvm-mirror/llvm.git aaab572fc38b4438e769e2fd6b91963be11db7b2)"}