; LLVM IR from hbatagelo/abcg :: abcg/external/glslang/glslang/MachineIndependent (parseConst)

; 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.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.glslang::TConstTraverser" = type { %"class.glslang::TIntermTraverser", i32, %"class.glslang::TConstUnionArray", i32, ptr, i32, i8, i8, i32, i8, i32, i32 }
%"class.glslang::TIntermTraverser" = type { ptr, i8, i8, i8, i8, i32, i32, %"class.glslang::TVector" }
%"class.glslang::TVector" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<TIntermNode *, glslang::pool_allocator<TIntermNode *>>::_Vector_impl" }
%"struct.std::_Vector_base<TIntermNode *, glslang::pool_allocator<TIntermNode *>>::_Vector_impl" = type { %"class.glslang::pool_allocator", %"struct.std::_Vector_base<TIntermNode *, glslang::pool_allocator<TIntermNode *>>::_Vector_impl_data" }
%"class.glslang::pool_allocator" = type { ptr }
%"struct.std::_Vector_base<TIntermNode *, glslang::pool_allocator<TIntermNode *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.glslang::TConstUnionArray" = type { ptr, ptr }

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7glslang15TConstTraverser14visitAggregateENS_6TVisitEPNS_16TIntermAggregateE(ptr noundef nonnull align 8 dereferenceable(120) %0, i32 noundef %1, ptr noundef %2) unnamed_addr #0 align 2 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  %12 = load ptr, ptr %5, align 8
  %13 = load ptr, ptr %7, align 8, !tbaa !5
  %14 = call noundef zeroext i1 @_ZNK7glslang15TIntermOperator13isConstructorEv(ptr noundef nonnull align 8 dereferenceable(184) %13)
  br i1 %14, label %21, label %15

15:                                               ; preds = %3
  %16 = load ptr, ptr %7, align 8, !tbaa !5
  %17 = call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %16)
  %18 = icmp ne i32 %17, 172
  br i1 %18, label %19, label %21

19:                                               ; preds = %15
  %20 = getelementptr inbounds %"class.glslang::TConstTraverser", ptr %12, i32 0, i32 7
  store i8 1, ptr %20, align 1, !tbaa !11
  store i1 false, ptr %4, align 1
  br label %139

21:                                               ; preds = %15, %3
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #5
  %22 = load ptr, ptr %7, align 8, !tbaa !5
  %23 = load ptr, ptr %22, align 8, !tbaa !24
  %24 = getelementptr inbounds ptr, ptr %23, i64 50
  %25 = load ptr, ptr %24, align 8
  %26 = call noundef nonnull align 8 dereferenceable(32) ptr %25(ptr noundef nonnull align 8 dereferenceable(352) %22)
  %27 = call noundef i64 @_ZNKSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %26) #5
  %28 = icmp eq i64 %27, 1
  br i1 %28, label %29, label %46

29:                                               ; preds = %21
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = load ptr, ptr %30, align 8, !tbaa !24
  %32 = getelementptr inbounds ptr, ptr %31, i64 50
  %33 = load ptr, ptr %32, align 8
  %34 = call noundef nonnull align 8 dereferenceable(32) ptr %33(ptr noundef nonnull align 8 dereferenceable(352) %30)
  %35 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %34, i64 noundef 0) #5
  %36 = load ptr, ptr %35, align 8, !tbaa !5
  %37 = load ptr, ptr %36, align 8, !tbaa !24
  %38 = getelementptr inbounds ptr, ptr %37, i64 3
  %39 = load ptr, ptr %38, align 8
  %40 = call noundef ptr %39(ptr noundef nonnull align 8 dereferenceable(32) %36)
  %41 = load ptr, ptr %40, align 8, !tbaa !24
  %42 = getelementptr inbounds ptr, ptr %41, i64 5
  %43 = load ptr, ptr %42, align 8
  %44 = call noundef ptr %43(ptr noundef nonnull align 8 dereferenceable(32) %40)
  %45 = icmp ne ptr %44, null
  br label %46

46:                                               ; preds = %29, %21
  %47 = phi i1 [ false, %21 ], [ %45, %29 ]
  %48 = zext i1 %47 to i8
  store i8 %48, ptr %8, align 1, !tbaa !26
  %49 = load i8, ptr %8, align 1, !tbaa !26, !range !27, !noundef !28
  %50 = trunc i8 %49 to i1
  br i1 %50, label %51, label %95

51:                                               ; preds = %46
  %52 = getelementptr inbounds %"class.glslang::TConstTraverser", ptr %12, i32 0, i32 6
  store i8 1, ptr %52, align 4, !tbaa !29
  %53 = load ptr, ptr %7, align 8, !tbaa !5
  %54 = call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %53)
  %55 = getelementptr inbounds %"class.glslang::TConstTraverser", ptr %12, i32 0, i32 5
  store i32 %54, ptr %55, align 8, !tbaa !30
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = load ptr, ptr %56, align 8, !tbaa !24
  %58 = getelementptr inbounds ptr, ptr %57, i64 30
  %59 = load ptr, ptr %58, align 8
  %60 = call noundef nonnull align 8 dereferenceable(144) ptr %59(ptr noundef nonnull align 8 dereferenceable(176) %56)
  %61 = call noundef i32 @_ZNK7glslang5TType20computeNumComponentsEv(ptr noundef nonnull align 8 dereferenceable(144) %60)
  %62 = getelementptr inbounds %"class.glslang::TConstTraverser", ptr %12, i32 0, i32 8
  store i32 %61, ptr %62, align 8, !tbaa !31
  %63 = load ptr, ptr %7, align 8, !tbaa !5
  %64 = load ptr, ptr %63, align 8, !tbaa !24
  %65 = getelementptr inbounds ptr, ptr %64, i64 30
  %66 = load ptr, ptr %65, align 8
  %67 = call noundef nonnull align 8 dereferenceable(144) ptr %66(ptr noundef nonnull align 8 dereferenceable(176) %63)
  %68 = load ptr, ptr %67, align 8, !tbaa !24
  %69 = getelementptr inbounds ptr, ptr %68, i64 28
  %70 = load ptr, ptr %69, align 8
  %71 = call noundef zeroext i1 %70(ptr noundef nonnull align 8 dereferenceable(144) %67)
  br i1 %71, label %72, label %94

72:                                               ; preds = %51
  %73 = getelementptr inbounds %"class.glslang::TConstTraverser", ptr %12, i32 0, i32 9
  store i8 1, ptr %73, align 4, !tbaa !32
  %74 = load ptr, ptr %7, align 8, !tbaa !5
  %75 = load ptr, ptr %74, align 8, !tbaa !24
  %76 = getelementptr inbounds ptr, ptr %75, i64 30
  %77 = load ptr, ptr %76, align 8
  %78 = call noundef nonnull align 8 dereferenceable(144) ptr %77(ptr noundef nonnull align 8 dereferenceable(176) %74)
  %79 = load ptr, ptr %78, align 8, !tbaa !24
  %80 = getelementptr inbounds ptr, ptr %79, i64 13
  %81 = load ptr, ptr %80, align 8
  %82 = call noundef i32 %81(ptr noundef nonnull align 8 dereferenceable(144) %78)
  %83 = getelementptr inbounds %"class.glslang::TConstTraverser", ptr %12, i32 0, i32 10
  store i32 %82, ptr %83, align 8, !tbaa !33
  %84 = load ptr, ptr %7, align 8, !tbaa !5
  %85 = load ptr, ptr %84, align 8, !tbaa !24
  %86 = getelementptr inbounds ptr, ptr %85, i64 30
  %87 = load ptr, ptr %86, align 8
  %88 = call noundef nonnull align 8 dereferenceable(144) ptr %87(ptr noundef nonnull align 8 dereferenceable(176) %84)
  %89 = load ptr, ptr %88, align 8, !tbaa !24
  %90 = getelementptr inbounds ptr, ptr %89, i64 14
  %91 = load ptr, ptr %90, align 8
  %92 = call noundef i32 %91(ptr noundef nonnull align 8 dereferenceable(144) %88)
  %93 = getelementptr inbounds %"class.glslang::TConstTraverser", ptr %12, i32 0, i32 11
  store i32 %92, ptr %93, align 4, !tbaa !34
  br label %94

94:                                               ; preds = %72, %51
  br label %95

95:                                               ; preds = %94, %46
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  %97 = load ptr, ptr %96, align 8, !tbaa !24
  %98 = getelementptr inbounds ptr, ptr %97, i64 50
  %99 = load ptr, ptr %98, align 8
  %100 = call noundef nonnull align 8 dereferenceable(32) ptr %99(ptr noundef nonnull align 8 dereferenceable(352) %96)
  %101 = call ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %100) #5
  %102 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %9, i32 0, i32 0
  store ptr %101, ptr %102, align 8
  br label %103

103:                                              ; preds = %125, %95
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  %105 = load ptr, ptr %104, align 8, !tbaa !24
  %106 = getelementptr inbounds ptr, ptr %105, i64 50
  %107 = load ptr, ptr %106, align 8
  %108 = call noundef nonnull align 8 dereferenceable(32) ptr %107(ptr noundef nonnull align 8 dereferenceable(352) %104)
  %109 = call ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %108) #5
  %110 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %10, i32 0, i32 0
  store ptr %109, ptr %110, align 8
  %111 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br i1 %111, label %113, label %112

112:                                              ; preds = %103
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %128

113:                                              ; preds = %103
  %114 = load ptr, ptr %7, align 8, !tbaa !5
  %115 = call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %114)
  %116 = icmp eq i32 %115, 172
  br i1 %116, label %117, label %119

117:                                              ; preds = %113
  %118 = getelementptr inbounds %"class.glslang::TConstTraverser", ptr %12, i32 0, i32 1
  store i32 0, ptr %118, align 8, !tbaa !35
  br label %119

119:                                              ; preds = %117, %113
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  %121 = load ptr, ptr %120, align 8, !tbaa !5
  %122 = load ptr, ptr %121, align 8, !tbaa !24
  %123 = getelementptr inbounds ptr, ptr %122, i64 2
  %124 = load ptr, ptr %123, align 8
  call void %124(ptr noundef nonnull align 8 dereferenceable(32) %121, ptr noundef %12)
  br label %125

125:                                              ; preds = %119
  %126 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef 0) #5
  %127 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %11, i32 0, i32 0
  store ptr %126, ptr %127, align 8
  br label %103, !llvm.loop !36

128:                                              ; preds = %112
  %129 = load i8, ptr %8, align 1, !tbaa !26, !range !27, !noundef !28
  %130 = trunc i8 %129 to i1
  br i1 %130, label %131, label %138

131:                                              ; preds = %128
  %132 = getelementptr inbounds %"class.glslang::TConstTraverser", ptr %12, i32 0, i32 6
  store i8 0, ptr %132, align 4, !tbaa !29
  %133 = getelementptr inbounds %"class.glslang::TConstTraverser", ptr %12, i32 0, i32 5
  store i32 0, ptr %133, align 8, !tbaa !30
  %134 = getelementptr inbounds %"class.glslang::TConstTraverser", ptr %12, i32 0, i32 8
  store i32 0, ptr %134, align 8, !tbaa !31
  %135 = getelementptr inbounds %"class.glslang::TConstTraverser", ptr %12, i32 0, i32 9
  store i8 0, ptr %135, align 4, !tbaa !32
  %136 = getelementptr inbounds %"class.glslang::TConstTraverser", ptr %12, i32 0, i32 10
  store i32 0, ptr %136, align 8, !tbaa !33
  %137 = getelementptr inbounds %"class.glslang::TConstTraverser", ptr %12, i32 0, i32 11
  store i32 0, ptr %137, align 4, !tbaa !34
  br label %138

138:                                              ; preds = %131, %128
  store i1 false, ptr %4, align 1
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #5
  br label %139

139:                                              ; preds = %138, %19
  %140 = load i1, ptr %4, align 1
  ret i1 %140
}

declare noundef zeroext i1 @_ZNK7glslang15TIntermOperator13isConstructorEv(ptr noundef nonnull align 8 dereferenceable(184)) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK7glslang5TType20computeNumComponentsEv(ptr noundef nonnull align 8 dereferenceable(144)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

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

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

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

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 = { "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 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint 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 #5 = { 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 = !{!"_ZTSN7glslang6TVisitE", !7, i64 0}
!11 = !{!12, !14, i64 101}
!12 = !{!"_ZTSN7glslang15TConstTraverserE", !13, i64 0, !15, i64 56, !22, i64 64, !23, i64 80, !6, i64 88, !23, i64 96, !14, i64 100, !14, i64 101, !15, i64 104, !14, i64 108, !15, i64 112, !15, i64 116}
!13 = !{!"_ZTSN7glslang16TIntermTraverserE", !14, i64 8, !14, i64 9, !14, i64 10, !14, i64 11, !15, i64 12, !15, i64 16, !16, i64 24}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTSN7glslang7TVectorIP11TIntermNodeEE", !17, i64 0}
!17 = !{!"_ZTSSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE12_Vector_implE", !20, i64 0, !21, i64 8}
!20 = !{!"_ZTSN7glslang14pool_allocatorIP11TIntermNodeEE", !6, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTSN7glslang16TConstUnionArrayE", !6, i64 8}
!23 = !{!"_ZTSN7glslang9TOperatorE", !7, i64 0}
!24 = !{!25, !25, i64 0}
!25 = !{!"vtable pointer", !8, i64 0}
!26 = !{!14, !14, i64 0}
!27 = !{i8 0, i8 2}
!28 = !{}
!29 = !{!12, !14, i64 100}
!30 = !{!12, !23, i64 96}
!31 = !{!12, !15, i64 104}
!32 = !{!12, !14, i64 108}
!33 = !{!12, !15, i64 112}
!34 = !{!12, !15, i64 116}
!35 = !{!12, !15, i64 56}
!36 = distinct !{!36, !37}
!37 = !{!"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"

%"class.__gnu_cxx::__normal_iterator" = type { ptr }

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN7glslang15TConstTraverser14visitAggregateENS_6TVisitEPNS_16TIntermAggregateE(ptr noundef nonnull align 8 dereferenceable(120) %0, i32 noundef %1, ptr noundef nonnull %2) unnamed_addr #0 align 2 {
  %4 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = tail call noundef zeroext i1 @_ZNK7glslang15TIntermOperator13isConstructorEv(ptr noundef nonnull align 8 dereferenceable(184) %2)
  br i1 %6, label %11, label %7

7:                                                ; preds = %3
  %8 = tail call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %2)
  %.not = icmp eq i32 %8, 172
  br i1 %.not, label %11, label %9

9:                                                ; preds = %7
  %10 = getelementptr inbounds i8, ptr %0, i64 101
  store i8 1, ptr %10, align 1, !tbaa !5
  br label %108

11:                                               ; preds = %7, %3
  %12 = load ptr, ptr %2, align 8, !tbaa !21
  %13 = getelementptr inbounds i8, ptr %12, i64 400
  %14 = load ptr, ptr %13, align 8
  %15 = tail call noundef nonnull align 8 dereferenceable(32) ptr %14(ptr noundef nonnull align 8 dereferenceable(352) %2)
  %16 = tail call noundef i64 @_ZNKSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %15) #5
  %17 = icmp eq i64 %16, 1
  br i1 %17, label %18, label %.thread

18:                                               ; preds = %11
  %19 = load ptr, ptr %2, align 8, !tbaa !21
  %20 = getelementptr inbounds i8, ptr %19, i64 400
  %21 = load ptr, ptr %20, align 8
  %22 = tail call noundef nonnull align 8 dereferenceable(32) ptr %21(ptr noundef nonnull align 8 dereferenceable(352) %2)
  %23 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %22, i64 noundef 0) #5
  %24 = load ptr, ptr %23, align 8, !tbaa !23
  %25 = load ptr, ptr %24, align 8, !tbaa !21
  %26 = getelementptr inbounds i8, ptr %25, i64 24
  %27 = load ptr, ptr %26, align 8
  %28 = tail call noundef ptr %27(ptr noundef nonnull align 8 dereferenceable(32) %24)
  %29 = load ptr, ptr %28, align 8, !tbaa !21
  %30 = getelementptr inbounds i8, ptr %29, i64 40
  %31 = load ptr, ptr %30, align 8
  %32 = tail call noundef ptr %31(ptr noundef nonnull align 8 dereferenceable(32) %28)
  %.not15 = icmp eq ptr %32, null
  br i1 %.not15, label %.thread, label %33

33:                                               ; preds = %18
  %34 = getelementptr inbounds i8, ptr %0, i64 100
  store i8 1, ptr %34, align 4, !tbaa !24
  %35 = tail call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %2)
  %36 = getelementptr inbounds i8, ptr %0, i64 96
  store i32 %35, ptr %36, align 8, !tbaa !25
  %37 = load ptr, ptr %2, align 8, !tbaa !21
  %38 = getelementptr inbounds i8, ptr %37, i64 240
  %39 = load ptr, ptr %38, align 8
  %40 = tail call noundef nonnull align 8 dereferenceable(144) ptr %39(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %41 = tail call noundef i32 @_ZNK7glslang5TType20computeNumComponentsEv(ptr noundef nonnull align 8 dereferenceable(144) %40)
  %42 = getelementptr inbounds i8, ptr %0, i64 104
  store i32 %41, ptr %42, align 8, !tbaa !26
  %43 = load ptr, ptr %2, align 8, !tbaa !21
  %44 = getelementptr inbounds i8, ptr %43, i64 240
  %45 = load ptr, ptr %44, align 8
  %46 = tail call noundef nonnull align 8 dereferenceable(144) ptr %45(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %47 = load ptr, ptr %46, align 8, !tbaa !21
  %48 = getelementptr inbounds i8, ptr %47, i64 224
  %49 = load ptr, ptr %48, align 8
  %50 = tail call noundef zeroext i1 %49(ptr noundef nonnull align 8 dereferenceable(144) %46)
  br i1 %50, label %51, label %.thread

51:                                               ; preds = %33
  %52 = getelementptr inbounds i8, ptr %0, i64 108
  store i8 1, ptr %52, align 4, !tbaa !27
  %53 = load ptr, ptr %2, align 8, !tbaa !21
  %54 = getelementptr inbounds i8, ptr %53, i64 240
  %55 = load ptr, ptr %54, align 8
  %56 = tail call noundef nonnull align 8 dereferenceable(144) ptr %55(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %57 = load ptr, ptr %56, align 8, !tbaa !21
  %58 = getelementptr inbounds i8, ptr %57, i64 104
  %59 = load ptr, ptr %58, align 8
  %60 = tail call noundef i32 %59(ptr noundef nonnull align 8 dereferenceable(144) %56)
  %61 = getelementptr inbounds i8, ptr %0, i64 112
  store i32 %60, ptr %61, align 8, !tbaa !28
  %62 = load ptr, ptr %2, align 8, !tbaa !21
  %63 = getelementptr inbounds i8, ptr %62, i64 240
  %64 = load ptr, ptr %63, align 8
  %65 = tail call noundef nonnull align 8 dereferenceable(144) ptr %64(ptr noundef nonnull align 8 dereferenceable(176) %2)
  %66 = load ptr, ptr %65, align 8, !tbaa !21
  %67 = getelementptr inbounds i8, ptr %66, i64 112
  %68 = load ptr, ptr %67, align 8
  %69 = tail call noundef i32 %68(ptr noundef nonnull align 8 dereferenceable(144) %65)
  %70 = getelementptr inbounds i8, ptr %0, i64 116
  store i32 %69, ptr %70, align 4, !tbaa !29
  br label %.thread

.thread:                                          ; preds = %11, %33, %51, %18
  %71 = phi i1 [ true, %33 ], [ true, %51 ], [ false, %18 ], [ false, %11 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  %72 = load ptr, ptr %2, align 8, !tbaa !21
  %73 = getelementptr inbounds i8, ptr %72, i64 400
  %74 = load ptr, ptr %73, align 8
  %75 = tail call noundef nonnull align 8 dereferenceable(32) ptr %74(ptr noundef nonnull align 8 dereferenceable(352) %2)
  %76 = tail call ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %75) #5
  store ptr %76, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %77 = load ptr, ptr %2, align 8, !tbaa !21
  %78 = getelementptr inbounds i8, ptr %77, i64 400
  %79 = load ptr, ptr %78, align 8
  %80 = tail call noundef nonnull align 8 dereferenceable(32) ptr %79(ptr noundef nonnull align 8 dereferenceable(352) %2)
  %81 = tail call ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %80) #5
  store ptr %81, ptr %5, align 8
  %82 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br i1 %82, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.thread
  %83 = getelementptr inbounds i8, ptr %0, i64 56
  br label %84

._crit_edge:                                      ; preds = %88, %.thread
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  br i1 %71, label %101, label %108

84:                                               ; preds = %.lr.ph, %88
  %85 = call noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184) %2)
  %86 = icmp eq i32 %85, 172
  br i1 %86, label %87, label %88

87:                                               ; preds = %84
  store i32 0, ptr %83, align 8, !tbaa !30
  br label %88

88:                                               ; preds = %87, %84
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  %90 = load ptr, ptr %89, align 8, !tbaa !23
  %91 = load ptr, ptr %90, align 8, !tbaa !21
  %92 = getelementptr inbounds i8, ptr %91, i64 16
  %93 = load ptr, ptr %92, align 8
  call void %93(ptr noundef nonnull align 8 dereferenceable(32) %90, ptr noundef nonnull %0)
  %94 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %95 = load ptr, ptr %2, align 8, !tbaa !21
  %96 = getelementptr inbounds i8, ptr %95, i64 400
  %97 = load ptr, ptr %96, align 8
  %98 = call noundef nonnull align 8 dereferenceable(32) ptr %97(ptr noundef nonnull align 8 dereferenceable(352) %2)
  %99 = call ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %98) #5
  store ptr %99, ptr %5, align 8
  %100 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br i1 %100, label %84, label %._crit_edge, !llvm.loop !31

101:                                              ; preds = %._crit_edge
  %102 = getelementptr inbounds i8, ptr %0, i64 100
  store i8 0, ptr %102, align 4, !tbaa !24
  %103 = getelementptr inbounds i8, ptr %0, i64 96
  store i32 0, ptr %103, align 8, !tbaa !25
  %104 = getelementptr inbounds i8, ptr %0, i64 104
  store i32 0, ptr %104, align 8, !tbaa !26
  %105 = getelementptr inbounds i8, ptr %0, i64 108
  store i8 0, ptr %105, align 4, !tbaa !27
  %106 = getelementptr inbounds i8, ptr %0, i64 112
  store i32 0, ptr %106, align 8, !tbaa !28
  %107 = getelementptr inbounds i8, ptr %0, i64 116
  store i32 0, ptr %107, align 4, !tbaa !29
  br label %108

108:                                              ; preds = %._crit_edge, %101, %9
  ret i1 false
}

declare noundef zeroext i1 @_ZNK7glslang15TIntermOperator13isConstructorEv(ptr noundef nonnull align 8 dereferenceable(184)) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7glslang15TIntermOperator5getOpEv(ptr noundef nonnull align 8 dereferenceable(184)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK7glslang5TType20computeNumComponentsEv(ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPP11TIntermNodeSt6vectorIS2_N7glslang14pool_allocatorIS2_EEEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(32)) 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) #3

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

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

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 = { "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 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint 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 #5 = { 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, !8, i64 101}
!6 = !{!"_ZTSN7glslang15TConstTraverserE", !7, i64 0, !11, i64 56, !19, i64 64, !20, i64 80, !17, i64 88, !20, i64 96, !8, i64 100, !8, i64 101, !11, i64 104, !8, i64 108, !11, i64 112, !11, i64 116}
!7 = !{!"_ZTSN7glslang16TIntermTraverserE", !8, i64 8, !8, i64 9, !8, i64 10, !8, i64 11, !11, i64 12, !11, i64 16, !12, i64 24}
!8 = !{!"bool", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"_ZTSN7glslang7TVectorIP11TIntermNodeEE", !13, i64 0}
!13 = !{!"_ZTSSt6vectorIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE12_Vector_implE", !16, i64 0, !18, i64 8}
!16 = !{!"_ZTSN7glslang14pool_allocatorIP11TIntermNodeEE", !17, i64 0}
!17 = !{!"any pointer", !9, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIP11TIntermNodeN7glslang14pool_allocatorIS1_EEE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!19 = !{!"_ZTSN7glslang16TConstUnionArrayE", !17, i64 8}
!20 = !{!"_ZTSN7glslang9TOperatorE", !9, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"vtable pointer", !10, i64 0}
!23 = !{!17, !17, i64 0}
!24 = !{!6, !8, i64 100}
!25 = !{!6, !20, i64 96}
!26 = !{!6, !11, i64 104}
!27 = !{!6, !8, i64 108}
!28 = !{!6, !11, i64 112}
!29 = !{!6, !11, i64 116}
!30 = !{!6, !11, i64 56}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass