; LLVM IR from IOsonata/IOsonata :: src/sensors/am_lsm303c.ll (ZN10AccLsm303c4InitEjP11DeviceIntrfP5Timer)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%class.AccLsm303c = type <{ %class.AccelSensor.base, [4 x i8], %class.TempSensor.base, i8, [7 x i8], %class.Device }>
%class.AccelSensor.base = type <{ %class.Sensor.base, %struct.__AccelSensor_Raw_Data, [5 x i8], ptr, i16, [2 x i8], [3 x [3 x float]], [3 x float] }>
%class.Sensor.base = type <{ ptr, i32, i32, i32, i32, i64, i8, [7 x i8], i64, i64, i32, i32, i32, i32, %"struct.std::atomic_flag" }>
%"struct.std::atomic_flag" = type { %"struct.std::__atomic_flag_base" }
%"struct.std::__atomic_flag_base" = type { i8 }
%struct.__AccelSensor_Raw_Data = type <{ i64, i16, i16, %union.anon }>
%union.anon = type { [3 x i16] }
%class.TempSensor.base = type { %class.Sensor.base, %struct.__TemperatureSensor_Data, ptr }
%struct.__TemperatureSensor_Data = type <{ i64, i32 }>
%class.Device = type { ptr, i8, i32, ptr, ptr, i64, i8, ptr, i8, i32 }

@.str = external hidden unnamed_addr constant [13 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN10AccLsm303c4InitEjP11DeviceIntrfP5Timer(ptr noundef nonnull align 8 dereferenceable(257) %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 align 2 {
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  %13 = load ptr, ptr %6, align 8
  %14 = getelementptr inbounds %class.AccLsm303c, ptr %13, i32 0, i32 3
  %15 = load i8, ptr %14, align 8, !tbaa !11, !range !25, !noundef !26
  %16 = trunc i8 %15 to i1
  br i1 %16, label %17, label %18

17:                                               ; preds = %4
  store i1 true, ptr %5, align 1
  br label %100

18:                                               ; preds = %4
  %19 = load ptr, ptr %8, align 8, !tbaa !5
  %20 = icmp eq ptr %19, null
  br i1 %20, label %21, label %22

21:                                               ; preds = %18
  store i1 false, ptr %5, align 1
  br label %100

22:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #4
  %23 = load ptr, ptr %13, align 8, !tbaa !27
  %24 = getelementptr i8, ptr %23, i64 -24
  %25 = load i64, ptr %24, align 8
  %26 = getelementptr inbounds i8, ptr %13, i64 %25
  %27 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN6Device9InterfaceEP11DeviceIntrf(ptr noundef nonnull align 8 dereferenceable(64) %26, ptr noundef %27)
  %28 = load ptr, ptr %13, align 8, !tbaa !27
  %29 = getelementptr i8, ptr %28, i64 -24
  %30 = load i64, ptr %29, align 8
  %31 = getelementptr inbounds i8, ptr %13, i64 %30
  %32 = load i32, ptr %7, align 4, !tbaa !9
  %33 = load ptr, ptr %31, align 8, !tbaa !27
  %34 = getelementptr inbounds ptr, ptr %33, i64 6
  %35 = load ptr, ptr %34, align 8
  call void %35(ptr noundef nonnull align 8 dereferenceable(64) %31, i32 noundef %32)
  %36 = load ptr, ptr %9, align 8, !tbaa !5
  %37 = icmp ne ptr %36, null
  br i1 %37, label %38, label %45

38:                                               ; preds = %22
  %39 = load ptr, ptr %9, align 8, !tbaa !5
  %40 = load ptr, ptr %13, align 8, !tbaa !27
  %41 = getelementptr i8, ptr %40, i64 -24
  %42 = load i64, ptr %41, align 8
  %43 = getelementptr inbounds i8, ptr %13, i64 %42
  %44 = getelementptr inbounds %class.Device, ptr %43, i32 0, i32 4
  store ptr %39, ptr %44, align 8, !tbaa !29
  br label %45

45:                                               ; preds = %38, %22
  %46 = load ptr, ptr %13, align 8, !tbaa !27
  %47 = getelementptr i8, ptr %46, i64 -24
  %48 = load i64, ptr %47, align 8
  %49 = getelementptr inbounds i8, ptr %13, i64 %48
  %50 = getelementptr inbounds %class.Device, ptr %49, i32 0, i32 3
  %51 = load ptr, ptr %50, align 8, !tbaa !32
  %52 = load ptr, ptr %51, align 8, !tbaa !27
  %53 = getelementptr inbounds ptr, ptr %52, i64 1
  %54 = load ptr, ptr %53, align 8
  %55 = call noundef i32 %54(ptr noundef nonnull align 8 dereferenceable(8) %51)
  %56 = icmp eq i32 %55, 6
  br i1 %56, label %60, label %57

57:                                               ; preds = %45
  %58 = load i32, ptr %7, align 4, !tbaa !9
  %59 = icmp ne i32 %58, 29
  br i1 %59, label %60, label %69

60:                                               ; preds = %57, %45
  store i8 35, ptr %10, align 1, !tbaa !33
  %61 = load ptr, ptr %13, align 8, !tbaa !27
  %62 = getelementptr i8, ptr %61, i64 -24
  %63 = load i64, ptr %62, align 8
  %64 = getelementptr inbounds i8, ptr %13, i64 %63
  %65 = load ptr, ptr %64, align 8, !tbaa !27
  %66 = getelementptr inbounds ptr, ptr %65, i64 14
  %67 = load ptr, ptr %66, align 8
  %68 = call noundef zeroext i1 %67(ptr noundef nonnull align 8 dereferenceable(64) %64, ptr noundef %10, i32 noundef 1, i8 noundef zeroext 3)
  br label %69

69:                                               ; preds = %60, %57
  store i8 15, ptr %10, align 1, !tbaa !33
  %70 = load ptr, ptr %13, align 8, !tbaa !27
  %71 = getelementptr i8, ptr %70, i64 -24
  %72 = load i64, ptr %71, align 8
  %73 = getelementptr inbounds i8, ptr %13, i64 %72
  %74 = load ptr, ptr %73, align 8, !tbaa !27
  %75 = getelementptr inbounds ptr, ptr %74, i64 11
  %76 = load ptr, ptr %75, align 8
  %77 = call noundef zeroext i8 %76(ptr noundef nonnull align 8 dereferenceable(64) %73, ptr noundef %10, i32 noundef 1)
  store i8 %77, ptr %11, align 1, !tbaa !33
  %78 = load i8, ptr %11, align 1, !tbaa !33
  %79 = zext i8 %78 to i32
  %80 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %79)
  %81 = load i8, ptr %11, align 1, !tbaa !33
  %82 = zext i8 %81 to i32
  %83 = icmp ne i32 %82, 65
  br i1 %83, label %84, label %85

84:                                               ; preds = %69
  store i1 false, ptr %5, align 1
  store i32 1, ptr %12, align 4
  br label %99

85:                                               ; preds = %69
  %86 = load ptr, ptr %13, align 8, !tbaa !27
  %87 = getelementptr inbounds ptr, ptr %86, i64 29
  %88 = load ptr, ptr %87, align 8
  call void %88(ptr noundef nonnull align 8 dereferenceable(257) %13)
  %89 = load ptr, ptr %13, align 8, !tbaa !27
  %90 = getelementptr i8, ptr %89, i64 -24
  %91 = load i64, ptr %90, align 8
  %92 = getelementptr inbounds i8, ptr %13, i64 %91
  %93 = load i8, ptr %11, align 1, !tbaa !33
  %94 = zext i8 %93 to i64
  call void @_ZN6Device8DeviceIDEm(ptr noundef nonnull align 8 dereferenceable(64) %92, i64 noundef %94)
  %95 = load ptr, ptr %13, align 8, !tbaa !27
  %96 = getelementptr i8, ptr %95, i64 -24
  %97 = load i64, ptr %96, align 8
  %98 = getelementptr inbounds i8, ptr %13, i64 %97
  call void @_ZN6Device5ValidEb(ptr noundef nonnull align 8 dereferenceable(64) %98, i1 noundef zeroext true)
  store i1 true, ptr %5, align 1
  store i32 1, ptr %12, align 4
  br label %99

99:                                               ; preds = %85, %84
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  br label %100

100:                                              ; preds = %99, %21, %17
  %101 = load i1, ptr %5, align 1
  ret i1 %101
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6Device9InterfaceEP11DeviceIntrf(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef) #2 align 2

declare i32 @printf(ptr noundef, ...) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6Device8DeviceIDEm(ptr noundef nonnull align 8 dereferenceable(64), i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6Device5ValidEb(ptr noundef nonnull align 8 dereferenceable(64), i1 noundef zeroext) #2 align 2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !18, i64 256}
!12 = !{!"_ZTS10AccLsm303c", !13, i64 0, !23, i64 160, !18, i64 256}
!13 = !{!"_ZTS11AccelSensor", !14, i64 0, !21, i64 73, !6, i64 96, !22, i64 104, !7, i64 108, !7, i64 144}
!14 = !{!"_ZTS6Sensor", !10, i64 8, !15, i64 12, !16, i64 16, !10, i64 20, !17, i64 24, !18, i64 32, !17, i64 40, !17, i64 48, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !19, i64 72}
!15 = !{!"_ZTS14__Sensor_State", !7, i64 0}
!16 = !{!"_ZTS15__Sensor_OpMode", !7, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!"bool", !7, i64 0}
!19 = !{!"_ZTSSt11atomic_flag", !20, i64 0}
!20 = !{!"_ZTSSt18__atomic_flag_base", !18, i64 0}
!21 = !{!"_ZTS22__AccelSensor_Raw_Data", !17, i64 0, !22, i64 8, !22, i64 10, !7, i64 12}
!22 = !{!"short", !7, i64 0}
!23 = !{!"_ZTS10TempSensor", !14, i64 0, !24, i64 73, !6, i64 88}
!24 = !{!"_ZTS24__TemperatureSensor_Data", !17, i64 0, !10, i64 8}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!28, !28, i64 0}
!28 = !{!"vtable pointer", !8, i64 0}
!29 = !{!30, !6, i64 24}
!30 = !{!"_ZTS6Device", !18, i64 8, !10, i64 12, !6, i64 16, !6, i64 24, !17, i64 32, !18, i64 40, !6, i64 48, !7, i64 56, !31, i64 60}
!31 = !{!"_ZTS21__Dev_Data_Byte_Order", !7, i64 0}
!32 = !{!30, !6, i64 16}
!33 = !{!7, !7, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str = external hidden unnamed_addr constant [13 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN10AccLsm303c4InitEjP11DeviceIntrfP5Timer(ptr noundef nonnull align 8 dereferenceable(257) %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 align 2 {
  %5 = alloca i8, align 1
  %6 = getelementptr inbounds i8, ptr %0, i64 256
  %7 = load i8, ptr %6, align 8, !tbaa !5, !range !23, !noundef !24
  %8 = trunc nuw i8 %7 to i1
  br i1 %8, label %73, label %9

9:                                                ; preds = %4
  %10 = icmp eq ptr %2, null
  br i1 %10, label %73, label %11

11:                                               ; preds = %9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #4
  %12 = load ptr, ptr %0, align 8, !tbaa !25
  %13 = getelementptr i8, ptr %12, i64 -24
  %14 = load i64, ptr %13, align 8
  %15 = getelementptr inbounds i8, ptr %0, i64 %14
  tail call void @_ZN6Device9InterfaceEP11DeviceIntrf(ptr noundef nonnull align 8 dereferenceable(64) %15, ptr noundef nonnull %2)
  %16 = load ptr, ptr %0, align 8, !tbaa !25
  %17 = getelementptr i8, ptr %16, i64 -24
  %18 = load i64, ptr %17, align 8
  %19 = getelementptr inbounds i8, ptr %0, i64 %18
  %20 = load ptr, ptr %19, align 8, !tbaa !25
  %21 = getelementptr inbounds i8, ptr %20, i64 48
  %22 = load ptr, ptr %21, align 8
  tail call void %22(ptr noundef nonnull align 8 dereferenceable(64) %19, i32 noundef %1)
  %.not = icmp eq ptr %3, null
  %.pre = load ptr, ptr %0, align 8, !tbaa !25
  br i1 %.not, label %28, label %23

23:                                               ; preds = %11
  %24 = getelementptr i8, ptr %.pre, i64 -24
  %25 = load i64, ptr %24, align 8
  %26 = getelementptr inbounds i8, ptr %0, i64 %25
  %27 = getelementptr inbounds i8, ptr %26, i64 24
  store ptr %3, ptr %27, align 8, !tbaa !27
  br label %28

28:                                               ; preds = %23, %11
  %29 = getelementptr i8, ptr %.pre, i64 -24
  %30 = load i64, ptr %29, align 8
  %31 = getelementptr inbounds i8, ptr %0, i64 %30
  %32 = getelementptr inbounds i8, ptr %31, i64 16
  %33 = load ptr, ptr %32, align 8, !tbaa !30
  %34 = load ptr, ptr %33, align 8, !tbaa !25
  %35 = getelementptr inbounds i8, ptr %34, i64 8
  %36 = load ptr, ptr %35, align 8
  %37 = tail call noundef i32 %36(ptr noundef nonnull align 8 dereferenceable(8) %33)
  %38 = icmp eq i32 %37, 6
  %39 = icmp ne i32 %1, 29
  %or.cond = or i1 %39, %38
  br i1 %or.cond, label %40, label %49

40:                                               ; preds = %28
  store i8 35, ptr %5, align 1, !tbaa !31
  %41 = load ptr, ptr %0, align 8, !tbaa !25
  %42 = getelementptr i8, ptr %41, i64 -24
  %43 = load i64, ptr %42, align 8
  %44 = getelementptr inbounds i8, ptr %0, i64 %43
  %45 = load ptr, ptr %44, align 8, !tbaa !25
  %46 = getelementptr inbounds i8, ptr %45, i64 112
  %47 = load ptr, ptr %46, align 8
  %48 = call noundef zeroext i1 %47(ptr noundef nonnull align 8 dereferenceable(64) %44, ptr noundef nonnull %5, i32 noundef 1, i8 noundef zeroext 3)
  br label %49

49:                                               ; preds = %28, %40
  store i8 15, ptr %5, align 1, !tbaa !31
  %50 = load ptr, ptr %0, align 8, !tbaa !25
  %51 = getelementptr i8, ptr %50, i64 -24
  %52 = load i64, ptr %51, align 8
  %53 = getelementptr inbounds i8, ptr %0, i64 %52
  %54 = load ptr, ptr %53, align 8, !tbaa !25
  %55 = getelementptr inbounds i8, ptr %54, i64 88
  %56 = load ptr, ptr %55, align 8
  %57 = call noundef zeroext i8 %56(ptr noundef nonnull align 8 dereferenceable(64) %53, ptr noundef nonnull %5, i32 noundef 1)
  %58 = zext i8 %57 to i32
  %59 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %58)
  %.not13 = icmp eq i8 %57, 65
  br i1 %.not13, label %60, label %72

60:                                               ; preds = %49
  %61 = load ptr, ptr %0, align 8, !tbaa !25
  %62 = getelementptr inbounds i8, ptr %61, i64 232
  %63 = load ptr, ptr %62, align 8
  call void %63(ptr noundef nonnull align 8 dereferenceable(257) %0)
  %64 = load ptr, ptr %0, align 8, !tbaa !25
  %65 = getelementptr i8, ptr %64, i64 -24
  %66 = load i64, ptr %65, align 8
  %67 = getelementptr inbounds i8, ptr %0, i64 %66
  call void @_ZN6Device8DeviceIDEm(ptr noundef nonnull align 8 dereferenceable(64) %67, i64 noundef 65)
  %68 = load ptr, ptr %0, align 8, !tbaa !25
  %69 = getelementptr i8, ptr %68, i64 -24
  %70 = load i64, ptr %69, align 8
  %71 = getelementptr inbounds i8, ptr %0, i64 %70
  call void @_ZN6Device5ValidEb(ptr noundef nonnull align 8 dereferenceable(64) %71, i1 noundef zeroext true)
  br label %72

72:                                               ; preds = %49, %60
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #4
  br label %73

73:                                               ; preds = %9, %4, %72
  %.1 = phi i1 [ %.not13, %72 ], [ true, %4 ], [ false, %9 ]
  ret i1 %.1
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6Device9InterfaceEP11DeviceIntrf(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef) local_unnamed_addr #2 align 2

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6Device8DeviceIDEm(ptr noundef nonnull align 8 dereferenceable(64), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6Device5ValidEb(ptr noundef nonnull align 8 dereferenceable(64), i1 noundef zeroext) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !15, i64 256}
!6 = !{!"_ZTS10AccLsm303c", !7, i64 0, !21, i64 160, !15, i64 256}
!7 = !{!"_ZTS11AccelSensor", !8, i64 0, !18, i64 73, !20, i64 96, !19, i64 104, !10, i64 108, !10, i64 144}
!8 = !{!"_ZTS6Sensor", !9, i64 8, !12, i64 12, !13, i64 16, !9, i64 20, !14, i64 24, !15, i64 32, !14, i64 40, !14, i64 48, !9, i64 56, !9, i64 60, !9, i64 64, !9, i64 68, !16, i64 72}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTS14__Sensor_State", !10, i64 0}
!13 = !{!"_ZTS15__Sensor_OpMode", !10, i64 0}
!14 = !{!"long", !10, i64 0}
!15 = !{!"bool", !10, i64 0}
!16 = !{!"_ZTSSt11atomic_flag", !17, i64 0}
!17 = !{!"_ZTSSt18__atomic_flag_base", !15, i64 0}
!18 = !{!"_ZTS22__AccelSensor_Raw_Data", !14, i64 0, !19, i64 8, !19, i64 10, !10, i64 12}
!19 = !{!"short", !10, i64 0}
!20 = !{!"any pointer", !10, i64 0}
!21 = !{!"_ZTS10TempSensor", !8, i64 0, !22, i64 73, !20, i64 88}
!22 = !{!"_ZTS24__TemperatureSensor_Data", !14, i64 0, !9, i64 8}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = !{!26, !26, i64 0}
!26 = !{!"vtable pointer", !11, i64 0}
!27 = !{!28, !20, i64 24}
!28 = !{!"_ZTS6Device", !15, i64 8, !9, i64 12, !20, i64 16, !20, i64 24, !14, i64 32, !15, i64 40, !20, i64 48, !10, i64 56, !29, i64 60}
!29 = !{!"_ZTS21__Dev_Data_Byte_Order", !10, i64 0}
!30 = !{!28, !20, i64 16}
!31 = !{!10, !10, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass