diff options
| author | Tom Harley | 2019-12-23 01:32:39 +0000 |
|---|---|---|
| committer | Tom Harley | 2019-12-23 01:32:39 +0000 |
| commit | 7bc67b95161a34f8eca635d4000d9602508a9243 (patch) | |
| tree | 585b3778dc1967832390e5829e4b3909b4184a2c /llvm_codegen.h | |
| parent | Add basics for interpreter; add CLI options (diff) | |
| download | sinter-7bc67b95161a34f8eca635d4000d9602508a9243.tar.gz sinter-7bc67b95161a34f8eca635d4000d9602508a9243.zip | |
checkpoint
Diffstat (limited to 'llvm_codegen.h')
| -rw-r--r-- | llvm_codegen.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm_codegen.h b/llvm_codegen.h new file mode 100644 index 0000000..0662a67 --- /dev/null +++ b/llvm_codegen.h @@ -0,0 +1,10 @@ +#ifndef LLVM_CODEGEN_H +#define LLVM_CODEGEN_H + +#include "sinter.h" + +void llvm_codegen_prologue(char *filename); +void llvm_codegen(sexpr *ast); +int llvm_codegen_epilogue(char *output_filename, format_t format); + +#endif /* LLVM_CODEGEN_H */ |
