MCPcopy Create free account

hub / github.com/LuaJIT/LuaJIT / functions

Functions2,629 in github.com/LuaJIT/LuaJIT

↓ 342 callersFunctionra_alloc1
Allocate a register on-demand. */
src/lj_asm.c:664
↓ 189 callersFunctionra_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 callersFunctionlj_ir_kint
Intern int32_t constant. */
src/lj_ir.c:200
↓ 159 callersFunctioncopyTV
Copy tagged values. */
src/lj_obj.h:971
↓ 116 callersFunctionctype_get
Get C type for C type ID. */
src/lj_ctype.h:418
↓ 106 callersFunctionemit_lso
src/lj_emit_arm.h:91
↓ 106 callersFunctionemit_tsi
src/lj_emit_mips.h:47
↓ 106 callersFunctionlj_trace_err
Synchronous abort with error message. */
src/lj_trace.c:38
↓ 106 callersFunctionra_allock
Allocate a register for a constant. */
src/lj_asm.c:549
↓ 103 callersFunctionsetintV
src/lj_obj.h:947
↓ 102 callersFunctionra_scratch
Get a scratch register (marked as free). */
src/lj_asm.c:488
↓ 97 callersFunctionemit_dst
src/lj_emit_mips.h:34
↓ 97 callersFunctionemit_tai
src/lj_emit_ppc.h:17
↓ 91 callersFunctionemit_rmro
op r, [base+ofs] */
src/lj_emit_x86.h:103
↓ 72 callersFunctionsplit_emit
Directly emit the transformed IR without updating chains etc. */
src/lj_opt_split.c:99
↓ 69 callersFunctionLJFOLDF
src/lj_opt_fold.c:196
↓ 66 callersFunctionemit_dnm
src/lj_emit_arm.h:47
↓ 63 callersFunctionemit_rr
op r1, r2 */
src/lj_emit_x86.h:85
↓ 62 callersFunctionemit_dn
src/lj_emit_arm.h:57
↓ 57 callersFunctionemit_mrm
op r, rm/mrm */
src/lj_emit_x86.h:193
↓ 57 callersFunctionlj_err_caller
Error in context of caller. */
src/lj_err.c:1003
↓ 53 callersFunctioncp_opt
Check and consume optional token. */
src/lj_cparse.c:416
↓ 48 callersFunctionindex2adr
src/lj_api.c:34
↓ 47 callersFunctionctype_raw
Get raw type for a C type ID. */
src/lj_ctype.h:436
↓ 46 callersFunctionasm_guard
Emit conditional branch to exit for guard. */
src/lj_asm_mips.h:109
↓ 46 callersFunctionctype_rawchild
Get raw type of the child of a C type. */
src/lj_ctype.h:444
↓ 46 callersFunctionemit_dm
src/lj_emit_arm.h:52
↓ 45 callersFunctionctype_child
Get child C type. */
src/lj_ctype.h:427
↓ 44 callersFunctionra_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 callersFunctioncheckmclim
src/lj_asm.c:135
↓ 38 callersFunctionlj_str_new
Intern a string and return string object. */
src/lj_str.c:314
↓ 37 callersFunctionlj_ir_call
Emit call to a C function. */
src/lj_ir.c:132
↓ 36 callersFunctioncp_get
Get next character. */
src/lj_cparse.c:94
↓ 36 callersFunctionemit_dta
src/lj_emit_mips.h:39
↓ 36 callersFunctionra_evictset
Evict all registers from a set (if not free). */
src/lj_asm.c:497
↓ 35 callersFunctioncp_next
src/lj_cparse.c:355
↓ 35 callersFunctionlex_next
Get next character. */
src/lj_lex.c:63
↓ 35 callersFunctionlj_lib_checkint
src/lj_lib.c:241
↓ 35 callersFunctionlua_setfield
src/lj_api.c:981
↓ 34 callersFunctionemit_n
src/lj_emit_arm.h:72
↓ 34 callersFunctionlj_fls
src/lj_def.h:151
↓ 34 callersFunctionra_releasetmp
Release the temporarily allocated register in ASMREF_TMP1/ASMREF_TMP2. */
src/lj_asm.c:408
↓ 33 callersFunctionctype_cts
Get C type state. */
src/lj_ctype.h:386
↓ 33 callersFunctionindex2adr
src/host/minilua.c:5314
↓ 33 callersFunctionlj_err_arg
Argument error. */
src/lj_err.c:1035
↓ 32 callersFunctionemit_tab
src/lj_emit_ppc.h:8
↓ 32 callersFunctionlj_err_argt
Typecheck error for arguments. */
src/lj_err.c:1064
↓ 32 callersFunctionluaL_error
src/host/minilua.c:5907
↓ 31 callersFunctioncp_check
Check and consume token. */
src/lj_cparse.c:423
↓ 31 callersFunctionlj_buf_more
src/lj_buf.h:106
↓ 30 callersFunctionlj_lex_next
Return next lexical token. */
src/lj_lex.c:455
↓ 29 callersFunctionemit_isk12
Encode constant in K12 format for data processing instructions. */
src/lj_emit_arm.h:28
↓ 29 callersFunctionlua_pushvalue
src/host/minilua.c:5417
↓ 28 callersFunctionlj_strfmt_pushf
Push formatted message as a string object to Lua stack. Vararg variant. */
src/lj_strfmt.c:597
↓ 28 callersFunctionlua_pushvalue
src/lj_api.c:209
↓ 26 callersFunctioncrec_ct_tv
src/lj_crecord.c:600
↓ 26 callersFunctionemit_branch
src/lj_emit_arm.h:264
↓ 26 callersFunctionlua_pushstring
src/lj_api.c:658
↓ 25 callersFunctionasm_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 callersFunctionemit_nm
src/lj_emit_arm.h:62
↓ 25 callersFunctionlj_strfmt_wuleb128
Write ULEB128 to buffer. */
src/lj_strfmt.c:155
↓ 25 callersFunctionluaX_next
src/host/minilua.c:2985
↓ 25 callersFunctionlua_getfield
src/lj_api.c:810
↓ 24 callersFunctionasm_guardcc
Emit conditional branch to exit for guard. */
src/lj_asm_ppc.h:71
↓ 24 callersFunctionlj_lib_checkstr
src/lj_lib.c:195
↓ 24 callersFunctionluaK_codeABC
src/host/minilua.c:3639
↓ 24 callersFunctionlua_pushfstring
src/lj_api.c:678
↓ 24 callersFunctionnumberVnum
src/lj_obj.h:1025
↓ 23 callersFunctionexpr_toanyreg
Discharge an expression to any register. */
src/lj_parse.c:598
↓ 23 callersFunctionlj_tab_getstr
src/lj_tab.c:397
↓ 23 callersFunctionra_leftov
Similar to ra_left, except we override any hints. */
src/lj_asm.c:799
↓ 22 callersFunctionemit_fgh
src/lj_emit_mips.h:55
↓ 22 callersFunctionemit_loadi
Load a 32 bit constant into a GPR. */
src/lj_emit_ppc.h:80
↓ 22 callersFunctionlj_cconv_ct_tv
Convert TValue to C type. Caveat: expects to get the raw CType! */
src/lj_cconv.c:546
↓ 22 callersFunctionlj_err_callerv
Formatted error in context of caller. */
src/lj_err.c:992
↓ 22 callersFunctionlj_err_msg
Non-vararg variant for better calling conventions. */
src/lj_err.c:898
↓ 22 callersFunctionlj_tab_set
src/lj_tab.c:542
↓ 22 callersFunctionlua_rawgeti
src/host/minilua.c:5601
↓ 22 callersFunctionra_destreg
Force a specific destination register (marked as free). */
src/lj_asm.c:737
↓ 21 callersFunctionasm_guardcc
Emit conditional branch to exit for guard. */
src/lj_asm_arm.h:113
↓ 21 callersFunctionbarg
src/host/minilua.c:7694
↓ 21 callersFunctionbcread_uleb128
Read ULEB128 value from buffer. */
src/lj_bcread.c:128
↓ 21 callersFunctionlj_ir_knum
src/lj_iropt.h:59
↓ 21 callersFunctionlj_lib_checkany
src/lj_lib.c:187
↓ 21 callersFunctionlj_tab_setstr
src/lj_tab.c:530
↓ 21 callersFunctionowrite
src/host/buildvm.c:79
↓ 20 callersFunctionasm_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 callersFunctionemit_sjcc
jcc short target */
src/lj_emit_x86.h:445
↓ 20 callersFunctionlj_bswap
src/lj_def.h:160
↓ 20 callersFunctionlua_remove
src/lj_api.c:162
↓ 20 callersFunctionra_alloc2
Allocate two source registers for three-operand instructions. */
src/lj_asm_mips.h:36
↓ 19 callersFunctioncp_errmsg
src/lj_cparse.c:127
↓ 19 callersFunctioncp_expr_sub
Parse and evaluate sub-expression. */
src/lj_cparse.c:741
↓ 19 callersFunctionemit_lsptr
Get/set from constant pointer. */
src/lj_emit_ppc.h:104
↓ 19 callersFunctionlj_err_throw
src/lj_err.c:745
↓ 19 callersFunctionlj_lex_error
Lexer error. */
src/lj_lex.c:487
↓ 19 callersFunctionluaG_runerror
src/host/minilua.c:2589
↓ 18 callersFunctionemit_movmroi
mov [base+ofs], i */
src/lj_emit_x86.h:255
↓ 18 callersFunctionlj_buf_wmem
src/lj_buf.h:168
↓ 18 callersFunctionlj_meta_lookup
Lookup metamethod for object. */
src/lj_meta.c:59
next →1–100 of 2,629, ranked by callers