Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; ModuleID = '-'
- source_filename = "-"
- target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
- target triple = "x86_64-apple-macosx10.14.0"
- %swift.opaque = type opaque
- %"T4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLV" = type <{ %TSS }>
- %TSS = type <{ %Ts11_StringGutsV }>
- %Ts11_StringGutsV = type <{ %Ts13_StringObjectV }>
- %Ts13_StringObjectV = type <{ %Ts6UInt64V, %swift.bridge* }>
- %swift.bridge = type opaque
- @"$s4mini3Bar_pMF" = internal constant { i32, i32, i16, i16, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ [12 x i8], i8 }>* @"symbolic $s4mini3BarP" to i64), i64 ptrtoint ({ i32, i32, i16, i16, i32 }* @"$s4mini3Bar_pMF" to i64)) to i32), i32 0, i16 4, i16 12, i32 0 }, section "__TEXT,__swift5_fieldmd, regular, no_dead_strip", align 4
- @"$s4miniMXM" = linkonce_odr hidden constant <{ i32, i32, i32 }> <{ i32 0, i32 0, i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @0 to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32 }>, <{ i32, i32, i32 }>* @"$s4miniMXM", i32 0, i32 2) to i64)) to i32) }>, section "__TEXT,__const", align 4
- @"$s4mini3BarMp" = hidden constant <{ i32, i32, i32, i32, i32, i32, %swift.protocol_requirement }> <{ i32 65603, i32 trunc (i64 sub (i64 ptrtoint (<{ i32, i32, i32 }>* @"$s4miniMXM" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, %swift.protocol_requirement }>, <{ i32, i32, i32, i32, i32, i32, %swift.protocol_requirement }>* @"$s4mini3BarMp", i32 0, i32 1) to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @1 to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, %swift.protocol_requirement }>, <{ i32, i32, i32, i32, i32, i32, %swift.protocol_requirement }>* @"$s4mini3BarMp", i32 0, i32 2) to i64)) to i32), i32 0, i32 1, i32 0, %swift.protocol_requirement { i32 17, i32 0 } }>, section "__TEXT,__const", align 4
- @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVWV" = internal constant %swift.vwtable { i8* bitcast (%swift.opaque* ([24 x i8]*, [24 x i8]*, %swift.type*)* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVwCP" to i8*), i8* bitcast (void (%swift.opaque*, %swift.type*)* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVwxx" to i8*), i8* bitcast (%swift.opaque* (%swift.opaque*, %swift.opaque*, %swift.type*)* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVwcp" to i8*), i8* bitcast (%swift.opaque* (%swift.opaque*, %swift.opaque*, %swift.type*)* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVwca" to i8*), i8* bitcast (i8* (i8*, i8*, %swift.type*)* @__swift_memcpy16_8 to i8*), i8* bitcast (%swift.opaque* (%swift.opaque*, %swift.opaque*, %swift.type*)* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVwta" to i8*), i8* bitcast (i32 (%swift.opaque*, i32, %swift.type*)* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVwet" to i8*), i8* bitcast (void (%swift.opaque*, i32, i32, %swift.type*)* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVwst" to i8*), i64 16, i64 16, i32 65543, i32 2147483647 }, align 8
- @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVMXX" = linkonce_odr hidden constant <{ i32, i32 }> <{ i32 66, i32 trunc (i64 sub (i64 ptrtoint (<{ i32, i32, i32 }>* @"$s4miniMXM" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32 }>, <{ i32, i32 }>* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVMXX", i32 0, i32 1) to i64)) to i32) }>, section "__TEXT,__const", align 4
- @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVMn" = internal constant <{ i32, i32, i32, i32, i32, i32, i32 }> <{ i32 81, i32 trunc (i64 sub (i64 ptrtoint (<{ i32, i32 }>* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVMXX" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32 }>, <{ i32, i32, i32, i32, i32, i32, i32 }>* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVMn", i32 0, i32 1) to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([22 x i8]* @2 to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32 }>, <{ i32, i32, i32, i32, i32, i32, i32 }>* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVMn", i32 0, i32 2) to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint (%swift.metadata_response (i64)* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVMa" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32 }>, <{ i32, i32, i32, i32, i32, i32, i32 }>* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVMn", i32 0, i32 3) to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ({ i32, i32, i16, i16, i32, i32, i32, i32 }* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVMF" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, i32 }>, <{ i32, i32, i32, i32, i32, i32, i32 }>* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVMn", i32 0, i32 4) to i64)) to i32), i32 1, i32 2 }>, section "__TEXT,__const", align 4
- @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVMf" = internal constant <{ i8**, i64, <{ i32, i32, i32, i32, i32, i32, i32 }>*, i32, [4 x i8] }> <{ i8** getelementptr inbounds (%swift.vwtable, %swift.vwtable* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVWV", i32 0, i32 0), i64 512, <{ i32, i32, i32, i32, i32, i32, i32 }>* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVMn", i32 0, [4 x i8] zeroinitializer }>, align 8
- @"symbolic _____ 4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLV" = linkonce_odr hidden constant <{ i8, i32, i8 }> <{ i8 1, i32 trunc (i64 sub (i64 ptrtoint (<{ i32, i32, i32, i32, i32, i32, i32 }>* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVMn" to i64), i64 ptrtoint (i32* getelementptr inbounds (<{ i8, i32, i8 }>, <{ i8, i32, i8 }>* @"symbolic _____ 4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLV", i32 0, i32 1) to i64)) to i32), i8 0 }>, section "__TEXT,__swift5_typeref, regular, no_dead_strip", align 2
- @3 = private constant [12 x i8] c"$_capture_s\00", section "__TEXT,__swift5_reflstr, regular, no_dead_strip"
- @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVMF" = internal constant { i32, i32, i16, i16, i32, i32, i32, i32 } { i32 trunc (i64 sub (i64 ptrtoint (<{ i8, i32, i8 }>* @"symbolic _____ 4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLV" to i64), i64 ptrtoint ({ i32, i32, i16, i16, i32, i32, i32, i32 }* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVMF" to i64)) to i32), i32 0, i16 0, i16 12, i32 1, i32 2, i32 trunc (i64 sub (i64 ptrtoint (<{ [2 x i8], i8 }>* @"symbolic SS" to i64), i64 ptrtoint (i32* getelementptr inbounds ({ i32, i32, i16, i16, i32, i32, i32, i32 }, { i32, i32, i16, i16, i32, i32, i32, i32 }* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVMF", i32 0, i32 6) to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([12 x i8]* @3 to i64), i64 ptrtoint (i32* getelementptr inbounds ({ i32, i32, i16, i16, i32, i32, i32, i32 }, { i32, i32, i16, i16, i32, i32, i32, i32 }* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVMF", i32 0, i32 7) to i64)) to i32) }, section "__TEXT,__swift5_fieldmd, regular, no_dead_strip", align 4
- @"_swift_FORCE_LOAD_$_swiftCompatibility50_$_mini" = weak_odr hidden constant void ()* @"_swift_FORCE_LOAD_$_swiftCompatibility50"
- @"_swift_FORCE_LOAD_$_swiftCompatibilityDynamicReplacements_$_mini" = weak_odr hidden constant void ()* @"_swift_FORCE_LOAD_$_swiftCompatibilityDynamicReplacements"
- @"\01l_protocols" = private constant [1 x %swift.protocolref] [%swift.protocolref { i32 trunc (i64 sub (i64 ptrtoint (<{ i32, i32, i32, i32, i32, i32, %swift.protocol_requirement }>* @"$s4mini3BarMp" to i64), i64 ptrtoint ([1 x %swift.protocolref]* @"\01l_protocols" to i64)) to i32) }], section "__TEXT, __swift5_protos, regular, no_dead_strip", align 4
- @"\01l_type_metadata_table" = private constant [1 x %swift.type_metadata_record] [%swift.type_metadata_record { i32 trunc (i64 sub (i64 ptrtoint (<{ i32, i32, i32, i32, i32, i32, i32 }>* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVMn" to i64), i64 ptrtoint ([1 x %swift.type_metadata_record]* @"\01l_type_metadata_table" to i64)) to i32) }], section "__TEXT, __swift5_types, regular, no_dead_strip", align 4
- @llvm.used = appending global [7 x i8*] [i8* bitcast ({ i32, i32, i16, i16, i32 }* @"$s4mini3Bar_pMF" to i8*), i8* bitcast ({ i32, i32, i16, i16, i32, i32, i32, i32 }* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVMF" to i8*), i8* bitcast (void ()** @"_swift_FORCE_LOAD_$_swiftCompatibility50_$_mini" to i8*), i8* bitcast (void ()** @"_swift_FORCE_LOAD_$_swiftCompatibilityDynamicReplacements_$_mini" to i8*), i8* bitcast ([1 x %swift.protocolref]* @"\01l_protocols" to i8*), i8* bitcast ([1 x %swift.type_metadata_record]* @"\01l_type_metadata_table" to i8*), i8* bitcast (i16* @__swift_reflection_version to i8*)], section "llvm.metadata", align 8
- @"$s4mini3BarTL" = hidden alias %swift.protocol_requirement, getelementptr (%swift.protocol_requirement, %swift.protocol_requirement* getelementptr inbounds (<{ i32, i32, i32, i32, i32, i32, %swift.protocol_requirement }>, <{ i32, i32, i32, i32, i32, i32, %swift.protocol_requirement }>* @"$s4mini3BarMp", i32 0, i32 6), i32 -1)
- @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVN" = internal alias %swift.type, bitcast (i64* getelementptr inbounds (<{ i8**, i64, <{ i32, i32, i32, i32, i32, i32, i32 }>*, i32, [4 x i8] }>, <{ i8**, i64, <{ i32, i32, i32, i32, i32, i32, i32 }>*, i32, [4 x i8] }>* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVMf", i32 0, i32 1) to %swift.type*)
- entry:
- }
- ; Function Attrs: nounwind
- entry:
- %object = bitcast [24 x i8]* %dest to %"T4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLV"*
- %object1 = bitcast [24 x i8]* %src to %"T4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLV"*
- %2 = load %swift.bridge*, %swift.bridge** %"object1.$_capture_s._guts._object._object", align 8
- store %swift.bridge* %2, %swift.bridge** %"object.$_capture_s._guts._object._object", align 8
- %4 = bitcast %"T4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLV"* %object to %swift.opaque*
- ret %swift.opaque* %4
- }
- ; Function Attrs: argmemonly nounwind
- ; Function Attrs: nounwind
- ; Function Attrs: cold noreturn nounwind
- ; Function Attrs: nounwind
- define internal void @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVwxx"(%swift.opaque* noalias %object, %swift.type* %"$_closure_as_struct_0") #1 {
- entry:
- %0 = bitcast %swift.opaque* %object to %"T4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLV"*
- %toDestroy = load %swift.bridge*, %swift.bridge** %".$_capture_s._guts._object._object", align 8
- ret void
- }
- ; Function Attrs: nounwind
- ; Function Attrs: nounwind
- define internal %swift.opaque* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVwcp"(%swift.opaque* noalias %dest, %swift.opaque* noalias %src, %swift.type* %"$_closure_as_struct_0") #1 {
- entry:
- %0 = bitcast %swift.opaque* %dest to %"T4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLV"*
- %1 = bitcast %swift.opaque* %src to %"T4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLV"*
- %4 = load %swift.bridge*, %swift.bridge** %".$_capture_s1._guts._object._object", align 8
- store %swift.bridge* %4, %swift.bridge** %".$_capture_s._guts._object._object", align 8
- %6 = bitcast %"T4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLV"* %0 to %swift.opaque*
- ret %swift.opaque* %6
- }
- ; Function Attrs: nounwind
- define internal %swift.opaque* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVwca"(%swift.opaque* %dest, %swift.opaque* %src, %swift.type* %"$_closure_as_struct_0") #1 {
- entry:
- %0 = bitcast %swift.opaque* %dest to %"T4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLV"*
- %1 = bitcast %swift.opaque* %src to %"T4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLV"*
- %3 = load %swift.bridge*, %swift.bridge** %".$_capture_s1._guts._object._object", align 8
- %oldValue = load %swift.bridge*, %swift.bridge** %".$_capture_s._guts._object._object", align 8
- store %swift.bridge* %3, %swift.bridge** %".$_capture_s._guts._object._object", align 8
- %5 = bitcast %"T4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLV"* %0 to %swift.opaque*
- ret %swift.opaque* %5
- }
- ; Function Attrs: nounwind
- entry:
- }
- ; Function Attrs: nounwind
- define internal %swift.opaque* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVwta"(%swift.opaque* noalias %dest, %swift.opaque* noalias %src, %swift.type* %"$_closure_as_struct_0") #1 {
- entry:
- %0 = bitcast %swift.opaque* %dest to %"T4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLV"*
- %1 = bitcast %swift.opaque* %src to %"T4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLV"*
- %3 = load %swift.bridge*, %swift.bridge** %".$_capture_s1._guts._object._object", align 8
- %oldValue = load %swift.bridge*, %swift.bridge** %".$_capture_s._guts._object._object", align 8
- store %swift.bridge* %3, %swift.bridge** %".$_capture_s._guts._object._object", align 8
- %4 = bitcast %"T4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLV"* %0 to %swift.opaque*
- ret %swift.opaque* %4
- }
- ; Function Attrs: nounwind readonly
- entry:
- %0 = bitcast %swift.opaque* %value to %"T4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLV"*
- 2: ; preds = %entry
- 4: ; preds = %2
- 8: ; preds = %4
- br label %23
- 9: ; preds = %4
- 10: ; preds = %9
- br label %23
- 13: ; preds = %9
- 14: ; preds = %13
- br label %23
- 18: ; preds = %13
- 19: ; preds = %18
- br label %23
- 22: ; preds = %18
- unreachable
- 23: ; preds = %19, %14, %10, %8
- 26: ; preds = %23
- br label %45
- 35: ; preds = %23, %2
- is-invalid-pointer: ; preds = %35
- is-untagged-pointer: ; preds = %is-invalid-pointer
- br label %is-valid-pointer
- is-valid-pointer: ; preds = %is-untagged-pointer, %is-invalid-pointer, %35
- br label %45
- 44: ; preds = %entry
- br label %45
- 45: ; preds = %44, %is-valid-pointer, %26
- }
- ; Function Attrs: nounwind
- entry:
- %0 = bitcast %swift.opaque* %value to %"T4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLV"*
- 4: ; preds = %entry
- br label %6
- 6: ; preds = %4, %entry
- 9: ; preds = %6
- 11: ; preds = %9
- br label %24
- 12: ; preds = %9
- 14: ; preds = %12
- br label %24
- 15: ; preds = %12
- 17: ; preds = %15
- br label %24
- 19: ; preds = %15
- 21: ; preds = %19
- br label %24
- 23: ; preds = %19
- unreachable
- 24: ; preds = %21, %17, %14, %11
- 26: ; preds = %24
- br label %60
- 31: ; preds = %6
- 34: ; preds = %31
- br label %38
- 38: ; preds = %34, %31
- 44: ; preds = %38
- br label %59
- 45: ; preds = %38
- 47: ; preds = %45
- br label %59
- 49: ; preds = %45
- 51: ; preds = %49
- br label %59
- 54: ; preds = %49
- 56: ; preds = %54
- br label %59
- 58: ; preds = %54
- unreachable
- 59: ; preds = %56, %51, %47, %44
- br label %60
- 60: ; preds = %59, %26, %24
- ret void
- }
- ; Function Attrs: noinline nounwind readnone
- define internal swiftcc %swift.metadata_response @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVMa"(i64) #6 {
- entry:
- ret %swift.metadata_response { %swift.type* bitcast (i64* getelementptr inbounds (<{ i8**, i64, <{ i32, i32, i32, i32, i32, i32, i32 }>*, i32, [4 x i8] }>, <{ i8**, i64, <{ i32, i32, i32, i32, i32, i32, i32 }>*, i32, [4 x i8] }>* @"$s4mini21$_closure_as_struct_033_D7480568761F28CA6D937C628E647EF2LLVMf", i32 0, i32 1) to %swift.type*), i64 0 }
- }
- declare extern_weak void @"_swift_FORCE_LOAD_$_swiftCompatibility50"()
- declare extern_weak void @"_swift_FORCE_LOAD_$_swiftCompatibilityDynamicReplacements"()
- attributes #0 = { "frame-pointer"="all" "target-cpu"="penryn" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sahf,+sse,+sse2,+sse3,+sse4.1,+ssse3,+x87" }
- attributes #1 = { nounwind "frame-pointer"="all" "target-cpu"="penryn" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sahf,+sse,+sse2,+sse3,+sse4.1,+ssse3,+x87" }
- attributes #2 = { argmemonly nounwind }
- attributes #3 = { nounwind }
- attributes #4 = { cold noreturn nounwind }
- attributes #5 = { nounwind readonly "frame-pointer"="all" "target-cpu"="penryn" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sahf,+sse,+sse2,+sse3,+sse4.1,+ssse3,+x87" }
- attributes #6 = { noinline nounwind readnone "frame-pointer"="none" "target-cpu"="penryn" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sahf,+sse,+sse2,+sse3,+sse4.1,+ssse3,+x87" }
- !swift.module.flags = !{!0}
- !llvm.asan.globals = !{!1, !2, !3, !4, !5, !6, !7, !8, !9, !10, !11, !12, !13}
- !llvm.module.flags = !{!14, !15, !16, !17, !18, !19, !20, !21}
- !llvm.linker.options = !{!22, !23, !24, !25, !26}
- !22 = !{!"-lswiftSwiftOnoneSupport"}
- !23 = !{!"-lswiftCore"}
- !24 = !{!"-lobjc"}
- !25 = !{!"-lswiftCompatibility50"}
- !26 = !{!"-lswiftCompatibilityDynamicReplacements"}
- Program ended with exit code: 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement