MCPcopy Create free account

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

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

↓ 1 callersFunctionirOpReadsTmp
Does op `I` read `var_id` anywhere as an operand? */
src/ir-optimise.c:996
↓ 1 callersFunctionirOptDeadCodeElim
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 callersFunctionirOptPinResultReg
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 callersFunctionirPairNew
src/ir-types.c:866
↓ 1 callersFunctionirPairVecNew
src/ir-types.c:50
↓ 1 callersFunctionirParamsToString
src/ir-debug.c:631
↓ 1 callersFunctionirR2VarId
src/ir-types.c:243
↓ 1 callersFunctionirRetIsRegisterAggregate
src/ir.c:340
↓ 1 callersFunctionirRewriteOperands
src/ir-optimise.c:328
↓ 1 callersFunctionirRmwOpCommutes
src/ir-optimise.c:796
↓ 1 callersFunctionirRmwOpSupported
src/ir-optimise.c:800
↓ 1 callersFunctionirSlotHasAddressTaken
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 callersFunctionirSlotHasUses
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 callersFunctionirSlotReadCount
src/ir-optimise.c:532
↓ 1 callersFunctionirValueKindToPrettyString
src/ir-debug.c:91
↓ 1 callersFunctionis_directive
Returns 1 if mnemonic is a recognized data directive. */
src/asm/asm.c:1116
↓ 1 callersFunctionjitAllocateGlobals
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 callersFunctionjitCcInvFor
src/aarch64-jit.c:607
↓ 1 callersFunctionjitCcInvFor
src/x86_64-jit.c:450
↓ 1 callersFunctionjitCopyToSp
Copy `size` bytes from [src, #0..] to [sp, #dst] via x10. */
src/aarch64-jit.c:746
↓ 1 callersFunctionjitEmitEpilogue
src/aarch64-jit.c:1630
↓ 1 callersFunctionjitEmitEpilogue
src/x86_64-jit.c:1535
↓ 1 callersFunctionjitEmitInstr
src/aarch64-jit.c:1103
↓ 1 callersFunctionjitEmitInstr
src/x86_64-jit.c:774
↓ 1 callersFunctionjitEmitOnePhi
src/aarch64-jit.c:640
↓ 1 callersFunctionjitEmitOnePhi
src/x86_64-jit.c:462
↓ 1 callersFunctionjitEmitPrologue
src/aarch64-jit.c:1610
↓ 1 callersFunctionjitEmitPrologue
src/x86_64-jit.c:1524
↓ 1 callersFunctionjitEmitSysvCall
src/x86_64-jit.c:547
↓ 1 callersFunctionjitEmitSysvParamPrologue
src/x86_64-jit.c:696
↓ 1 callersFunctionjitGlobalsSize
Estimate the size needed for all globals + string literals. */
src/jit-common.c:189
↓ 1 callersFunctionjitIsByvalStruct
src/aarch64-jit.c:717
↓ 1 callersFunctionjitLoadLibtos
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 callersFunctionjitLoadSharedObjects
src/jit-common.c:400
↓ 1 callersFunctionjitPartitionCallArgs
src/aarch64-jit.c:673
↓ 1 callersFunctionjitPartitionCallArgs
src/x86_64-jit.c:498
↓ 1 callersFunctionjitStoreFprSized
`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 callersFunctionjitWriteInit
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 callersFunctionjit_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 callersFunctionlexCharConst
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 callersFunctionlexCore
src/lexer.c:1040
↓ 1 callersFunctionlexDefine
src/lexer.c:1428
↓ 1 callersFunctionlexIdentifier
src/lexer.c:810
↓ 1 callersFunctionlexInclude
src/lexer.c:1397
↓ 1 callersFunctionlexPreProcDirective
src/lexer.c:1028
↓ 1 callersFunctionlexRewindChar
src/lexer.c:631
↓ 1 callersFunctionlexSkipCodeComment
src/lexer.c:713
↓ 1 callersFunctionlexString
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 callersFunctionlexUndef
src/lexer.c:1538
↓ 1 callersFunctionlexemeEq
src/lexer.c:1878
↓ 1 callersFunctionlexemeMemoryRelease
src/lexer.c:77
↓ 1 callersFunctionlexemeMemoryStats
src/lexer.c:84
↓ 1 callersFunctionlexemePunctToEncodedString
This is for something that will play nicely with HTML or GraphViz*/
src/lexer.c:355
↓ 1 callersFunctionlexemeToAoStr
src/lexer.c:476
↓ 1 callersFunctionlexemeToColor
src/cctrl.c:567
↓ 1 callersFunctionlexerReAllocBuffer
src/lexer.c:97
↓ 1 callersFunctionline_push_operand
src/asm/asm.c:661
↓ 1 callersFunctionlistClear
src/list.c:98
↓ 1 callersFunctionlistHead
src/list.c:75
↓ 1 callersFunctionlistInsertBefore
src/list.c:62
↓ 1 callersFunctionlistMergePrepend
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 callersFunctionlistTail
src/list.c:80
↓ 1 callersFunctionlistTestPrintReverse
src/list.c:217
↓ 1 callersFunctionlongestCommand
src/cli.c:128
↓ 1 callersFunctionmacho_cpu_for
src/asm/macho.c:185
↓ 1 callersFunctionmacho_pack_reloc
src/asm/macho.c:135
↓ 1 callersFunctionmacho_partition
src/asm/macho.c:246
↓ 1 callersFunctionmacho_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 callersFunctionmacho_target_supported
src/asm/macho.c:179
↓ 1 callersFunctionmapGetAt
src/containers.c:1085
↓ 1 callersFunctionmapGetCStringIdx
src/containers.c:854
↓ 1 callersFunctionmapMerge
src/containers.c:1163
↓ 1 callersFunctionmapNewWithParent
src/containers.c:773
↓ 1 callersFunctionmapPrint
src/containers.c:1288
↓ 1 callersFunctionmapStats
src/containers.c:1210
↓ 1 callersFunctionmemPoolGetSegment
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 callersFunctionmemPoolInit
src/mempool.c:125
↓ 1 callersFunctionmemPoolIteratorRelease
src/mempool.c:375
↓ 1 callersFunctionmemPoolNew
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 callersFunctionmemPoolSplitBlock
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 callersFunctionmemSegmentMerge
src/mempool.c:302
↓ 1 callersFunctionmemoryInit
src/main.c:333
↓ 1 callersFunctionmemoryPrintStats
src/main.c:348
↓ 1 callersFunctionmurmur
Murmur hash function modified to return a `unsigned long` */
src/aostr.c:761
↓ 1 callersFunctionparseAlignof
`alignof(<type or expr>)` - mirrors parseSizeof but folds to the * type's alignment. Always a compile-time constant. */
src/prslib.c:1484
↓ 1 callersFunctionparseArrayDimensionsInternal
src/prslib.c:298
↓ 1 callersFunctionparseAsmFunctionBinding
src/parser.c:2230
↓ 1 callersFunctionparseBreakStatement
src/parser.c:1251
↓ 1 callersFunctionparseCaseLabel
src/parser.c:1343
↓ 1 callersFunctionparseClassOffsets
src/parser.c:431
↓ 1 callersFunctionparseClassOrUnionFields
src/parser.c:272
↓ 1 callersFunctionparseCoerceArgs
src/prslib.c:570
↓ 1 callersFunctionparseCompoundAssign
src/prslib.c:1238
↓ 1 callersFunctionparseContinueStatement
src/parser.c:1260
↓ 1 callersFunctionparseCountPrintfFormatSpecs
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 callersFunctionparseDecl
src/parser.c:728
↓ 1 callersFunctionparseDeclInternal
src/prslib.c:387
↓ 1 callersFunctionparseDeclOrStatement
src/parser.c:1679
↓ 1 callersFunctionparseDefaultStatement
src/parser.c:1429
↓ 1 callersFunctionparseExternFunctionProto
src/parser.c:2167
← previousnext →1,301–1,400 of 2,620, ranked by callers