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 380dfbbd60
first attempt to make debug API skip JITed Lua functions - issue 16
9 years ago
..
README.rst add clang output 9 years ago
lua_for_num.c first attempt to make debug API skip JITed Lua functions - issue 16 9 years ago
lua_for_num.ll fornum loop C sample and ir output from clang 9 years ago
lua_if_else.c first attempt to make debug API skip JITed Lua functions - issue 16 9 years ago
lua_if_else.ll assign TValue objects member by member - alternative to memcpy() 9 years ago
lua_op_call.c first attempt to make debug API skip JITed Lua functions - issue 16 9 years ago
lua_op_call.ll clang output for op_call 9 years ago
lua_op_forloop.c first attempt to make debug API skip JITed Lua functions - issue 16 9 years ago
lua_op_forloop.ll forloop and move 9 years ago
lua_op_forprep.c first attempt to make debug API skip JITed Lua functions - issue 16 9 years ago
lua_op_forprep.ll op_forprep work 9 years ago
lua_op_loadk_return.c first attempt to make debug API skip JITed Lua functions - issue 16 9 years ago
lua_op_loadk_return.ll add call to luaF_close in OP_RETURN IR 9 years ago
lua_op_loadk_return_ravi.ll save ravi ir output 9 years ago
lua_upval.c first attempt to make debug API skip JITed Lua functions - issue 16 9 years ago
lua_upval.ll upvalues wip 9 years ago
runclang.bat add clang output 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.