MCPcopy Create free account

hub / github.com/akyoto/q / functions

Functions1,095 in github.com/akyoto/q

↓ 1 callersMethodAddInput
AddInput adds an input parameter.
src/core/Function.go:34
↓ 1 callersMethodAddOutput
AddOutput adds an output parameter.
src/core/Function.go:42
↓ 1 callersMethodAddSections
AddSections adds section headers to the ELF file.
src/elf/AddSections.go:6
↓ 1 callersMethodAddSuffix
AddSuffix adds a suffix to the name and is used for generic functions.
src/core/Function.go:50
↓ 1 callersMethodAddUser
AddUser adds a new user of this value.
src/ssa/HasUsers.go:5
↓ 1 callersMethodAll
All returns an iterator over all the values in the set.
src/set/Ordered.go:25
↓ 1 callersFunctionArch
Arch returns the CPU architecture used in the Mach-O header.
src/macho/Arch.go:6
↓ 1 callersFunctionArch
Arch converts the architecture variable to an ELF-specific constant.
src/elf/Arch.go:6
↓ 1 callersFunctionArch
Arch returns the CPU architecture used in the PE header.
src/pe/Arch.go:14
↓ 1 callersMethodAssemble
Assemble translates SSA form into machine code.
src/core/Assemble.go:4
↓ 1 callersMethodBody
Body returns the function body.
src/core/Function.go:56
↓ 1 callersFunctionCallAtMemory
CallAtMemory calls a function at the address stored at the given memory address. The memory address is relative to the next instruction.
src/x86/Call.go:49
↓ 1 callersFunctionCompareAndSwap
CompareAndSwap compares R0 with the memory contents. If they are equal, source register is written to memory. If they are not equal, R0 is loaded with
src/x86/CompareAndSwap.go:8
↓ 1 callersMethodCompile
(instr Instruction)
src/asm/compilerX86.go:17
↓ 1 callersMethodCompile
(instr Instruction)
src/asm/compilerARM.go:19
↓ 1 callersMethodCompile
Compile translates tokens to SSA form.
src/core/Compile.go:8
↓ 1 callersMethodCompileToAssembly
CompileToAssembly converts the SSA IR to assembler instructions.
src/codegen/CompileToAssembly.go:11
↓ 1 callersMethodComputeUsers
ComputeUsers creates the list of users for each value.
src/ssa/IR.go:31
↓ 1 callersMethodCountValues
CountValues returns the total number of values.
src/ssa/IR.go:42
↓ 1 callersMethodCurrent
Current returns the innermost loop or nil if there is none.
src/core/loopStack.go:9
↓ 1 callersMethodEachLeaf
EachLeaf iterates through all leaves in the tree.
src/expression/Expression.go:29
↓ 1 callersMethodEnd
()
src/token/List.go:74
↓ 1 callersMethodEnd
End returns the position after the token.
src/token/Token.go:33
↓ 1 callersMethodEnd
End returns the end position.
src/token/Source.go:15
↓ 1 callersMethodError
()
src/cli/errors.go:20
↓ 1 callersFunctionFiles
Files shows all imported files.
src/verbose/Files.go:12
↓ 1 callersMethodFindExisting
FindExisting returns an equal instruction that's already appended or `nil` if none could be found.
src/ssa/Block.go:201
↓ 1 callersFunctionFunctions
Functions shows the list of live functions.
src/verbose/Functions.go:10
↓ 1 callersMethodIdentifiersFor
IdentifiersFor returns an iterator for all the identifiers pointing to the given value.
src/ssa/Block.go:230
↓ 1 callersMethodIsAssociative
IsAssociative returns true if rearranging the parentheses does not change the result.
src/token/Kind.go:146
↓ 1 callersMethodIsBlock
IsBlock returns true if the token is a block.
src/token/Kind.go:101
↓ 1 callersMethodIsExpressionStart
IsExpressionStart returns true if the token starts an expression.
src/token/Kind.go:116
↓ 1 callersMethodIsNumeric
IsNumeric returns true if the token is a number or rune.
src/token/Kind.go:131
↓ 1 callersMethodIsUsed
IsUsed returns true if the import was used.
src/fs/Import.go:17
↓ 1 callersFunctionMoveBitmaskNumber
MoveBitmaskNumber moves a bitmask immediate value to a register.
src/arm/Move.go:82
↓ 1 callersFunctionMoveRegisterNumberMI
MoveRegisterNumberMI moves a number into the given register using movz and a series of movk instructions.
src/arm/Move.go:21
↓ 1 callersFunctionMulRegisterNumber
MulRegisterNumber multiplies a register with a number.
src/x86/Mul.go:6
↓ 1 callersMethodName
Name returns the type name.
src/types/Union.go:22
↓ 1 callersFunctionNewCodeSignature
NewCodeSignature creates a new code signature.
src/macho/CodeSignature.go:45
↓ 1 callersFunctionNewFunction
NewFunction creates a new function.
src/core/NewFunction.go:11
↓ 1 callersFunctionNop
Nop does nothing. This can be used for alignment purposes.
src/arm/Nop.go:4
↓ 1 callersMethodPackage
Package resolves a package name for the given file and marks the import as used.
src/core/Environment.go:108
↓ 1 callersMethodProtect
Protect protects the given value from being accessed before the error value is checked.
src/ssa/Block.go:356
↓ 1 callersFunctionPushNumber
PushNumber pushes a number onto the stack.
src/x86/Push.go:8
↓ 1 callersMethodReceiveConstant
ReceiveConstant receives a constant from the scanner.
src/core/ReceiveConstant.go:4
↓ 1 callersMethodReceiveFile
ReceiveFile receives a file from the scanner.
src/core/ReceiveFile.go:6
↓ 1 callersMethodReceiveFunction
ReceiveFunction receives a function from the scanner.
src/core/ReceiveFunction.go:4
↓ 1 callersMethodReceiveGlobal
ReceiveGlobal receives a global from the scanner.
src/core/ReceiveGlobal.go:4
↓ 1 callersMethodReceiveStruct
ReceiveStruct receives a struct from the scanner.
src/core/ReceiveStruct.go:6
↓ 1 callersMethodRemoveChild
RemoveChild removes a child from the expression.
src/expression/Expression.go:84
↓ 1 callersMethodRemoveNilValues
RemoveNilValues removes all nil values from the block.
src/ssa/Block.go:318
↓ 1 callersMethodRemoveUser
RemoveUser removes an existing user of this value.
src/ssa/HasUsers.go:8
↓ 1 callersFunctionReorder
Reorder moves values closer to their first use.
src/optimizer/Reorder.go:11
↓ 1 callersMethodReset
Reset resets the token to default values.
src/token/Token.go:38
↓ 1 callersMethodReset
Reset resets all values to the default.
src/expression/Expression.go:95
↓ 1 callersMethodResolveTypes
ResolveTypes resolves all the type tokens in structs, globals and function parameters.
src/core/Environment.go:125
↓ 1 callersMethodResource
Resource returns the type that is a resource of the given type.
src/core/typeCache.go:30
↓ 1 callersFunctionSegmentBaseFS
SegmentBaseFS causes the next instruction to use FS as the segment base address.
src/x86/Prefixes.go:9
↓ 1 callersFunctionSegmentBaseGS
SegmentBaseGS causes the next instruction to use GS as the segment base address.
src/x86/Prefixes.go:14
↓ 1 callersMethodSetBody
SetBody sets the token range for the function body.
src/core/Function.go:81
↓ 1 callersMethodSetStart
SetStart sets the start position.
src/token/Source.go:25
↓ 1 callersMethodSize
Size returns the total size in bytes.
src/types/Function.go:45
↓ 1 callersMethodSlice
Slice returns the set of elements as a slice.
src/set/Ordered.go:41
↓ 1 callersMethodSource
Source returns the start and end positions in the source file.
src/expression/Expression.go:107
↓ 1 callersMethodSplit
Split calls the callback function on each set of tokens in a comma separated list.
src/token/List.go:33
↓ 1 callersMethodStart
()
src/token/List.go:70
↓ 1 callersMethodStart
Start returns the start position.
src/token/Token.go:28
↓ 1 callersMethodStart
Start returns the start position.
src/token/Source.go:30
↓ 1 callersMethodType
Type returns the type of the tuple element.
src/ssa/Field.go:45
↓ 1 callersMethodUnwrap
Unwrap returns the wrapped error.
src/errors/FileError.go:115
↓ 1 callersMethodUpdate
Update recalculates all section offsets.
src/exe/Executable.go:37
↓ 1 callersMethodaddPreservedRegisters
addPreservedRegisters creates a list of registers that need to be preserved.
src/codegen/addPreservedRegisters.go:10
↓ 1 callersFunctionaddRegisterRegister
addRegisterRegister adds the registers and optionally updates the condition flags based on the result.
src/arm/Add.go:40
↓ 1 callersFunctionallowedInType
allowedInType returns true if the given `kind` can be in a type expression.
src/expression/type.go:6
↓ 1 callersMethodappendImmutable
appendImmutable adds data that is immutable and eligible for string interning.
src/data/appendImmutable.go:10
↓ 1 callersMethodappendMutable
appendMutable adds data that is mutable and not subject to string interning.
src/data/appendMutable.go:10
↓ 1 callersFunctionasm
asm shows the assembly code.
src/cli/asm.go:9
↓ 1 callersFunctionbuild
build parses the arguments and creates a build.
src/cli/build.go:9
↓ 1 callersMethodcanEncodeNumber
canEncodeNumber returns true if the architecture can encode an immediate for the given instruction.
src/codegen/canEncodeNumber.go:12
↓ 1 callersMethodcanReachPredecessor
canReachPredecessor checks if the `other` block appears as a predecessor or is the block itself.
src/ssa/Block.go:175
↓ 1 callersFunctionchecksum
checksum calculates a checksum for the file contents.
tests/run_test.go:120
↓ 1 callersFunctionclearTrailingOnes
clearTrailingOnes clears trailing one bits.
src/arm/bitmask.go:31
↓ 1 callersMethodcompileASTNode
compileASTNode compiles a node in the AST.
src/core/compileASTNode.go:8
↓ 1 callersMethodcompileAssert
compileAssert compiles an assertion.
src/core/compileAssert.go:9
↓ 1 callersMethodcompileAssign
compileAssign compiles an assignment.
src/core/compileAssign.go:9
↓ 1 callersMethodcompileCall
compileCall compiles a call instruction.
src/core/compileCall.go:8
↓ 1 callersMethodcompileDefinition
compileDefinition compiles a define instruction.
src/core/compileDefinition.go:8
↓ 1 callersMethodcompileGo
compileGo compiles a call that runs asynchronously in a separate thread.
src/core/compileGo.go:9
↓ 1 callersMethodcompileIf
compileIf compiles a branch instruction.
src/core/compileIf.go:9
↓ 1 callersMethodcompileInputs
compileInputs registers every input as an identifier.
src/core/compileInputs.go:11
↓ 1 callersMethodcompileLoop
compileLoop compiles an endless loop.
src/core/compileLoop.go:12
↓ 1 callersMethodcompileLoopControl
compileLoopControl compiles loop control statements.
src/core/compileLoopControl.go:10
↓ 1 callersMethodcompileReturn
compileReturn compiles a return instruction.
src/core/compileReturn.go:10
↓ 1 callersMethodcompileReturnTuple
compileReturnTuple compiles a return with a single argument when multiple output types are expected.
src/core/compileReturnTuple.go:12
↓ 1 callersMethodcompileStoreArray
compileStoreArray compiles an assignment to an element in an array.
src/core/compileStoreArray.go:9
↓ 1 callersMethodcompileStoreField
compileStoreField compiles an assignment to a struct field.
src/core/compileStoreField.go:12
↓ 1 callersMethodcompileSwitch
compileSwitch compiles a multi-branch instruction.
src/core/compileSwitch.go:9
↓ 1 callersFunctioncomplexityBinary
complexityBinary returns the number of registers needed to evaluate the binary operation.
src/optimizer/Complexity.go:48
↓ 1 callersFunctioncomplexityNoKeepAlive
complexityNoKeepAlive returns the number of registers needed when each expression is no longer needed after its evaluation.
src/optimizer/Complexity.go:91
↓ 1 callersMethodcomposeStruct
composeStruct unpacks registers into struct fields.
src/core/composeStruct.go:10
← previousnext →401–500 of 1,095, ranked by callers