--- | ; ModuleID = './test.ll' source_filename = "./test.ll" target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" ; Function Attrs: nounwind readnone speculatable declare void @llvm.dbg.value(metadata, metadata, metadata) #0 ; Stubs to appease the MIR parser define i32 @test2(i32* %pin) { entry: ret i32 0 start.test2: ret i32 0 } ; Function Attrs: nounwind declare void @llvm.stackprotector(i8*, i8**) #1 attributes #0 = { nounwind readnone speculatable } attributes #1 = { nounwind } !llvm.module.flags = !{!0} !llvm.dbg.cu = !{!1} !0 = !{i32 2, !"Debug Info Version", i32 3} !1 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !2, producer: "beards", isOptimized: true, runtimeVersion: 4, emissionKind: FullDebug) !2 = !DIFile(filename: "bees.cpp", directory: "") !3 = !DILocalVariable(name: "bees", scope: !4) !4 = distinct !DISubprogram(name: "nope", scope: !1, file: !2, line: 1, spFlags: DISPFlagDefinition, unit: !1) !5 = !DILocation(line: 0, scope: !4) ... --- name: test2 tracksRegLiveness: true body: | bb.0.entry: successors: %bb.1(0x80000000) liveins: $rdi %1:gr32 = COPY $rdi %3:gr32 = MOV32r0 implicit-def dead $eflags bb.1.start.test2: successors: %bb.1(0x7c000000) %0:gr32 = PHI %50, %bb.1.start.test2, %3, %bb.0.entry %50:gr32 = XOR32rr %0, %1, implicit-def dead $eflags DBG_VALUE %0, $noreg, !3, !DIExpression(), debug-location !5 JMP_1 %bb.1 ...