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
↓ 2 callers
Function
aoStrCatColouredFmt
src/aostr.c:589
↓ 2 callers
Function
aoStrExtendBufferIfNeeded
Only extend the buffer if the additional space required would overspill the * current allocated capacity of the buffer */
src/aostr.c:195
↓ 2 callers
Function
aoStrPoolBucketIdx
Bucket index for an exact power of 2 size. */
src/aostr.c:48
↓ 2 callers
Function
aoStrPoolBucketSize
Round up to the next power-of-2 bucket size (>= AOSTR_POOL_MIN_SIZE). */
src/aostr.c:36
↓ 2 callers
Function
arenaAlignMemorySize
Align to 8 bytes */
src/arena.c:25
↓ 2 callers
Function
arenaBlockRelease
src/arena.c:16
↓ 2 callers
Function
asmBinaryOpFloatArithmetic
src/x86.c:902
↓ 2 callers
Function
asmBinaryOpIntArithmetic
src/x86.c:817
↓ 2 callers
Function
asmDataInternal
src/x86.c:2142
↓ 2 callers
Function
asmEmitAsmInfo
src/asm.c:302
↓ 2 callers
Function
asmGetCompartor
src/x86.c:959
↓ 2 callers
Function
asmGetPtrMove
src/x86.c:96
↓ 2 callers
Function
asmIncrDecr
src/x86.c:995
↓ 2 callers
Function
asmLoadClassRef
src/x86.c:565
↓ 2 callers
Function
asmLoadConvert
src/x86.c:940
↓ 2 callers
Function
asmPreIncrDecr
src/x86.c:971
↓ 2 callers
Function
asmStoreParam
src/x86.c:2294
↓ 2 callers
Function
asmStoreParamFloat
src/x86.c:2308
↓ 2 callers
Function
asm_enc_directive
src/asm/asm_enc.c:144
↓ 2 callers
Function
asm_jit_finalize
src/asm/asm_jit.c:251
↓ 2 callers
Function
asm_lex_next
Returns 1 on success and fills l->text / l->ival / l->punc. */
src/asm/asm.c:136
↓ 2 callers
Function
asm_parse
src/asm/asm.c:1305
↓ 2 callers
Function
asm_skip_newlines
Skip blank newlines. */
src/asm/asm.c:680
↓ 2 callers
Function
assertionTerminatorMessage
src/prsutil.c:77
↓ 2 callers
Function
astArrayInit
src/ast.c:424
↓ 2 callers
Function
astAsmFunctionBind
src/ast.c:739
↓ 2 callers
Function
astAsmFunctionDef
src/ast.c:730
↓ 2 callers
Function
astCase
src/ast.c:502
↓ 2 callers
Function
astFunctionPtrCall
src/ast.c:374
↓ 2 callers
Function
astFunctionToString
src/ast.c:1581
↓ 2 callers
Function
astGetResultType
This is pretty gross to look at but, eliminated recursion */
src/ast.c:931
↓ 2 callers
Function
astHfaInfo
src/ast.c:1158
↓ 2 callers
Function
astIsArithmetic
src/prsutil.c:190
↓ 2 callers
Function
astIsConstTrueCond
src/parser.c:1833
↓ 2 callers
Function
astParamsToString
src/ast.c:1522
↓ 2 callers
Function
astPrint
Just print out one */
src/ast.c:2543
↓ 2 callers
Function
astStmtHasBreak
Does `s` contain a `break` that targets the *enclosing* loop/switch * (i.e. not one captured by a nested loop/switch of its own)? */
src/parser.c:1841
↓ 2 callers
Function
astString
src/ast.c:341
↓ 2 callers
Function
astTypeToAoStr
src/ast.c:1444
↓ 2 callers
Function
astUnaryOpFromToken
src/ast.c:230
↓ 2 callers
Function
bbFlagsToString
src/cfg.c:223
↓ 2 callers
Function
bbPreviousBlockNumbersToString
src/cfg.c:308
↓ 2 callers
Function
bbToJSON
src/cfg.c:312
↓ 2 callers
Function
cctrLoadNextTokens
src/cctrl.c:420
↓ 2 callers
Function
cctrlAddAArch64Defines
src/cctrl.c:125
↓ 2 callers
Function
cctrlAddLinuxDefines
src/cctrl.c:133
↓ 2 callers
Function
cctrlAddMacOsDefines
src/cctrl.c:138
↓ 2 callers
Function
cctrlAddX86_64Defines
src/cctrl.c:117
↓ 2 callers
Function
cctrlCreateErrorLine
Render a diagnostic positioned at the current peek token. */
src/cctrl.c:676
↓ 2 callers
Function
cctrlDiagFlush
src/cctrl.c:855
↓ 2 callers
Function
cctrlFileAndLine
src/cctrl.c:543
↓ 2 callers
Function
cctrlGetErrorIdx
src/cctrl.c:603
↓ 2 callers
Function
cctrlInfoAtPreviousLine
Walks the ring buffer back to a token on a strictly earlier * line than `tok->line`, renders an INFO message positioned at * that token, then re-adv
src/cctrl.c:886
↓ 2 callers
Function
cctrlInitMacroProcessor
src/cctrl.c:439
↓ 2 callers
Function
cctrlMaybeExpandToken
src/cctrl.c:452
↓ 2 callers
Function
cctrlMessagePrintF
src/cctrl.c:756
↓ 2 callers
Function
cctrlRaiseFromTo
Render a diagnostic whose underline spans the chars `from`..`to` * within the offending source line (e.g. `{` ... `}` for an * unbalanced block). Po
src/cctrl.c:1082
↓ 2 callers
Function
cctrlSyncCommon
Walk forwards through the token stream, balancing `{`/`}`, until * we land on a recovery point. Returns once `peek()` is positioned * at the first t
src/cctrl.c:949
↓ 2 callers
Function
cfgAdjacencyPrintBlock
src/cfg.c:1211
↓ 2 callers
Function
cfgBranchPrintf
src/cfg-print.c:93
↓ 2 callers
Function
cfgBuilderWriteToFile
src/cfg-print.c:691
↓ 2 callers
Function
cfgCreateGraphViz
src/cfg-print.c:674
↓ 2 callers
Function
cfgDeleteBasicBlock
Remove the basic block from: * - The block number to block hashtable * - All sets with the node as a previous */
src/cfg.c:1373
↓ 2 callers
Function
cfgGraphVizBuilderInit
src/cfg-print.c:69
↓ 2 callers
Function
cfgHandleCase
src/cfg.c:852
↓ 2 callers
Function
cfgHandleGoto
src/cfg.c:765
↓ 2 callers
Function
cfgPrintBreaks
src/cfg-print.c:333
↓ 2 callers
Function
cfgReturnPrintf
src/cfg-print.c:204
↓ 2 callers
Function
createFunctionLevelGotoLabel
Concatinate the label of the goto with the name of the function * currently being parsed to be able to have uniqe goto labels */
src/parser.c:1518
↓ 2 callers
Function
debugColourInt
src/ir-debug.c:9
↓ 2 callers
Function
dp3
Data-processing 3-source: MADD/MSUB. * sf | 0 0 | 1 1 0 1 1 | op31(3) | Rm | o0 | Ra | Rn | Rd * MUL = MADD with Ra=XZR. op31=000, o0=0 *
src/asm/enc_arm64.c:1475
↓ 2 callers
Function
evalFloatExpr
src/prsutil.c:275
↓ 2 callers
Function
evalFloatExprOrErr
src/prsutil.c:226
↓ 2 callers
Function
findFunctionDecl
src/prslib.c:406
↓ 2 callers
Function
getRangeLoopIdx
src/parser.c:62
↓ 2 callers
Function
hccJitCompile
src/jit-common.c:422
↓ 2 callers
Function
hccJitFree
src/jit-common.c:590
↓ 2 callers
Function
hccJitIsInternalFunc
src/jit-common.c:49
↓ 2 callers
Function
hccJitLookup
src/jit-common.c:560
↓ 2 callers
Function
hccJitPhiMaterialise
src/jit-common.c:85
↓ 2 callers
Function
irAddressingMatches
src/ir-optimise.c:805
↓ 2 callers
Function
irAlloca
src/ir.c:72
↓ 2 callers
Function
irBlockFirstInstr
src/ir-types.c:374
↓ 2 callers
Function
irBlockMappingNew
src/ir-types.c:188
↓ 2 callers
Function
irBuildTmpDefs
TMP id -> defining instruction. Skips ops that don't "produce" * their dst (STORE/STORE_DEREF/RMW_DEREF write to memory; BR/RET * pass a value via d
src/ir-optimise.c:658
↓ 2 callers
Function
irCollapseClassRefChain
Collapse something that looks like `a.b.c` or `p->a.b`*/
src/ir.c:55
↓ 2 callers
Function
irCurLoopCtx
src/ir.c:49
↓ 2 callers
Function
irEscapeWalk
src/ir.c:2595
↓ 2 callers
Function
irEscapeWalkVec
src/ir.c:2588
↓ 2 callers
Function
irFindScalingProducer
If `v` is a TMP defined by SHL/IMUL with a constant scale fitting * the x86 SIB encoding (1/2/4/8), return the def and set *scale. */
src/ir-optimise.c:682
↓ 2 callers
Function
irFloatExtend
Widen a float value to `ty` (a wider float type). Re-types a literal * in place, otherwise emits an fpext. Used to equalise the operand * widths of
src/ir.c:248
↓ 2 callers
Function
irFnLocalSlotNeeded
True if `local` is mentioned ANYWHERE in fn's instruction stream: * as the dst of any op, r1, r2, idx, a CALL arg, a phi value, or a * branch/return
src/ir-regalloc.c:523
↓ 2 callers
Function
irFunctionGetBlockMapping
This is very easy to inline */
src/ir-types.c:634
↓ 2 callers
Function
irIsConst
src/ir-types.c:269
↓ 2 callers
Function
irIsIntLikeCast
src/ir.c:859
↓ 2 callers
Function
irLValueAddr
Materialise the ADDRESS of an lvalue (lvar / global / class field / `*p`). * Reuses the assign-target machinery: an indirect target is already a * p
src/ir.c:1076
↓ 2 callers
Function
irLowerFnCall
src/ir.c:478
↓ 2 callers
Function
irMakeLocalSlot
Build the lvar's `IrValue` directly, no IR_ALLOCA emitted. The * stack slot lives implicitly via `irCgComputeAstLayout` (which walks * `ast_func->lo
src/ir.c:2130
↓ 2 callers
Function
irOpcodeToString
src/ir-debug.c:349
↓ 2 callers
Function
irPairToString
src/ir-debug.c:421
← previous
next →
701–800 of 2,620, ranked by callers