Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LuaJIT/LuaJIT
/ functions
Functions
2,629 in github.com/LuaJIT/LuaJIT
⨍
Functions
2,629
◇
Types & classes
194
↓ 342 callers
Function
ra_alloc1
Allocate a register on-demand. */
src/lj_asm.c:664
↓ 189 callers
Function
ra_dest
Pick a destination register (marked as free). ** Caveat: allow is ignored if there's already a destination register. ** Use ra_destreg() to get a spec
src/lj_asm.c:716
↓ 164 callers
Function
lj_ir_kint
Intern int32_t constant. */
src/lj_ir.c:200
↓ 159 callers
Function
copyTV
Copy tagged values. */
src/lj_obj.h:971
↓ 116 callers
Function
ctype_get
Get C type for C type ID. */
src/lj_ctype.h:418
↓ 106 callers
Function
emit_lso
src/lj_emit_arm.h:91
↓ 106 callers
Function
emit_tsi
src/lj_emit_mips.h:47
↓ 106 callers
Function
lj_trace_err
Synchronous abort with error message. */
src/lj_trace.c:38
↓ 106 callers
Function
ra_allock
Allocate a register for a constant. */
src/lj_asm.c:549
↓ 103 callers
Function
setintV
src/lj_obj.h:947
↓ 102 callers
Function
ra_scratch
Get a scratch register (marked as free). */
src/lj_asm.c:488
↓ 97 callers
Function
emit_dst
src/lj_emit_mips.h:34
↓ 97 callers
Function
emit_tai
src/lj_emit_ppc.h:17
↓ 91 callers
Function
emit_rmro
op r, [base+ofs] */
src/lj_emit_x86.h:103
↓ 72 callers
Function
split_emit
Directly emit the transformed IR without updating chains etc. */
src/lj_opt_split.c:99
↓ 69 callers
Function
LJFOLDF
src/lj_opt_fold.c:196
↓ 66 callers
Function
emit_dnm
src/lj_emit_arm.h:47
↓ 63 callers
Function
emit_rr
op r1, r2 */
src/lj_emit_x86.h:85
↓ 62 callers
Function
emit_dn
src/lj_emit_arm.h:57
↓ 57 callers
Function
emit_mrm
op r, rm/mrm */
src/lj_emit_x86.h:193
↓ 57 callers
Function
lj_err_caller
Error in context of caller. */
src/lj_err.c:1003
↓ 53 callers
Function
cp_opt
Check and consume optional token. */
src/lj_cparse.c:416
↓ 48 callers
Function
index2adr
src/lj_api.c:34
↓ 47 callers
Function
ctype_raw
Get raw type for a C type ID. */
src/lj_ctype.h:436
↓ 46 callers
Function
asm_guard
Emit conditional branch to exit for guard. */
src/lj_asm_mips.h:109
↓ 46 callers
Function
ctype_rawchild
Get raw type of the child of a C type. */
src/lj_ctype.h:444
↓ 46 callers
Function
emit_dm
src/lj_emit_arm.h:52
↓ 45 callers
Function
ctype_child
Get child C type. */
src/lj_ctype.h:427
↓ 44 callers
Function
ra_allocref
Allocate a register for ref from the allowed set of registers. ** Note: this function assumes the ref does NOT have a register yet! ** Picks an optima
src/lj_asm.c:620
↓ 38 callers
Function
checkmclim
src/lj_asm.c:135
↓ 38 callers
Function
lj_str_new
Intern a string and return string object. */
src/lj_str.c:314
↓ 37 callers
Function
lj_ir_call
Emit call to a C function. */
src/lj_ir.c:132
↓ 36 callers
Function
cp_get
Get next character. */
src/lj_cparse.c:94
↓ 36 callers
Function
emit_dta
src/lj_emit_mips.h:39
↓ 36 callers
Function
ra_evictset
Evict all registers from a set (if not free). */
src/lj_asm.c:497
↓ 35 callers
Function
cp_next
src/lj_cparse.c:355
↓ 35 callers
Function
lex_next
Get next character. */
src/lj_lex.c:63
↓ 35 callers
Function
lj_lib_checkint
src/lj_lib.c:241
↓ 35 callers
Function
lua_setfield
src/lj_api.c:981
↓ 34 callers
Function
emit_n
src/lj_emit_arm.h:72
↓ 34 callers
Function
lj_fls
src/lj_def.h:151
↓ 34 callers
Function
ra_releasetmp
Release the temporarily allocated register in ASMREF_TMP1/ASMREF_TMP2. */
src/lj_asm.c:408
↓ 33 callers
Function
ctype_cts
Get C type state. */
src/lj_ctype.h:386
↓ 33 callers
Function
index2adr
src/host/minilua.c:5314
↓ 33 callers
Function
lj_err_arg
Argument error. */
src/lj_err.c:1035
↓ 32 callers
Function
emit_tab
src/lj_emit_ppc.h:8
↓ 32 callers
Function
lj_err_argt
Typecheck error for arguments. */
src/lj_err.c:1064
↓ 32 callers
Function
luaL_error
src/host/minilua.c:5907
↓ 31 callers
Function
cp_check
Check and consume token. */
src/lj_cparse.c:423
↓ 31 callers
Function
lj_buf_more
src/lj_buf.h:106
↓ 30 callers
Function
lj_lex_next
Return next lexical token. */
src/lj_lex.c:455
↓ 29 callers
Function
emit_isk12
Encode constant in K12 format for data processing instructions. */
src/lj_emit_arm.h:28
↓ 29 callers
Function
lua_pushvalue
src/host/minilua.c:5417
↓ 28 callers
Function
lj_strfmt_pushf
Push formatted message as a string object to Lua stack. Vararg variant. */
src/lj_strfmt.c:597
↓ 28 callers
Function
lua_pushvalue
src/lj_api.c:209
↓ 26 callers
Function
crec_ct_tv
src/lj_crecord.c:600
↓ 26 callers
Function
emit_branch
src/lj_emit_arm.h:264
↓ 26 callers
Function
lua_pushstring
src/lj_api.c:658
↓ 25 callers
Function
asm_guardcc
Emit conditional branch to exit for guard. ** It's important to emit this *after* all registers have been allocated, ** because rematerializations may
src/lj_asm_x86.h:57
↓ 25 callers
Function
emit_nm
src/lj_emit_arm.h:62
↓ 25 callers
Function
lj_strfmt_wuleb128
Write ULEB128 to buffer. */
src/lj_strfmt.c:155
↓ 25 callers
Function
luaX_next
src/host/minilua.c:2985
↓ 25 callers
Function
lua_getfield
src/lj_api.c:810
↓ 24 callers
Function
asm_guardcc
Emit conditional branch to exit for guard. */
src/lj_asm_ppc.h:71
↓ 24 callers
Function
lj_lib_checkstr
src/lj_lib.c:195
↓ 24 callers
Function
luaK_codeABC
src/host/minilua.c:3639
↓ 24 callers
Function
lua_pushfstring
src/lj_api.c:678
↓ 24 callers
Function
numberVnum
src/lj_obj.h:1025
↓ 23 callers
Function
expr_toanyreg
Discharge an expression to any register. */
src/lj_parse.c:598
↓ 23 callers
Function
lj_tab_getstr
src/lj_tab.c:397
↓ 23 callers
Function
ra_leftov
Similar to ra_left, except we override any hints. */
src/lj_asm.c:799
↓ 22 callers
Function
emit_fgh
src/lj_emit_mips.h:55
↓ 22 callers
Function
emit_loadi
Load a 32 bit constant into a GPR. */
src/lj_emit_ppc.h:80
↓ 22 callers
Function
lj_cconv_ct_tv
Convert TValue to C type. Caveat: expects to get the raw CType! */
src/lj_cconv.c:546
↓ 22 callers
Function
lj_err_callerv
Formatted error in context of caller. */
src/lj_err.c:992
↓ 22 callers
Function
lj_err_msg
Non-vararg variant for better calling conventions. */
src/lj_err.c:898
↓ 22 callers
Function
lj_tab_set
src/lj_tab.c:542
↓ 22 callers
Function
lua_rawgeti
src/host/minilua.c:5601
↓ 22 callers
Function
ra_destreg
Force a specific destination register (marked as free). */
src/lj_asm.c:737
↓ 21 callers
Function
asm_guardcc
Emit conditional branch to exit for guard. */
src/lj_asm_arm.h:113
↓ 21 callers
Function
barg
src/host/minilua.c:7694
↓ 21 callers
Function
bcread_uleb128
Read ULEB128 value from buffer. */
src/lj_bcread.c:128
↓ 21 callers
Function
lj_ir_knum
src/lj_iropt.h:59
↓ 21 callers
Function
lj_lib_checkany
src/lj_lib.c:187
↓ 21 callers
Function
lj_tab_setstr
src/lj_tab.c:530
↓ 21 callers
Function
owrite
src/host/buildvm.c:79
↓ 20 callers
Function
asm_fuseload
Fuse load into memory operand. ** ** Important caveat: this may emit RIP-relative loads! So don't place any ** code emitters between this function and
src/lj_asm_x86.h:416
↓ 20 callers
Function
emit_sjcc
jcc short target */
src/lj_emit_x86.h:445
↓ 20 callers
Function
lj_bswap
src/lj_def.h:160
↓ 20 callers
Function
lua_remove
src/lj_api.c:162
↓ 20 callers
Function
ra_alloc2
Allocate two source registers for three-operand instructions. */
src/lj_asm_mips.h:36
↓ 19 callers
Function
cp_errmsg
src/lj_cparse.c:127
↓ 19 callers
Function
cp_expr_sub
Parse and evaluate sub-expression. */
src/lj_cparse.c:741
↓ 19 callers
Function
emit_lsptr
Get/set from constant pointer. */
src/lj_emit_ppc.h:104
↓ 19 callers
Function
lj_err_throw
src/lj_err.c:745
↓ 19 callers
Function
lj_lex_error
Lexer error. */
src/lj_lex.c:487
↓ 19 callers
Function
luaG_runerror
src/host/minilua.c:2589
↓ 18 callers
Function
emit_movmroi
mov [base+ofs], i */
src/lj_emit_x86.h:255
↓ 18 callers
Function
lj_buf_wmem
src/lj_buf.h:168
↓ 18 callers
Function
lj_meta_lookup
Lookup metamethod for object. */
src/lj_meta.c:59
next →
1–100 of 2,629, ranked by callers