; LLVM IR from AF-GRILL/DISPluginForUnreal :: Source/ThirdParty/include/dis6/GriddedDataPdu.ll (ZNK3DIS14GriddedDataPdueqERKS0_)

; 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.DIS::GriddedDataPdu" = type { %"class.DIS::SyntheticEnvironmentFamilyPdu.base", [4 x i8], %"class.DIS::EntityID", i16, i16, i16, i16, i8, i8, %"class.DIS::EntityType", %"class.DIS::Orientation", i64, i32, i8, i16, i8, %"class.std::vector" }
%"class.DIS::SyntheticEnvironmentFamilyPdu.base" = type { %"class.DIS::Pdu.base" }
%"class.DIS::Pdu.base" = type <{ ptr, i8, i8, i8, i8, i32, i16, i16 }>
%"class.DIS::EntityID" = type <{ ptr, i16, i16, i16, [2 x i8] }>
%"class.DIS::EntityType" = type { ptr, i8, i8, i16, i8, i8, i8, i8 }
%"class.DIS::Orientation" = type <{ ptr, float, float, float, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<DIS::GridAxisRecord, std::allocator<DIS::GridAxisRecord>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::GridAxisRecord, std::allocator<DIS::GridAxisRecord>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::GridAxisRecord, std::allocator<DIS::GridAxisRecord>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::GridAxisRecord, std::allocator<DIS::GridAxisRecord>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZNKSt6vectorIN3DIS14GridAxisRecordESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK3DIS14GriddedDataPdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(144) %0, ptr noundef nonnull align 8 dereferenceable(144) %1) #2 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i8, align 1
  %6 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %7 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #4
  store i8 1, ptr %5, align 1, !tbaa !9
  %8 = load ptr, ptr %4, align 8, !tbaa !5
  %9 = call noundef zeroext i1 @_ZNK3DIS29SyntheticEnvironmentFamilyPdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %7, ptr noundef nonnull align 8 dereferenceable(20) %8)
  %10 = zext i1 %9 to i8
  store i8 %10, ptr %5, align 1, !tbaa !9
  %11 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %7, i32 0, i32 2
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %12, i32 0, i32 2
  %14 = call noundef zeroext i1 @_ZNK3DIS8EntityIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(14) %11, ptr noundef nonnull align 8 dereferenceable(14) %13)
  br i1 %14, label %16, label %15

15:                                               ; preds = %2
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %16

16:                                               ; preds = %15, %2
  %17 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %7, i32 0, i32 3
  %18 = load i16, ptr %17, align 8, !tbaa !11
  %19 = zext i16 %18 to i32
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %20, i32 0, i32 3
  %22 = load i16, ptr %21, align 8, !tbaa !11
  %23 = zext i16 %22 to i32
  %24 = icmp eq i32 %19, %23
  br i1 %24, label %26, label %25

25:                                               ; preds = %16
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %26

26:                                               ; preds = %25, %16
  %27 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %7, i32 0, i32 4
  %28 = load i16, ptr %27, align 2, !tbaa !26
  %29 = zext i16 %28 to i32
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %30, i32 0, i32 4
  %32 = load i16, ptr %31, align 2, !tbaa !26
  %33 = zext i16 %32 to i32
  %34 = icmp eq i32 %29, %33
  br i1 %34, label %36, label %35

35:                                               ; preds = %26
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %36

36:                                               ; preds = %35, %26
  %37 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %7, i32 0, i32 5
  %38 = load i16, ptr %37, align 4, !tbaa !27
  %39 = zext i16 %38 to i32
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %40, i32 0, i32 5
  %42 = load i16, ptr %41, align 4, !tbaa !27
  %43 = zext i16 %42 to i32
  %44 = icmp eq i32 %39, %43
  br i1 %44, label %46, label %45

45:                                               ; preds = %36
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %46

46:                                               ; preds = %45, %36
  %47 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %7, i32 0, i32 6
  %48 = load i16, ptr %47, align 2, !tbaa !28
  %49 = zext i16 %48 to i32
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %50, i32 0, i32 6
  %52 = load i16, ptr %51, align 2, !tbaa !28
  %53 = zext i16 %52 to i32
  %54 = icmp eq i32 %49, %53
  br i1 %54, label %56, label %55

