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
↓ 1 callers
Function
irOpReadsTmp
Does op `I` read `var_id` anywhere as an operand? */
src/ir-optimise.c:996
↓ 1 callers
Function
irOptDeadCodeElim
Dead-code elimination on pure value-producers, run to fixed point. * Side-effecting ops (IR_STORE, IR_CALL, IR_BR/JMP/RET, IR_PHI, * IR_ALLOCA, IR_L
src/ir-optimise.c:1149
↓ 1 callers
Function
irOptPinResultReg
For each single-use TMP producer whose consumer is the immediate * next non-NOP instr, stamp `producer.dst.loc = REG/result_reg`. * That single stat
src/ir-optimise.c:1027
↓ 1 callers
Function
irPairNew
src/ir-types.c:866
↓ 1 callers
Function
irPairVecNew
src/ir-types.c:50
↓ 1 callers
Function
irParamsToString
src/ir-debug.c:631
↓ 1 callers
Function
irR2VarId
src/ir-types.c:243
↓ 1 callers
Function
irRetIsRegisterAggregate
src/ir.c:340
↓ 1 callers
Function
irRewriteOperands
src/ir-optimise.c:328
↓ 1 callers
Function
irRmwOpCommutes
src/ir-optimise.c:796
↓ 1 callers
Function
irRmwOpSupported
src/ir-optimise.c:800
↓ 1 callers
Function
irSlotHasAddressTaken
Dead store elimination: after forwarding, the original IR_STOREs * into a slot may have no remaining readers. Conservative: refuse * when the slot's
src/ir-optimise.c:518
↓ 1 callers
Function
irSlotHasUses
IR builder routes function returns through an alloca'd slot: * alloca %slot, ...; store %slot, %value; load %tmp, %slot; ret %tmp * For straight-l
src/ir-optimise.c:240
↓ 1 callers
Function
irSlotReadCount
src/ir-optimise.c:532
↓ 1 callers
Function
irValueKindToPrettyString
src/ir-debug.c:91
↓ 1 callers
Function
is_directive
Returns 1 if mnemonic is a recognized data directive. */
src/asm/asm.c:1116
↓ 1 callers
Function
jitAllocateGlobals
Lay out strings + globals into the arena; register each by its * mangled name so the backends' global-address emitters can find them * via host_symb
src/jit-common.c:264
↓ 1 callers
Function
jitCcInvFor
src/aarch64-jit.c:607
↓ 1 callers
Function
jitCcInvFor
src/x86_64-jit.c:450
↓ 1 callers
Function
jitCopyToSp
Copy `size` bytes from [src, #0..] to [sp, #dst] via x10. */
src/aarch64-jit.c:746
↓ 1 callers
Function
jitEmitEpilogue
src/aarch64-jit.c:1630
↓ 1 callers
Function
jitEmitEpilogue
src/x86_64-jit.c:1535
↓ 1 callers
Function
jitEmitInstr
src/aarch64-jit.c:1103
↓ 1 callers
Function
jitEmitInstr
src/x86_64-jit.c:774
↓ 1 callers
Function
jitEmitOnePhi
src/aarch64-jit.c:640
↓ 1 callers
Function
jitEmitOnePhi
src/x86_64-jit.c:462
↓ 1 callers
Function
jitEmitPrologue
src/aarch64-jit.c:1610
↓ 1 callers
Function
jitEmitPrologue
src/x86_64-jit.c:1524
↓ 1 callers
Function
jitEmitSysvCall
src/x86_64-jit.c:547
↓ 1 callers
Function
jitEmitSysvParamPrologue
src/x86_64-jit.c:696
↓ 1 callers
Function
jitGlobalsSize
Estimate the size needed for all globals + string literals. */
src/jit-common.c:189
↓ 1 callers
Function
jitIsByvalStruct
src/aarch64-jit.c:717
↓ 1 callers
Function
jitLoadLibtos
Load libtos so HolyC stdlib symbols (MAlloc, Free, printf, ...) are * discoverable by dlsym. The AOT path links them in at the linker step; * the JI
src/jit-common.c:365
↓ 1 callers
Function
jitLoadSharedObjects
src/jit-common.c:400
↓ 1 callers
Function
jitPartitionCallArgs
src/aarch64-jit.c:673
↓ 1 callers
Function
jitPartitionCallArgs
src/x86_64-jit.c:498
↓ 1 callers
Function
jitStoreFprSized
`val_size` (0 = derive from dst) is the stored value's width. When dst is * a gep/pointer tmp aliasing a narrow field, sizing from dst (8 bytes) woul
src/x86_64-jit.c:320
↓ 1 callers
Function
jitWriteInit
Walk an initialiser AST and write its byte image to `addr`. * Returns the number of bytes written. Mirrors the AOT data emitters: * AST_LITERAL -
src/jit-common.c:218
↓ 1 callers
Function
jit_macho_image_lookup
dlsym always prepends a leading underscore, so it can't find symbols * whose Mach-O name has none. hcc emits global *variables* without the * unders
src/asm/asm_jit.c:33
↓ 1 callers
Function
lexCharConst
Length of the char const is returned, it OR's in at max 8 characters. * A s64 being 64 bits and 64/8 = 8. */
src/lexer.c:934
↓ 1 callers
Function
lexCore
src/lexer.c:1040
↓ 1 callers
Function
lexDefine
src/lexer.c:1428
↓ 1 callers
Function
lexIdentifier
src/lexer.c:810
↓ 1 callers
Function
lexInclude
src/lexer.c:1397
↓ 1 callers
Function
lexPreProcDirective
src/lexer.c:1028
↓ 1 callers
Function
lexRewindChar
src/lexer.c:631
↓ 1 callers
Function
lexSkipCodeComment
src/lexer.c:713
↓ 1 callers
Function
lexString
As this function escapes strings we pass in `_real_len` to be able * to capture the length of the string minus escape sequences. * The string is a
src/lexer.c:827
↓ 1 callers
Function
lexUndef
src/lexer.c:1538
↓ 1 callers
Function
lexemeEq
src/lexer.c:1878
↓ 1 callers
Function
lexemeMemoryRelease
src/lexer.c:77
↓ 1 callers
Function
lexemeMemoryStats
src/lexer.c:84
↓ 1 callers
Function
lexemePunctToEncodedString
This is for something that will play nicely with HTML or GraphViz*/
src/lexer.c:355
↓ 1 callers
Function
lexemeToAoStr
src/lexer.c:476
↓ 1 callers
Function
lexemeToColor
src/cctrl.c:567
↓ 1 callers
Function
lexerReAllocBuffer
src/lexer.c:97
↓ 1 callers
Function
line_push_operand
src/asm/asm.c:661
↓ 1 callers
Function
listClear
src/list.c:98
↓ 1 callers
Function
listHead
src/list.c:75
↓ 1 callers
Function
listInsertBefore
src/list.c:62
↓ 1 callers
Function
listMergePrepend
Merge l2 to the start of l1 and free l2 * Example * l1 = [1,2,3] * l2 = [4,5,6] * listMerge(l1,l2); * l1 = [4,5,6,1,2,3] (and linked the otherway
src/list.c:152
↓ 1 callers
Function
listTail
src/list.c:80
↓ 1 callers
Function
listTestPrintReverse
src/list.c:217
↓ 1 callers
Function
longestCommand
src/cli.c:128
↓ 1 callers
Function
macho_cpu_for
src/asm/macho.c:185
↓ 1 callers
Function
macho_pack_reloc
src/asm/macho.c:135
↓ 1 callers
Function
macho_partition
src/asm/macho.c:246
↓ 1 callers
Function
macho_reloc_type_for
Map our generic AsmFixupReloc tag to the per-arch Mach-O reloc type. * Returns -1 if the tag has no representation for the given target. * Caller dr
src/asm/macho.c:149
↓ 1 callers
Function
macho_target_supported
src/asm/macho.c:179
↓ 1 callers
Function
mapGetAt
src/containers.c:1085
↓ 1 callers
Function
mapGetCStringIdx
src/containers.c:854
↓ 1 callers
Function
mapMerge
src/containers.c:1163
↓ 1 callers
Function
mapNewWithParent
src/containers.c:773
↓ 1 callers
Function
mapPrint
src/containers.c:1288
↓ 1 callers
Function
mapStats
src/containers.c:1210
↓ 1 callers
Function
memPoolGetSegment
Find a segment that has enough memory left in it to allocate from. This * highlights why segments should be fairly big - it allows for less scanning
src/mempool.c:195
↓ 1 callers
Function
memPoolInit
src/mempool.c:125
↓ 1 callers
Function
memPoolIteratorRelease
src/mempool.c:375
↓ 1 callers
Function
memPoolNew
How many bytes should initially be in the pool, note the pool will not * be able to allocate anything larger than 'bytes' size. Thus allocating *
src/mempool.c:156
↓ 1 callers
Function
memPoolSplitBlock
We only take what we need from a block and split bits off it. This can * only be called if we are sure that we have enough memory in the given * `
src/mempool.c:173
↓ 1 callers
Function
memSegmentMerge
src/mempool.c:302
↓ 1 callers
Function
memoryInit
src/main.c:333
↓ 1 callers
Function
memoryPrintStats
src/main.c:348
↓ 1 callers
Function
murmur
Murmur hash function modified to return a `unsigned long` */
src/aostr.c:761
↓ 1 callers
Function
parseAlignof
`alignof(<type or expr>)` - mirrors parseSizeof but folds to the * type's alignment. Always a compile-time constant. */
src/prslib.c:1484
↓ 1 callers
Function
parseArrayDimensionsInternal
src/prslib.c:298
↓ 1 callers
Function
parseAsmFunctionBinding
src/parser.c:2230
↓ 1 callers
Function
parseBreakStatement
src/parser.c:1251
↓ 1 callers
Function
parseCaseLabel
src/parser.c:1343
↓ 1 callers
Function
parseClassOffsets
src/parser.c:431
↓ 1 callers
Function
parseClassOrUnionFields
src/parser.c:272
↓ 1 callers
Function
parseCoerceArgs
src/prslib.c:570
↓ 1 callers
Function
parseCompoundAssign
src/prslib.c:1238
↓ 1 callers
Function
parseContinueStatement
src/parser.c:1260
↓ 1 callers
Function
parseCountPrintfFormatSpecs
Count printf-style conversion specifiers in a format-string literal. Skips * `%%`; each `%...c` (where c is a conversion char) counts as one expected
src/prslib.c:741
↓ 1 callers
Function
parseDecl
src/parser.c:728
↓ 1 callers
Function
parseDeclInternal
src/prslib.c:387
↓ 1 callers
Function
parseDeclOrStatement
src/parser.c:1679
↓ 1 callers
Function
parseDefaultStatement
src/parser.c:1429
↓ 1 callers
Function
parseExternFunctionProto
src/parser.c:2167
← previous
next →
1,301–1,400 of 2,620, ranked by callers