bolt/deps/llvm-18.1.8/llvm/test/Examples/OrcV2Examples/Inputs/argc_sub1.ll

17 lines
401 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
define i32 @sub1(i32 %0) {
%2 = add i32 %0, -1
ret i32 %2
}
define i32 @main(i32 %0) {
%2 = call i32 @sub1(i32 %0)
ret i32 %2
}
!llvm.module.flags = !{!0}
!llvm.dbg.cu = !{!1}
!0 = !{i32 2, !"Debug Info Version", i32 3}
!1 = distinct !DICompileUnit(language: DW_LANG_C99, file: !2, producer: "clang 18.0.0git", emissionKind: FullDebug)
!2 = !DIFile(filename: "argc_sub1.c", directory: ".")