55:                                               ; preds = %46
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %56

56:                                               ; preds = %55, %46
  %57 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %7, i32 0, i32 8
  %58 = load i8, ptr %57, align 1, !tbaa !29
  %59 = zext i8 %58 to i32
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %60, i32 0, i32 8
  %62 = load i8, ptr %61, align 1, !tbaa !29
  %63 = zext i8 %62 to i32
  %64 = icmp eq i32 %59, %63
  br i1 %64, label %66, label %65

65:                                               ; preds = %56
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %66

66:                                               ; preds = %65, %56
  %67 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %7, i32 0, i32 9
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %68, i32 0, i32 9
  %70 = call noundef zeroext i1 @_ZNK3DIS10EntityTypeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %67, ptr noundef nonnull align 8 dereferenceable(16) %69)
  br i1 %70, label %72, label %71

71:                                               ; preds = %66
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %72

72:                                               ; preds = %71, %66
  %73 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %7, i32 0, i32 10
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %74, i32 0, i32 10
  %76 = call noundef zeroext i1 @_ZNK3DIS11OrientationeqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %73, ptr noundef nonnull align 8 dereferenceable(20) %75)
  br i1 %76, label %78, label %77

77:                                               ; preds = %72
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %78

78:                                               ; preds = %77, %72
  %79 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %7, i32 0, i32 11
  %80 = load i64, ptr %79, align 8, !tbaa !30
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %81, i32 0, i32 11
  %83 = load i64, ptr %82, align 8, !tbaa !30
  %84 = icmp eq i64 %80, %83
  br i1 %84, label %86, label %85

85:                                               ; preds = %78
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %86

86:                                               ; preds = %85, %78
  %87 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %7, i32 0, i32 12
  %88 = load i32, ptr %87, align 8, !tbaa !31
  %89 = load ptr, ptr %4, align 8, !tbaa !5
  %90 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %89, i32 0, i32 12
  %91 = load i32, ptr %90, align 8, !tbaa !31
  %92 = icmp eq i32 %88, %91
  br i1 %92, label %94, label %93

93:                                               ; preds = %86
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %94

94:                                               ; preds = %93, %86
  %95 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %7, i32 0, i32 13
  %96 = load i8, ptr %95, align 4, !tbaa !32
  %97 = zext i8 %96 to i32
  %98 = load ptr, ptr %4, align 8, !tbaa !5
  %99 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %98, i32 0, i32 13
  %100 = load i8, ptr %99, align 4, !tbaa !32
  %101 = zext i8 %100 to i32
  %102 = icmp eq i32 %97, %101
  br i1 %102, label %104, label %103

103:                                              ; preds = %94
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %104

104:                                              ; preds = %103, %94
  %105 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %7, i32 0, i32 14
  %106 = load i16, ptr %105, align 2, !tbaa !33
  %107 = zext i16 %106 to i32
  %108 = load ptr, ptr %4, align 8, !tbaa !5
  %109 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %108, i32 0, i32 14
  %110 = load i16, ptr %109, align 2, !tbaa !33
  %111 = zext i16 %110 to i32
  %112 = icmp eq i32 %107, %111
  br i1 %112, label %114, label %113

113:                                              ; preds = %104
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %114

114:                                              ; preds = %113, %104
  %115 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %7, i32 0, i32 15
  %116 = load i8, ptr %115, align 8, !tbaa !34
  %117 = zext i8 %116 to i32
  %118 = load ptr, ptr %4, align 8, !tbaa !5
  %119 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %118, i32 0, i32 15
  %120 = load i8, ptr %119, align 8, !tbaa !34
  %121 = zext i8 %120 to i32
  %122 = icmp eq i32 %117, %121
  br i1 %122, label %124, label %123

123:                                              ; preds = %114
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %124

124:                                              ; preds = %123, %114
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store i64 0, ptr %6, align 8, !tbaa !35
  br label %125

125:                                              ; preds = %142, %124
  %126 = load i64, ptr %6, align 8, !tbaa !35
  %127 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %7, i32 0, i32 16
  %128 = call noundef i64 @_ZNKSt6vectorIN3DIS14GridAxisRecordESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %127) #4
  %129 = icmp ult i64 %126, %128
  br i1 %129, label %131, label %130

130:                                              ; preds = %125
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %145

131:                                              ; preds = %125
  %132 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %7, i32 0, i32 16
  %133 = load i64, ptr %6, align 8, !tbaa !35
  %134 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNKSt6vectorIN3DIS14GridAxisRecordESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %132, i64 noundef %133) #4
  %135 = load ptr, ptr %4, align 8, !tbaa !5
  %136 = getelementptr inbounds %"class.DIS::GriddedDataPdu", ptr %135, i32 0, i32 16
  %137 = load i64, ptr %6, align 8, !tbaa !35
  %138 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNKSt6vectorIN3DIS14GridAxisRecordESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %136, i64 noundef %137) #4
  %139 = call noundef zeroext i1 @_ZNK3DIS14GridAxisRecordeqERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %134, ptr noundef nonnull align 8 dereferenceable(12) %138)
  br i1 %139, label %141, label %140

140:                                              ; preds = %131
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %141

141:                                              ; preds = %140, %131
  br label %142

142:                                              ; preds = %141
  %143 = load i64, ptr %6, align 8, !tbaa !35
  %144 = add i64 %143, 1
  store i64 %144, ptr %6, align 8, !tbaa !35
  br label %125, !llvm.loop !37

145:                                              ; preds = %130
  %146 = load i8, ptr %5, align 1, !tbaa !9, !range !39, !noundef !40
  %147 = trunc i8 %146 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #4
  ret i1 %147
}

declare noundef zeroext i1 @_ZNK3DIS29SyntheticEnvironmentFamilyPdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(20)) #3

declare noundef zeroext i1 @_ZNK3DIS8EntityIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(14), ptr noundef nonnull align 8 dereferenceable(14)) #3

declare noundef zeroext i1 @_ZNK3DIS10EntityTypeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #3

declare noundef zeroext i1 @_ZNK3DIS11OrientationeqERKS0_(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(20)) #3

declare noundef zeroext i1 @_ZNK3DIS14GridAxisRecordeqERKS0_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) #3

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !16, i64 40}
!12 = !{!"_ZTSN3DIS14GriddedDataPduE", !13, i64 0, !17, i64 24, !16, i64 40, !16, i64 42, !16, i64 44, !16, i64 46, !7, i64 48, !7, i64 49, !18, i64 56, !19, i64 72, !21, i64 96, !15, i64 104, !7, i64 108, !16, i64 110, !7, i64 112, !22, i64 120}
!13 = !{!"_ZTSN3DIS29SyntheticEnvironmentFamilyPduE", !14, i64 0}
!14 = !{!"_ZTSN3DIS3PduE", !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !15, i64 12, !16, i64 16, !16, i64 18}
!15 = !{!"int", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTSN3DIS8EntityIDE", !16, i64 8, !16, i64 10, !16, i64 12}
!18 = !{!"_ZTSN3DIS10EntityTypeE", !7, i64 8, !7, i64 9, !16, i64 10, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15}
!19 = !{!"_ZTSN3DIS11OrientationE", !20, i64 8, !20, i64 12, !20, i64 16}
!20 = !{!"float", !7, i64 0}
!21 = !{!"long long", !7, i64 0}
!22 = !{!"_ZTSSt6vectorIN3DIS14GridAxisRecordESaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIN3DIS14GridAxisRecordESaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN3DIS14GridAxisRecordESaIS1_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN3DIS14GridAxisRecordESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!12, !16, i64 42}
!27 = !{!12, !16, i64 44}
!28 = !{!12, !16, i64 46}
!29 = !{!12, !7, i64 49}
!30 = !{!12, !21, i64 96}
!31 = !{!12, !15, i64 104}
!32 = !{!12, !7, i64 108}
!33 = !{!12, !16, i64 110}
!34 = !{!12, !7, i64 112}
!35 = !{!36, !36, i64 0}
!36 = !{!"long", !7, i64 0}
!37 = distinct !{!37, !38}
!38 = !{!"llvm.loop.mustprogress"}
!39 = !{i8 0, i8 2}
!40 = !{}


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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZNKSt6vectorIN3DIS14GridAxisRecordESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK3DIS14GriddedDataPdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(144) %0, ptr noundef nonnull align 8 dereferenceable(144) %1) local_unnamed_addr #1 align 2 {
  %3 = tail call noundef zeroext i1 @_ZNK3DIS29SyntheticEnvironmentFamilyPdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(20) %1)
  %4 = getelementptr inbounds i8, ptr %0, i64 24
  %5 = getelementptr inbounds i8, ptr %1, i64 24
  %6 = tail call noundef zeroext i1 @_ZNK3DIS8EntityIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(14) %4, ptr noundef nonnull align 8 dereferenceable(14) %5)
  %7 = getelementptr inbounds i8, ptr %0, i64 40
  %8 = getelementptr inbounds i8, ptr %1, i64 40
  %9 = load <4 x i16>, ptr %7, align 8, !tbaa !5
  %10 = load <4 x i16>, ptr %8, align 8, !tbaa !5
  %11 = icmp eq <4 x i16> %9, %10
  %12 = getelementptr inbounds i8, ptr %0, i64 49
  %13 = load i8, ptr %12, align 1, !tbaa !9
  %14 = getelementptr inbounds i8, ptr %1, i64 49
  %15 = load i8, ptr %14, align 1, !tbaa !9
  %16 = icmp eq i8 %13, %15
  %17 = getelementptr inbounds i8, ptr %0, i64 56
  %18 = getelementptr inbounds i8, ptr %1, i64 56
  %19 = tail call noundef zeroext i1 @_ZNK3DIS10EntityTypeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(16) %18)
  %20 = getelementptr inbounds i8, ptr %0, i64 72
  %21 = getelementptr inbounds i8, ptr %1, i64 72
  %22 = tail call noundef zeroext i1 @_ZNK3DIS11OrientationeqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %20, ptr noundef nonnull align 8 dereferenceable(20) %21)
  %23 = getelementptr inbounds i8, ptr %0, i64 96
  %24 = load i64, ptr %23, align 8, !tbaa !24
  %25 = getelementptr inbounds i8, ptr %1, i64 96
  %26 = load i64, ptr %25, align 8, !tbaa !24
  %27 = icmp eq i64 %24, %26
  %28 = getelementptr inbounds i8, ptr %0, i64 104
  %29 = load i32, ptr %28, align 8, !tbaa !25
  %30 = getelementptr inbounds i8, ptr %1, i64 104
  %31 = load i32, ptr %30, align 8, !tbaa !25
  %32 = icmp eq i32 %29, %31
  %33 = getelementptr inbounds i8, ptr %0, i64 108
  %34 = load i8, ptr %33, align 4, !tbaa !26
  %35 = getelementptr inbounds i8, ptr %1, i64 108
  %36 = load i8, ptr %35, align 4, !tbaa !26
  %37 = icmp eq i8 %34, %36
  %38 = getelementptr inbounds i8, ptr %0, i64 110
  %39 = load i16, ptr %38, align 2, !tbaa !27
  %40 = getelementptr inbounds i8, ptr %1, i64 110
  %41 = load i16, ptr %40, align 2, !tbaa !27
  %42 = icmp eq i16 %39, %41
  %43 = getelementptr inbounds i8, ptr %0, i64 112
  %44 = load i8, ptr %43, align 8, !tbaa !28
  %45 = getelementptr inbounds i8, ptr %1, i64 112
  %46 = load i8, ptr %45, align 8, !tbaa !28
  %47 = icmp eq i8 %44, %46
  %48 = freeze <4 x i1> %11
  %49 = bitcast <4 x i1> %48 to i4
  %50 = icmp eq i4 %49, -1
  %.fr = freeze i1 %42
  %op.rdx = and i1 %50, %.fr
  %51 = freeze i1 %16
  %52 = freeze i1 %32
  %op.rdx38 = and i1 %52, %6
  %op.rdx39 = and i1 %3, %22
  %53 = select i1 %op.rdx, i1 %47, i1 false
  %op.rdx40 = select i1 %53, i1 %37, i1 false
  %54 = and i1 %op.rdx38, %51
  %op.rdx42 = and i1 %op.rdx39, %19
  %55 = freeze i1 %op.rdx40
  %56 = and i1 %55, %54
  %.fr45 = freeze i1 %27
  %op.rdx43 = and i1 %56, %.fr45
  %op.rdx44 = and i1 %op.rdx43, %op.rdx42
  %57 = getelementptr inbounds i8, ptr %0, i64 120
  %58 = tail call noundef i64 @_ZNKSt6vectorIN3DIS14GridAxisRecordESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %57) #3
  %.not = icmp eq i64 %58, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %2
  %59 = getelementptr inbounds i8, ptr %1, i64 120
  br label %60

._crit_edge:                                      ; preds = %60, %2
  %.13.lcssa = phi i1 [ %op.rdx44, %2 ], [ %spec.select21, %60 ]
  ret i1 %.13.lcssa

60:                                               ; preds = %.lr.ph, %60
  %.035 = phi i64 [ 0, %.lr.ph ], [ %64, %60 ]
  %.1334 = phi i1 [ %op.rdx44, %.lr.ph ], [ %spec.select21, %60 ]
  %61 = tail call noundef nonnull align 8 dereferenceable(12) ptr @_ZNKSt6vectorIN3DIS14GridAxisRecordESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %57, i64 noundef %.035) #3
  %62 = tail call noundef nonnull align 8 dereferenceable(12) ptr @_ZNKSt6vectorIN3DIS14GridAxisRecordESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %.035) #3
  %63 = tail call noundef zeroext i1 @_ZNK3DIS14GridAxisRecordeqERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %61, ptr noundef nonnull align 8 dereferenceable(12) %62)
  %spec.select21 = select i1 %63, i1 %.1334, i1 false
  %64 = add nuw i64 %.035, 1
  %65 = tail call noundef i64 @_ZNKSt6vectorIN3DIS14GridAxisRecordESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %57) #3
  %66 = icmp ult i64 %64, %65
  br i1 %66, label %60, label %._crit_edge, !llvm.loop !29
}

declare noundef zeroext i1 @_ZNK3DIS29SyntheticEnvironmentFamilyPdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(20)) local_unnamed_addr #2

declare noundef zeroext i1 @_ZNK3DIS8EntityIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(14), ptr noundef nonnull align 8 dereferenceable(14)) local_unnamed_addr #2

declare noundef zeroext i1 @_ZNK3DIS10EntityTypeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2

declare noundef zeroext i1 @_ZNK3DIS11OrientationeqERKS0_(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(20)) local_unnamed_addr #2

declare noundef zeroext i1 @_ZNK3DIS14GridAxisRecordeqERKS0_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #2

attributes #0 = { 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 #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" }
attributes #2 = { "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 = !{!"short", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !7, i64 49}
!10 = !{!"_ZTSN3DIS14GriddedDataPduE", !11, i64 0, !14, i64 24, !6, i64 40, !6, i64 42, !6, i64 44, !6, i64 46, !7, i64 48, !7, i64 49, !15, i64 56, !16, i64 72, !18, i64 96, !13, i64 104, !7, i64 108, !6, i64 110, !7, i64 112, !19, i64 120}
!11 = !{!"_ZTSN3DIS29SyntheticEnvironmentFamilyPduE", !12, i64 0}
!12 = !{!"_ZTSN3DIS3PduE", !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !13, i64 12, !6, i64 16, !6, i64 18}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTSN3DIS8EntityIDE", !6, i64 8, !6, i64 10, !6, i64 12}
!15 = !{!"_ZTSN3DIS10EntityTypeE", !7, i64 8, !7, i64 9, !6, i64 10, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15}
!16 = !{!"_ZTSN3DIS11OrientationE", !17, i64 8, !17, i64 12, !17, i64 16}
!17 = !{!"float", !7, i64 0}
!18 = !{!"long long", !7, i64 0}
!19 = !{!"_ZTSSt6vectorIN3DIS14GridAxisRecordESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIN3DIS14GridAxisRecordESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN3DIS14GridAxisRecordESaIS1_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN3DIS14GridAxisRecordESaIS1_EE17_Vector_impl_dataE", !23, i64 0, !23, i64 8, !23, i64 16}
!23 = !{!"any pointer", !7, i64 0}
!24 = !{!10, !18, i64 96}
!25 = !{!10, !13, i64 104}
!26 = !{!10, !7, i64 108}
!27 = !{!10, !6, i64 110}
!28 = !{!10, !7, i64 112}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass