; LLVM IR from NVIDIA/TensorRT :: plugin/flattenConcat (flattenConcat)

; 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.nvinfer1::Dims64" = type { i32, [8 x i64] }
%"class.nvinfer1::Dims3" = type { %"class.nvinfer1::Dims2" }
%"class.nvinfer1::Dims2" = type { %"class.nvinfer1::Dims64" }
%"class.nvinfer1::plugin::FlattenConcat" = type { %"class.nvinfer1::IPluginV2Ext", %"class.std::vector.0", %"class.std::vector.5", i8, i32, i32, i32, %"class.nvinfer1::Dims64", %"class.std::__cxx11::basic_string", ptr, %"class.std::shared_ptr" }
%"class.nvinfer1::IPluginV2Ext" = type { %"class.nvinfer1::IPluginV2" }
%"class.nvinfer1::IPluginV2" = type { ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }

@.str = external hidden unnamed_addr constant [88 x i8], align 1
@_ZTISt9exception = external constant ptr
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [33 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; 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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN8nvinfer16plugin13FlattenConcat19getOutputDimensionsEiPKNS_6Dims64Ei(ptr dead_on_unwind noalias writable sret(%"class.nvinfer1::Dims64") align 8 %0, ptr noundef nonnull align 8 dereferenceable(200) %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca %"class.nvinfer1::Dims3", align 8
  %16 = alloca ptr, align 8
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !5
  store i32 %4, ptr %9, align 4, !tbaa !9
  %17 = load ptr, ptr %6, align 8
  %18 = load i32, ptr %9, align 4, !tbaa !9
  %19 = icmp sge i32 %18, 1
  br i1 %19, label %26, label %20

20:                                               ; preds = %5
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.5, ptr noundef @.str, i32 noundef 94)
          to label %21 unwind label %22

21:                                               ; preds = %20
  br label %26

22:                                               ; preds = %38, %31, %29, %20
  %23 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %24 = extractvalue { ptr, i32 } %23, 0
  store ptr %24, ptr %10, align 8
  %25 = extractvalue { ptr, i32 } %23, 1
  store i32 %25, ptr %11, align 4
  br label %191

26:                                               ; preds = %21, %5
  %27 = load i32, ptr %7, align 4, !tbaa !9
  %28 = icmp eq i32 %27, 0
  br i1 %28, label %31, label %29

29:                                               ; preds = %26
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.6, ptr noundef @.str, i32 noundef 95)
          to label %30 unwind label %22

30:                                               ; preds = %29
  br label %31

31:                                               ; preds = %30, %26
  %32 = load i32, ptr %9, align 4, !tbaa !9
  %33 = getelementptr inbounds %"class.nvinfer1::plugin::FlattenConcat", ptr %17, i32 0, i32 6
  store i32 %32, ptr %33, align 4, !tbaa !11
  %34 = getelementptr inbounds %"class.nvinfer1::plugin::FlattenConcat", ptr %17, i32 0, i32 1
  %35 = getelementptr inbounds %"class.nvinfer1::plugin::FlattenConcat", ptr %17, i32 0, i32 6
  %36 = load i32, ptr %35, align 4, !tbaa !11
  %37 = sext i32 %36 to i64
  invoke void @_ZNSt6vectorImSaImEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %37)
          to label %38 unwind label %22

38:                                               ; preds = %31
  %39 = getelementptr inbounds %"class.nvinfer1::plugin::FlattenConcat", ptr %17, i32 0, i32 2
  %40 = getelementptr inbounds %"class.nvinfer1::plugin::FlattenConcat", ptr %17, i32 0, i32 6
  %41 = load i32, ptr %40, align 4, !tbaa !11
  %42 = sext i32 %41 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %42)
          to label %43 unwind label %22

43:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #9
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %44

44:                                               ; preds = %154, %43
  %45 = load i32, ptr %13, align 4, !tbaa !9
  %46 = load i32, ptr %9, align 4, !tbaa !9
  %47 = icmp slt i32 %45, %46
  br i1 %47, label %49, label %48

48:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  br label %157

49:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #9
  store i32 0, ptr %14, align 4, !tbaa !9
  %50 = load ptr, ptr %8, align 8, !tbaa !5
  %51 = load i32, ptr %13, align 4, !tbaa !9
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %50, i64 %52
  %54 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %53, i32 0, i32 0
  %55 = load i32, ptr %54, align 8, !tbaa !31
  %56 = icmp eq i32 %55, 3
  br i1 %56, label %63, label %57

57:                                               ; preds = %49
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.7, ptr noundef @.str, i32 noundef 105)
          to label %58 unwind label %59

58:                                               ; preds = %57
  br label %63

59:                                               ; preds = %123, %102, %81, %57
  %60 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %10, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  br label %190

63:                                               ; preds = %58, %49
  %64 = getelementptr inbounds %"class.nvinfer1::plugin::FlattenConcat", ptr %17, i32 0, i32 4
  %65 = load i32, ptr %64, align 4, !tbaa !32
  %66 = icmp ne i32 %65, 1
  br i1 %66, label %67, label %84

67:                                               ; preds = %63
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  %69 = load i32, ptr %13, align 4, !tbaa !9
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %68, i64 %70
  %72 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %71, i32 0, i32 1
  %73 = getelementptr inbounds [8 x i64], ptr %72, i64 0, i64 0
  %74 = load i64, ptr %73, align 8, !tbaa !33
  %75 = load ptr, ptr %8, align 8, !tbaa !5
  %76 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %75, i64 0
  %77 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %76, i32 0, i32 1
  %78 = getelementptr inbounds [8 x i64], ptr %77, i64 0, i64 0
  %79 = load i64, ptr %78, align 8, !tbaa !33
  %80 = icmp eq i64 %74, %79
  br i1 %80, label %83, label %81

81:                                               ; preds = %67
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.8, ptr noundef @.str, i32 noundef 108)
          to label %82 unwind label %59

82:                                               ; preds = %81
  br label %83

83:                                               ; preds = %82, %67
  br label %84

84:                                               ; preds = %83, %63
  %85 = getelementptr inbounds %"class.nvinfer1::plugin::FlattenConcat", ptr %17, i32 0, i32 4
  %86 = load i32, ptr %85, align 4, !tbaa !32
  %87 = icmp ne i32 %86, 2
  br i1 %87, label %88, label %105

88:                                               ; preds = %84
  %89 = load ptr, ptr %8, align 8, !tbaa !5
  %90 = load i32, ptr %13, align 4, !tbaa !9
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %89, i64 %91
  %93 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %92, i32 0, i32 1
  %94 = getelementptr inbounds [8 x i64], ptr %93, i64 0, i64 1
  %95 = load i64, ptr %94, align 8, !tbaa !33
  %96 = load ptr, ptr %8, align 8, !tbaa !5
  %97 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %96, i64 0
  %98 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %97, i32 0, i32 1
  %99 = getelementptr inbounds [8 x i64], ptr %98, i64 0, i64 1
  %100 = load i64, ptr %99, align 8, !tbaa !33
  %101 = icmp eq i64 %95, %100
  br i1 %101, label %104, label %102

102:                                              ; preds = %88
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.9, ptr noundef @.str, i32 noundef 112)
          to label %103 unwind label %59

103:                                              ; preds = %102
  br label %104

104:                                              ; preds = %103, %88
  br label %105

105:                                              ; preds = %104, %84
  %106 = getelementptr inbounds %"class.nvinfer1::plugin::FlattenConcat", ptr %17, i32 0, i32 4
  %107 = load i32, ptr %106, align 4, !tbaa !32
  %108 = icmp ne i32 %107, 3
  br i1 %108, label %109, label %126

109:                                              ; preds = %105
  %110 = load ptr, ptr %8, align 8, !tbaa !5
  %111 = load i32, ptr %13, align 4, !tbaa !9
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %110, i64 %112
  %114 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %113, i32 0, i32 1
  %115 = getelementptr inbounds [8 x i64], ptr %114, i64 0, i64 2
  %116 = load i64, ptr %115, align 8, !tbaa !33
  %117 = load ptr, ptr %8, align 8, !tbaa !5
  %118 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %117, i64 0
  %119 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %118, i32 0, i32 1
  %120 = getelementptr inbounds [8 x i64], ptr %119, i64 0, i64 2
  %121 = load i64, ptr %120, align 8, !tbaa !33
  %122 = icmp eq i64 %116, %121
  br i1 %122, label %125, label %123

123:                                              ; preds = %109
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef @.str.10, ptr noundef @.str, i32 noundef 116)
          to label %124 unwind label %59

124:                                              ; preds = %123
  br label %125

125:                                              ; preds = %124, %109
  br label %126

126:                                              ; preds = %125, %105
  %127 = load ptr, ptr %8, align 8, !tbaa !5
  %128 = load i32, ptr %13, align 4, !tbaa !9
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %127, i64 %129
  %131 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %130, i32 0, i32 1
  %132 = getelementptr inbounds [8 x i64], ptr %131, i64 0, i64 0
  %133 = load i64, ptr %132, align 8, !tbaa !33
  %134 = load ptr, ptr %8, align 8, !tbaa !5
  %135 = load i32, ptr %13, align 4, !tbaa !9
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %134, i64 %136
  %138 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %137, i32 0, i32 1
  %139 = getelementptr inbounds [8 x i64], ptr %138, i64 0, i64 1
  %140 = load i64, ptr %139, align 8, !tbaa !33
  %141 = mul nsw i64 %133, %140
  %142 = load ptr, ptr %8, align 8, !tbaa !5
  %143 = load i32, ptr %13, align 4, !tbaa !9
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %142, i64 %144
  %146 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %145, i32 0, i32 1
  %147 = getelementptr inbounds [8 x i64], ptr %146, i64 0, i64 2
  %148 = load i64, ptr %147, align 8, !tbaa !33
  %149 = mul nsw i64 %141, %148
  %150 = trunc i64 %149 to i32
  store i32 %150, ptr %14, align 4, !tbaa !9
  %151 = load i32, ptr %14, align 4, !tbaa !9
  %152 = load i32, ptr %12, align 4, !tbaa !9
  %153 = add nsw i32 %152, %151
  store i32 %153, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  br label %154

154:                                              ; preds = %126
  %155 = load i32, ptr %13, align 4, !tbaa !9
  %156 = add nsw i32 %155, 1
  store i32 %156, ptr %13, align 4, !tbaa !9
  br label %44, !llvm.loop !34

157:                                              ; preds = %48
  call void @llvm.lifetime.start.p0(i64 72, ptr %15) #9
  %158 = getelementptr inbounds %"class.nvinfer1::plugin::FlattenConcat", ptr %17, i32 0, i32 4
  %159 = load i32, ptr %158, align 4, !tbaa !32
  %160 = icmp eq i32 %159, 1
  br i1 %160, label %161, label %163

161:                                              ; preds = %157
  %162 = load i32, ptr %12, align 4, !tbaa !9
  br label %164

163:                                              ; preds = %157
  br label %164

164:                                              ; preds = %163, %161
  %165 = phi i32 [ %162, %161 ], [ 1, %163 ]
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds %"class.nvinfer1::plugin::FlattenConcat", ptr %17, i32 0, i32 4
  %168 = load i32, ptr %167, align 4, !tbaa !32
  %169 = icmp eq i32 %168, 2
  br i1 %169, label %170, label %172

170:                                              ; preds = %164
  %171 = load i32, ptr %12, align 4, !tbaa !9
  br label %173

172:                                              ; preds = %164
  br label %173

173:                                              ; preds = %172, %170
  %174 = phi i32 [ %171, %170 ], [ 1, %172 ]
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds %"class.nvinfer1::plugin::FlattenConcat", ptr %17, i32 0, i32 4
  %177 = load i32, ptr %176, align 4, !tbaa !32
  %178 = icmp eq i32 %177, 3
  br i1 %178, label %179, label %181

179:                                              ; preds = %173
  %180 = load i32, ptr %12, align 4, !tbaa !9
  br label %182

181:                                              ; preds = %173
  br label %182

182:                                              ; preds = %181, %179
  %183 = phi i32 [ %180, %179 ], [ 1, %181 ]
  %184 = sext i32 %183 to i64
  invoke void @_ZN8nvinfer15Dims3C2Elll(ptr noundef nonnull align 8 dereferenceable(72) %15, i64 noundef %166, i64 noundef %175, i64 noundef %184)
          to label %185 unwind label %186

185:                                              ; preds = %182
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %0, ptr align 8 %15, i64 72, i1 false), !tbaa.struct !36
  call void @llvm.lifetime.end.p0(i64 72, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  br label %204

186:                                              ; preds = %182
  %187 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %10, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 72, ptr %15) #9
  br label %190

190:                                              ; preds = %186, %59
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  br label %191

191:                                              ; preds = %190, %22
  %192 = load i32, ptr %11, align 4
  %193 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #9
  %194 = icmp eq i32 %192, %193
  br i1 %194, label %195, label %208

195:                                              ; preds = %191
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  %196 = load ptr, ptr %10, align 8
  %197 = call ptr @__cxa_begin_catch(ptr %196) #9
  store ptr %197, ptr %16, align 8
  %198 = load ptr, ptr %16, align 8, !tbaa !5
  invoke void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8) %198)
          to label %199 unwind label %205

199:                                              ; preds = %195
  invoke void @__cxa_end_catch()
          to label %200 unwind label %205

200:                                              ; preds = %199
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #9
  br label %201

201:                                              ; preds = %200
  call void @llvm.memset.p0.i64(ptr align 8 %0, i8 0, i64 72, i1 false)
  %202 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %0, i32 0, i32 0
  %203 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %0, i32 0, i32 1
  br label %204

204:                                              ; preds = %201, %185
  ret void

205:                                              ; preds = %199, %195
  %206 = landingpad { ptr, i32 }
          catch ptr null
  %207 = extractvalue { ptr, i32 } %206, 0
  call void @__clang_call_terminate(ptr %207) #10
  unreachable

208:                                              ; preds = %191
  %209 = load ptr, ptr %10, align 8
  call void @__clang_call_terminate(ptr %209) #10
  unreachable
}

declare void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef, ptr noundef, i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8nvinfer15Dims3C2Elll(ptr noundef nonnull align 8 dereferenceable(72), i64 noundef, i64 noundef, i64 noundef) unnamed_addr #2 align 2

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #5

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #6

declare ptr @__cxa_begin_catch(ptr)

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8)) #7

declare void @__cxa_end_catch()

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #8

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree 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 = { 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 = { "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 memory(none) }
attributes #6 = { noinline noreturn nounwind uwtable "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 #7 = { 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 #8 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #9 = { nounwind }
attributes #10 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 68}
!12 = !{!"_ZTSN8nvinfer16plugin13FlattenConcatE", !13, i64 0, !15, i64 8, !19, i64 32, !23, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !24, i64 72, !25, i64 144, !6, i64 176, !28, i64 184}
!13 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !14, i64 0}
!14 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!15 = !{!"_ZTSSt6vectorImSaImEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseImSaImEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseImSaImEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseImSaImEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSSt6vectorIiSaIiEE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"bool", !7, i64 0}
!24 = !{!"_ZTSN8nvinfer16Dims64E", !10, i64 0, !7, i64 8}
!25 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !26, i64 0, !27, i64 8, !7, i64 16}
!26 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!27 = !{!"long", !7, i64 0}
!28 = !{!"_ZTSSt10shared_ptrIN8nvinfer114pluginInternal13CublasWrapperEE", !29, i64 0}
!29 = !{!"_ZTSSt12__shared_ptrIN8nvinfer114pluginInternal13CublasWrapperELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !30, i64 8}
!30 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!31 = !{!24, !10, i64 0}
!32 = !{!12, !10, i64 60}
!33 = !{!27, !27, i64 0}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = !{i64 0, i64 4, !9, i64 8, i64 64, !37}
!37 = !{!7, !7, i64 0}


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

%"class.nvinfer1::Dims64" = type { i32, [8 x i64] }
%"class.nvinfer1::Dims3" = type { %"class.nvinfer1::Dims2" }
%"class.nvinfer1::Dims2" = type { %"class.nvinfer1::Dims64" }

@.str = external hidden unnamed_addr constant [88 x i8], align 1
@_ZTISt9exception = external constant ptr
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [33 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; 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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN8nvinfer16plugin13FlattenConcat19getOutputDimensionsEiPKNS_6Dims64Ei(ptr dead_on_unwind noalias nocapture writable writeonly sret(%"class.nvinfer1::Dims64") align 8 %0, ptr noundef nonnull align 8 dereferenceable(200) %1, i32 noundef %2, ptr nocapture noundef readonly %3, i32 noundef %4) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.nvinfer1::Dims3", align 8
  %7 = icmp sgt i32 %4, 0
  br i1 %7, label %11, label %8

8:                                                ; preds = %5
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str, i32 noundef 94)
          to label %11 unwind label %9

9:                                                ; preds = %18, %14, %13, %8
  %10 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %78

11:                                               ; preds = %8, %5
  %12 = icmp eq i32 %2, 0
  br i1 %12, label %14, label %13

13:                                               ; preds = %11
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str, i32 noundef 95)
          to label %14 unwind label %9

14:                                               ; preds = %13, %11
  %15 = getelementptr inbounds i8, ptr %1, i64 68
  store i32 %4, ptr %15, align 4, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %1, i64 8
  %17 = sext i32 %4 to i64
  invoke void @_ZNSt6vectorImSaImEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %17)
          to label %18 unwind label %9

18:                                               ; preds = %14
  %19 = getelementptr inbounds i8, ptr %1, i64 32
  %20 = load i32, ptr %15, align 4, !tbaa !5
  %21 = sext i32 %20 to i64
  invoke void @_ZNSt6vectorIiSaIiEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %21)
          to label %.preheader unwind label %9

.preheader:                                       ; preds = %18
  br i1 %7, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader
  %22 = getelementptr inbounds i8, ptr %1, i64 60
  %23 = getelementptr inbounds i8, ptr %3, i64 8
  %24 = getelementptr inbounds i8, ptr %3, i64 16
  %25 = getelementptr inbounds i8, ptr %3, i64 24
  %wide.trip.count = zext nneg i32 %4 to i64
  br label %37

._crit_edge:                                      ; preds = %64, %.preheader
  %.033.lcssa = phi i32 [ 0, %.preheader ], [ %74, %64 ]
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %6) #9
  %26 = getelementptr inbounds i8, ptr %1, i64 60
  %27 = load i32, ptr %26, align 4, !tbaa !29
  %28 = icmp eq i32 %27, 1
  %29 = select i1 %28, i32 %.033.lcssa, i32 1
  %30 = sext i32 %29 to i64
  %31 = icmp eq i32 %27, 2
  %32 = select i1 %31, i32 %.033.lcssa, i32 1
  %33 = sext i32 %32 to i64
  %34 = icmp eq i32 %27, 3
  %35 = select i1 %34, i32 %.033.lcssa, i32 1
  %36 = sext i32 %35 to i64
  invoke void @_ZN8nvinfer15Dims3C2Elll(ptr noundef nonnull align 8 dereferenceable(72) %6, i64 noundef %30, i64 noundef %33, i64 noundef %36)
          to label %75 unwind label %76

37:                                               ; preds = %.lr.ph, %64
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %64 ]
  %.03346 = phi i32 [ 0, %.lr.ph ], [ %74, %64 ]
  %38 = getelementptr inbounds %"class.nvinfer1::Dims64", ptr %3, i64 %indvars.iv
  %39 = load i32, ptr %38, align 8, !tbaa !30
  %40 = icmp eq i32 %39, 3
  br i1 %40, label %44, label %41

41:                                               ; preds = %37
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str, i32 noundef 105)
          to label %44 unwind label %42

42:                                               ; preds = %63, %57, %51, %41
  %43 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  br label %78

44:                                               ; preds = %41, %37
  %45 = load i32, ptr %22, align 4, !tbaa !29
  %.not = icmp eq i32 %45, 1
  br i1 %.not, label %.thread, label %46

46:                                               ; preds = %44
  %47 = getelementptr inbounds i8, ptr %38, i64 8
  %48 = load i64, ptr %47, align 8, !tbaa !31
  %49 = load i64, ptr %23, align 8, !tbaa !31
  %50 = icmp eq i64 %48, %49
  br i1 %50, label %52, label %51

51:                                               ; preds = %46
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str, i32 noundef 108)
          to label %._crit_edge49 unwind label %42

._crit_edge49:                                    ; preds = %51
  %.pr.pre = load i32, ptr %22, align 4, !tbaa !29
  br label %52

52:                                               ; preds = %._crit_edge49, %46
  %.pr = phi i32 [ %.pr.pre, %._crit_edge49 ], [ %45, %46 ]
  %.not36 = icmp eq i32 %.pr, 2
  br i1 %.not36, label %.thread43, label %.thread

.thread:                                          ; preds = %44, %52
  %.pr4253 = phi i32 [ 1, %44 ], [ %.pr, %52 ]
  %53 = getelementptr inbounds i8, ptr %38, i64 16
  %54 = load i64, ptr %53, align 8, !tbaa !31
  %55 = load i64, ptr %24, align 8, !tbaa !31
  %56 = icmp eq i64 %54, %55
  br i1 %56, label %58, label %57

57:                                               ; preds = %.thread
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str, i32 noundef 112)
          to label %._crit_edge51 unwind label %42

._crit_edge51:                                    ; preds = %57
  %.pr42.pre = load i32, ptr %22, align 4, !tbaa !29
  br label %58

58:                                               ; preds = %._crit_edge51, %.thread
  %.pr42 = phi i32 [ %.pr42.pre, %._crit_edge51 ], [ %.pr4253, %.thread ]
  %.not37 = icmp eq i32 %.pr42, 3
  br i1 %.not37, label %64, label %.thread43

.thread43:                                        ; preds = %52, %58
  %59 = getelementptr inbounds i8, ptr %38, i64 24
  %60 = load i64, ptr %59, align 8, !tbaa !31
  %61 = load i64, ptr %25, align 8, !tbaa !31
  %62 = icmp eq i64 %60, %61
  br i1 %62, label %64, label %63

63:                                               ; preds = %.thread43
  invoke void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str, i32 noundef 116)
          to label %64 unwind label %42

64:                                               ; preds = %.thread43, %63, %58
  %65 = getelementptr inbounds i8, ptr %38, i64 8
  %66 = load i64, ptr %65, align 8, !tbaa !31
  %67 = getelementptr inbounds i8, ptr %38, i64 16
  %68 = load i64, ptr %67, align 8, !tbaa !31
  %69 = mul nsw i64 %68, %66
  %70 = getelementptr inbounds i8, ptr %38, i64 24
  %71 = load i64, ptr %70, align 8, !tbaa !31
  %72 = mul nsw i64 %69, %71
  %73 = trunc i64 %72 to i32
  %74 = add nsw i32 %.03346, %73
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %37, !llvm.loop !32

75:                                               ; preds = %._crit_edge
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(72) %0, ptr noundef nonnull align 8 dereferenceable(72) %6, i64 72, i1 false), !tbaa.struct !34
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %6) #9
  br label %85

76:                                               ; preds = %._crit_edge
  %77 = landingpad { ptr, i32 }
          catch ptr @_ZTISt9exception
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %6) #9
  br label %78

78:                                               ; preds = %42, %76, %9
  %.pn.pn = phi { ptr, i32 } [ %10, %9 ], [ %43, %42 ], [ %77, %76 ]
  %.1 = extractvalue { ptr, i32 } %.pn.pn, 0
  %.135 = extractvalue { ptr, i32 } %.pn.pn, 1
  %79 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #9
  %80 = icmp eq i32 %.135, %79
  br i1 %80, label %81, label %89

81:                                               ; preds = %78
  %82 = call ptr @__cxa_begin_catch(ptr %.1) #9
  invoke void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8) %82)
          to label %83 unwind label %86

83:                                               ; preds = %81
  invoke void @__cxa_end_catch()
          to label %84 unwind label %86

84:                                               ; preds = %83
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(72) %0, i8 0, i64 72, i1 false)
  br label %85

85:                                               ; preds = %84, %75
  ret void

86:                                               ; preds = %83, %81
  %87 = landingpad { ptr, i32 }
          catch ptr null
  %88 = extractvalue { ptr, i32 } %87, 0
  call void @__clang_call_terminate(ptr %88) #10
  unreachable

89:                                               ; preds = %78
  call void @__clang_call_terminate(ptr %.1) #10
  unreachable
}

declare void @_ZN8nvinfer16plugin15reportAssertionEPKcS2_i(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8nvinfer15Dims3C2Elll(ptr noundef nonnull align 8 dereferenceable(72), i64 noundef, i64 noundef, i64 noundef) unnamed_addr #2 align 2

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #5

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #6

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8nvinfer16plugin11caughtErrorERKSt9exception(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #7

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #8

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree 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 = { 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 = { "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 = { nofree nosync nounwind memory(none) }
attributes #6 = { noinline noreturn nounwind uwtable "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 #7 = { 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 #8 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #9 = { nounwind }
attributes #10 = { noreturn 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, !21, i64 68}
!6 = !{!"_ZTSN8nvinfer16plugin13FlattenConcatE", !7, i64 0, !9, i64 8, !16, i64 32, !20, i64 56, !21, i64 60, !21, i64 64, !21, i64 68, !22, i64 72, !23, i64 144, !13, i64 176, !26, i64 184}
!7 = !{!"_ZTSN8nvinfer112IPluginV2ExtE", !8, i64 0}
!8 = !{!"_ZTSN8nvinfer19IPluginV2E"}
!9 = !{!"_ZTSSt6vectorImSaImEE", !10, i64 0}
!10 = !{!"_ZTSSt12_Vector_baseImSaImEE", !11, i64 0}
!11 = !{!"_ZTSNSt12_Vector_baseImSaImEE12_Vector_implE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseImSaImEE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!13 = !{!"any pointer", !14, i64 0}
!14 = !{!"omnipotent char", !15, i64 0}
!15 = !{!"Simple C++ TBAA"}
!16 = !{!"_ZTSSt6vectorIiSaIiEE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!20 = !{!"bool", !14, i64 0}
!21 = !{!"int", !14, i64 0}
!22 = !{!"_ZTSN8nvinfer16Dims64E", !21, i64 0, !14, i64 8}
!23 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !24, i64 0, !25, i64 8, !14, i64 16}
!24 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !13, i64 0}
!25 = !{!"long", !14, i64 0}
!26 = !{!"_ZTSSt10shared_ptrIN8nvinfer114pluginInternal13CublasWrapperEE", !27, i64 0}
!27 = !{!"_ZTSSt12__shared_ptrIN8nvinfer114pluginInternal13CublasWrapperELN9__gnu_cxx12_Lock_policyE2EE", !13, i64 0, !28, i64 8}
!28 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !13, i64 0}
!29 = !{!6, !21, i64 60}
!30 = !{!22, !21, i64 0}
!31 = !{!25, !25, i64 0}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = !{i64 0, i64 4, !35, i64 8, i64 64, !36}
!35 = !{!21, !21, i64 0}
!36 = !{!14, !14, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass