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
↓ 10 callers
Function
lj_err_argtype
Typecheck error for arguments. */
src/lj_err.c:1041
↓ 10 callers
Function
lj_ffs
src/lj_def.h:271
↓ 10 callers
Function
lj_ir_tostr
Convert from integer or number to string. */
src/lj_ir.c:439
↓ 10 callers
Function
lj_lib_checkfunc
src/lj_lib.c:261
↓ 10 callers
Function
lj_mcode_patch
Set/reset protection to allow patching of MCode areas. */
src/lj_mcode.c:324
↓ 10 callers
Function
lj_mcode_sync
Synchronize data/instruction cache. */
src/lj_mcode.c:37
↓ 10 callers
Function
lj_strfmt_putfxint
Add formatted signed/unsigned integer to buffer. */
src/lj_strfmt.c:279
↓ 10 callers
Function
lj_tab_get
src/lj_tab.c:407
↓ 10 callers
Function
lj_tab_len
Compute table length. Fast path. */
src/lj_tab.c:661
↓ 10 callers
Function
luaK_dischargevars
src/host/minilua.c:3202
↓ 10 callers
Function
luaK_exp2anyreg
src/host/minilua.c:3307
↓ 10 callers
Function
luaL_checktype
src/host/minilua.c:5944
↓ 10 callers
Function
luaL_error
src/lj_err.c:1104
↓ 10 callers
Function
luaL_pushresult
src/host/minilua.c:6093
↓ 10 callers
Function
luaX_lexerror
src/host/minilua.c:2711
↓ 10 callers
Function
lua_pushlstring
src/host/minilua.c:5532
↓ 10 callers
Function
ra_alloc1z
Allocate a register or RID_ZERO. */
src/lj_asm_mips.h:22
↓ 10 callers
Function
recff_sbufx_set_ptr
src/lj_ffrecord.c:1105
↓ 9 callers
Function
LJLIB_CF
(table_new)
src/lib_table.c:288
↓ 9 callers
Function
asm_fuseahuref
Fuse array/hash/upvalue reference into memory operand. ** Caveat: this may allocate GPRs for the base/idx registers. Be sure to ** pass the final allo
src/lj_asm_x86.h:181
↓ 9 callers
Function
codearith
src/host/minilua.c:3507
↓ 9 callers
Function
emit_cond_branch
src/lj_emit_arm64.h:315
↓ 9 callers
Function
emit_gmroi
op [base+ofs], i */
src/lj_emit_x86.h:175
↓ 9 callers
Function
emit_rot
src/lj_emit_ppc.h:35
↓ 9 callers
Function
emit_tsml
src/lj_emit_mips.h:74
↓ 9 callers
Function
expr_tonextreg
Discharge an expression to the next free register. */
src/lj_parse.c:589
↓ 9 callers
Function
fscope_begin
Begin a scope. */
src/lj_parse.c:1276
↓ 9 callers
Function
fscope_end
End a scope. */
src/lj_parse.c:1287
↓ 9 callers
Function
jmp_patchins
Patch jump instruction to target. */
src/lj_parse.c:318
↓ 9 callers
Function
jmp_tohere
Jump to following instruction. Append to list of pending jumps. */
src/lj_parse.c:359
↓ 9 callers
Function
lex_match
Check for matching token. */
src/lj_parse.c:1018
↓ 9 callers
Function
lj_carith_check64
Equivalent to lj_lib_checkbit(), but handles cdata. */
src/lj_carith.c:314
↓ 9 callers
Function
lj_cconv_ct_ct
Convert C type to C type. Caveat: expects to get the raw CType! ** ** Note: This is only used by the interpreter and not optimized at all. ** The JIT
src/lj_cconv.c:119
↓ 9 callers
Function
lj_lib_checknumber
src/lj_lib.c:218
↓ 9 callers
Function
lj_mem_realloc
Call pluggable memory allocator to allocate or resize a fragment. */
src/lj_gc.c:873
↓ 9 callers
Function
lj_obj_equal
Compare two objects without calling metamethods. */
src/lj_obj.c:23
↓ 9 callers
Function
lj_opt_narrow_tobit
Narrow conversion to bitop operand (overflow wrapped). */
src/lj_opt_narrow.c:483
↓ 9 callers
Function
lj_prng_u64
src/lj_prng.c:47
↓ 9 callers
Function
lj_record_call
Record call. */
src/lj_record.c:843
↓ 9 callers
Function
lj_record_idx
Record indexed load/store. */
src/lj_record.c:1492
↓ 9 callers
Function
lj_state_checkstack
src/lj_state.h:22
↓ 9 callers
Function
lj_strfmt_pushvf
Push formatted message as a string object to Lua stack. va_list variant. */
src/lj_strfmt.c:550
↓ 9 callers
Function
lj_strfmt_putfnum
Add formatted floating-point number to buffer. */
src/lj_strfmt_num.c:577
↓ 9 callers
Function
lj_strfmt_wuint9
Write 9-digit unsigned integer to buffer. */
src/lj_strfmt_num.c:73
↓ 9 callers
Function
lj_strscan_num
src/lj_strscan.c:535
↓ 9 callers
Function
luaK_jump
src/host/minilua.c:3023
↓ 9 callers
Function
luaL_buffinit
src/host/minilua.c:6114
↓ 9 callers
Function
luaO_pushfstring
src/host/minilua.c:723
↓ 9 callers
Function
lua_pushinteger
src/lj_api.c:643
↓ 9 callers
Function
lua_rawseti
src/host/minilua.c:5685
↓ 9 callers
Function
lua_setfield
src/host/minilua.c:5666
↓ 9 callers
Function
lua_settop
src/host/minilua.c:5370
↓ 9 callers
Function
ra_hintalloc
Allocate a register with a hint. */
src/lj_asm_ppc.h:9
↓ 9 callers
Function
report
src/luajit.c:89
↓ 9 callers
Function
setgcV
src/lj_obj.h:923
↓ 9 callers
Function
split_call_ll
Emit a CALLN with two split 64 bit arguments. */
src/lj_opt_split.c:162
↓ 8 callers
Function
LJFOLDX
(lj_opt_fwd_aload)
src/lj_opt_fold.c:2113
↓ 8 callers
Function
asm_fuseloadm
Don't fuse a 32 bit load into a 64 bit operation. */
src/lj_asm_x86.h:507
↓ 8 callers
Function
asm_gencall
Generate a call to a C function. */
src/lj_asm_mips.h:248
↓ 8 callers
Function
asm_gencall
Generate a call to a C function. */
src/lj_asm_ppc.h:258
↓ 8 callers
Function
bcemit_INS
Emit bytecode instruction. */
src/lj_parse.c:415
↓ 8 callers
Function
check_match
src/host/minilua.c:3701
↓ 8 callers
Function
cp_save
Save character in buffer. */
src/lj_cparse.c:114
↓ 8 callers
Function
ctype_setname
Set the name of a C type table element. */
src/lj_ctype.h:451
↓ 8 callers
Function
err_syntax
src/lj_parse.c:174
↓ 8 callers
Function
expr
src/host/minilua.c:4299
↓ 8 callers
Function
expr_toval
Partially discharge expression to a value. */
src/lj_parse.c:613
↓ 8 callers
Function
ffi_checkctype
Check first argument for a C type and returns its ID. */
src/lib_ffi.c:39
↓ 8 callers
Function
ffi_checkint
Convert argument to int32_t. */
src/lib_ffi.c:90
↓ 8 callers
Function
index2adr_check
src/lj_api.c:64
↓ 8 callers
Function
io_tofile
src/lib_io.c:55
↓ 8 callers
Function
jmprel
Compute relative 32 bit offset for jump and call instructions. */
src/lj_emit_x86.h:475
↓ 8 callers
Function
lex_str
Check for string token. */
src/lj_parse.c:1032
↓ 8 callers
Function
lj_cdata_new_
Variant which works without a valid CTState. */
src/lj_cdata.h:53
↓ 8 callers
Function
lj_debug_line
Get line number for a bytecode position. */
src/lj_debug.c:118
↓ 8 callers
Function
lj_err_mem
Out-of-memory error. */
src/lj_err.c:784
↓ 8 callers
Function
lj_ir_k64
Intern 64 bit constant, given by its 64 bit pattern. */
src/lj_ir.c:219
↓ 8 callers
Function
lj_ir_kgc
Intern GC object "constant". */
src/lj_ir.c:279
↓ 8 callers
Function
lj_mem_newgco
Allocate new GC object and link it to the root set. */
src/lj_gc.c:888
↓ 8 callers
Function
lj_strfmt_wint
Write integer to buffer. */
src/lj_strfmt.c:102
↓ 8 callers
Function
lj_strscan_numberobj
Check for number or convert string to number/int in-place (!). */
src/lj_strscan.h:35
↓ 8 callers
Function
luaF_close
src/host/minilua.c:873
↓ 8 callers
Function
lua_concat
src/lj_api.c:771
↓ 8 callers
Function
lua_pushboolean
src/lj_api.c:704
↓ 8 callers
Function
lua_pushfstring
src/host/minilua.c:5550
↓ 8 callers
Function
lua_toboolean
src/lj_api.c:498
↓ 8 callers
Function
lua_type
src/host/minilua.c:5421
↓ 8 callers
Function
numberVint
src/lj_obj.h:1017
↓ 8 callers
Function
ra_hintalloc
Allocate a register with a hint. */
src/lj_asm_mips.h:9
↓ 8 callers
Function
setfield
src/lib_os.c:133
↓ 7 callers
Function
LJ_WIN_LOADLIBA
src/lib_package.c:80
↓ 7 callers
Function
aa_table
Alias analysis for two different table references. */
src/lj_opt_mem.c:56
↓ 7 callers
Function
argv2int
Get runtime value of int argument. */
src/lj_ffrecord.c:69
↓ 7 callers
Function
asm_fuseopm
Fuse m operand into arithmetic/logic instructions. */
src/lj_asm_arm.h:198
↓ 7 callers
Function
asm_intarith
src/lj_asm_x86.h:2066
↓ 7 callers
Function
asm_snap_prep
Prepare snapshot for next guard or throwing instruction. */
src/lj_asm.c:1005
↓ 7 callers
Function
bcread_byte
Read byte from buffer. */
src/lj_bcread.c:121
↓ 7 callers
Function
cdata_getptr
Get C data pointer. */
src/lj_cdata.h:16
↓ 7 callers
Function
const_str
Add a string constant. */
src/lj_parse.c:232
↓ 7 callers
Function
cp_decl_attributes
Parse declaration attributes (and common qualifiers). */
src/lj_cparse.c:1191
← previous
next →
201–300 of 2,629, ranked by callers