; LLVM IR from trabucayre/openFPGALoader :: src/gowin.ll (ZN5Gowin16gw5a_disable_spiEv)

; 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.Device = type <{ ptr, ptr, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, i8, i8, i8, i8 }>
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%class.Gowin = type { %class.Device.base, %class.SPIInterface, %"class.std::unique_ptr", %"class.std::unique_ptr", %"class.std::unique_ptr", i32, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32 }
%class.Device.base = type <{ ptr, ptr, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, i8, i8, i8 }>
%class.SPIInterface = type { ptr, i8, i32, i8, i8, i8, %"class.std::__cxx11::basic_string" }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.68" }
%"struct.std::_Head_base.68" = type { ptr }

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

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

declare void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193), i32 noundef, i8 noundef zeroext) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5Gowin16gw5a_disable_spiEv(ptr noundef nonnull align 8 dereferenceable(192) %0) #2 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %4 = load ptr, ptr %2, align 8
  %5 = getelementptr inbounds %class.Device, ptr %4, i32 0, i32 1
  %6 = load ptr, ptr %5, align 8, !tbaa !9
  %7 = getelementptr inbounds %class.Gowin, ptr %4, i32 0, i32 19
  %8 = load i32, ptr %7, align 4, !tbaa !16
  call void @_ZN4Jtag12setWriteEdgeEN13JtagInterface10tck_edge_tE(ptr noundef nonnull align 8 dereferenceable(193) %6, i32 noundef %8)
  %9 = getelementptr inbounds %class.Device, ptr %4, i32 0, i32 1
  %10 = load ptr, ptr %9, align 8, !tbaa !9
  %11 = getelementptr inbounds %class.Gowin, ptr %4, i32 0, i32 18
  %12 = load i32, ptr %11, align 8, !tbaa !27
  call void @_ZN4Jtag11setReadEdgeEN13JtagInterface10tck_edge_tE(ptr noundef nonnull align 8 dereferenceable(193) %10, i32 noundef %12)
  %13 = getelementptr inbounds %class.Device, ptr %4, i32 0, i32 1
  %14 = load ptr, ptr %13, align 8, !tbaa !9
  %15 = call noundef i32 @_ZN4Jtag8flushTMSEb(ptr noundef nonnull align 8 dereferenceable(193) %14, i1 noundef zeroext true)
  %16 = getelementptr inbounds %class.Device, ptr %4, i32 0, i32 1
  %17 = load ptr, ptr %16, align 8, !tbaa !9
  call void @_ZN4Jtag5flushEv(ptr noundef nonnull align 8 dereferenceable(193) %17)
  %18 = getelementptr inbounds %class.Device, ptr %4, i32 0, i32 1
  %19 = load ptr, ptr %18, align 8, !tbaa !9
  call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %19, i32 noundef 2, i8 noundef zeroext 1)
  %20 = getelementptr inbounds %class.Device, ptr %4, i32 0, i32 1
  %21 = load ptr, ptr %20, align 8, !tbaa !9
  call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %21, i32 noundef 3, i8 noundef zeroext 1)
  %22 = getelementptr inbounds %class.Device, ptr %4, i32 0, i32 1
  %23 = load ptr, ptr %22, align 8, !tbaa !9
  call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %23, i32 noundef 5, i8 noundef zeroext 1)
  %24 = getelementptr inbounds %class.Device, ptr %4, i32 0, i32 1
  %25 = load ptr, ptr %24, align 8, !tbaa !9
  call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %25, i32 noundef 7, i8 noundef zeroext 1)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  store i32 0, ptr %3, align 4, !tbaa !28
  br label %26

26:                                               ; preds = %35, %1
  %27 = load i32, ptr %3, align 4, !tbaa !28
  %28 = icmp slt i32 %27, 6
  br i1 %28, label %30, label %29

29:                                               ; preds = %26
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  br label %38

30:                                               ; preds = %26
  %31 = getelementptr inbounds %class.Device, ptr %4, i32 0, i32 1
  %32 = load ptr, ptr %31, align 8, !tbaa !9
  call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %32, i32 noundef 6, i8 noundef zeroext 1)
  %33 = getelementptr inbounds %class.Device, ptr %4, i32 0, i32 1
  %34 = load ptr, ptr %33, align 8, !tbaa !9
  call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %34, i32 noundef 7, i8 noundef zeroext 1)
  br label %35

35:                                               ; preds = %30
  %36 = load i32, ptr %3, align 4, !tbaa !28
  %37 = add nsw i32 %36, 1
  store i32 %37, ptr %3, align 4, !tbaa !28
  br label %26, !llvm.loop !29

38:                                               ; preds = %29
  %39 = getelementptr inbounds %class.Device, ptr %4, i32 0, i32 1
  %40 = load ptr, ptr %39, align 8, !tbaa !9
  call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %40, i32 noundef 5, i8 noundef zeroext 1)
  %41 = getelementptr inbounds %class.Device, ptr %4, i32 0, i32 1
  %42 = load ptr, ptr %41, align 8, !tbaa !9
  call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %42, i32 noundef 6, i8 noundef zeroext 1)
  %43 = getelementptr inbounds %class.Device, ptr %4, i32 0, i32 1
  %44 = load ptr, ptr %43, align 8, !tbaa !9
  %45 = call noundef i32 @_ZN4Jtag8flushTMSEb(ptr noundef nonnull align 8 dereferenceable(193) %44, i1 noundef zeroext true)
  %46 = getelementptr inbounds %class.Device, ptr %4, i32 0, i32 1
  %47 = load ptr, ptr %46, align 8, !tbaa !9
  call void @_ZN4Jtag5flushEv(ptr noundef nonnull align 8 dereferenceable(193) %47)
  %48 = getelementptr inbounds %class.Device, ptr %4, i32 0, i32 1
  %49 = load ptr, ptr %48, align 8, !tbaa !9
  call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %49, i32 noundef 0, i8 noundef zeroext 1)
  %50 = getelementptr inbounds %class.Device, ptr %4, i32 0, i32 1
  %51 = load ptr, ptr %50, align 8, !tbaa !9
  call void @_ZN4Jtag9toggleClkEi(ptr noundef nonnull align 8 dereferenceable(193) %51, i32 noundef 5)
  ret i1 true
}

declare void @_ZN4Jtag9toggleClkEi(ptr noundef nonnull align 8 dereferenceable(193), i32 noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Jtag5flushEv(ptr noundef nonnull align 8 dereferenceable(193)) #2 align 2

declare noundef i32 @_ZN4Jtag8flushTMSEb(ptr noundef nonnull align 8 dereferenceable(193), i1 noundef zeroext) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Jtag12setWriteEdgeEN13JtagInterface10tck_edge_tE(ptr noundef nonnull align 8 dereferenceable(193), i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Jtag11setReadEdgeEN13JtagInterface10tck_edge_tE(ptr noundef nonnull align 8 dereferenceable(193), i32 noundef) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 #2 = { 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 #3 = { 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, !6, i64 8}
!10 = !{!"_ZTS6Device", !6, i64 8, !11, i64 16, !11, i64 48, !14, i64 80, !15, i64 84, !15, i64 85, !15, i64 86}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !12, i64 0, !13, i64 8, !7, i64 16}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!"_ZTSN6Device9prog_modeE", !7, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!17, !26, i64 188}
!17 = !{!"_ZTS5Gowin", !10, i64 0, !18, i64 88, !20, i64 144, !20, i64 152, !20, i64 160, !19, i64 168, !15, i64 172, !15, i64 173, !15, i64 174, !15, i64 175, !15, i64 176, !15, i64 177, !15, i64 178, !7, i64 179, !7, i64 180, !7, i64 181, !7, i64 182, !7, i64 183, !26, i64 184, !26, i64 188}
!18 = !{!"_ZTS12SPIInterface", !7, i64 8, !19, i64 12, !15, i64 16, !15, i64 17, !15, i64 18, !11, i64 24}
!19 = !{!"int", !7, i64 0}
!20 = !{!"_ZTSSt10unique_ptrI21ConfigBitstreamParserSt14default_deleteIS0_EE", !21, i64 0}
!21 = !{!"_ZTSSt15__uniq_ptr_dataI21ConfigBitstreamParserSt14default_deleteIS0_ELb1ELb1EE", !22, i64 0}
!22 = !{!"_ZTSSt15__uniq_ptr_implI21ConfigBitstreamParserSt14default_deleteIS0_EE", !23, i64 0}
!23 = !{!"_ZTSSt5tupleIJP21ConfigBitstreamParserSt14default_deleteIS0_EEE", !24, i64 0}
!24 = !{!"_ZTSSt11_Tuple_implILm0EJP21ConfigBitstreamParserSt14default_deleteIS0_EEE", !25, i64 0}
!25 = !{!"_ZTSSt10_Head_baseILm0EP21ConfigBitstreamParserLb0EE", !6, i64 0}
!26 = !{!"_ZTSN13JtagInterface10tck_edge_tE", !7, i64 0}
!27 = !{!17, !26, i64 184}
!28 = !{!19, !19, i64 0}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}


; 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"

declare void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193), i32 noundef, i8 noundef zeroext) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5Gowin16gw5a_disable_spiEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(192) %0) local_unnamed_addr #1 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 8
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %0, i64 188
  %5 = load i32, ptr %4, align 4, !tbaa !15
  tail call void @_ZN4Jtag12setWriteEdgeEN13JtagInterface10tck_edge_tE(ptr noundef nonnull align 8 dereferenceable(193) %3, i32 noundef %5)
  %6 = load ptr, ptr %2, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 184
  %8 = load i32, ptr %7, align 8, !tbaa !26
  tail call void @_ZN4Jtag11setReadEdgeEN13JtagInterface10tck_edge_tE(ptr noundef nonnull align 8 dereferenceable(193) %6, i32 noundef %8)
  %9 = load ptr, ptr %2, align 8, !tbaa !5
  %10 = tail call noundef i32 @_ZN4Jtag8flushTMSEb(ptr noundef nonnull align 8 dereferenceable(193) %9, i1 noundef zeroext true)
  %11 = load ptr, ptr %2, align 8, !tbaa !5
  tail call void @_ZN4Jtag5flushEv(ptr noundef nonnull align 8 dereferenceable(193) %11)
  %12 = load ptr, ptr %2, align 8, !tbaa !5
  tail call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %12, i32 noundef 2, i8 noundef zeroext 1)
  %13 = load ptr, ptr %2, align 8, !tbaa !5
  tail call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %13, i32 noundef 3, i8 noundef zeroext 1)
  %14 = load ptr, ptr %2, align 8, !tbaa !5
  tail call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %14, i32 noundef 5, i8 noundef zeroext 1)
  %15 = load ptr, ptr %2, align 8, !tbaa !5
  tail call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %15, i32 noundef 7, i8 noundef zeroext 1)
  %16 = load ptr, ptr %2, align 8, !tbaa !5
  tail call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %16, i32 noundef 6, i8 noundef zeroext 1)
  %17 = load ptr, ptr %2, align 8, !tbaa !5
  tail call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %17, i32 noundef 7, i8 noundef zeroext 1)
  %18 = load ptr, ptr %2, align 8, !tbaa !5
  tail call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %18, i32 noundef 6, i8 noundef zeroext 1)
  %19 = load ptr, ptr %2, align 8, !tbaa !5
  tail call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %19, i32 noundef 7, i8 noundef zeroext 1)
  %20 = load ptr, ptr %2, align 8, !tbaa !5
  tail call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %20, i32 noundef 6, i8 noundef zeroext 1)
  %21 = load ptr, ptr %2, align 8, !tbaa !5
  tail call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %21, i32 noundef 7, i8 noundef zeroext 1)
  %22 = load ptr, ptr %2, align 8, !tbaa !5
  tail call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %22, i32 noundef 6, i8 noundef zeroext 1)
  %23 = load ptr, ptr %2, align 8, !tbaa !5
  tail call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %23, i32 noundef 7, i8 noundef zeroext 1)
  %24 = load ptr, ptr %2, align 8, !tbaa !5
  tail call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %24, i32 noundef 6, i8 noundef zeroext 1)
  %25 = load ptr, ptr %2, align 8, !tbaa !5
  tail call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %25, i32 noundef 7, i8 noundef zeroext 1)
  %26 = load ptr, ptr %2, align 8, !tbaa !5
  tail call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %26, i32 noundef 6, i8 noundef zeroext 1)
  %27 = load ptr, ptr %2, align 8, !tbaa !5
  tail call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %27, i32 noundef 7, i8 noundef zeroext 1)
  %28 = load ptr, ptr %2, align 8, !tbaa !5
  tail call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %28, i32 noundef 5, i8 noundef zeroext 1)
  %29 = load ptr, ptr %2, align 8, !tbaa !5
  tail call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %29, i32 noundef 6, i8 noundef zeroext 1)
  %30 = load ptr, ptr %2, align 8, !tbaa !5
  %31 = tail call noundef i32 @_ZN4Jtag8flushTMSEb(ptr noundef nonnull align 8 dereferenceable(193) %30, i1 noundef zeroext true)
  %32 = load ptr, ptr %2, align 8, !tbaa !5
  tail call void @_ZN4Jtag5flushEv(ptr noundef nonnull align 8 dereferenceable(193) %32)
  %33 = load ptr, ptr %2, align 8, !tbaa !5
  tail call void @_ZN4Jtag9set_stateENS_10tapState_tEh(ptr noundef nonnull align 8 dereferenceable(193) %33, i32 noundef 0, i8 noundef zeroext 1)
  %34 = load ptr, ptr %2, align 8, !tbaa !5
  tail call void @_ZN4Jtag9toggleClkEi(ptr noundef nonnull align 8 dereferenceable(193) %34, i32 noundef 5)
  ret i1 true
}

declare void @_ZN4Jtag9toggleClkEi(ptr noundef nonnull align 8 dereferenceable(193), i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Jtag5flushEv(ptr noundef nonnull align 8 dereferenceable(193)) local_unnamed_addr #1 align 2

declare noundef i32 @_ZN4Jtag8flushTMSEb(ptr noundef nonnull align 8 dereferenceable(193), i1 noundef zeroext) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Jtag12setWriteEdgeEN13JtagInterface10tck_edge_tE(ptr noundef nonnull align 8 dereferenceable(193), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Jtag11setReadEdgeEN13JtagInterface10tck_edge_tE(ptr noundef nonnull align 8 dereferenceable(193), i32 noundef) local_unnamed_addr #1 align 2

attributes #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 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" }

!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, !7, i64 8}
!6 = !{!"_ZTS6Device", !7, i64 8, !10, i64 16, !10, i64 48, !13, i64 80, !14, i64 84, !14, i64 85, !14, i64 86}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !11, i64 0, !12, i64 8, !8, i64 16}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !7, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!"_ZTSN6Device9prog_modeE", !8, i64 0}
!14 = !{!"bool", !8, i64 0}
!15 = !{!16, !25, i64 188}
!16 = !{!"_ZTS5Gowin", !6, i64 0, !17, i64 88, !19, i64 144, !19, i64 152, !19, i64 160, !18, i64 168, !14, i64 172, !14, i64 173, !14, i64 174, !14, i64 175, !14, i64 176, !14, i64 177, !14, i64 178, !8, i64 179, !8, i64 180, !8, i64 181, !8, i64 182, !8, i64 183, !25, i64 184, !25, i64 188}
!17 = !{!"_ZTS12SPIInterface", !8, i64 8, !18, i64 12, !14, i64 16, !14, i64 17, !14, i64 18, !10, i64 24}
!18 = !{!"int", !8, i64 0}
!19 = !{!"_ZTSSt10unique_ptrI21ConfigBitstreamParserSt14default_deleteIS0_EE", !20, i64 0}
!20 = !{!"_ZTSSt15__uniq_ptr_dataI21ConfigBitstreamParserSt14default_deleteIS0_ELb1ELb1EE", !21, i64 0}
!21 = !{!"_ZTSSt15__uniq_ptr_implI21ConfigBitstreamParserSt14default_deleteIS0_EE", !22, i64 0}
!22 = !{!"_ZTSSt5tupleIJP21ConfigBitstreamParserSt14default_deleteIS0_EEE", !23, i64 0}
!23 = !{!"_ZTSSt11_Tuple_implILm0EJP21ConfigBitstreamParserSt14default_deleteIS0_EEE", !24, i64 0}
!24 = !{!"_ZTSSt10_Head_baseILm0EP21ConfigBitstreamParserLb0EE", !7, i64 0}
!25 = !{!"_ZTSN13JtagInterface10tck_edge_tE", !8, i64 0}
!26 = !{!16, !25, i64 184}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass