xo-jit: incorporate kaleidoscope jit for codegen
This commit is contained in:
parent
0c7b1e03d7
commit
fa0104422f
5 changed files with 319 additions and 11 deletions
16
example/ex_kaleidoscope4/ex_kaleidoscope4.cpp
Normal file
16
example/ex_kaleidoscope4/ex_kaleidoscope4.cpp
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
/** ex_kaleidoscop4.cpp **/
|
||||
|
||||
#include "xo/jit/KaleidoscopeJit.hpp"
|
||||
#include <iostream>
|
||||
|
||||
int
|
||||
main() {
|
||||
using std::cerr;
|
||||
using std::endl;
|
||||
|
||||
auto jit = xo::jit::KaleidoscopeJIT::Create();
|
||||
|
||||
cerr << "created kaleidoscope jit successfully" << endl;
|
||||
}
|
||||
|
||||
/** end ex_kaleidoscope4.cpp **/
|
||||
Loading…
Add table
Add a link
Reference in a new issue