llvm-ir 0.11.3

LLVM IR in natural Rust data structures
Documentation
; ModuleID = 'linkedlist.c'
source_filename = "linkedlist.c"
target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-apple-macosx10.16.0"

%struct.SimpleLinkedList = type { i32, %struct.SimpleLinkedList* }
%struct.NodeA = type { i32, %struct.NodeB* }
%struct.NodeB = type { i32, %struct.NodeA* }
%struct.SomeOpaqueStruct = type opaque

; Function Attrs: noinline nounwind optnone ssp uwtable
define i32 @simple_linked_list(i32 %0) #0 !dbg !11 {
  %2 = alloca i32, align 4
  %3 = alloca %struct.SimpleLinkedList, align 8
  %4 = alloca %struct.SimpleLinkedList, align 8
  %5 = alloca %struct.SimpleLinkedList, align 8
  %6 = alloca %struct.SimpleLinkedList, align 8
  %7 = alloca %struct.SimpleLinkedList, align 8
  store i32 %0, i32* %2, align 4
  call void @llvm.dbg.declare(metadata i32* %2, metadata !15, metadata !DIExpression()), !dbg !16
  call void @llvm.dbg.declare(metadata %struct.SimpleLinkedList* %3, metadata !17, metadata !DIExpression()), !dbg !23
  %8 = getelementptr inbounds %struct.SimpleLinkedList, %struct.SimpleLinkedList* %3, i32 0, i32 0, !dbg !24
  %9 = load i32, i32* %2, align 4, !dbg !25
  store i32 %9, i32* %8, align 8, !dbg !24
  %10 = getelementptr inbounds %struct.SimpleLinkedList, %struct.SimpleLinkedList* %3, i32 0, i32 1, !dbg !24
  store %struct.SimpleLinkedList* null, %struct.SimpleLinkedList** %10, align 8, !dbg !24
  %11 = getelementptr inbounds %struct.SimpleLinkedList, %struct.SimpleLinkedList* %3, i32 0, i32 0, !dbg !26
  %12 = load i32, i32* %11, align 8, !dbg !27
  %13 = add nsw i32 %12, 2, !dbg !27
  store i32 %13, i32* %11, align 8, !dbg !27
  call void @llvm.dbg.declare(metadata %struct.SimpleLinkedList* %4, metadata !28, metadata !DIExpression()), !dbg !29
  %14 = getelementptr inbounds %struct.SimpleLinkedList, %struct.SimpleLinkedList* %4, i32 0, i32 0, !dbg !30
  %15 = load i32, i32* %2, align 4, !dbg !31
  %16 = sub nsw i32 %15, 3, !dbg !32
  store i32 %16, i32* %14, align 8, !dbg !30
  %17 = getelementptr inbounds %struct.SimpleLinkedList, %struct.SimpleLinkedList* %4, i32 0, i32 1, !dbg !30
  store %struct.SimpleLinkedList* null, %struct.SimpleLinkedList** %17, align 8, !dbg !30
  call void @llvm.dbg.declare(metadata %struct.SimpleLinkedList* %5, metadata !33, metadata !DIExpression()), !dbg !34
  %18 = getelementptr inbounds %struct.SimpleLinkedList, %struct.SimpleLinkedList* %5, i32 0, i32 0, !dbg !35
  %19 = load i32, i32* %2, align 4, !dbg !36
  %20 = mul nsw i32 %19, 5, !dbg !37
  store i32 %20, i32* %18, align 8, !dbg !35
  %21 = getelementptr inbounds %struct.SimpleLinkedList, %struct.SimpleLinkedList* %5, i32 0, i32 1, !dbg !35
  store %struct.SimpleLinkedList* null, %struct.SimpleLinkedList** %21, align 8, !dbg !35
  call void @llvm.dbg.declare(metadata %struct.SimpleLinkedList* %6, metadata !38, metadata !DIExpression()), !dbg !39
  %22 = getelementptr inbounds %struct.SimpleLinkedList, %struct.SimpleLinkedList* %6, i32 0, i32 0, !dbg !40
  %23 = load i32, i32* %2, align 4, !dbg !41
  %24 = sdiv i32 %23, 2, !dbg !42
  store i32 %24, i32* %22, align 8, !dbg !40
  %25 = getelementptr inbounds %struct.SimpleLinkedList, %struct.SimpleLinkedList* %6, i32 0, i32 1, !dbg !40
  store %struct.SimpleLinkedList* null, %struct.SimpleLinkedList** %25, align 8, !dbg !40
  call void @llvm.dbg.declare(metadata %struct.SimpleLinkedList* %7, metadata !43, metadata !DIExpression()), !dbg !44
  %26 = getelementptr inbounds %struct.SimpleLinkedList, %struct.SimpleLinkedList* %7, i32 0, i32 0, !dbg !45
  %27 = load i32, i32* %2, align 4, !dbg !46
  %28 = sdiv i32 %27, 100, !dbg !47
  store i32 %28, i32* %26, align 8, !dbg !45
  %29 = getelementptr inbounds %struct.SimpleLinkedList, %struct.SimpleLinkedList* %7, i32 0, i32 1, !dbg !45
  store %struct.SimpleLinkedList* null, %struct.SimpleLinkedList** %29, align 8, !dbg !45
  %30 = getelementptr inbounds %struct.SimpleLinkedList, %struct.SimpleLinkedList* %3, i32 0, i32 1, !dbg !48
  store %struct.SimpleLinkedList* %4, %struct.SimpleLinkedList** %30, align 8, !dbg !49
  %31 = getelementptr inbounds %struct.SimpleLinkedList, %struct.SimpleLinkedList* %4, i32 0, i32 1, !dbg !50
  store %struct.SimpleLinkedList* %5, %struct.SimpleLinkedList** %31, align 8, !dbg !51
  %32 = getelementptr inbounds %struct.SimpleLinkedList, %struct.SimpleLinkedList* %5, i32 0, i32 1, !dbg !52
  store %struct.SimpleLinkedList* %6, %struct.SimpleLinkedList** %32, align 8, !dbg !53
  %33 = getelementptr inbounds %struct.SimpleLinkedList, %struct.SimpleLinkedList* %6, i32 0, i32 1, !dbg !54
  store %struct.SimpleLinkedList* %7, %struct.SimpleLinkedList** %33, align 8, !dbg !55
  %34 = getelementptr inbounds %struct.SimpleLinkedList, %struct.SimpleLinkedList* %7, i32 0, i32 1, !dbg !56
  store %struct.SimpleLinkedList* %3, %struct.SimpleLinkedList** %34, align 8, !dbg !57
  %35 = getelementptr inbounds %struct.SimpleLinkedList, %struct.SimpleLinkedList* %3, i32 0, i32 1, !dbg !58
  %36 = load %struct.SimpleLinkedList*, %struct.SimpleLinkedList** %35, align 8, !dbg !58
  %37 = getelementptr inbounds %struct.SimpleLinkedList, %struct.SimpleLinkedList* %36, i32 0, i32 1, !dbg !59
  %38 = load %struct.SimpleLinkedList*, %struct.SimpleLinkedList** %37, align 8, !dbg !59
  %39 = getelementptr inbounds %struct.SimpleLinkedList, %struct.SimpleLinkedList* %38, i32 0, i32 1, !dbg !60
  %40 = load %struct.SimpleLinkedList*, %struct.SimpleLinkedList** %39, align 8, !dbg !60
  %41 = getelementptr inbounds %struct.SimpleLinkedList, %struct.SimpleLinkedList* %40, i32 0, i32 1, !dbg !61
  %42 = load %struct.SimpleLinkedList*, %struct.SimpleLinkedList** %41, align 8, !dbg !61
  %43 = getelementptr inbounds %struct.SimpleLinkedList, %struct.SimpleLinkedList* %42, i32 0, i32 1, !dbg !62
  %44 = load %struct.SimpleLinkedList*, %struct.SimpleLinkedList** %43, align 8, !dbg !62
  %45 = getelementptr inbounds %struct.SimpleLinkedList, %struct.SimpleLinkedList* %44, i32 0, i32 1, !dbg !63
  %46 = load %struct.SimpleLinkedList*, %struct.SimpleLinkedList** %45, align 8, !dbg !63
  %47 = getelementptr inbounds %struct.SimpleLinkedList, %struct.SimpleLinkedList* %46, i32 0, i32 1, !dbg !64
  %48 = load %struct.SimpleLinkedList*, %struct.SimpleLinkedList** %47, align 8, !dbg !64
  %49 = getelementptr inbounds %struct.SimpleLinkedList, %struct.SimpleLinkedList* %48, i32 0, i32 1, !dbg !65
  %50 = load %struct.SimpleLinkedList*, %struct.SimpleLinkedList** %49, align 8, !dbg !65
  %51 = getelementptr inbounds %struct.SimpleLinkedList, %struct.SimpleLinkedList* %50, i32 0, i32 1, !dbg !66
  %52 = load %struct.SimpleLinkedList*, %struct.SimpleLinkedList** %51, align 8, !dbg !66
  %53 = getelementptr inbounds %struct.SimpleLinkedList, %struct.SimpleLinkedList* %52, i32 0, i32 1, !dbg !67
  %54 = load %struct.SimpleLinkedList*, %struct.SimpleLinkedList** %53, align 8, !dbg !67
  %55 = getelementptr inbounds %struct.SimpleLinkedList, %struct.SimpleLinkedList* %54, i32 0, i32 0, !dbg !68
  %56 = load i32, i32* %55, align 8, !dbg !68
  ret i32 %56, !dbg !69
}

; Function Attrs: nounwind readnone speculatable willreturn
declare void @llvm.dbg.declare(metadata, metadata, metadata) #1

; Function Attrs: noinline nounwind optnone ssp uwtable
define i32 @indirectly_recursive_type(i32 %0) #0 !dbg !70 {
  %2 = alloca i32, align 4
  %3 = alloca %struct.NodeA, align 8
  %4 = alloca %struct.NodeB, align 8
  %5 = alloca %struct.NodeA, align 8
  store i32 %0, i32* %2, align 4
  call void @llvm.dbg.declare(metadata i32* %2, metadata !71, metadata !DIExpression()), !dbg !72
  call void @llvm.dbg.declare(metadata %struct.NodeA* %3, metadata !73, metadata !DIExpression()), !dbg !84
  %6 = getelementptr inbounds %struct.NodeA, %struct.NodeA* %3, i32 0, i32 0, !dbg !85
  %7 = load i32, i32* %2, align 4, !dbg !86
  store i32 %7, i32* %6, align 8, !dbg !85
  %8 = getelementptr inbounds %struct.NodeA, %struct.NodeA* %3, i32 0, i32 1, !dbg !85
  store %struct.NodeB* null, %struct.NodeB** %8, align 8, !dbg !85
  call void @llvm.dbg.declare(metadata %struct.NodeB* %4, metadata !87, metadata !DIExpression()), !dbg !88
  %9 = getelementptr inbounds %struct.NodeB, %struct.NodeB* %4, i32 0, i32 0, !dbg !89
  %10 = load i32, i32* %2, align 4, !dbg !90
  %11 = add nsw i32 %10, 3, !dbg !91
  store i32 %11, i32* %9, align 8, !dbg !89
  %12 = getelementptr inbounds %struct.NodeB, %struct.NodeB* %4, i32 0, i32 1, !dbg !89
  store %struct.NodeA* null, %struct.NodeA** %12, align 8, !dbg !89
  call void @llvm.dbg.declare(metadata %struct.NodeA* %5, metadata !92, metadata !DIExpression()), !dbg !93
  %13 = getelementptr inbounds %struct.NodeA, %struct.NodeA* %5, i32 0, i32 0, !dbg !94
  %14 = load i32, i32* %2, align 4, !dbg !95
  %15 = sdiv i32 %14, 4, !dbg !96
  store i32 %15, i32* %13, align 8, !dbg !94
  %16 = getelementptr inbounds %struct.NodeA, %struct.NodeA* %5, i32 0, i32 1, !dbg !94
  store %struct.NodeB* null, %struct.NodeB** %16, align 8, !dbg !94
  %17 = getelementptr inbounds %struct.NodeA, %struct.NodeA* %3, i32 0, i32 1, !dbg !97
  store %struct.NodeB* %4, %struct.NodeB** %17, align 8, !dbg !98
  %18 = getelementptr inbounds %struct.NodeB, %struct.NodeB* %4, i32 0, i32 1, !dbg !99
  store %struct.NodeA* %5, %struct.NodeA** %18, align 8, !dbg !100
  %19 = getelementptr inbounds %struct.NodeA, %struct.NodeA* %5, i32 0, i32 1, !dbg !101
  store %struct.NodeB* %4, %struct.NodeB** %19, align 8, !dbg !102
  %20 = getelementptr inbounds %struct.NodeA, %struct.NodeA* %3, i32 0, i32 1, !dbg !103
  %21 = load %struct.NodeB*, %struct.NodeB** %20, align 8, !dbg !103
  %22 = getelementptr inbounds %struct.NodeB, %struct.NodeB* %21, i32 0, i32 1, !dbg !104
  %23 = load %struct.NodeA*, %struct.NodeA** %22, align 8, !dbg !104
  %24 = getelementptr inbounds %struct.NodeA, %struct.NodeA* %23, i32 0, i32 1, !dbg !105
  %25 = load %struct.NodeB*, %struct.NodeB** %24, align 8, !dbg !105
  %26 = getelementptr inbounds %struct.NodeB, %struct.NodeB* %25, i32 0, i32 1, !dbg !106
  %27 = load %struct.NodeA*, %struct.NodeA** %26, align 8, !dbg !106
  %28 = getelementptr inbounds %struct.NodeA, %struct.NodeA* %27, i32 0, i32 1, !dbg !107
  %29 = load %struct.NodeB*, %struct.NodeB** %28, align 8, !dbg !107
  %30 = getelementptr inbounds %struct.NodeB, %struct.NodeB* %29, i32 0, i32 1, !dbg !108
  %31 = load %struct.NodeA*, %struct.NodeA** %30, align 8, !dbg !108
  %32 = getelementptr inbounds %struct.NodeA, %struct.NodeA* %31, i32 0, i32 1, !dbg !109
  %33 = load %struct.NodeB*, %struct.NodeB** %32, align 8, !dbg !109
  %34 = getelementptr inbounds %struct.NodeB, %struct.NodeB* %33, i32 0, i32 0, !dbg !110
  %35 = load i32, i32* %34, align 8, !dbg !110
  ret i32 %35, !dbg !111
}

