xref: /llvm-project/llvm/test/Examples/OrcV2Examples/Inputs/argc_sub1.ll (revision b7d5b0d0eeda9bc0c7e8c4a6ee2d4ab6b48eb736)
1define i32 @sub1(i32 %0) {
2  %2 = add i32 %0, -1
3  ret i32 %2
4}
5
6define i32 @main(i32 %0) {
7  %2 = call i32 @sub1(i32 %0)
8  ret i32 %2
9}
10
11!llvm.module.flags = !{!0}
12!llvm.dbg.cu = !{!1}
13
14!0 = !{i32 2, !"Debug Info Version", i32 3}
15!1 = distinct !DICompileUnit(language: DW_LANG_C99, file: !2, producer: "clang 18.0.0git", emissionKind: FullDebug)
16!2 = !DIFile(filename: "argc_sub1.c", directory: ".")
17