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
↓ 3 callers
Function
aarch64_enc_br
BR / BLR Xn: 1101 0110 00X1 1111 0000 00 | Rn | 00000 - BR has X=0, BLR has * X=1. */
src/asm/enc_arm64.c:1184
↓ 3 callers
Function
aarch64_enc_branch
B / BL / B.cond - operand is either a local @@N or a symbol. */
src/asm/enc_arm64.c:3255
↓ 3 callers
Function
aarch64_enc_eor_reg
src/asm/enc_arm64.c:1465
↓ 3 callers
Function
aarch64_enc_fp1src
FABS / FNEG / FSQRT, 2 operands, must be same scalar FP class (S or D). */
src/asm/enc_arm64.c:2995
↓ 3 callers
Function
aarch64_enc_ldrs
LDRSB/LDRSH/LDRSW dispatch. `width` is 1/2/4. The destination class * picks the sign-extend target: X (64-bit) or W (32-bit). LDRSW has no * W-desti
src/asm/enc_arm64.c:2277
↓ 3 callers
Function
aarch64_enc_lsl_imm
LSL (immediate) - UBFM alias. `LSL <Rd>, <Rn>, #shift` = * UBFM <Rd>, <Rn>, #(-shift mod regsize), #(regsize - 1 - shift). */
src/asm/enc_arm64.c:1533
↓ 3 callers
Function
aarch64_enc_lslv
src/asm/enc_arm64.c:1525
↓ 3 callers
Function
aarch64_enc_mov_reg_w
src/asm/enc_arm64.c:145
↓ 3 callers
Function
aarch64_enc_mov_wide_mn
MOVZ / MOVK / MOVN spelled explicitly: `movz Xd, #imm16 {, lsl #hw}`. * Unlike `mov` (which synthesises a movz/movk sequence for any 64-bit * value)
src/asm/enc_arm64.c:3540
↓ 3 callers
Function
aarch64_enc_movz
src/asm/enc_arm64.c:73
↓ 3 callers
Function
aarch64_enc_msr_imm
MSR (immediate) - writes a PSTATE field. Encoding: * 1101 0101 0000 0 op1:3 0100 CRm:4 op2:3 11111 * op1+op2 identify the PSTATE field; CRm is th
src/asm/enc_arm64.c:1732
↓ 3 callers
Function
aarch64_enc_neg_reg
src/asm/enc_arm64.c:1591
↓ 3 callers
Function
aarch64_enc_ret
src/asm/enc_arm64.c:1160
↓ 3 callers
Function
aarch64_enc_ret_reg
RET Xn: 1101 0110 0101 1111 0000 00 | Rn(5) | 00000 - default Rn=X30. */
src/asm/enc_arm64.c:1153
↓ 3 callers
Function
aarch64_enc_sdiv
src/asm/enc_arm64.c:1513
↓ 3 callers
Function
aarch64_fp_or_gpr_ldst_idx
Pre/post-index immediate (signed 9-bit) load/store. Encoding: * size:2 111 V 00 opc:2 0 imm9:9 op2:2 Rn:5 Rt:5 * * op2 = 01 -> post-index [
src/asm/enc_arm64.c:655
↓ 3 callers
Function
aarch64_is_simd_reg
True for any SIMD/FP register (B/H/S/D/Q/V). */
src/asm/enc_arm64.c:1747
↓ 3 callers
Function
aarch64_is_x_or_sp
src/asm/enc_arm64.c:1782
↓ 3 callers
Function
aarch64_ldrs_imm9_emit
Signed-load imm9 (pre/post/unscaled). op2: 0=unscaled, 1=post-idx, 3=pre-idx. */
src/asm/enc_arm64.c:1360
↓ 3 callers
Function
aarch64_log_reg
Logical (shifted register), shift=LSL #0, N=0: * sf | opc(2) | 0 1 0 1 0 | shift=00 | N=0 | Rm | imm6=0 | Rn | Rd * opc: 00=AND, 01=ORR, 10=EOR. *
src/asm/enc_arm64.c:1442
↓ 3 callers
Function
aarch64_streq_ci
src/asm/enc_arm64.c:3317
↓ 3 callers
Function
aarch64_sxt
SXTB/SXTH/SXTW Xd, Wn = SBFM Xd, Xn, #0, #(width-1). */
src/asm/enc_arm64.c:293
↓ 3 callers
Function
aoStrEq
src/aostr.c:867
↓ 3 callers
Function
aoStrPoolFree
Push a buffer back onto its size-class bucket. Do nothing for `NULL`, for * buffers larger than `AOSTR_POOL_MAX_SIZE`, and for any capacity that * d
src/aostr.c:78
↓ 3 callers
Function
aoStrSplit
* Split into strings on delimiter */
src/aostr.c:428
↓ 3 callers
Function
arenaBlockNew
src/arena.c:8
↓ 3 callers
Function
asmBuildInitialiserMain
Build the synthetic `main` that runs file-scope initialiser * statements (cc->initalisers) as the process entry point, shared by * every backend (aa
src/asm.c:105
↓ 3 callers
Function
asmGLoad
src/x86.c:240
↓ 3 callers
Function
asmGetMov
src/x86.c:62
↓ 3 callers
Function
asmLLoad
src/x86.c:271
↓ 3 callers
Function
asmPlaceArgs
src/x86.c:1506
↓ 3 callers
Function
asm_jit_dlsym_resolver
src/asm/asm_jit.c:471
↓ 3 callers
Function
assertLValue
src/prsutil.c:467
↓ 3 callers
Function
astAlloc
src/ast.c:45
↓ 3 callers
Function
astAnnonymousLabel
src/ast.c:311
↓ 3 callers
Function
astBinaryOp
src/ast.c:248
↓ 3 callers
Function
astF64Type
src/ast.c:287
↓ 3 callers
Function
astFor
src/ast.c:528
↓ 3 callers
Function
astForEachClassField
Iterate a class/union's fields in declaration order (the fields Map * preserves insertion order in its `indexes` vector). */
src/ast.c:1262
↓ 3 callers
Function
astFunctionToStringInternal
src/ast.c:1546
↓ 3 callers
Function
astIsBinOp
src/ast.c:904
↓ 3 callers
Function
astIsIntrinsicClass
src/ast.c:926
↓ 3 callers
Function
astLValueToAoStr
src/ast.c:2531
↓ 3 callers
Function
astMakeArrayType
src/ast.c:620
↓ 3 callers
Function
astTypeAlloc
src/ast.c:49
↓ 3 callers
Function
cctrlGetKeyWord
src/cctrl.c:1179
↓ 3 callers
Function
cctrlInitParse
src/cctrl.c:428
↓ 3 callers
Function
cctrlTokenPeekBy
src/cctrl.c:467
↓ 3 callers
Function
cctrlWarning
src/cctrl.c:776
↓ 3 callers
Function
cfgBuilderClearLeafCache
src/cfg.c:117
↓ 3 callers
Function
cfgDoWhileCondPrintf
src/cfg-print.c:119
↓ 3 callers
Function
cfgMergeBranches
src/cfg.c:961
↓ 3 callers
Function
clsFieldNew
src/parser.c:265
↓ 3 callers
Function
hccJitAssembleText
src/jit-common.c:140
↓ 3 callers
Function
irBlockMappingMapNew
src/ir-types.c:165
↓ 3 callers
Function
irCmpKindToString
src/ir-debug.c:319
↓ 3 callers
Function
irEmitMemcpy
Make a call to holyc's memcpy routine. Used for struct by value returns. * Simpler to do this than emit a bunch of instructions and from codegen is
src/ir.c:347
↓ 3 callers
Function
irEscapeWalkList
src/ir.c:2581
↓ 3 callers
Function
irFnCallTo
src/ir.c:391
↓ 3 callers
Function
irFnValueIsReferenced
True if any instruction in fn references `target` as r1, r2, dst * (excluding the dst that defines it), or as a CALL arg. Used by the * layout pass
src/ir-regalloc.c:476
↓ 3 callers
Function
irFunctionAddMapping
src/ir-types.c:724
↓ 3 callers
Function
irICmp
src/ir.c:80
↓ 3 callers
Function
irInstrGetTargetBlock
src/ir-types.c:274
↓ 3 callers
Function
irInstrToString
Convert an instruction to a string. */
src/ir-debug.c:428
↓ 3 callers
Function
irLocIsScratchClobbered
True if `v` is pinned to a register the backend declared as * per-instruction scratch. After a non trivial op the forwarded * value sitting there is
src/ir-optimise.c:387
↓ 3 callers
Function
irOpIsCmp
src/ir-types.c:197
↓ 3 callers
Function
irPhi
src/ir-types.c:873
↓ 3 callers
Function
irRedirectLastDst
Redirect the most recent value-producing instruction's dst to * `target`. Returns 1 on success (caller can skip emitting an IR_STORE * since the pro
src/ir.c:261
↓ 3 callers
Function
irRemapInstrBlockIds
Swap `removal_id` for `target` in every branch / phi / jump within `bb` */
src/ir-optimise.c:33
↓ 3 callers
Function
irStore
result is where we are storing something and op1 is the thing we are storing * I think op1 could/shoule have an offset as it is either going to be t
src/ir.c:141
↓ 3 callers
Function
irUnwrapDefaultParam
The parser wraps body-side references to default-param parameters in * AST_DEFAULT_PARAM. The default expression matters only at the call * site; in
src/ir.c:149
↓ 3 callers
Function
irWidenToTargetWidth
Widen a value to match a target slot's width. Caller supplies the * source AST type so we know whether to zero- or sign-extend. Needed * before IR_S
src/ir.c:193
↓ 3 callers
Function
jitCcFor
src/x86_64-jit.c:423
↓ 3 callers
Function
jitDerefLoad
Width-aware load through an address held in `base_reg`. Mirrors * aarch64DerefLoad: handles disp + idx + scale fusion. */
src/aarch64-jit.c:260
↓ 3 callers
Function
jitDerefStore
src/aarch64-jit.c:307
↓ 3 callers
Function
jitFpFrameLoad
FP frame load/store via the FP load/store encoder family. * * AArch64's scaled `LDR Dt, [Xn, #imm]` only accepts non-negative * size-aligned offset
src/aarch64-jit.c:229
↓ 3 callers
Function
jitFpFrameStore
src/x86_64-jit.c:146
↓ 3 callers
Function
jitFrameLoad
Integer frame load with size-aware sign/zero extension (matches * x86 movslq for 4 bytes, movzbq/movzwq for sub-word). */
src/aarch64-jit.c:167
↓ 3 callers
Function
jitIdxReg
idx register for addressing-mode fusion. Returns 1 if `*out` was * populated, 0 if no idx component. */
src/aarch64-jit.c:567
↓ 3 callers
Function
jitIdxReg
idx register for addressing-mode fusion. Returns 1 if `*out` was * populated, 0 if no idx component. */
src/x86_64-jit.c:406
↓ 3 callers
Function
jitIsByvalStruct
src/x86_64-jit.c:542
↓ 3 callers
Function
jitIsImm32
src/x86_64-jit.c:77
↓ 3 callers
Function
lexPeek
src/lexer.c:640
↓ 3 callers
Function
lexSetBuiltinRoot
src/lexer.c:324
↓ 3 callers
Function
lexemePrint
Print one lexeme */
src/lexer.c:594
↓ 3 callers
Function
lexemePunctToString
Convert all of this to a massive lookup table */
src/lexer.c:428
↓ 3 callers
Function
listIsOne
List is one element in size */
src/list.c:25
↓ 3 callers
Function
listTestPrint
src/list.c:210
↓ 3 callers
Function
mapCStringHashLen
src/containers.c:1332
↓ 3 callers
Function
mapGetNextIdx
src/containers.c:779
↓ 3 callers
Function
mapResize
src/containers.c:877
↓ 3 callers
Function
mprintVaImpl
src/aostr.c:479
↓ 3 callers
Function
parseClassDef
src/parser.c:641
↓ 3 callers
Function
parseFlattenAnnonymous
src/parser.c:238
↓ 3 callers
Function
parseFunctionArgumentCheck
We use this to check function calls against their definitions reusably */
src/prslib.c:436
↓ 3 callers
Function
parseIsClassOrUnion
src/prsutil.c:22
↓ 3 callers
Function
parsePointerType
src/prslib.c:57
↓ 3 callers
Function
parseSubscriptExpr
src/prslib.c:1182
↓ 3 callers
Function
parseToAst
src/parser.c:2579
↓ 3 callers
Function
parseUnaryExpr
src/prslib.c:1580
← previous
next →
501–600 of 2,620, ranked by callers