MCPcopy Create free account

hub / github.com/Jamesbarford/holyc-lang / functions

Functions2,620 in github.com/Jamesbarford/holyc-lang

↓ 1 callersFunctionparseForLoopInitialiser
Either parse the initialiser or a range loop. Range loop is experimental */
src/parser.c:1077
↓ 1 callersFunctionparseFunctionDef
src/parser.c:1908
↓ 1 callersFunctionparseGetPriority
src/prslib.c:1112
↓ 1 callersFunctionparseGetType
src/prsutil.c:170
↓ 1 callersFunctionparseIdentifierOrFunction
parse either a function call or a variable being used */
src/prslib.c:969
↓ 1 callersFunctionparseIfClause
Parse one clause inside an `if (...)` header - either a declaration * (`Type name [= expr]`, including pointers) or a plain expression - and * repor
src/parser.c:791
↓ 1 callersFunctionparseIsFloatOrInt
src/prsutil.c:17
↓ 1 callersFunctionparseOptExpr
src/parser.c:905
↓ 1 callersFunctionparsePeekArgAt
Walk the lookahead buffer past the leading args up to position * `fmt_arg_idx`, returning that arg's first token. Used pre-parse to * snapshot the f
src/prslib.c:799
↓ 1 callersFunctionparsePrimary
src/prslib.c:1042
↓ 1 callersFunctionparsePrintfFormatCheck
Raise an error when a printf-style call's format-string literal disagrees * with the supplied argument count. Very easy footgun. `"%d\n";` * Only fi
src/prslib.c:833
↓ 1 callersFunctionparseRaiseCaseException
src/parser.c:1335
↓ 1 callersFunctionparseRangeLoop
src/parser.c:1013
↓ 1 callersFunctionparseReturnAuto
src/prslib.c:38
↓ 1 callersFunctionparseReturnStatement
src/parser.c:1269
↓ 1 callersFunctionparseSwitchStatement
src/parser.c:1454
↓ 1 callersFunctionparseThrowStatement
`throw(expr);` - the expression yields a u64 (commonly a multi- * char constant like `'BlkDev'` which the lexer packs into 8 bytes * via TK_CHAR_CON
src/parser.c:1327
↓ 1 callersFunctionparseToplevelDef
src/parser.c:2282
↓ 1 callersFunctionparseTryStatement
TempleOS-strict `try { ... } catch <stmt>`. The catch handler is a * single statement (often `{...}` so braces still work via the * normal block-sta
src/parser.c:1305
↓ 1 callersFunctionparseTypeCheckClassFieldInitaliser
src/parser.c:99
↓ 1 callersFunctionparseUnionOffsets
src/parser.c:518
↓ 1 callersFunctionparseVariableAssignment
src/parser.c:651
↓ 1 callersFunctionprsAsmTokIsWord
Word-like tokens need a separating space when adjacent; punctuation * binds tight on both sides, which keeps `-8[RBP]` and `@@1:` intact. */
src/prsasm.c:92
↓ 1 callersFunctionput_u64
src/asm/asm_enc.c:67
↓ 1 callersFunctionput_zero_n
src/asm/asm_enc.c:74
↓ 1 callersFunctionrt_line
src/asm/test_dis_x86_64.c:540
↓ 1 callersFunctionsetEntriesToString
src/containers.c:585
↓ 1 callersFunctionsetGetCStringIdx
src/containers.c:367
↓ 1 callersFunctionsetGetCStringNextIdx
We need this function as often we are storing a key which may be a pointer * to a larger string and we want to be able to use the length of the part
src/containers.c:328
↓ 1 callersFunctionsetResize
src/containers.c:384
↓ 1 callersFunctionsetStats
src/containers.c:271
↓ 1 callersFunctionsetToString
src/containers.c:608
↓ 1 callersFunctionsetUnion
Add all of `s2` to `s1` */
src/containers.c:641
↓ 1 callersFunctiontake_u64
src/asm/dis_x86_64.c:83
↓ 1 callersFunctiontasm_mnemonic_table_for
src/asm/target.c:59
↓ 1 callersFunctiontest_aarch64_dump_failure
src/asm/test_aarch64.c:10
↓ 1 callersFunctiontest_x86_64_dump_failure
src/asm/test_x86_64.c:10
↓ 1 callersFunctiontokenRingBufferPop
Take one token from the ring buffer */
src/cctrl.c:374
↓ 1 callersFunctiontokenRingBufferPush
Add a token to the ring buffer and remove the oldest element */
src/cctrl.c:361
↓ 1 callersFunctiontokenRingBufferRewind
src/cctrl.c:403
↓ 1 callersFunctiontokenRingBufferStaticNew
src/cctrl.c:322
↓ 1 callersFunctiontprintf
src/aostr.c:538
↓ 1 callersFunctiontranspileAsmFunction
This is a best effort! */
src/transpiler.c:1537
↓ 1 callersFunctiontranspileAst
src/transpiler.c:1074
↓ 1 callersFunctiontranspileAstList
src/transpiler.c:1632
↓ 1 callersFunctiontranspileBinaryOp
src/transpiler.c:434
↓ 1 callersFunctiontranspileClassDefinitions
src/transpiler.c:1364
↓ 1 callersFunctiontranspileCtxNew
src/transpiler.c:271
↓ 1 callersFunctiontranspileCtxShouldEmitDefine
src/transpiler.c:308
↓ 1 callersFunctiontranspileDefines
src/transpiler.c:1423
↓ 1 callersFunctiontranspileFormatAsmLine
Format the assembly to remove the tabs, leading whitespace and make calls * to the c function wrappers rather than the original assmebly */
src/transpiler.c:1483
↓ 1 callersFunctiontranspileFunction
src/transpiler.c:1456
↓ 1 callersFunctiontranspileGetFunctionSub
src/transpiler.c:423
↓ 1 callersFunctiontranspileHighlightFloat
src/transpiler.c:413
↓ 1 callersFunctiontranspileHighlightString
src/transpiler.c:405
↓ 1 callersFunctiontranspileHighlightStringAsCharacter
src/transpiler.c:389
↓ 1 callersFunctiontranspileHighlightStringAsInt
src/transpiler.c:397
↓ 1 callersFunctiontranspileIncludes
src/transpiler.c:1658
↓ 1 callersFunctiontranspileParamsList
src/transpiler.c:1084
↓ 1 callersFunctiontranspileToC
src/transpiler.c:1672
↓ 1 callersFunctiontranspileUnary
src/transpiler.c:510
↓ 1 callersFunctiontranspileUnionDefinitions
src/transpiler.c:1396
↓ 1 callersFunctiontypeCheckReturnTypeWarn
src/prsutil.c:519
↓ 1 callersFunctionvecEntriesToString
Simply get the contents of the array without the type information */
src/containers.c:237
↓ 1 callersFunctionvecToString
src/containers.c:254
↓ 1 callersFunctionvecTypeToString
src/containers.c:228
↓ 1 callersFunctionw_init
src/asm/asm.c:1475
↓ 1 callersFunctionx86AsmGenerate
Create assembly */
src/x86.c:2544
↓ 1 callersFunctionx86_64AsmGenerate
src/x86_64.c:2491
↓ 1 callersFunctionx86_64CcInvFor
Inverted condition for jumping when the cmp is FALSE. */
src/x86_64.c:653
↓ 1 callersFunctionx86_64DerefStoreGlobal
src/x86_64.c:255
↓ 1 callersFunctionx86_64DerefStoreImm
Lay an immediate down through a register-held address (optionally * displaced and SIB-scaled). Used by the DST_IN_REG path so we * don't bounce thro
src/x86_64.c:286
↓ 1 callersFunctionx86_64EmitFloatLiteralData
Materialise a float constant in .data and load it via PC-relative * addressing. `size` selects single (.long / movss) vs double * (.quad / movsd). B
src/x86_64.c:407
↓ 1 callersFunctionx86_64EmitFunctionPrologue
src/x86_64.c:2206
↓ 1 callersFunctionx86_64EmitInstr
src/x86_64.c:1200
↓ 1 callersFunctionx86_64EmitOnePhi
Move a single phi's incoming value into the phi's destination. * Dangling values (tmp with no slot) only arise from unreachable * incoming edges, ze
src/x86_64.c:766
↓ 1 callersFunctionx86_64EmitSysvCall
src/x86_64.c:954
↓ 1 callersFunctionx86_64EmitSysvParamPrologue
Callee entry: unpack by-value struct params (arrived in GP/XMM regs, or * on the stack for MEMORY class) into their frame slots. */
src/x86_64.c:1121
↓ 1 callersFunctionx86_64FrameAddr
leaq <loff>(%rbp), %<reg64>. AT&T allows signed displacements * natively. */
src/x86_64.c:122
↓ 1 callersFunctionx86_64GlobalVar
src/x86_64.c:2391
↓ 1 callersFunctionx86_64HasRet
Did the last emit already place an epilogue at the tail of buf? * Used so we don't double-emit when the function ends with an * explicit return. */
src/x86_64.c:747
↓ 1 callersFunctionx86_64InitRegPool
src/x86_64.c:55
↓ 1 callersFunctionx86_64JitCompile
src/x86_64-jit.c:26
↓ 1 callersFunctionx86_64Lea
src/x86_64.c:126
↓ 1 callersFunctionx86_64PartitionCallArgs
SysV AMD64 has 6 int arg regs (rdi/rsi/rdx/rcx/r8/r9) and 8 FP * (xmm0-7); anything past that goes on the stack right-to-left * (we lay them out lef
src/x86_64.c:873
↓ 1 callersFunctionx86_64PasteAsmBlocks
`asm {}` function blocks: assemble each function chunk with libtasm * and emit the encoded bytes under the function's label. Per-function * encoding
src/x86_64.c:2471
↓ 1 callersFunctionx86_64PasteDataSection
src/x86_64.c:2186
↓ 1 callersFunctionx86_64SavePinnedRegs
Preserve every register a local/param is pinned to. XMM regs can't be * pushed, so instead of push/pop we reserve one 8-byte slot per pinned * reg (
src/x86_64.c:709
↓ 1 callersFunctionx86_64SizedSuffix
x86 mnemonic suffix for an N-byte operation. */
src/x86_64.c:262
↓ 1 callersFunctionx86_64StoreFprSized
`val_size` (0 = derive from dst) is the width of the value stored. When * dst is a gep/pointer tmp aliasing a narrow field, sizing the store from *
src/x86_64.c:530
↓ 1 callersFunctionx86_64_cc_for_mn
Map a canonical jcc mnemonic id to its 4-bit condition code. Returns -1 * if the id isn't a jcc. Alias mnemonics (jz/je, jc/jb/jnae, ...) are * coll
src/asm/enc_x86_64.c:1551
↓ 1 callersFunctionx86_64_disasm_buf
src/asm/dis_x86_64.c:844
↓ 1 callersFunctionx86_64_emit_modrm_mem
Emit a ModR/M and SIB byte (+ optional disp) for a memory operand. The * reg field is the OTHER operand's encoding (the register being moved). */
src/asm/enc_x86_64.c:1026
↓ 1 callersFunctionx86_64_emit_veneer
src/asm/asm_jit.c:232
↓ 1 callersFunctionx86_64_enc_alu_imm_reg
op $imm32, %reg for the five ALU ops; /digit per the 81 group. */
src/asm/enc_x86_64.c:636
↓ 1 callersFunctionx86_64_enc_call
call reg, call imm32-or-label */
src/asm/enc_x86_64.c:1576
↓ 1 callersFunctionx86_64_enc_cmov
CMOVcc r, r/m: 0F 4x /r. Byte-width destinations don't exist. */
src/asm/enc_x86_64.c:2298
↓ 1 callersFunctionx86_64_enc_cqto
src/asm/enc_x86_64.c:343
↓ 1 callersFunctionx86_64_enc_cvtsd2ss
src/asm/enc_x86_64.c:829
↓ 1 callersFunctionx86_64_enc_cvtsi2sd
cvtsi2sdq %r64, %xmm : F2 REX.W 0F 2A /r. */
src/asm/enc_x86_64.c:819
← previousnext →1,401–1,500 of 2,620, ranked by callers