; LLVM IR from SSBMTonberry/pocketlzma :: ref_spec/lzma1900/CPP/Common (CommandLineParser)

; 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.UString = type { ptr, i32, i32 }
%"struct.NCommandLineParser::CSwitchForm" = type { ptr, i8, i8, i8, ptr }
%"class.NCommandLineParser::CParser" = type { ptr, %class.CObjectVector, i32, %class.AString, %class.UString }
%class.CObjectVector = type { %class.CRecordVector }
%class.CRecordVector = type { ptr, i32, i32 }
%class.AString = type { ptr, i32, i32 }
%"struct.NCommandLineParser::CSwitchResult" = type { i8, i8, i32, %class.CObjectVector }

@.str = external hidden unnamed_addr constant [16 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [17 x i8], align 1

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7UString7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN18NCommandLineParser7CParser11ParseStringERK7UStringPKNS_11CSwitchFormEj(ptr noundef nonnull align 8 dereferenceable(64) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef %2, i32 noundef %3) #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca %class.UString, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  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
  %24 = load ptr, ptr %6, align 8
  %25 = load ptr, ptr %7, align 8, !tbaa !5
  %26 = call noundef zeroext i1 @_ZNK7UString7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %25)
  br i1 %26, label %33, label %27

27:                                               ; preds = %4
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  %29 = call noundef ptr @_ZNK7UStringcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %28)
  %30 = getelementptr inbounds i32, ptr %29, i64 0
  %31 = load i32, ptr %30, align 4, !tbaa !11
  %32 = call noundef zeroext i1 @_ZN18NCommandLineParserL14IsItSwitchCharEw(i32 noundef signext %31)
  br i1 %32, label %34, label %33

33:                                               ; preds = %27, %4
  store i1 false, ptr %5, align 1
  br label %213

34:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 1, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 -1, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %35

35:                                               ; preds = %75, %34
  %36 = load i32, ptr %13, align 4, !tbaa !9
  %37 = load i32, ptr %9, align 4, !tbaa !9
  %38 = icmp ult i32 %36, %37
  br i1 %38, label %40, label %39

39:                                               ; preds = %35
  store i32 2, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %78

40:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %41 = load ptr, ptr %8, align 8, !tbaa !5
  %42 = load i32, ptr %13, align 4, !tbaa !9
  %43 = zext i32 %42 to i64
  %44 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchForm", ptr %41, i64 %43
  %45 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchForm", ptr %44, i32 0, i32 0
  %46 = load ptr, ptr %45, align 8, !tbaa !13
  store ptr %46, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %47 = load ptr, ptr %15, align 8, !tbaa !5
  %48 = call noundef i32 @_Z11MyStringLenPKc(ptr noundef %47)
  store i32 %48, ptr %16, align 4, !tbaa !9
  %49 = load i32, ptr %16, align 4, !tbaa !9
  %50 = load i32, ptr %12, align 4, !tbaa !9
  %51 = icmp sle i32 %49, %50
  br i1 %51, label %59, label %52

52:                                               ; preds = %40
  %53 = load i32, ptr %10, align 4, !tbaa !9
  %54 = load i32, ptr %16, align 4, !tbaa !9
  %55 = add i32 %53, %54
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = call noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %56)
  %58 = icmp ugt i32 %55, %57
  br i1 %58, label %59, label %60

59:                                               ; preds = %52, %40
  store i32 4, ptr %14, align 4
  br label %72

60:                                               ; preds = %52
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = call noundef ptr @_ZNK7UStringcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %61)
  %63 = load i32, ptr %10, align 4, !tbaa !9
  %64 = zext i32 %63 to i64
  %65 = getelementptr inbounds i32, ptr %62, i64 %64
  %66 = load ptr, ptr %15, align 8, !tbaa !5
  %67 = call noundef zeroext i1 @_Z39IsString1PrefixedByString2_NoCase_AsciiPKwPKc(ptr noundef %65, ptr noundef %66) #6
  br i1 %67, label %68, label %71

68:                                               ; preds = %60
  %69 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %69, ptr %11, align 4, !tbaa !9
  %70 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %70, ptr %12, align 4, !tbaa !9
  br label %71

71:                                               ; preds = %68, %60
  store i32 0, ptr %14, align 4
  br label %72