; Function Attrs: noinline nounwind optnone ssp uwtable
define i32 @takes_opaque_struct(%struct.SomeOpaqueStruct* %0) #0 !dbg !112 {
  %2 = alloca %struct.SomeOpaqueStruct*, align 8
  store %struct.SomeOpaqueStruct* %0, %struct.SomeOpaqueStruct** %2, align 8
  call void @llvm.dbg.declare(metadata %struct.SomeOpaqueStruct** %2, metadata !117, metadata !DIExpression()), !dbg !118
  %3 = load %struct.SomeOpaqueStruct*, %struct.SomeOpaqueStruct** %2, align 8, !dbg !119
  %4 = icmp ne %struct.SomeOpaqueStruct* %3, null, !dbg !120
  %5 = zext i1 %4 to i32, !dbg !120
  ret i32 %5, !dbg !121
}

attributes #0 = { noinline nounwind optnone ssp uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "frame-pointer"="all" "less-precise-fpmad"="false" "min-legal-vector-width"="0" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="penryn" "target-features"="+cx16,+cx8,+fxsr,+mmx,+sahf,+sse,+sse2,+sse3,+sse4.1,+ssse3,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
attributes #1 = { nounwind readnone speculatable willreturn }

!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.dbg.cu = !{!5}
!llvm.ident = !{!10}

