You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ravi/clang-output
Dibyendu Majumdar f04c5febd6
issue #60 JIT compile GETTABLE_S
9 years ago
..
README.rst add clang output 9 years ago
bitwise.c bitwise ops wip 9 years ago
inline_getstr.c issue #60 JIT compile GETTABLE_S 9 years ago
inline_getstr.ll issue #60 JIT compile GETTABLE_S 9 years ago
lua_for_num.c prepare for Lua 5.3.1 merge 9 years ago
lua_for_num.ll prepare for Lua 5.3.1 merge 9 years ago
lua_hdr.h start work on handling savedpc - experimental 9 years ago
lua_if_else.c tbaa 9 years ago
lua_if_else.ll refactor 9 years ago
lua_op_call.c tbaa 9 years ago
lua_op_call.ll tbaa 9 years ago
lua_op_forloop.c tbaa 9 years ago
lua_op_forloop.ll tbaa 9 years ago
lua_op_forprep.c tbaa 9 years ago
lua_op_forprep.ll tbaa 9 years ago
lua_op_loadk_return.c start work on handling savedpc - experimental 9 years ago
lua_op_loadk_return.ll start work on handling savedpc - experimental 9 years ago
lua_op_loadk_return_ravi.ll save ravi ir output 9 years ago
lua_savedpc.c issue #15 add new JIT option tracehook to enable per bytecode updates to savedpc and call to luaG_traceexec 9 years ago
lua_savedpc.ll issue #15 add new JIT option tracehook to enable per bytecode updates to savedpc and call to luaG_traceexec 9 years ago
lua_upval.c fix tbaa metadata issue# 28 9 years ago
lua_upval.ll fix tbaa metadata issue# 28 9 years ago
runclang.bat issue #60 JIT compile GETTABLE_S 9 years ago
tbaa.c tbaa 9 years ago

README.rst

CLANG output

============

To help with LLVM IR code generation I am using clang's ability to dump the IR code. I construct small C programs to represent certain Lua op codes and the use clang to generate the IR. This then forms the basis for the code generation in Ravi.