MCPcopy Create free account

hub / github.com/akyoto/q / functions

Functions1,095 in github.com/akyoto/q

↓ 1 callersFunctioncreateLinkeditSegment
createLinkeditSegment creates the contents of the __LINKEDIT segment.
src/macho/createLinkeditSegment.go:14
↓ 1 callersMethodcreateLiveRanges
createLiveRanges adds the `value` to the list of live values in its live range.
src/codegen/createLiveRanges.go:4
↓ 1 callersFunctioncreateSteps
createSteps builds a series of instructions from the SSA values in the IR.
src/codegen/createSteps.go:6
↓ 1 callersFunctiondash
dash handles all tokens starting with '-'.
src/token/dash.go:4
↓ 1 callersMethoddecomposeSlice
decomposeSlice decomposes a slices to its pointer, type and length.
src/core/decomposeSlice.go:9
↓ 1 callersMethoddecomposeStruct
decomposeStruct packs struct fields into registers and adds them to `args`.
src/core/decomposeStruct.go:10
↓ 1 callersMethoddecomposeTuple
decomposeTuple decomposes tuples into their individual fields with a type check.
src/core/decomposeTuple.go:10
↓ 1 callersMethoddereference
dereference loads from memory if the value was a memory address, otherwise returns the raw value.
src/core/dereference.go:9
↓ 1 callersFunctiondigit
digit handles all tokens that qualify as a decimal digit.
src/token/digit.go:4
↓ 1 callersFunctionencode2
encode2 is the core function that encodes an instruction with an index.
src/x86/encode2.go:6
↓ 1 callersMethodenter
enter sets up the stack frame.
src/codegen/enter.go:15
↓ 1 callersMethodevaluateAsm
evaluateAsm converts an assembly instruction to an SSA value.
src/core/evaluateAsm.go:10
↓ 1 callersMethodevaluateBinary
evaluateBinary converts a binary expression to an SSA value.
src/core/evaluateBinary.go:13
↓ 1 callersMethodevaluateBuiltin
evaluateBuiltin converts a call to a builtin function to an SSA value.
src/core/evaluateBuiltin.go:10
↓ 1 callersMethodevaluateCas
evaluateCas converts a CAS call to an SSA value.
src/core/evaluateCas.go:9
↓ 1 callersMethodevaluateCast
evaluateCast converts a type cast to an SSA value.
src/core/evaluateCast.go:10
↓ 1 callersMethodevaluateDelete
evaluateDelete converts a delete call to an SSA value.
src/core/evaluateDelete.go:9
↓ 1 callersMethodevaluateDot
evaluateDot converts a dot expression to an SSA value.
src/core/evaluateDot.go:11
↓ 1 callersMethodevaluateIdentifier
evaluateIdentifier converts an identifier to an SSA value.
src/core/evaluateIdentifier.go:12
↓ 1 callersMethodevaluateLeaf
evaluateLeaf converts a leaf expression to an SSA value.
src/core/evaluateLeaf.go:11
↓ 1 callersMethodevaluateMethod
evaluateMethod converts a method expression to an SSA value.
src/core/evaluateMethod.go:10
↓ 1 callersMethodevaluateNewStruct
evaluateNewStruct allocates a new struct with a field initializer list.
src/core/evaluateNewStruct.go:11
↓ 1 callersMethodevaluateNumber
evaluateNumber converts a numeric expression to an SSA value.
src/core/evaluateNumber.go:9
↓ 1 callersMethodevaluateSlice
evaluateSlice converts a slice expression to an SSA value.
src/core/evaluateSlice.go:12
↓ 1 callersMethodevaluateString
evaluateString converts a string expression to an SSA value.
src/core/evaluateString.go:10
↓ 1 callersMethodevaluateStruct
evaluateStruct converts a struct expression to an SSA value.
src/core/evaluateStruct.go:12
↓ 1 callersMethodevaluateSyscall
evaluateSyscall converts a syscall to an SSA value.
src/core/evaluateSyscall.go:11
↓ 1 callersMethodevaluateUnary
evaluateUnary converts a unary expression to an SSA value.
src/core/evaluateUnary.go:11
↓ 1 callersMethodexecute
execute executes a step which appends it to the assembler's instruction list.
src/codegen/execute.go:8
↓ 1 callersMethodexecuteBinaryOp
(step *Step, instr *ssa.BinaryOp)
src/codegen/executeBinaryOp.go:10
↓ 1 callersMethodexecuteBool
(step *Step, instr *ssa.Bool)
src/codegen/executeBool.go:8
↓ 1 callersMethodexecuteBranch
(step *Step, instr *ssa.Branch)
src/codegen/executeBranch.go:12
↓ 1 callersMethodexecuteBytes
(step *Step, instr *ssa.Bytes)
src/codegen/executeBytes.go:8
↓ 1 callersMethodexecuteCall
(step *Step, instr *ssa.Call)
src/codegen/executeCall.go:8
↓ 1 callersMethodexecuteCallExtern
(step *Step, instr *ssa.CallExtern)
src/codegen/executeCallExtern.go:11
↓ 1 callersMethodexecuteCas
(step *Step, instr *ssa.Cas)
src/codegen/executeCas.go:10
↓ 1 callersMethodexecuteCopy
(step *Step, instr *ssa.Copy)
src/codegen/executeCopy.go:8
↓ 1 callersMethodexecuteField
(step *Step, instr *ssa.Field)
src/codegen/executeField.go:8
↓ 1 callersMethodexecuteFunction
(step *Step, instr *ssa.Function)
src/codegen/executeFunction.go:8
↓ 1 callersMethodexecuteGlobal
(step *Step, instr *ssa.Global)
src/codegen/executeGlobal.go:8
↓ 1 callersMethodexecuteInt
(step *Step, instr *ssa.Int)
src/codegen/executeInt.go:8
↓ 1 callersMethodexecuteJump
(step *Step, instr *ssa.Jump)
src/codegen/executeJump.go:8
↓ 1 callersMethodexecuteLabel
(instr *Label)
src/codegen/executeLabel.go:7
↓ 1 callersMethodexecuteLoad
(step *Step, instr *ssa.Load)
src/codegen/executeLoad.go:9
↓ 1 callersMethodexecuteParameter
(step *Step, instr *ssa.Parameter)
src/codegen/executeParameter.go:8
↓ 1 callersMethodexecutePhi
(instr *ssa.Phi)
src/codegen/executePhi.go:7
↓ 1 callersMethodexecuteRegister
(step *Step, instr *ssa.Register)
src/codegen/executeRegister.go:8
↓ 1 callersMethodexecuteReturn
(instr *ssa.Return)
src/codegen/executeReturn.go:7
↓ 1 callersMethodexecuteStore
(instr *ssa.Store)
src/codegen/executeStore.go:8
↓ 1 callersMethodexecuteSyscall
(step *Step, instr *ssa.Syscall)
src/codegen/executeSyscall.go:8
↓ 1 callersMethodexecuteUnaryOp
(step *Step, instr *ssa.UnaryOp)
src/codegen/executeUnaryOp.go:9
↓ 1 callersMethodfieldFromCall
fieldFromCall extracts a field from a function call.
src/core/fieldFromCall.go:11
↓ 1 callersMethodfieldFromStruct
fieldFromStruct extracts a field from a struct.
src/core/fieldFromStruct.go:11
↓ 1 callersFunctionfiles
files shows the list of files that are used in a build.
src/cli/files.go:9
↓ 1 callersFunctionfindError
findError returns compilation errors and creates a deterministic order in case of multiple errors.
src/compiler/findError.go:14
↓ 1 callersMethodfindFreeRegister
findFreeRegister finds a free register for the given value.
src/codegen/findFreeRegister.go:13
↓ 1 callersFunctionfindLibrary
findLibrary tries to go up each directory from the working directory and check for the existence of a "lib" directory. This is needed for tests to wor
src/global/findLibrary.go:11
↓ 1 callersMethodfixRegisterConflicts
fixRegisterConflicts checks for conflicts where 2 values that are live at the same time use the same register. It then assigns a new register to the v
src/codegen/fixRegisterConflicts.go:14
↓ 1 callersFunctionfoldBinary
foldBinary calculates the result of the binary operation.
src/optimizer/foldBinary.go:6
↓ 1 callersFunctionfoldBinaryOp
foldBinaryOp folds the values for binary operations.
src/optimizer/foldBinaryOp.go:9
↓ 1 callersFunctionfoldUnary
foldUnary calculates the result of the unary operation.
src/optimizer/foldUnary.go:6
↓ 1 callersFunctionfoldUnaryOp
foldUnaryOp folds the values for unary operations.
src/optimizer/foldUnaryOp.go:6
↓ 1 callersFunctionformat
format formats source files.
src/cli/format.go:14
↓ 1 callersFunctionfromDirectoryName
fromDirectoryName returns the executable path based on the directory name.
src/config/Executable.go:35
↓ 1 callersFunctionfromFileName
fromFileName returns the executable path based on the file name.
src/config/Executable.go:30
↓ 1 callersFunctionfunctions
functions shows the list of functions that are used in a build.
src/cli/functions.go:9
↓ 1 callersFunctionhandleGroupEnd
handleGroupEnd handles anything that uses a group like a function call or an array access.
src/expression/handleGroupEnd.go:10
↓ 1 callersFunctionhandleOperator
handleOperator adds a new operator to the tree.
src/expression/handleOperator.go:4
↓ 1 callersFunctionhash
hash handles all tokens starting with '#'.
src/token/hash.go:4
↓ 1 callersMethodhintABI
hintABI recommends ABI registers that a value must reside in later on. These register hints have the highest priority.
src/codegen/hintABI.go:9
↓ 1 callersMethodhintDestination
hintDestination recommends the destination register to its inputs.
src/codegen/hintDestination.go:8
↓ 1 callersFunctionidentifier
identifier handles all tokens that qualify as an identifier.
src/token/identifier.go:4
↓ 1 callersFunctionimportLibraries
importLibraries generates the import address table which contains the addresses of functions imported from DLLs.
src/pe/importLibraries.go:6
↓ 1 callersFunctioninvalid
invalid shows the help on stderr and returns exit code 2 (invalid parameters).
src/cli/invalid.go:10
↓ 1 callersFunctionisComplete
isComplete returns true if the expression is complete (a binary operation with a single operand is incomplete).
src/expression/isComplete.go:6
↓ 1 callersFunctionisIdentifier
isIdentifier returns true if the character is a letter, a digit or an underscore.
src/token/identifier.go:56
↓ 1 callersFunctionisIdentifierStart
isIdentifierStart returns true if the character is the start of an identifier which is either a letter or an underscore.
src/token/identifier.go:63
↓ 1 callersMethodjumpIfFalse
jumpIfFalse jumps to the label if the previous comparison was false.
src/codegen/jumpIfFalse.go:8
↓ 1 callersMethodjumpIfTrue
jumpIfTrue jumps to the label if the previous comparison was true.
src/codegen/jumpIfTrue.go:8
↓ 1 callersFunctionkeywords
keywords shows the entire list of keywords.
src/cli/keywords.go:11
↓ 1 callersMethodleave
leave cleans up the stack and returns to the caller.
src/codegen/leave.go:8
↓ 1 callersMethodlintBinaryOp
lintBinaryOp checks for some common mistakes in binary expressions.
src/core/lintBinaryOp.go:13
↓ 1 callersMethodlintBinaryOps
lintBinaryOps checks for some common mistakes in binary expressions.
src/core/lintBinaryOps.go:8
↓ 1 callersMethodloadSpill
loadSpill loads a value from a virtual register into a physical register.
src/codegen/spill.go:17
↓ 1 callersMethodmarkAlive
markAlive marks the `live` value in the `block` as alive and recursively proceeds in the predecessors of `block` if they can reach the definition.
src/codegen/markAlive.go:11
↓ 1 callersMethodmatchesType
matchesType returns true if the nodes match the given parameter types.
src/core/matchesType.go:10
↓ 1 callersFunctionmemory
memory encodes an instruction with a register, a base register, an addressing mode and an offset.
src/arm/encode.go:8
↓ 1 callersFunctionmoveRegisterNumber32
moveRegisterNumber32 moves an integer into the given register and sign-extends the register.
src/x86/Move.go:37
↓ 1 callersMethodneedsRegister
needsRegister returns true if the value requires a register.
src/codegen/needsRegister.go:9
↓ 1 callersMethodneedsReturn
needsReturn returns true if it needs to end with a return statement.
src/core/needsReturn.go:6
↓ 1 callersMethodneedsStackFrame
needsStackFrame returns true if the function needs a stack frame.
src/core/needsStackFrame.go:6
↓ 1 callersFunctionoperator
operator handles all tokens that qualify as an operator.
src/token/operator.go:4
↓ 1 callersFunctionoperators
operators shows the entire list of operators grouped by precedence.
src/cli/operators.go:12
↓ 1 callersMethodoptimize
optimize applies various algorithms after the compilation.
src/core/optimize.go:10
↓ 1 callersFunctionparseAssert
(tokens token.List, file *fs.File)
src/ast/parseAssert.go:10
↓ 1 callersFunctionparseCases
parseCases generates the cases inside a switch statement.
src/ast/parseCases.go:10
↓ 1 callersFunctionparseElse
(tokens token.List, file *fs.File, nodes AST)
src/ast/parseElse.go:9
↓ 1 callersMethodparseGlobals
parseGlobals parses the tokens of global variables.
src/core/parseGlobals.go:8
↓ 1 callersFunctionparseGo
(tokens token.List, file *fs.File)
src/ast/parseGo.go:9
↓ 1 callersFunctionparseIf
(tokens token.List, file *fs.File)
src/ast/parseIf.go:9
← previousnext →501–600 of 1,095, ranked by callers