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.
Dibyendu Majumdar
01e67ee61e
|
5 years ago | |
---|---|---|
.. | ||
Makefile | 5 years ago | |
README.rst | 9 years ago | |
bit.c | 7 years ago | |
lapi.c | 5 years ago | |
lauxlib.c | 6 years ago | |
lbaselib.c | 6 years ago | |
lbitlib.c | 6 years ago | |
lcode.c | 6 years ago | |
lcorolib.c | 6 years ago | |
lctype.c | 6 years ago | |
ldblib.c | 6 years ago | |
ldebug.c | 6 years ago | |
ldo.c | 5 years ago | |
ldump.c | 6 years ago | |
lfunc.c | 7 years ago | |
lgc.c | 6 years ago | |
linit.c | 6 years ago | |
liolib.c | 6 years ago | |
llex.c | 6 years ago | |
lmathlib.c | 6 years ago | |
lmem.c | 6 years ago | |
loadlib.c | 6 years ago | |
lobject.c | 6 years ago | |
lopcodes.c | 6 years ago | |
loslib.c | 6 years ago | |
lparser.c | 6 years ago | |
lstate.c | 6 years ago | |
lstring.c | 6 years ago | |
lstrlib.c | 6 years ago | |
ltable.c | 5 years ago | |
ltablib.c | 6 years ago | |
ltests.c | 7 years ago | |
ltm.c | 6 years ago | |
lua.c | 6 years ago | |
luac.c | 6 years ago | |
lundump.c | 6 years ago | |
lutf8lib.c | 6 years ago | |
lvm.c | 5 years ago | |
lzio.c | 6 years ago | |
ravi_alloc.c | 6 years ago | |
ravi_ast.c | 5 years ago | |
ravi_dmrc_parsesymbols.c | 6 years ago | |
ravi_jitshared.c | 5 years ago | |
ravi_llvmarith1.cpp | 8 years ago | |
ravi_llvmarith2.cpp | 7 years ago | |
ravi_llvmcall.cpp | 9 years ago | |
ravi_llvmcodegen.cpp | 5 years ago | |
ravi_llvmcomp.cpp | 9 years ago | |
ravi_llvmforloop.cpp | 9 years ago | |
ravi_llvmforprep.cpp | 9 years ago | |
ravi_llvmjit.cpp | 5 years ago | |
ravi_llvmload.cpp | 7 years ago | |
ravi_llvmluaapi.cpp | 6 years ago | |
ravi_llvmrest.cpp | 9 years ago | |
ravi_llvmreturn.cpp | 9 years ago | |
ravi_llvmtable.cpp | 6 years ago | |
ravi_llvmtforcall.cpp | 9 years ago | |
ravi_llvmtypes.cpp | 6 years ago | |
ravi_membuf.c | 6 years ago | |
ravi_nojit.c | 5 years ago | |
ravi_omrjit.c | 6 years ago | |
ravi_omrjitapi.c | 6 years ago | |
ravi_profile.c | 8 years ago | |
ravijit.cpp | 5 years ago |
README.rst
This folder has all the Lua and Ravi source files.
The Lua sources begin with the letter ``l``.
The following Lua sources have been enhanced for Ravi.
* lvm.c - this has the Ravi bytecode implementations
* lopcodes.c - definitions of Ravi opcodes
* ldo.c - changes to enable calling JITed function
* lparser.c - parser changes for optional typing
* lcode.c - code generator changes for optional typing
* lfunc.c - changes to support JIT compilation
* linit.c - the Ravi api functions get loaded here
* ltable.c - enhancements for Ravi array types
* lapi.c - enhancements for Ravi array types
The LLVM JIT implementation is in following sources:
* ravijit.cpp - basic LLVM infrastructure and Ravi API definition
* ravi_llvmtypes.cpp - contains LLVM type definitions for Lua objects
* ravi_llvmcodegen.cpp - LLVM JIT compiler - main driver for compiling Lua bytecodes into LLVM IR
* ravi_llvmload.cpp - implements OP_LOADK and OP_MOVE, and related operations, also OP_LOADBOOL
* ravi_llvmcomp.cpp - implements OP_EQ, OP_LT, OP_LE, OP_TEST and OP_TESTSET.
* ravi_llvmreturn.cpp - implements OP_RETURN
* ravi_llvmforprep.cpp - implements OP_FORPREP
* ravi_llvmforloop.cpp - implements OP_FORLOOP
* ravi_llvmtforcall.cpp - implements OP_TFORCALL and OP_TFORLOOP
* ravi_llvmarith1.cpp - implements various type specialized arithmetic operations - these are Ravi extensions
* ravi_llvmarith2.cpp - implements Lua opcodes such as OP_ADD, OP_SUB, OP_MUL, OP_DIV, OP_POW, OP_IDIV, OP_MOD, OP_UNM
* ravi_llvmcall.cpp - implements OP_CALL, OP_JMP
* ravi_llvmtable.cpp - implements OP_GETTABLE, OP_SETTABLE and various other table operations, OP_SELF, and also upvalue operations
* ravi_llvmrest.cpp - OP_CLOSURE, OP_VARARG, OP_CONCAT