1 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"
2 target triple = "x86_64-pc-linux-gnu"
4 @_g = dso_local global i32 0, align 4
5 @llvm.compiler.used = appending global [1 x ptr] [ptr @_g], section "llvm.metadata"
7 define dso_local i32 @foo(i32 noundef %0) #0 {
8 %2 = add nsw i32 %0, 42
9 store i32 %2, ptr @_g, align 4
13 attributes #0 = { noinline }
15 !llvm.module.flags = !{!0, !1}
17 !0 = !{i32 1, !"ThinLTO", i32 0}
18 !1 = !{i32 1, !"EnableSplitLTOUnit", i32 1}
20 ^0 = module: (path: "/tmp/func2.o", hash: (0, 0, 0, 0, 0))
21 ^1 = gv: (name: "foo", summaries: (function: (module: ^0, flags: (linkage: external, visibility: default, notEligibleToImport: 1, live: 0, dsoLocal: 1, canAutoHide: 0), insts: 3, funcFlags: (readNone: 0, readOnly: 0, noRecurse: 1, returnDoesNotAlias: 0, noInline: 1, alwaysInline: 0, noUnwind: 1, mayThrow: 0, hasUnknownCall: 0, mustBeUnreachable: 0), refs: (^3)))) ; guid = 6699318081062747564
22 ^2 = gv: (name: "llvm.compiler.used", summaries: (variable: (module: ^0, flags: (linkage: appending, visibility: default, notEligibleToImport: 1, live: 1, dsoLocal: 0, canAutoHide: 0), varFlags: (readonly: 0, writeonly: 0, constant: 0), refs: (^3)))) ; guid = 9610627770985738006
23 ^3 = gv: (name: "_g", summaries: (variable: (module: ^0, flags: (linkage: external, visibility: default, notEligibleToImport: 1, live: 0, dsoLocal: 1, canAutoHide: 0), varFlags: (readonly: 1, writeonly: 1, constant: 0)))) ; guid = 9713702464056781075