; LLVM IR from facebook/redex :: libredex/Resolver.ll (Z13resolve_fieldPK7DexTypePK9DexStringS1_11FieldSearch)

; 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.anon = type { ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.43" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.42" = 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 noundef ptr @_Z10type_classPK7DexType(ptr noundef) #1

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_Z13resolve_fieldPK7DexTypePK9DexStringS1_11FieldSearch(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #4 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %class.anon, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.43", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.43", align 8
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.43", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.43", align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.42", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.42", align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store i32 %3, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #6
  %26 = getelementptr inbounds %class.anon, ptr %10, i32 0, i32 0
  store ptr %7, ptr %26, align 8, !tbaa !5
  %27 = getelementptr inbounds %class.anon, ptr %10, i32 0, i32 1
  store ptr %8, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = call noundef ptr @_Z10type_classPK7DexType(ptr noundef %28)
  store ptr %29, ptr %11, align 8, !tbaa !5
  br label %30

30:                                               ; preds = %136, %4
  %31 = load ptr, ptr %11, align 8, !tbaa !5
  %32 = icmp ne ptr %31, null
  br i1 %32, label %33, label %140

33:                                               ; preds = %30
  %34 = load i32, ptr %9, align 4, !tbaa !9
  %35 = icmp eq i32 %34, 1
  br i1 %35, label %39, label %36

36:                                               ; preds = %33
  %37 = load i32, ptr %9, align 4, !tbaa !9
  %38 = icmp eq i32 %37, 2
  br i1 %38, label %39, label %67

39:                                               ; preds = %36, %33
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %40 = load ptr, ptr %11, align 8, !tbaa !5
  %41 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK8DexClass11get_ifieldsEv(ptr noundef nonnull align 8 dereferenceable(176) %40)
  store ptr %41, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %42 = load ptr, ptr %12, align 8, !tbaa !5
  %43 = call ptr @_ZNKSt6vectorIP8DexFieldSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #6
  %44 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.43", ptr %13, i32 0, i32 0
  store ptr %43, ptr %44, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %45 = load ptr, ptr %12, align 8, !tbaa !5
  %46 = call ptr @_ZNKSt6vectorIP8DexFieldSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #6
  %47 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.43", ptr %14, i32 0, i32 0
  store ptr %46, ptr %47, align 8
  br label %48

48:                                               ; preds = %62, %39
  %49 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP8DexFieldSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  br i1 %49, label %51, label %50

50:                                               ; preds = %48
  store i32 4, ptr %15, align 4
  br label %64

51:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKP8DexFieldSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %53 = load ptr, ptr %52, align 8, !tbaa !5
  store ptr %53, ptr %16, align 8, !tbaa !5
  %54 = load ptr, ptr %16, align 8, !tbaa !5
  %55 = call noundef zeroext i1 @"_ZZ13resolve_fieldPK7DexTypePK9DexStringS1_11FieldSearchENK3$_0clEPK8DexField"(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef %54)
  br i1 %55, label %56, label %58

56:                                               ; preds = %51
  %57 = load ptr, ptr %16, align 8, !tbaa !5
  store ptr %57, ptr %5, align 8
  store i32 1, ptr %15, align 4
  br label %59

58:                                               ; preds = %51
  store i32 0, ptr %15, align 4
  br label %59

59:                                               ; preds = %58, %56
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  %60 = load i32, ptr %15, align 4
  switch i32 %60, label %64 [
    i32 0, label %61
  ]

61:                                               ; preds = %59
  br label %62

62:                                               ; preds = %61
  %63 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKP8DexFieldSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br label %48

64:                                               ; preds = %59, %50
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  %65 = load i32, ptr %15, align 4
  switch i32 %65, label %141 [
    i32 4, label %66
  ]

66:                                               ; preds = %64
  br label %67

67:                                               ; preds = %66, %36
  %68 = load i32, ptr %9, align 4, !tbaa !9
  %69 = icmp eq i32 %68, 0
  br i1 %69, label %73, label %70

70:                                               ; preds = %67
  %71 = load i32, ptr %9, align 4, !tbaa !9
  %72 = icmp eq i32 %71, 2
  br i1 %72, label %73, label %136

73:                                               ; preds = %70, %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %74 = load ptr, ptr %11, align 8, !tbaa !5
  %75 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK8DexClass11get_sfieldsEv(ptr noundef nonnull align 8 dereferenceable(176) %74)
  store ptr %75, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %76 = load ptr, ptr %17, align 8, !tbaa !5
  %77 = call ptr @_ZNKSt6vectorIP8DexFieldSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %76) #6
  %78 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.43", ptr %18, i32 0, i32 0
  store ptr %77, ptr %78, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %79 = load ptr, ptr %17, align 8, !tbaa !5
  %80 = call ptr @_ZNKSt6vectorIP8DexFieldSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %79) #6
  %81 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.43", ptr %19, i32 0, i32 0
  store ptr %80, ptr %81, align 8
  br label %82