!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 11, i32 3]}
!1 = !{i32 7, !"Dwarf Version", i32 4}
!2 = !{i32 2, !"Debug Info Version", i32 3}
!3 = !{i32 1, !"wchar_size", i32 4}
!4 = !{i32 7, !"PIC Level", i32 2}
!5 = distinct !DICompileUnit(language: DW_LANG_C99, file: !6, producer: "clang version 10.0.0 ", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !7, retainedTypes: !8, nameTableKind: None)
!6 = !DIFile(filename: "linkedlist.c", directory: "/Users/craig/llvm-ir/tests/basic_bc")
!7 = !{}
!8 = !{!9}
!9 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null, size: 64)
!10 = !{!"clang version 10.0.0 "}
!11 = distinct !DISubprogram(name: "simple_linked_list", scope: !6, file: !6, line: 8, type: !12, scopeLine: 8, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !7)
!12 = !DISubroutineType(types: !13)
!13 = !{!14, !14}
!14 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
!15 = !DILocalVariable(name: "x", arg: 1, scope: !11, file: !6, line: 8, type: !14)
!16 = !DILocation(line: 8, column: 28, scope: !11)
!17 = !DILocalVariable(name: "list", scope: !11, file: !6, line: 9, type: !18)
!18 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "SimpleLinkedList", file: !6, line: 3, size: 128, elements: !19)
!19 = !{!20, !21}
!20 = !DIDerivedType(tag: DW_TAG_member, name: "val", scope: !18, file: !6, line: 4, baseType: !14, size: 32)
!21 = !DIDerivedType(tag: DW_TAG_member, name: "next", scope: !18, file: !6, line: 5, baseType: !22, size: 64, offset: 64)
!22 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !18, size: 64)
!23 = !DILocation(line: 9, column: 27, scope: !11)
!24 = !DILocation(line: 9, column: 34, scope: !11)
!25 = !DILocation(line: 9, column: 36, scope: !11)
!26 = !DILocation(line: 10, column: 8, scope: !11)
!27 = !DILocation(line: 10, column: 12, scope: !11)
!28 = !DILocalVariable(name: "list_1", scope: !11, file: !6, line: 11, type: !18)
!29 = !DILocation(line: 11, column: 27, scope: !11)
!30 = !DILocation(line: 11, column: 36, scope: !11)
!31 = !DILocation(line: 11, column: 38, scope: !11)
!32 = !DILocation(line: 11, column: 40, scope: !11)
!33 = !DILocalVariable(name: "list_2", scope: !11, file: !6, line: 12, type: !18)
!34 = !DILocation(line: 12, column: 27, scope: !11)
!35 = !DILocation(line: 12, column: 36, scope: !11)
!36 = !DILocation(line: 12, column: 38, scope: !11)
!37 = !DILocation(line: 12, column: 40, scope: !11)
!38 = !DILocalVariable(name: "list_3", scope: !11, file: !6, line: 13, type: !18)
!39 = !DILocation(line: 13, column: 27, scope: !11)
!40 = !DILocation(line: 13, column: 36, scope: !11)
!41 = !DILocation(line: 13, column: 38, scope: !11)
!42 = !DILocation(line: 13, column: 40, scope: !11)
!43 = !DILocalVariable(name: "list_4", scope: !11, file: !6, line: 14, type: !18)
!44 = !DILocation(line: 14, column: 27, scope: !11)
!45 = !DILocation(line: 14, column: 36, scope: !11)
!46 = !DILocation(line: 14, column: 38, scope: !11)
!47 = !DILocation(line: 14, column: 40, scope: !11)
!48 = !DILocation(line: 15, column: 8, scope: !11)
!49 = !DILocation(line: 15, column: 13, scope: !11)
!50 = !DILocation(line: 16, column: 10, scope: !11)
!51 = !DILocation(line: 16, column: 15, scope: !11)
!52 = !DILocation(line: 17, column: 10, scope: !11)
!53 = !DILocation(line: 17, column: 15, scope: !11)
!54 = !DILocation(line: 18, column: 10, scope: !11)
!55 = !DILocation(line: 18, column: 15, scope: !11)
!56 = !DILocation(line: 19, column: 10, scope: !11)
!57 = !DILocation(line: 19, column: 15, scope: !11)
!58 = !DILocation(line: 20, column: 15, scope: !11)
!59 = !DILocation(line: 20, column: 21, scope: !11)
!60 = !DILocation(line: 20, column: 27, scope: !11)
!61 = !DILocation(line: 20, column: 33, scope: !11)
!62 = !DILocation(line: 20, column: 39, scope: !11)
!63 = !DILocation(line: 20, column: 45, scope: !11)
!64 = !DILocation(line: 20, column: 51, scope: !11)
!65 = !DILocation(line: 20, column: 57, scope: !11)
!66 = !DILocation(line: 20, column: 63, scope: !11)
!67 = !DILocation(line: 20, column: 69, scope: !11)
!68 = !DILocation(line: 20, column: 75, scope: !11)
!69 = !DILocation(line: 20, column: 3, scope: !11)
!70 = distinct !DISubprogram(name: "indirectly_recursive_type", scope: !6, file: !6, line: 35, type: !12, scopeLine: 35, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !7)
!71 = !DILocalVariable(name: "x", arg: 1, scope: !70, file: !6, line: 35, type: !14)
!72 = !DILocation(line: 35, column: 35, scope: !70)
!73 = !DILocalVariable(name: "a", scope: !70, file: !6, line: 36, type: !74)
!74 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "NodeA", file: !6, line: 25, size: 128, elements: !75)
!75 = !{!76, !77}
!76 = !DIDerivedType(tag: DW_TAG_member, name: "val", scope: !74, file: !6, line: 26, baseType: !14, size: 32)
!77 = !DIDerivedType(tag: DW_TAG_member, name: "b", scope: !74, file: !6, line: 27, baseType: !78, size: 64, offset: 64)
!78 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !79, size: 64)
!79 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "NodeB", file: !6, line: 30, size: 128, elements: !80)
!80 = !{!81, !82}
!81 = !DIDerivedType(tag: DW_TAG_member, name: "val", scope: !79, file: !6, line: 31, baseType: !14, size: 32)
!82 = !DIDerivedType(tag: DW_TAG_member, name: "a", scope: !79, file: !6, line: 32, baseType: !83, size: 64, offset: 64)
!83 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !74, size: 64)
!84 = !DILocation(line: 36, column: 16, scope: !70)
!85 = !DILocation(line: 36, column: 20, scope: !70)
!86 = !DILocation(line: 36, column: 22, scope: !70)
!87 = !DILocalVariable(name: "b", scope: !70, file: !6, line: 37, type: !79)
!88 = !DILocation(line: 37, column: 16, scope: !70)
!89 = !DILocation(line: 37, column: 20, scope: !70)
!90 = !DILocation(line: 37, column: 22, scope: !70)
!91 = !DILocation(line: 37, column: 24, scope: !70)
!92 = !DILocalVariable(name: "a_1", scope: !70, file: !6, line: 38, type: !74)
!93 = !DILocation(line: 38, column: 16, scope: !70)
!94 = !DILocation(line: 38, column: 22, scope: !70)
!95 = !DILocation(line: 38, column: 24, scope: !70)
!96 = !DILocation(line: 38, column: 26, scope: !70)
!97 = !DILocation(line: 39, column: 5, scope: !70)
!98 = !DILocation(line: 39, column: 7, scope: !70)
!99 = !DILocation(line: 40, column: 5, scope: !70)
!100 = !DILocation(line: 40, column: 7, scope: !70)
!101 = !DILocation(line: 41, column: 7, scope: !70)
!102 = !DILocation(line: 41, column: 9, scope: !70)
!103 = !DILocation(line: 42, column: 12, scope: !70)
!104 = !DILocation(line: 42, column: 15, scope: !70)
!105 = !DILocation(line: 42, column: 18, scope: !70)
!106 = !DILocation(line: 42, column: 21, scope: !70)
!107 = !DILocation(line: 42, column: 24, scope: !70)
!108 = !DILocation(line: 42, column: 27, scope: !70)
!109 = !DILocation(line: 42, column: 30, scope: !70)
!110 = !DILocation(line: 42, column: 33, scope: !70)
!111 = !DILocation(line: 42, column: 3, scope: !70)
!112 = distinct !DISubprogram(name: "takes_opaque_struct", scope: !6, file: !6, line: 48, type: !113, scopeLine: 48, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !7)
!113 = !DISubroutineType(types: !114)
!114 = !{!14, !115}
!115 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !116, size: 64)
!116 = !DICompositeType(tag: DW_TAG_structure_type, name: "SomeOpaqueStruct", file: !6, line: 46, flags: DIFlagFwdDecl)
!117 = !DILocalVariable(name: "s", arg: 1, scope: !112, file: !6, line: 48, type: !115)
!118 = !DILocation(line: 48, column: 50, scope: !112)
!119 = !DILocation(line: 49, column: 10, scope: !112)
!120 = !DILocation(line: 49, column: 12, scope: !112)
!121 = !DILocation(line: 49, column: 3, scope: !112)