Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jamesbarford/holyc-lang
/ functions
Functions
2,620 in github.com/Jamesbarford/holyc-lang
⨍
Functions
2,620
◇
Types & classes
147
↓ 21 callers
Function
x86_64SpillDst
Spill instr->dst into its home. When dst.loc is a register (set by * the peephole or the linear-scan), StoreReg's same-reg short-circuit * makes thi
src/x86_64.c:392
↓ 20 callers
Function
aarch64LoadToReg
Load any IrValue into the given x-register. */
src/aarch64.c:426
↓ 20 callers
Function
aarch64_enc_add_imm
src/asm/enc_arm64.c:187
↓ 20 callers
Function
astDecl
src/ast.c:415
↓ 20 callers
Function
astMakeLabel
src/ast.c:296
↓ 20 callers
Function
astTypeKindToString
src/ast.c:2128
↓ 20 callers
Function
jitRegFromName
Parse a register name like "rax", "r8", "xmm0" into its hardware * number. Used to translate the pinned-reg / IR_LOC_REG `AoStr *reg` * fields into
src/x86_64-jit.c:88
↓ 20 callers
Function
x86_64_reg_width
src/asm/enc_x86_64.c:981
↓ 19 callers
Function
asm_add_fixup
src/asm/asm_enc.c:125
↓ 19 callers
Function
ieee754_64
Encode `64` as a `u64`. Bit-cast through a union (like ieee754_32) so the * exact IEEE-754 representation is produced. The previous manual bit-by-bit
src/asm.c:24
↓ 19 callers
Function
irDstVarId
src/ir-types.c:235
↓ 19 callers
Function
jitFpDbl
1 for a double-width (F64) float value, 0 for single (F32). */
src/x86_64-jit.c:139
↓ 19 callers
Function
jitLoadToReg
src/aarch64-jit.c:395
↓ 19 callers
Function
transpileKeyWordHighlight
src/transpiler.c:322
↓ 18 callers
Function
asm_define_label
src/asm/asm_enc.c:111
↓ 18 callers
Function
irBlockHasPhi
src/ir-regalloc.c:343
↓ 18 callers
Function
irFnGetVar
src/ir-types.c:686
↓ 18 callers
Function
jitLoadFirstSrc
src/x86_64-jit.c:396
↓ 17 callers
Function
aoStrAlloc
src/aostr.c:139
↓ 17 callers
Function
astIsUnOpKind
src/ast.c:900
↓ 17 callers
Function
cfgBuilderAllocBasicBlock
src/cfg.c:359
↓ 17 callers
Function
irValueToString
src/ir-debug.c:236
↓ 17 callers
Function
lexemeToString
src/lexer.c:589
↓ 17 callers
Function
x86_64LoadFirstSrc
Load src into %rax. When src.loc is already %rax (peephole-fused * producer), LoadToReg's same-reg check makes this a no-op. */
src/x86_64.c:595
↓ 16 callers
Function
aarch64_enc_fmov_gpr
FMOV between GPR and FP scalar: * sf 0 0 11110 type 1 rmode opcode 000000 Rn Rd * * is_double=0 -> S<->W (sf=0, type=00); is_double=1 -> D<->X (
src/asm/enc_arm64.c:1017
↓ 16 callers
Function
align
src/prsutil.c:9
↓ 16 callers
Function
aoStrCatColoured
src/aostr.c:579
↓ 16 callers
Function
asm_parse_err_at
Format an error, call the handler, and resync the lexer to end-of-line * so the rest of the line is discarded. Callers continue normally; the * recu
src/asm/asm.c:62
↓ 16 callers
Function
astLVar
src/ast.c:322
↓ 16 callers
Function
jitRegFromName
Parse a register name like "x9", "w0", "d0", "s3" into an A64Reg * (which carries just the numeric index 0..31). Used to translate * the pinned-reg
src/aarch64-jit.c:83
↓ 16 callers
Function
xmalloc
src/asm/tasm_util.c:21
↓ 15 callers
Function
aarch64_enc_ldst_regoff
Register-offset load/store. Encoding: * size:2 111 V 00 opc:2 1 Rm:5 option:3 S 10 Rn:5 Rt:5 * * We only emit the `LSL` shift variant (option=01
src/asm/enc_arm64.c:753
↓ 15 callers
Function
cctrlDiagPush
src/cctrl.c:839
↓ 15 callers
Function
cfgHandleAstNode
* This function is crucial. It sets the type of block based on the AST. * @DataFlow Jamesbarford 2024/08/28 * TODO: This function should be the one
src/cfg.c:983
↓ 15 callers
Function
lexemeTypeToString
src/lexer.c:340
↓ 15 callers
Function
read_modrm
Read a ModRM byte, expand it into (mod, reg, rm) with REX extensions * applied to reg and rm. If `mod != 3` then `rm_buf` receives the * formatted m
src/asm/dis_x86_64.c:213
↓ 15 callers
Function
x86_64FpMov
The SSE scalar move mnemonic for a float of `size` bytes: * movss for single (F32), movsd for double (F64). */
src/x86_64.c:398
↓ 15 callers
Function
x86_64_emit_memref
Emit a memory operand starting at the ModR/M byte. The caller is * responsible for having already emitted the segment override (before REX) * and th
src/asm/enc_x86_64.c:1154
↓ 14 callers
Function
aarch64_enc_mov_imm64
src/asm/enc_arm64.c:113
↓ 14 callers
Function
asm_jit_free
src/asm/asm_jit.c:456
↓ 14 callers
Function
astI64Type
src/ast.c:271
↓ 14 callers
Function
astTypeIsPtr
src/ast.c:843
↓ 14 callers
Function
astUnaryOperator
src/ast.c:185
↓ 14 callers
Function
cctrlMakeDiag
src/cctrl.c:813
↓ 14 callers
Function
emit_mem_disp
Emit ModR/M + optional disp for `[base + disp]` addressing. Special-case * for rsp/r12 (need SIB) and for rbp/r13 with disp=0 (mod=01 disp8=0). */
src/asm/enc_x86_64.c:52
↓ 14 callers
Function
irIsConstInt
src/ir-types.c:215
↓ 14 callers
Function
parseStatement
src/parser.c:1524
↓ 13 callers
Function
aarch64_enc_ldr_imm
src/asm/enc_arm64.c:339
↓ 13 callers
Function
aarch64_enc_ldst_pair
Convenience wrappers. `mode` codes: 0 = signed offset, 1 = pre-index, * 2 = post-index, 3 = non-temporal (LDNP/STNP). `width` is the * per-element w
src/asm/enc_arm64.c:573
↓ 13 callers
Function
aoStrRemovePreviousChar
src/aostr.c:249
↓ 13 callers
Function
astBinOpKindToString
src/ast.c:2226
↓ 13 callers
Function
astTypeIsArray
src/ast.c:847
↓ 13 callers
Function
fp_reg_name
src/asm/dis_arm64.c:1258
↓ 13 callers
Function
jitLoadFirstSrcFpr
src/x86_64-jit.c:400
↓ 13 callers
Function
take_byte
src/asm/dis_x86_64.c:53
↓ 13 callers
Function
test_jit_build
Build, finalize, and return the executable mapping. NULL on failure. * `out_jit` receives ownership; caller asm_jit_frees it. */
src/asm/test_jit.c:27
↓ 13 callers
Function
transpileAstInternal
src/transpiler.c:543
↓ 13 callers
Function
x86_64LoadFirstSrcFpr
Float counterpart. */
src/x86_64.c:601
↓ 13 callers
Function
x86_64_emit_rex_for
REX byte computed from operands. W=1 for 64-bit. */
src/asm/enc_x86_64.c:1010
↓ 13 callers
Function
x86_64_emit_seg
Emit a segment override prefix if needed. */
src/asm/enc_x86_64.c:995
↓ 12 callers
Function
aarch64_enc_str_imm
src/asm/enc_arm64.c:345
↓ 12 callers
Function
aarch64_enc_sub_imm
src/asm/enc_arm64.c:193
↓ 12 callers
Function
asmNormaliseGlobalLabel
Mach-O treats any symbol beginning with an uppercase `L` as a local * (assembler-temporary) label, so `.globl LIGHTGRAY` is rejected with * "non-loc
src/asm.c:46
↓ 12 callers
Function
asmPush
src/x86.c:193
↓ 12 callers
Function
asm_enc_free
Does not free `AsmEnc *e`, you need to free that if you malloced it. */
src/asm/asm_enc.c:258
↓ 12 callers
Function
asm_enc_init
src/asm/asm_enc.c:276
↓ 12 callers
Function
asm_is_label
src/asm/asm_enc.c:105
↓ 12 callers
Function
asm_reg_name
src/asm/asm.c:1338
↓ 12 callers
Function
astMakePointerType
src/ast.c:612
↓ 12 callers
Function
bbAstCount
src/cfg.c:144
↓ 12 callers
Function
bbRemovePrev
src/cfg.c:125
↓ 12 callers
Function
hccJitBlockLocalNum
src/jit-common.c:28
↓ 12 callers
Function
irLowerAst
src/ir.c:2428
↓ 12 callers
Function
irValueNew
src/ir-types.c:748
↓ 12 callers
Function
jitEmitMovImm
Emit `reg = imm` using movz / movk / movn sequences. Mirrors * aarch64EmitMovImm in aarch64.c. */
src/aarch64-jit.c:110
↓ 12 callers
Function
jitSpillDstFpr
src/x86_64-jit.c:392
↓ 12 callers
Function
parseDeclSpec
src/prslib.c:292
↓ 12 callers
Function
x86_64SpillDstFpr
src/x86_64.c:606
↓ 12 callers
Function
x86_64_enc_mov_reg_reg
src/asm/enc_x86_64.c:70
↓ 12 callers
Function
x86_64_enc_x87_arith
src/asm/enc_x86_64.c:1798
↓ 11 callers
Function
aarch64SpillDst
src/aarch64.c:487
↓ 11 callers
Function
asmPop
src/x86.c:198
↓ 11 callers
Function
asmRemovePreviousTab
src/x86.c:56
↓ 11 callers
Function
astIsDeref
src/ast.c:922
↓ 11 callers
Function
cctrlIsKeyword
src/cctrl.c:1195
↓ 11 callers
Function
cctrlRaiseExceptionFromTo
src/cctrl.c:1109
↓ 11 callers
Function
irAddStackSpace
src/ir-types.c:823
↓ 11 callers
Function
irBranch
src/ir.c:97
↓ 11 callers
Function
jitSpillDst
src/aarch64-jit.c:549
↓ 11 callers
Function
listRelease
src/list.c:129
↓ 11 callers
Function
mapAddOrErr
src/containers.c:1007
↓ 11 callers
Function
setRelease
src/containers.c:516
↓ 11 callers
Function
w_puts
src/asm/asm.c:1492
↓ 10 callers
Function
aarch64_enc_mov_reg
src/asm/enc_arm64.c:136
↓ 10 callers
Function
astTypeToColorAoStr
src/ast.c:1472
↓ 10 callers
Function
astTypeToColorString
src/ast.c:1501
↓ 10 callers
Function
cctrlCreateAstMap
src/cctrl.c:68
↓ 10 callers
Function
cctrlRewindUntilStrMatch
src/cctrl.c:1014
↓ 10 callers
Function
cfgSelectOrCreateBlock
Sometimes the block that has been allocated and exists on the builder * can be used i.e there are no asts in the array. * Other times we need to a
src/cfg.c:391
↓ 10 callers
Function
dec_alu_rm_r
src/asm/dis_x86_64.c:243
← previous
next →
101–200 of 2,620, ranked by callers