82:                                               ; preds = %96, %73
  %83 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP8DexFieldSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  br i1 %83, label %85, label %84

84:                                               ; preds = %82
  store i32 6, ptr %15, align 4
  br label %98

85:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %86 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKP8DexFieldSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  %87 = load ptr, ptr %86, align 8, !tbaa !5
  store ptr %87, ptr %20, align 8, !tbaa !5
  %88 = load ptr, ptr %20, align 8, !tbaa !5
  %89 = call noundef zeroext i1 @"_ZZ13resolve_fieldPK7DexTypePK9DexStringS1_11FieldSearchENK3$_0clEPK8DexField"(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef %88)
  br i1 %89, label %90, label %92

90:                                               ; preds = %85
  %91 = load ptr, ptr %20, align 8, !tbaa !5
  store ptr %91, ptr %5, align 8
  store i32 1, ptr %15, align 4
  br label %93

92:                                               ; preds = %85
  store i32 0, ptr %15, align 4
  br label %93

93:                                               ; preds = %92, %90
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  %94 = load i32, ptr %15, align 4
  switch i32 %94, label %98 [
    i32 0, label %95
  ]

95:                                               ; preds = %93
  br label %96

96:                                               ; preds = %95
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKP8DexFieldSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  br label %82

98:                                               ; preds = %93, %84
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  %99 = load i32, ptr %15, align 4
  switch i32 %99, label %141 [
    i32 6, label %100
  ]

100:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %101 = load ptr, ptr %11, align 8, !tbaa !5
  %102 = call noundef ptr @_ZNK8DexClass14get_interfacesEv(ptr noundef nonnull align 8 dereferenceable(176) %101)
  store ptr %102, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %103 = load ptr, ptr %21, align 8, !tbaa !5
  %104 = call ptr @_ZNK11DexTypeList5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %103)
  %105 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.42", ptr %22, i32 0, i32 0
  store ptr %104, ptr %105, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %106 = load ptr, ptr %21, align 8, !tbaa !5
  %107 = call ptr @_ZNK11DexTypeList3endEv(ptr noundef nonnull align 8 dereferenceable(24) %106)
  %108 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.42", ptr %23, i32 0, i32 0
  store ptr %107, ptr %108, align 8
  br label %109

109:                                              ; preds = %131, %100
  %110 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP7DexTypeSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  br i1 %110, label %112, label %111

111:                                              ; preds = %109
  store i32 8, ptr %15, align 4
  br label %133

112:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKP7DexTypeSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #6
  store ptr %113, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %114 = load ptr, ptr %24, align 8, !tbaa !5
  %115 = load ptr, ptr %114, align 8, !tbaa !5
  %116 = load ptr, ptr %7, align 8, !tbaa !5
  %117 = load ptr, ptr %8, align 8, !tbaa !5
  %118 = load i32, ptr %9, align 4, !tbaa !9
  %119 = call noundef ptr @_Z13resolve_fieldPK7DexTypePK9DexStringS1_11FieldSearch(ptr noundef %115, ptr noundef %116, ptr noundef %117, i32 noundef %118)
  store ptr %119, ptr %25, align 8, !tbaa !5
  %120 = load ptr, ptr %25, align 8, !tbaa !5
  %121 = icmp ne ptr %120, null
  br i1 %121, label %122, label %124

122:                                              ; preds = %112
  %123 = load ptr, ptr %25, align 8, !tbaa !5
  store ptr %123, ptr %5, align 8
  store i32 1, ptr %15, align 4
  br label %125

124:                                              ; preds = %112
  store i32 0, ptr %15, align 4
  br label %125

125:                                              ; preds = %124, %122
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  %126 = load i32, ptr %15, align 4
  switch i32 %126, label %128 [
    i32 0, label %127
  ]

127:                                              ; preds = %125
  store i32 0, ptr %15, align 4
  br label %128

128:                                              ; preds = %127, %125
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  %129 = load i32, ptr %15, align 4
  switch i32 %129, label %133 [
    i32 0, label %130
  ]

130:                                              ; preds = %128
  br label %131

131:                                              ; preds = %130
  %132 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKP7DexTypeSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #6
  br label %109

133:                                              ; preds = %128, %111
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  %134 = load i32, ptr %15, align 4
  switch i32 %134, label %141 [
    i32 8, label %135
  ]

135:                                              ; preds = %133
  br label %136

136:                                              ; preds = %135, %70
  %137 = load ptr, ptr %11, align 8, !tbaa !5
  %138 = call noundef ptr @_ZNK8DexClass15get_super_classEv(ptr noundef nonnull align 8 dereferenceable(176) %137)
  %139 = call noundef ptr @_Z10type_classPK7DexType(ptr noundef %138)
  store ptr %139, ptr %11, align 8, !tbaa !5
  br label %30, !llvm.loop !11

140:                                              ; preds = %30
  store ptr null, ptr %5, align 8
  store i32 1, ptr %15, align 4
  br label %141

141:                                              ; preds = %140, %133, %98, %64
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #6
  %142 = load ptr, ptr %5, align 8
  ret ptr %142
}

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @"_ZZ13resolve_fieldPK7DexTypePK9DexStringS1_11FieldSearchENK3$_0clEPK8DexField"(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) #5 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK8DexClass11get_sfieldsEv(ptr noundef nonnull align 8 dereferenceable(176)) #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 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 = { 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 #4 = { 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 #5 = { inlinehint 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 #6 = { 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 = !{!"_ZTS11FieldSearch", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"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.anon = type { ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.43" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.42" = type { ptr }

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

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

declare noundef ptr @_Z10type_classPK7DexType(ptr noundef) local_unnamed_addr #1

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_Z13resolve_fieldPK7DexTypePK9DexStringS1_11FieldSearch(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #4 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %class.anon, align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.43", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.43", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.43", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.43", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.42", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.42", align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  store ptr %5, ptr %7, align 8, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %7, i64 8
  store ptr %6, ptr %14, align 8, !tbaa !5
  %15 = call noundef ptr @_Z10type_classPK7DexType(ptr noundef %0)
  %.not62 = icmp eq ptr %15, null
  br i1 %.not62, label %.loopexit, label %.lr.ph65

.lr.ph65:                                         ; preds = %4
  %16 = add i32 %3, -1
  %or.cond = icmp ult i32 %16, 2
  %17 = and i32 %3, -3
  %or.cond9 = icmp eq i32 %17, 0
  br i1 %or.cond9, label %.lr.ph65.split.us, label %.lr.ph65.split

.lr.ph65.split.us:                                ; preds = %.lr.ph65, %._crit_edge61.us
  %.04063.us = phi ptr [ %33, %._crit_edge61.us ], [ %15, %.lr.ph65 ]
  br i1 %or.cond, label %18, label %23

18:                                               ; preds = %.lr.ph65.split.us
  %19 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK8DexClass11get_ifieldsEv(ptr noundef nonnull align 8 dereferenceable(176) %.04063.us)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %20 = call ptr @_ZNKSt6vectorIP8DexFieldSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  store ptr %20, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %21 = call ptr @_ZNKSt6vectorIP8DexFieldSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  store ptr %21, ptr %9, align 8
  %22 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP8DexFieldSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br i1 %22, label %.lr.ph.us, label %._crit_edge.us

._crit_edge.us:                                   ; preds = %51, %18
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  br label %23

23:                                               ; preds = %._crit_edge.us, %.lr.ph65.split.us
  %24 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK8DexClass11get_sfieldsEv(ptr noundef nonnull align 8 dereferenceable(176) %.04063.us)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %25 = call ptr @_ZNKSt6vectorIP8DexFieldSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #6
  store ptr %25, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %26 = call ptr @_ZNKSt6vectorIP8DexFieldSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #6
  store ptr %26, ptr %11, align 8
  %27 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP8DexFieldSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br i1 %27, label %.lr.ph57.us, label %._crit_edge58.us

._crit_edge58.us:                                 ; preds = %45, %23
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  %28 = call noundef ptr @_ZNK8DexClass14get_interfacesEv(ptr noundef nonnull align 8 dereferenceable(176) %.04063.us)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %29 = call ptr @_ZNK11DexTypeList5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %28)
  store ptr %29, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %30 = call ptr @_ZNK11DexTypeList3endEv(ptr noundef nonnull align 8 dereferenceable(24) %28)
  store ptr %30, ptr %13, align 8
  %31 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP7DexTypeSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br i1 %31, label %.lr.ph60.us, label %._crit_edge61.us

._crit_edge61.us:                                 ; preds = %39, %._crit_edge58.us
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  %32 = call noundef ptr @_ZNK8DexClass15get_super_classEv(ptr noundef nonnull align 8 dereferenceable(176) %.04063.us)
  %33 = call noundef ptr @_Z10type_classPK7DexType(ptr noundef %32)
  %.not.us = icmp eq ptr %33, null
  br i1 %.not.us, label %.loopexit, label %.lr.ph65.split.us, !llvm.loop !9

.lr.ph60.us:                                      ; preds = %._crit_edge58.us, %39
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKP7DexTypeSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  %35 = load ptr, ptr %34, align 8, !tbaa !5
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = call noundef ptr @_Z13resolve_fieldPK7DexTypePK9DexStringS1_11FieldSearch(ptr noundef %35, ptr noundef %36, ptr noundef %37, i32 noundef %3)
  %.not48.us = icmp eq ptr %38, null
  br i1 %.not48.us, label %39, label %.thread52

39:                                               ; preds = %.lr.ph60.us
  %40 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKP7DexTypeSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  %41 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP7DexTypeSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br i1 %41, label %.lr.ph60.us, label %._crit_edge61.us

.lr.ph57.us:                                      ; preds = %23, %45
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKP8DexFieldSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %43 = load ptr, ptr %42, align 8, !tbaa !5
  %44 = call noundef zeroext i1 @"_ZZ13resolve_fieldPK7DexTypePK9DexStringS1_11FieldSearchENK3$_0clEPK8DexField"(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef %43)
  br i1 %44, label %.thread50, label %45

45:                                               ; preds = %.lr.ph57.us
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKP8DexFieldSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %47 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP8DexFieldSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br i1 %47, label %.lr.ph57.us, label %._crit_edge58.us

.lr.ph.us:                                        ; preds = %18, %51
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKP8DexFieldSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %49 = load ptr, ptr %48, align 8, !tbaa !5
  %50 = call noundef zeroext i1 @"_ZZ13resolve_fieldPK7DexTypePK9DexStringS1_11FieldSearchENK3$_0clEPK8DexField"(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef %49)
  br i1 %50, label %.thread, label %51

