MCPcopy Create free account

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

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

↓ 1 callersFunctioncompilePrintAst
src/compile.c:17
↓ 1 callersFunctioncompileToAsm
src/compile.c:42
↓ 1 callersFunctioncompileToAst
src/compile.c:70
↓ 1 callersFunctioncompileToTokens
src/compile.c:52
↓ 1 callersFunctioncountNumberLen
src/lexer.c:743
↓ 1 callersFunctiondebugColourAoStr
src/ir-debug.c:29
↓ 1 callersFunctiondebugColourFloat
src/ir-debug.c:21
↓ 1 callersFunctiondec_alu_rm_imm
ALU r/m, imm - opcode 0x80/0x81/0x83 with reg field selecting op: * /0 ADD /1 OR /2 ADC /3 SBB /4 AND /5 SUB /6 XOR /7 CMP. */
src/asm/dis_x86_64.c:325
↓ 1 callersFunctiondec_f7
F7 /n - unary group: NEG/NOT/TEST/MUL/DIV/IDIV. */
src/asm/dis_x86_64.c:349
↓ 1 callersFunctiondec_ff
FF /n - group containing CALL r/m, JMP r/m, PUSH r/m, INC, DEC, etc. */
src/asm/dis_x86_64.c:406
↓ 1 callersFunctiondec_lea
LEA r, [mem] - 0x8D. */
src/asm/dis_x86_64.c:597
↓ 1 callersFunctiondec_mov_imm_reg
MOVABS r64, imm64 - 0xB8+r with REX.W. The non-W form is "mov r32, imm32". */
src/asm/dis_x86_64.c:278
↓ 1 callersFunctiondec_mov_rm_imm
MOV r/m, imm32 (0xC7 /0) and MOV r/m8, imm8 (0xC6 /0). */
src/asm/dis_x86_64.c:302
↓ 1 callersFunctiondec_mov_rm_r
MOV instructions covering 0x88/89 (store) and 0x8A/8B (load), where * 0x88/0x8A are 8-bit and 0x89/0x8B are width-extended. */
src/asm/dis_x86_64.c:271
↓ 1 callersFunctiondec_movsxd
MOVSXD r64, r/m32 - 0x63 with REX.W. */
src/asm/dis_x86_64.c:584
↓ 1 callersFunctiondec_movzx_movsx
MOVZX / MOVSX with two-byte opcode 0x0F 0xB6/B7/BE/BF. * * 0x0F 0xB6 MOVZX r, r/m8 * 0x0F 0xB7 MOVZX r, r/m16 * 0x0F 0xBE MOVSX r, r/m8 *
src/asm/dis_x86_64.c:554
↓ 1 callersFunctiondec_setcc
SETcc r/m8. Opcode 0x0F 0x90+cc. */
src/asm/dis_x86_64.c:571
↓ 1 callersFunctiondec_shift_cl
D0/D1 /n - shift by 1; D2/D3 /n - shift by CL. * /4 SHL, /5 SHR, /6 SAL (alias of SHL), /7 SAR. */
src/asm/dis_x86_64.c:374
↓ 1 callersFunctiondec_shift_imm
C1 /n - shift by imm8. */
src/asm/dis_x86_64.c:390
↓ 1 callersFunctiondec_sse
src/asm/dis_x86_64.c:452
↓ 1 callersFunctiondecode_logical_imm
Decode the AArch64 N:immr:imms "logical immediate" bitmask form into * the actual constant. Returns 1 on success, 0 if the (N, immr, imms) * triple
src/asm/dis_arm64.c:62
↓ 1 callersFunctiondecode_one
src/asm/dis_x86_64.c:612
↓ 1 callersFunctionemitFile
src/main.c:198
↓ 1 callersFunctionevalClassRef
src/prsutil.c:184
↓ 1 callersFunctionformat_mem
Format an `[base + disp]` (or `[base + index*scale + disp]`) operand * string into `buf`. `mod` and `rm` are from the ModRM byte; the * function adv
src/asm/dis_x86_64.c:140
↓ 1 callersFunctionformat_mem
src/asm/asm.c:1544
↓ 1 callersFunctionformat_operand
src/asm/asm.c:1591
↓ 1 callersFunctionformat_reg
src/asm/asm.c:1518
↓ 1 callersFunctionfp_reg_letter
src/asm/dis_arm64.c:1247
↓ 1 callersFunctionfp_vec_arr
src/asm/dis_arm64.c:1503
↓ 1 callersFunctiongetASMFileName
src/cli.c:329
↓ 1 callersFunctiongetBuildModeStr
src/cli.c:149
↓ 1 callersFunctiongitGetHash
src/cli.c:141
↓ 1 callersFunctionglobalArenaInit
src/memory.c:18
↓ 1 callersFunctionglobalArenaPrintStats
src/memory.c:39
↓ 1 callersFunctionglobalArenaRelease
src/memory.c:29
↓ 1 callersFunctionhccJitRunMain
src/jit-common.c:583
↓ 1 callersFunctionhccLibInit
src/main.c:70
↓ 1 callersFunctionirArrayInitToString
* @Bug - Non breaking as in principle the array will still work. * Because we flatten something like: * * `I64 array[][2][2] = {{{1,1}, {2,2}}, {
src/ir-debug.c:210
↓ 1 callersFunctionirBinOpIsCompoundAssign
src/ir.c:300
↓ 1 callersFunctionirBlockIsRedundantJump
* Does the current block end with a jump, have one successor and the successor * has one predecessor? */
src/ir-types.c:482
↓ 1 callersFunctionirBlockIsStartOrEnd
src/ir-types.c:409
↓ 1 callersFunctionirBlockTerminator
src/ir-regalloc.c:353
↓ 1 callersFunctionirBlockToString
Convert a basic block to a string * <block_name>: * <instructions...> * */
src/ir-debug.c:589
↓ 1 callersFunctionirBlockToStringSimplified
src/ir-debug.c:677
↓ 1 callersFunctionirCgAllocAllTmps
Slot allocation for IR tmps. Two passes: * 1. Bind IR_ALLOCA sized scratch and IR_GEP aliases via the * existing per-op path. Both need a fix
src/ir-regalloc.c:238
↓ 1 callersFunctionirCgAllocOperandsForInstr
src/ir-regalloc.c:71
↓ 1 callersFunctionirCgAllocTmpSized
Reserve a fresh stack slot of a specific size (rounded up to 8-byte * alignment). Used by IR_ALLOCA so that a 256-byte alloca actually * gets 256 by
src/ir-regalloc.c:57
↓ 1 callersFunctionirCgBindAstLoffs
Bind every variable known to the IR (params + alloca'd locals) to its * AST-driven loff. Walk the AST function's params and locals lists; the * elig
src/ir-regalloc.c:423
↓ 1 callersFunctionirCgComputeAstLayout
src/ir-regalloc.c:565
↓ 1 callersFunctionirCollectEscapingLVars
src/ir.c:2753
↓ 1 callersFunctionirCompoundAssignToIrOp
src/ir.c:951
↓ 1 callersFunctionirCtxAddFunction
src/ir-types.c:774
↓ 1 callersFunctionirDeadStoreEliminate
src/ir-optimise.c:876
↓ 1 callersFunctionirDump
src/ir.c:3106
↓ 1 callersFunctionirEvalBinop
src/ir-eval.c:15
↓ 1 callersFunctionirEvalBlock
src/ir-eval.c:103
↓ 1 callersFunctionirEvalCanFold
True if `I` is `x <op> k` (or commuted) where the algebraic * identity collapses to `x`. `c` is the constant operand (whichever * side of `I`) and `
src/ir-eval.c:79
↓ 1 callersFunctionirEvalCmp
src/ir-eval.c:59
↓ 1 callersFunctionirEvalConstantExpressions
src/ir-eval.c:225
↓ 1 callersFunctionirFindMemConsumer
Walk forward in `bb` from the node after `cur` looking for the * single use of `dst` as a memory op's address operand. Returns the * consumer or NUL
src/ir-optimise.c:623
↓ 1 callersFunctionirFoldGlobalDeref
Fold `lea %t, global G; ...; <load|store>_deref %t, ...` into the * deref pointing straight at the global. Backend addressing modes can * usually re
src/ir-optimise.c:198
↓ 1 callersFunctionirFoldPassThroughBlocks
Fold "pass-through" blocks: a block whose only instruction is a * single IR_JMP X. Every predecessor's branch-target is rewired to X * directly and
src/ir-optimise.c:148
↓ 1 callersFunctionirForwardReturnSlot
src/ir-optimise.c:256
↓ 1 callersFunctionirForwardStoreToReads
src/ir-optimise.c:401
↓ 1 callersFunctionirFunctionAddPredecessor
src/ir-types.c:701
↓ 1 callersFunctionirFunctionAddSuccessor
Pass in the whole block to abstract away that we area using an interal * datastructure to keep track of things. I'm trying a few different ones out
src/ir-types.c:692
↓ 1 callersFunctionirFunctionGetPredecessors
src/ir-types.c:648
↓ 1 callersFunctionirFunctionGetSuccessors
src/ir-types.c:640
↓ 1 callersFunctionirFunctionNew
src/ir-types.c:789
↓ 1 callersFunctionirFunctionToString
src/ir-debug.c:647
↓ 1 callersFunctionirFunctionVecNew
src/ir-types.c:669
↓ 1 callersFunctionirFuseIaddIntoMemAddressing
Fold IADD/ISUB into the addressing mode of its single mem-op * consumer. Two folds, tried in order per IADD: * - const disp: `iadd t, ptr, k_imm`
src/ir-optimise.c:708
↓ 1 callersFunctionirFuseLoadOpStore
Rewrite `load + binop + store_deref` triples on the same address * (`*p OP= val`) to IR_RMW_DEREF. The three ops must be adjacent * (skipping only N
src/ir-optimise.c:820
↓ 1 callersFunctionirInstrGetFallthroughBlock
src/ir-types.c:279
↓ 1 callersFunctionirJumpInternal
src/ir-types.c:835
↓ 1 callersFunctionirLowerArrayInitWalk
Recursively lower an AST_ARRAY_INIT against `base + offset_bytes`, * mirroring `asmArrayInit`'s walk: when iterating items of an array * type the st
src/ir.c:1183
↓ 1 callersFunctionirLowerAssign
Lower `<lhs> op= rhs` (or `<lhs> = rhs` when op is AST_BIN_OP_ASSIGN) * and return the value written back. */
src/ir.c:1096
↓ 1 callersFunctionirLowerBinOpExpr
Binary expressions are assumed to always be assigning to something. I'm not * 100% sure this is a valid assumption to make. Well I guess; * `I64 x =
src/ir.c:485
↓ 1 callersFunctionirLowerClassRef
src/ir.c:1407
↓ 1 callersFunctionirLowerDecl
src/ir.c:2142
↓ 1 callersFunctionirLowerDoWhileLoop
src/ir.c:2086
↓ 1 callersFunctionirLowerForLoop
src/ir.c:2002
↓ 1 callersFunctionirLowerFunPtr
src/ir.c:1398
↓ 1 callersFunctionirLowerGlobal
src/ir.c:1378
↓ 1 callersFunctionirLowerGoto
src/ir.c:2275
↓ 1 callersFunctionirLowerIf
src/ir.c:1966
↓ 1 callersFunctionirLowerLVar
src/ir.c:1317
↓ 1 callersFunctionirLowerLabel
src/ir.c:2302
↓ 1 callersFunctionirLowerReturn
src/ir.c:1791
↓ 1 callersFunctionirLowerSwitch
src/ir.c:2322
↓ 1 callersFunctionirLowerThrow
throw(value) lowers to a single HCC_Throw(value) call. The runtime * longjmps so control never returns; mark the current block sealed * so the lower
src/ir.c:1960
↓ 1 callersFunctionirLowerTry
try { try_body } catch <catch_body> compiles to: * * frame = alloca(CatchFrame) ; ~256 bytes, opaque * t = HCC_TryEnter(&fr
src/ir.c:1889
↓ 1 callersFunctionirLowerUnOp
src/ir.c:1517
↓ 1 callersFunctionirLowerWhileLoop
src/ir.c:2055
↓ 1 callersFunctionirMemoryInit
src/ir-types.c:13
↓ 1 callersFunctionirMemoryRelease
src/ir-types.c:21
↓ 1 callersFunctionirMemoryStats
src/ir-types.c:32
↓ 1 callersFunctionirOpDefsIntoResultReg
Does op `I` leave its dst's value in the architecture-canonical * result register (rax/xmm0 on x86_64, x0/d0 on aarch64)? If yes * it's eligible to
src/ir-optimise.c:935
↓ 1 callersFunctionirOpReadsAsR1
Does op `I` read `var_id` as its first source, the operand the * backend will load into the result register first? */
src/ir-optimise.c:965
← previousnext →1,201–1,300 of 2,620, ranked by callers