72:                                               ; preds = %71, %59
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  %73 = load i32, ptr %14, align 4
  switch i32 %73, label %220 [
    i32 0, label %74
    i32 4, label %75
  ]

74:                                               ; preds = %72
  br label %75

75:                                               ; preds = %74, %72
  %76 = load i32, ptr %13, align 4, !tbaa !9
  %77 = add i32 %76, 1
  store i32 %77, ptr %13, align 4, !tbaa !9
  br label %35, !llvm.loop !16

78:                                               ; preds = %39
  %79 = load i32, ptr %12, align 4, !tbaa !9
  %80 = icmp slt i32 %79, 0
  br i1 %80, label %81, label %84

81:                                               ; preds = %78
  %82 = getelementptr inbounds %"class.NCommandLineParser::CParser", ptr %24, i32 0, i32 3
  %83 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN7AStringaSEPKc(ptr noundef nonnull align 8 dereferenceable(16) %82, ptr noundef @.str)
  store i1 false, ptr %5, align 1
  store i32 1, ptr %14, align 4
  br label %212

84:                                               ; preds = %78
  %85 = load i32, ptr %12, align 4, !tbaa !9
  %86 = load i32, ptr %10, align 4, !tbaa !9
  %87 = add i32 %86, %85
  store i32 %87, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %88 = getelementptr inbounds %"class.NCommandLineParser::CParser", ptr %24, i32 0, i32 0
  %89 = load ptr, ptr %88, align 8, !tbaa !18
  %90 = load i32, ptr %11, align 4, !tbaa !9
  %91 = zext i32 %90 to i64
  %92 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchResult", ptr %89, i64 %91
  store ptr %92, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %93 = load ptr, ptr %8, align 8, !tbaa !5
  %94 = load i32, ptr %11, align 4, !tbaa !9
  %95 = zext i32 %94 to i64
  %96 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchForm", ptr %93, i64 %95
  store ptr %96, ptr %18, align 8, !tbaa !5
  %97 = load ptr, ptr %18, align 8, !tbaa !5
  %98 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchForm", ptr %97, i32 0, i32 2
  %99 = load i8, ptr %98, align 1, !tbaa !24, !range !25, !noundef !26
  %100 = trunc i8 %99 to i1
  br i1 %100, label %109, label %101

101:                                              ; preds = %84
  %102 = load ptr, ptr %17, align 8, !tbaa !5
  %103 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchResult", ptr %102, i32 0, i32 0
  %104 = load i8, ptr %103, align 8, !tbaa !27, !range !25, !noundef !26
  %105 = trunc i8 %104 to i1
  br i1 %105, label %106, label %109

106:                                              ; preds = %101
  %107 = getelementptr inbounds %"class.NCommandLineParser::CParser", ptr %24, i32 0, i32 3
  %108 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN7AStringaSEPKc(ptr noundef nonnull align 8 dereferenceable(16) %107, ptr noundef @.str.1)
  store i1 false, ptr %5, align 1
  store i32 1, ptr %14, align 4
  br label %211

109:                                              ; preds = %101, %84
  %110 = load ptr, ptr %17, align 8, !tbaa !5
  %111 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchResult", ptr %110, i32 0, i32 0
  store i8 1, ptr %111, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %112 = load ptr, ptr %7, align 8, !tbaa !5
  %113 = call noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %112)
  %114 = load i32, ptr %10, align 4, !tbaa !9
  %115 = sub i32 %113, %114
  store i32 %115, ptr %19, align 4, !tbaa !9
  %116 = load i32, ptr %19, align 4, !tbaa !9
  %117 = load ptr, ptr %18, align 8, !tbaa !5
  %118 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchForm", ptr %117, i32 0, i32 3
  %119 = load i8, ptr %118, align 2, !tbaa !29
  %120 = zext i8 %119 to i32
  %121 = icmp slt i32 %116, %120
  br i1 %121, label %122, label %125

122:                                              ; preds = %109
  %123 = getelementptr inbounds %"class.NCommandLineParser::CParser", ptr %24, i32 0, i32 3
  %124 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN7AStringaSEPKc(ptr noundef nonnull align 8 dereferenceable(16) %123, ptr noundef @.str.2)
  store i1 false, ptr %5, align 1
  store i32 1, ptr %14, align 4
  br label %210