51:                                               ; preds = %.lr.ph.us
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKP8DexFieldSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %53 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP8DexFieldSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br i1 %53, label %.lr.ph.us, label %._crit_edge.us

.lr.ph65.split:                                   ; preds = %.lr.ph65
  br i1 %or.cond, label %.lr.ph65.split.split.us, label %.lr.ph65.split.split

.lr.ph65.split.split.us:                          ; preds = %.lr.ph65.split, %._crit_edge.us71
  %.04063.us68 = phi ptr [ %59, %._crit_edge.us71 ], [ %15, %.lr.ph65.split ]
  %54 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK8DexClass11get_ifieldsEv(ptr noundef nonnull align 8 dereferenceable(176) %.04063.us68)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %55 = call ptr @_ZNKSt6vectorIP8DexFieldSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %54) #6
  store ptr %55, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %56 = call ptr @_ZNKSt6vectorIP8DexFieldSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %54) #6
  store ptr %56, ptr %9, align 8
  %57 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP8DexFieldSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br i1 %57, label %.lr.ph.us70, label %._crit_edge.us71

._crit_edge.us71:                                 ; preds = %63, %.lr.ph65.split.split.us
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  %58 = call noundef ptr @_ZNK8DexClass15get_super_classEv(ptr noundef nonnull align 8 dereferenceable(176) %.04063.us68)
  %59 = call noundef ptr @_Z10type_classPK7DexType(ptr noundef %58)
  %.not.us69 = icmp eq ptr %59, null
  br i1 %.not.us69, label %.loopexit, label %.lr.ph65.split.split.us, !llvm.loop !9

.lr.ph.us70:                                      ; preds = %.lr.ph65.split.split.us, %63
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKP8DexFieldSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %61 = load ptr, ptr %60, align 8, !tbaa !5
  %62 = call noundef zeroext i1 @"_ZZ13resolve_fieldPK7DexTypePK9DexStringS1_11FieldSearchENK3$_0clEPK8DexField"(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef %61)
  br i1 %62, label %.thread, label %63

63:                                               ; preds = %.lr.ph.us70
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKP8DexFieldSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %65 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP8DexFieldSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br i1 %65, label %.lr.ph.us70, label %._crit_edge.us71

.lr.ph65.split.split:                             ; preds = %.lr.ph65.split, %.lr.ph65.split.split
  %.04063 = phi ptr [ %67, %.lr.ph65.split.split ], [ %15, %.lr.ph65.split ]
  %66 = call noundef ptr @_ZNK8DexClass15get_super_classEv(ptr noundef nonnull align 8 dereferenceable(176) %.04063)
  %67 = call noundef ptr @_Z10type_classPK7DexType(ptr noundef %66)
  %.not = icmp eq ptr %67, null
  br i1 %.not, label %.loopexit, label %.lr.ph65.split.split, !llvm.loop !9

.thread:                                          ; preds = %.lr.ph.us70, %.lr.ph.us
  %.us-phi67 = phi ptr [ %49, %.lr.ph.us ], [ %61, %.lr.ph.us70 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  br label %.loopexit

.thread50:                                        ; preds = %.lr.ph57.us
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %.loopexit

.thread52:                                        ; preds = %.lr.ph60.us
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph65.split.split, %._crit_edge.us71, %._crit_edge61.us, %4, %.thread52, %.thread50, %.thread
  %.12 = phi ptr [ %.us-phi67, %.thread ], [ %43, %.thread50 ], [ %38, %.thread52 ], [ null, %4 ], [ null, %._crit_edge61.us ], [ null, %._crit_edge.us71 ], [ null, %.lr.ph65.split.split ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  ret ptr %.12
}

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @"_ZZ13resolve_fieldPK7DexTypePK9DexStringS1_11FieldSearchENK3$_0clEPK8DexField"(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #5 align 2

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

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

attributes #0 = { mustprogress 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 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 = { 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 #4 = { 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 #5 = { inlinehint 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 #6 = { 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass