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 320e6b5da6
issue #145 merge into lua54 branch
6 years ago
..
README.rst add clang output 9 years ago
bitwise.c bitwise ops wip 9 years ago
inline_getstr.c issue #115 experiment with table performance - use LuaJIt approach of precomputed hashmask 7 years ago
inline_getstr.ll issue #115 experiment with table performance - use LuaJIt approach of precomputed hashmask 7 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 issue #145 merge into lua54 branch 6 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 issue #139 work in progress 6 years ago
lua_upval.ll issue #139 work in progress 6 years ago
runclang.bat issue #60 JIT compile GETTABLE_S 9 years ago
tab.c issue #124 fix LLVM4.0 related issues 7 years ago
tab.ll issue #124 fix LLVM4.0 related issues 7 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.