brintos

brintos / llvm-project-archived public Read only

0
0
Text · 3.4 KiB · ece8113 Raw
62 lines · plain
1; NOTE: To be able to use this file as an input, the string SRC_COMPDIR needs2;       replacing with a directory path by using sed or similar.3 4; NOTE: This file was generated by running5; clang -g -S -emit-llvm source-interleave-same-line-different-file.c -o \6;   source-interleave-same-line-different-file.ll7 8; ModuleID = 'source-interleave-same-line-different-file.c'9source_filename = "source-interleave-same-line-different-file.c"10target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"11target triple = "x86_64-unknown-linux-gnu"12 13; Function Attrs: noinline nounwind optnone uwtable14define dso_local i32 @add1(i32 %a) #0 !dbg !7 {15entry:16  %a.addr = alloca i32, align 417  store i32 %a, ptr %a.addr, align 418  call void @llvm.dbg.declare(metadata ptr %a.addr, metadata !12, metadata !DIExpression()), !dbg !1319  %0 = load i32, ptr %a.addr, align 4, !dbg !1420  %add = add nsw i32 %0, 1, !dbg !1521  ret i32 %add, !dbg !1622}23 24; Function Attrs: nounwind readnone speculatable25declare void @llvm.dbg.declare(metadata, metadata, metadata) #126 27; Function Attrs: noinline nounwind optnone uwtable28define dso_local i32 @return4() #0 !dbg !17 {29entry:30  ret i32 4, !dbg !2131}32 33attributes #0 = { noinline nounwind optnone uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "min-legal-vector-width"="0" "frame-pointer"="all" "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"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }34attributes #1 = { nounwind readnone speculatable }35 36!llvm.dbg.cu = !{!0}37!llvm.module.flags = !{!3, !4, !5}38!llvm.ident = !{!6}39 40!0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang version 9.0.0 (https://github.com/llvm/llvm-project.git af0add6c39f7fcc641a2ae38753a9bc4eae47b28)", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !2, nameTableKind: None)41!1 = !DIFile(filename: "source-interleave-same-line-different-file.c", directory: "SRC_COMPDIR")42!2 = !{}43!3 = !{i32 2, !"Dwarf Version", i32 4}44!4 = !{i32 2, !"Debug Info Version", i32 3}45!5 = !{i32 1, !"wchar_size", i32 4}46!6 = !{!"clang version 9.0.0 (https://github.com/llvm/llvm-project.git af0add6c39f7fcc641a2ae38753a9bc4eae47b28)"}47!7 = distinct !DISubprogram(name: "add1", scope: !8, file: !8, line: 1, type: !9, scopeLine: 1, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !2)48!8 = !DIFile(filename: "./source-interleave-header1.h", directory: "SRC_COMPDIR")49!9 = !DISubroutineType(types: !10)50!10 = !{!11, !11}51!11 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)52!12 = !DILocalVariable(name: "a", arg: 1, scope: !7, file: !8, line: 1, type: !11)53!13 = !DILocation(line: 1, column: 14, scope: !7)54!14 = !DILocation(line: 1, column: 26, scope: !7)55!15 = !DILocation(line: 1, column: 28, scope: !7)56!16 = !DILocation(line: 1, column: 19, scope: !7)57!17 = distinct !DISubprogram(name: "return4", scope: !18, file: !18, line: 1, type: !19, scopeLine: 1, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !2)58!18 = !DIFile(filename: "./source-interleave-header2.h", directory: "SRC_COMPDIR")59!19 = !DISubroutineType(types: !20)60!20 = !{!11}61!21 = !DILocation(line: 1, column: 17, scope: !17)62