├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── cbits ├── lib.c └── lib.h ├── src ├── Codegen.hs ├── FFI.hs ├── JIT.hs └── Main.hs ├── stack.yaml └── tutorial.cabal /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdiehl/llvm-tutorial-standalone/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdiehl/llvm-tutorial-standalone/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdiehl/llvm-tutorial-standalone/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdiehl/llvm-tutorial-standalone/HEAD/README.md -------------------------------------------------------------------------------- /cbits/lib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdiehl/llvm-tutorial-standalone/HEAD/cbits/lib.c -------------------------------------------------------------------------------- /cbits/lib.h: -------------------------------------------------------------------------------- 1 | void myfunc(int count); 2 | -------------------------------------------------------------------------------- /src/Codegen.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdiehl/llvm-tutorial-standalone/HEAD/src/Codegen.hs -------------------------------------------------------------------------------- /src/FFI.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdiehl/llvm-tutorial-standalone/HEAD/src/FFI.hs -------------------------------------------------------------------------------- /src/JIT.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdiehl/llvm-tutorial-standalone/HEAD/src/JIT.hs -------------------------------------------------------------------------------- /src/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdiehl/llvm-tutorial-standalone/HEAD/src/Main.hs -------------------------------------------------------------------------------- /stack.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdiehl/llvm-tutorial-standalone/HEAD/stack.yaml -------------------------------------------------------------------------------- /tutorial.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sdiehl/llvm-tutorial-standalone/HEAD/tutorial.cabal --------------------------------------------------------------------------------