125:                                              ; preds = %109
  %126 = load ptr, ptr %17, align 8, !tbaa !5
  %127 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchResult", ptr %126, i32 0, i32 1
  store i8 0, ptr %127, align 1, !tbaa !30
  %128 = load ptr, ptr %17, align 8, !tbaa !5
  %129 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchResult", ptr %128, i32 0, i32 2
  store i32 -1, ptr %129, align 4, !tbaa !31
  %130 = load ptr, ptr %18, align 8, !tbaa !5
  %131 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchForm", ptr %130, i32 0, i32 1
  %132 = load i8, ptr %131, align 8, !tbaa !32
  %133 = zext i8 %132 to i32
  switch i32 %133, label %201 [
    i32 1, label %134
    i32 3, label %157
    i32 2, label %189
  ]

134:                                              ; preds = %125
  %135 = load i32, ptr %19, align 4, !tbaa !9
  %136 = icmp eq i32 %135, 1
  br i1 %136, label %137, label %156

137:                                              ; preds = %134
  %138 = load ptr, ptr %7, align 8, !tbaa !5
  %139 = call noundef ptr @_ZNK7UStringcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %138)
  %140 = load i32, ptr %10, align 4, !tbaa !9
  %141 = zext i32 %140 to i64
  %142 = getelementptr inbounds i32, ptr %139, i64 %141
  %143 = load i32, ptr %142, align 4, !tbaa !11
  %144 = icmp eq i32 %143, 45
  %145 = load ptr, ptr %17, align 8, !tbaa !5
  %146 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchResult", ptr %145, i32 0, i32 1
  %147 = zext i1 %144 to i8
  store i8 %147, ptr %146, align 1, !tbaa !30
  %148 = load ptr, ptr %17, align 8, !tbaa !5
  %149 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchResult", ptr %148, i32 0, i32 1
  %150 = load i8, ptr %149, align 1, !tbaa !30, !range !25, !noundef !26
  %151 = trunc i8 %150 to i1
  br i1 %151, label %152, label %153

152:                                              ; preds = %137
  store i1 true, ptr %5, align 1
  store i32 1, ptr %14, align 4
  br label %210

153:                                              ; preds = %137
  %154 = getelementptr inbounds %"class.NCommandLineParser::CParser", ptr %24, i32 0, i32 3
  %155 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN7AStringaSEPKc(ptr noundef nonnull align 8 dereferenceable(16) %154, ptr noundef @.str.3)
  store i1 false, ptr %5, align 1
  store i32 1, ptr %14, align 4
  br label %210

156:                                              ; preds = %134
  br label %201

157:                                              ; preds = %125
  %158 = load i32, ptr %19, align 4, !tbaa !9
  %159 = icmp eq i32 %158, 1
  br i1 %159, label %160, label %188

160:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %161 = load ptr, ptr %7, align 8, !tbaa !5
  %162 = call noundef ptr @_ZNK7UStringcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %161)
  %163 = load i32, ptr %10, align 4, !tbaa !9
  %164 = zext i32 %163 to i64
  %165 = getelementptr inbounds i32, ptr %162, i64 %164
  %166 = load i32, ptr %165, align 4, !tbaa !11
  store i32 %166, ptr %20, align 4, !tbaa !11
  %167 = load i32, ptr %20, align 4, !tbaa !11
  %168 = icmp sle i32 %167, 127
  br i1 %168, label %169, label %184

169:                                              ; preds = %160
  %170 = load ptr, ptr %18, align 8, !tbaa !5
  %171 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchForm", ptr %170, i32 0, i32 4
  %172 = load ptr, ptr %171, align 8, !tbaa !33
  %173 = load i32, ptr %20, align 4, !tbaa !11
  %174 = trunc i32 %173 to i8
  %175 = call noundef i32 @_Z19FindCharPosInStringPKcc(ptr noundef %172, i8 noundef signext %174) #6
  %176 = load ptr, ptr %17, align 8, !tbaa !5
  %177 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchResult", ptr %176, i32 0, i32 2
  store i32 %175, ptr %177, align 4, !tbaa !31
  %178 = load ptr, ptr %17, align 8, !tbaa !5
  %179 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchResult", ptr %178, i32 0, i32 2
  %180 = load i32, ptr %179, align 4, !tbaa !31
  %181 = icmp sge i32 %180, 0
  br i1 %181, label %182, label %183

182:                                              ; preds = %169
  store i1 true, ptr %5, align 1
  store i32 1, ptr %14, align 4
  br label %187

183:                                              ; preds = %169
  br label %184

184:                                              ; preds = %183, %160
  %185 = getelementptr inbounds %"class.NCommandLineParser::CParser", ptr %24, i32 0, i32 3
  %186 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN7AStringaSEPKc(ptr noundef nonnull align 8 dereferenceable(16) %185, ptr noundef @.str.3)
  store i1 false, ptr %5, align 1
  store i32 1, ptr %14, align 4
  br label %187

187:                                              ; preds = %184, %182
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  br label %210

188:                                              ; preds = %157
  br label %201

189:                                              ; preds = %125
  %190 = load ptr, ptr %17, align 8, !tbaa !5
  %191 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchResult", ptr %190, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #6
  %192 = load ptr, ptr %7, align 8, !tbaa !5
  %193 = load i32, ptr %10, align 4, !tbaa !9
  %194 = call noundef ptr @_ZNK7UString3PtrEj(ptr noundef nonnull align 8 dereferenceable(16) %192, i32 noundef %193)
  call void @_ZN7UStringC1EPKw(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef %194)
  %195 = invoke noundef i32 @_ZN13CObjectVectorI7UStringE3AddERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %191, ptr noundef nonnull align 8 dereferenceable(16) %21)
          to label %196 unwind label %197

196:                                              ; preds = %189
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #6
  store i1 true, ptr %5, align 1
  store i32 1, ptr %14, align 4
  br label %210

197:                                              ; preds = %189
  %198 = landingpad { ptr, i32 }
          cleanup
  %199 = extractvalue { ptr, i32 } %198, 0
  store ptr %199, ptr %22, align 8
  %200 = extractvalue { ptr, i32 } %198, 1
  store i32 %200, ptr %23, align 4
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %215

201:                                              ; preds = %188, %156, %125
  %202 = load i32, ptr %10, align 4, !tbaa !9
  %203 = load ptr, ptr %7, align 8, !tbaa !5
  %204 = call noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %203)
  %205 = icmp ne i32 %202, %204
  br i1 %205, label %206, label %209

206:                                              ; preds = %201
  %207 = getelementptr inbounds %"class.NCommandLineParser::CParser", ptr %24, i32 0, i32 3
  %208 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN7AStringaSEPKc(ptr noundef nonnull align 8 dereferenceable(16) %207, ptr noundef @.str.4)
  store i1 false, ptr %5, align 1
  store i32 1, ptr %14, align 4
  br label %210

209:                                              ; preds = %201
  store i1 true, ptr %5, align 1
  store i32 1, ptr %14, align 4
  br label %210

210:                                              ; preds = %209, %206, %196, %187, %153, %152, %122
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %211

211:                                              ; preds = %210, %106
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %212

212:                                              ; preds = %211, %81
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %213

213:                                              ; preds = %212, %33
  %214 = load i1, ptr %5, align 1
  ret i1 %214

215:                                              ; preds = %197
  %216 = load ptr, ptr %22, align 8
  %217 = load i32, ptr %23, align 4
  %218 = insertvalue { ptr, i32 } poison, ptr %216, 0
  %219 = insertvalue { ptr, i32 } %218, i32 %217, 1
  resume { ptr, i32 } %219

220:                                              ; preds = %72
  unreachable
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN18NCommandLineParserL14IsItSwitchCharEw(i32 noundef signext) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z11MyStringLenPKc(ptr noundef) #3

; Function Attrs: nounwind
declare noundef zeroext i1 @_Z39IsString1PrefixedByString2_NoCase_AsciiPKwPKc(ptr noundef, ptr noundef) #4

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZN7AStringaSEPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) #5

; Function Attrs: nounwind
declare noundef i32 @_Z19FindCharPosInStringPKcc(ptr noundef, i8 noundef signext) #4

declare void @_ZN7UStringC1EPKw(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #5

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 = { nounwind "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 = { "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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"wchar_t", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"_ZTSN18NCommandLineParser11CSwitchFormE", !6, i64 0, !7, i64 8, !15, i64 9, !7, i64 10, !6, i64 16}
!15 = !{!"bool", !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !6, i64 0}
!19 = !{!"_ZTSN18NCommandLineParser7CParserE", !6, i64 0, !20, i64 8, !10, i64 24, !22, i64 32, !23, i64 48}
!20 = !{!"_ZTS13CObjectVectorI7UStringE", !21, i64 0}
!21 = !{!"_ZTS13CRecordVectorIPvE", !6, i64 0, !10, i64 8, !10, i64 12}
!22 = !{!"_ZTS7AString", !6, i64 0, !10, i64 8, !10, i64 12}
!23 = !{!"_ZTS7UString", !6, i64 0, !10, i64 8, !10, i64 12}
!24 = !{!14, !15, i64 9}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!28, !15, i64 0}
!28 = !{!"_ZTSN18NCommandLineParser13CSwitchResultE", !15, i64 0, !15, i64 1, !10, i64 4, !20, i64 8}
!29 = !{!14, !7, i64 10}
!30 = !{!28, !15, i64 1}
!31 = !{!28, !10, i64 4}
!32 = !{!14, !7, i64 8}
!33 = !{!14, !6, i64 16}


; 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.UString = type { ptr, i32, i32 }
%"struct.NCommandLineParser::CSwitchForm" = type { ptr, i8, i8, i8, ptr }
%"struct.NCommandLineParser::CSwitchResult" = type { i8, i8, i32, %class.CObjectVector }
%class.CObjectVector = type { %class.CRecordVector }
%class.CRecordVector = type { ptr, i32, i32 }

@.str = external hidden unnamed_addr constant [16 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [17 x i8], align 1

; 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 nounwind uwtable
declare dso_local noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK7UString7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN18NCommandLineParser7CParser11ParseStringERK7UStringPKNS_11CSwitchFormEj(ptr noundef nonnull align 8 dereferenceable(64) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr nocapture noundef readonly %2, i32 noundef %3) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %class.UString, align 8
  %6 = tail call noundef zeroext i1 @_ZNK7UString7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  br i1 %6, label %96, label %7

7:                                                ; preds = %4
  %8 = tail call noundef ptr @_ZNK7UStringcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %9 = load i32, ptr %8, align 4, !tbaa !5
  %10 = tail call noundef zeroext i1 @_ZN18NCommandLineParserL14IsItSwitchCharEw(i32 noundef signext %9)
  br i1 %10, label %.preheader, label %96

.preheader:                                       ; preds = %7
  %.not72 = icmp eq i32 %3, 0
  br i1 %.not72, label %._crit_edge.thread, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %.preheader
  %wide.trip.count = zext i32 %3 to i64
  br label %.lr.ph

._crit_edge:                                      ; preds = %22
  %11 = icmp slt i32 %.260, 0
  br i1 %11, label %._crit_edge.thread, label %25

.lr.ph:                                           ; preds = %.lr.ph.preheader, %22
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %22 ]
  %.05570 = phi i32 [ 0, %.lr.ph.preheader ], [ %.257, %22 ]
  %.05869 = phi i32 [ -1, %.lr.ph.preheader ], [ %.260, %22 ]
  %12 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchForm", ptr %2, i64 %indvars.iv
  %13 = load ptr, ptr %12, align 8, !tbaa !9
  %14 = tail call noundef i32 @_Z11MyStringLenPKc(ptr noundef %13)
  %.not65 = icmp sgt i32 %14, %.05869
  br i1 %.not65, label %15, label %22

15:                                               ; preds = %.lr.ph
  %16 = tail call noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %.not66 = icmp ult i32 %14, %16
  br i1 %.not66, label %17, label %22

17:                                               ; preds = %15
  %18 = tail call noundef ptr @_ZNK7UStringcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %19 = getelementptr inbounds i8, ptr %18, i64 4
  %20 = tail call noundef zeroext i1 @_Z39IsString1PrefixedByString2_NoCase_AsciiPKwPKc(ptr noundef nonnull %19, ptr noundef %13) #6
  %spec.select = select i1 %20, i32 %14, i32 %.05869
  %21 = trunc nuw i64 %indvars.iv to i32
  %spec.select67 = select i1 %20, i32 %21, i32 %.05570
  br label %22

22:                                               ; preds = %.lr.ph, %15, %17
  %.260 = phi i32 [ %spec.select, %17 ], [ %.05869, %15 ], [ %.05869, %.lr.ph ]
  %.257 = phi i32 [ %spec.select67, %17 ], [ %.05570, %15 ], [ %.05570, %.lr.ph ]
  %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 %.lr.ph, !llvm.loop !13

._crit_edge.thread:                               ; preds = %.preheader, %._crit_edge
  %23 = getelementptr inbounds i8, ptr %0, i64 32
  %24 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZN7AStringaSEPKc(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull @.str)
  br label %96

25:                                               ; preds = %._crit_edge
  %26 = zext i32 %.257 to i64
  %27 = add nuw i32 %.260, 1
  %28 = load ptr, ptr %0, align 8, !tbaa !15
  %29 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchResult", ptr %28, i64 %26
  %30 = getelementptr inbounds %"struct.NCommandLineParser::CSwitchForm", ptr %2, i64 %26
  %31 = getelementptr inbounds i8, ptr %30, i64 9
  %32 = load i8, ptr %31, align 1, !tbaa !22, !range !23, !noundef !24
  %33 = trunc nuw i8 %32 to i1
  br i1 %33, label %40, label %34

34:                                               ; preds = %25
  %35 = load i8, ptr %29, align 8, !tbaa !25, !range !23, !noundef !24
  %36 = trunc nuw i8 %35 to i1
  br i1 %36, label %37, label %40

37:                                               ; preds = %34
  %38 = getelementptr inbounds i8, ptr %0, i64 32
  %39 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZN7AStringaSEPKc(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull @.str.1)
  br label %96

40:                                               ; preds = %34, %25
  store i8 1, ptr %29, align 8, !tbaa !25
  %41 = tail call noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %42 = sub i32 %41, %27
  %43 = getelementptr inbounds i8, ptr %30, i64 10
  %44 = load i8, ptr %43, align 2, !tbaa !27
  %45 = zext i8 %44 to i32
  %46 = icmp slt i32 %42, %45
  br i1 %46, label %47, label %50

47:                                               ; preds = %40
  %48 = getelementptr inbounds i8, ptr %0, i64 32
  %49 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZN7AStringaSEPKc(ptr noundef nonnull align 8 dereferenceable(16) %48, ptr noundef nonnull @.str.2)
  br label %96

50:                                               ; preds = %40
  %51 = getelementptr inbounds i8, ptr %29, i64 1
  store i8 0, ptr %51, align 1, !tbaa !28
  %52 = getelementptr inbounds i8, ptr %29, i64 4
  store i32 -1, ptr %52, align 4, !tbaa !29
  %53 = getelementptr inbounds i8, ptr %30, i64 8
  %54 = load i8, ptr %53, align 8, !tbaa !30
  switch i8 %54, label %91 [
    i8 1, label %55
    i8 3, label %67
    i8 2, label %84
  ]

55:                                               ; preds = %50
  %56 = icmp eq i32 %42, 1
  br i1 %56, label %57, label %91

57:                                               ; preds = %55
  %58 = tail call noundef ptr @_ZNK7UStringcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %59 = zext i32 %27 to i64
  %60 = getelementptr inbounds i32, ptr %58, i64 %59
  %61 = load i32, ptr %60, align 4, !tbaa !5
  %62 = icmp eq i32 %61, 45
  %63 = zext i1 %62 to i8
  store i8 %63, ptr %51, align 1, !tbaa !28
  br i1 %62, label %96, label %64

64:                                               ; preds = %57
  %65 = getelementptr inbounds i8, ptr %0, i64 32
  %66 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZN7AStringaSEPKc(ptr noundef nonnull align 8 dereferenceable(16) %65, ptr noundef nonnull @.str.3)
  br label %96

67:                                               ; preds = %50
  %68 = icmp eq i32 %42, 1
  br i1 %68, label %69, label %91

69:                                               ; preds = %67
  %70 = tail call noundef ptr @_ZNK7UStringcvPKwEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %71 = zext i32 %27 to i64
  %72 = getelementptr inbounds i32, ptr %70, i64 %71
  %73 = load i32, ptr %72, align 4, !tbaa !5
  %74 = icmp slt i32 %73, 128
  br i1 %74, label %75, label %81

75:                                               ; preds = %69
  %76 = getelementptr inbounds i8, ptr %30, i64 16
  %77 = load ptr, ptr %76, align 8, !tbaa !31
  %78 = trunc i32 %73 to i8
  %79 = tail call noundef i32 @_Z19FindCharPosInStringPKcc(ptr noundef %77, i8 noundef signext %78) #6
  store i32 %79, ptr %52, align 4, !tbaa !29
  %80 = icmp sgt i32 %79, -1
  br i1 %80, label %96, label %81

81:                                               ; preds = %75, %69
  %82 = getelementptr inbounds i8, ptr %0, i64 32
  %83 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZN7AStringaSEPKc(ptr noundef nonnull align 8 dereferenceable(16) %82, ptr noundef nonnull @.str.3)
  br label %96

84:                                               ; preds = %50
  %85 = getelementptr inbounds i8, ptr %29, i64 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  %86 = tail call noundef ptr @_ZNK7UString3PtrEj(ptr noundef nonnull align 8 dereferenceable(16) %1, i32 noundef %27)
  call void @_ZN7UStringC1EPKw(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef %86)
  %87 = invoke noundef i32 @_ZN13CObjectVectorI7UStringE3AddERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %85, ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %88 unwind label %89

88:                                               ; preds = %84
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  br label %96

89:                                               ; preds = %84
  %90 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7UStringD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  resume { ptr, i32 } %90

91:                                               ; preds = %67, %55, %50
  %92 = tail call noundef i32 @_ZNK7UString3LenEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %.not = icmp eq i32 %27, %92
  br i1 %.not, label %96, label %93

93:                                               ; preds = %91
  %94 = getelementptr inbounds i8, ptr %0, i64 32
  %95 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZN7AStringaSEPKc(ptr noundef nonnull align 8 dereferenceable(16) %94, ptr noundef nonnull @.str.4)
  br label %96

96:                                               ; preds = %._crit_edge.thread, %47, %64, %88, %93, %57, %75, %81, %91, %37, %4, %7
  %.4 = phi i1 [ false, %7 ], [ false, %4 ], [ false, %._crit_edge.thread ], [ false, %37 ], [ false, %47 ], [ false, %93 ], [ true, %88 ], [ false, %64 ], [ true, %57 ], [ false, %81 ], [ true, %75 ], [ true, %91 ]
  ret i1 %.4
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN18NCommandLineParserL14IsItSwitchCharEw(i32 noundef signext) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z11MyStringLenPKc(ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind
declare noundef zeroext i1 @_Z39IsString1PrefixedByString2_NoCase_AsciiPKwPKc(ptr noundef, ptr noundef) local_unnamed_addr #4

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZN7AStringaSEPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #5

; Function Attrs: nounwind
declare noundef i32 @_Z19FindCharPosInStringPKcc(ptr noundef, i8 noundef signext) local_unnamed_addr #4

declare void @_ZN7UStringC1EPKw(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 = { nounwind "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 = { "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 = !{!"wchar_t", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSN18NCommandLineParser11CSwitchFormE", !11, i64 0, !7, i64 8, !12, i64 9, !7, i64 10, !11, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !11, i64 0}
!16 = !{!"_ZTSN18NCommandLineParser7CParserE", !11, i64 0, !17, i64 8, !19, i64 24, !20, i64 32, !21, i64 48}
!17 = !{!"_ZTS13CObjectVectorI7UStringE", !18, i64 0}
!18 = !{!"_ZTS13CRecordVectorIPvE", !11, i64 0, !19, i64 8, !19, i64 12}
!19 = !{!"int", !7, i64 0}
!20 = !{!"_ZTS7AString", !11, i64 0, !19, i64 8, !19, i64 12}
!21 = !{!"_ZTS7UString", !11, i64 0, !19, i64 8, !19, i64 12}
!22 = !{!10, !12, i64 9}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = !{!26, !12, i64 0}
!26 = !{!"_ZTSN18NCommandLineParser13CSwitchResultE", !12, i64 0, !12, i64 1, !19, i64 4, !17, i64 8}
!27 = !{!10, !7, i64 10}
!28 = !{!26, !12, i64 1}
!29 = !{!26, !19, i64 4}
!30 = !{!10, !7, i64 8}
!31 = !{!10, !11, i64 16}


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