MCPcopy Create free account

hub / github.com/akyoto/q / functions

Functions1,095 in github.com/akyoto/q

↓ 2 callersFunctionSetIfEqual
SetIfEqual sets the register to 1 if the result was equal, otherwise to 0.
src/x86/Set.go:6
↓ 2 callersFunctionSetIfGreater
SetIfGreater sets the register to 1 if the result was greater, otherwise to 0.
src/arm/Set.go:16
↓ 2 callersFunctionSetIfGreater
SetIfGreater sets the register to 1 if the result was greater, otherwise to 0.
src/x86/Set.go:16
↓ 2 callersFunctionSetIfGreaterEqual
SetIfGreaterEqual sets the register to 1 if the result was greater or equal, otherwise to 0.
src/arm/Set.go:21
↓ 2 callersFunctionSetIfGreaterEqual
SetIfGreaterEqual sets the register to 1 if the result was greater or equal, otherwise to 0.
src/x86/Set.go:21
↓ 2 callersFunctionSetIfLess
SetIfLess sets the register to 1 if the result was less, otherwise to 0.
src/arm/Set.go:26
↓ 2 callersFunctionSetIfLess
SetIfLess sets the register to 1 if the result was less, otherwise to 0.
src/x86/Set.go:26
↓ 2 callersFunctionSetIfLessEqual
SetIfLessEqual sets the register to 1 if the result was less or equal, otherwise to 0.
src/arm/Set.go:31
↓ 2 callersFunctionSetIfLessEqual
SetIfLessEqual sets the register to 1 if the result was less or equal, otherwise to 0.
src/x86/Set.go:31
↓ 2 callersFunctionSetIfNotEqual
SetIfNotEqual sets the register to 1 if the result was not equal, otherwise to 0.
src/arm/Set.go:11
↓ 2 callersFunctionSetIfNotEqual
SetIfNotEqual sets the register to 1 if the result was not equal, otherwise to 0.
src/x86/Set.go:11
↓ 2 callersFunctionSetIfUnsignedGreater
SetIfUnsignedGreater sets the register to 1 if the result was greater using unsigned comparison, otherwise to 0.
src/arm/Set.go:36
↓ 2 callersFunctionSetIfUnsignedGreater
SetIfUnsignedGreater sets the register to 1 if the result was greater using unsigned comparison, otherwise to 0.
src/x86/Set.go:36
↓ 2 callersFunctionSetIfUnsignedGreaterEqual
SetIfUnsignedGreaterEqual sets the register to 1 if the result was greater or equal using unsigned comparison, otherwise to 0.
src/arm/Set.go:41
↓ 2 callersFunctionSetIfUnsignedGreaterEqual
SetIfUnsignedGreaterEqual sets the register to 1 if the result was greater or equal using unsigned comparison, otherwise to 0.
src/x86/Set.go:41
↓ 2 callersFunctionSetIfUnsignedLess
SetIfUnsignedLess sets the register to 1 if the result was less using unsigned comparison, otherwise to 0.
src/arm/Set.go:46
↓ 2 callersFunctionSetIfUnsignedLess
SetIfUnsignedLess sets the register to 1 if the result was less using unsigned comparison, otherwise to 0.
src/x86/Set.go:46
↓ 2 callersFunctionSetIfUnsignedLessEqual
SetIfUnsignedLessEqual sets the register to 1 if the result was less or equal using unsigned comparison, otherwise to 0.
src/arm/Set.go:51
↓ 2 callersFunctionSetIfUnsignedLessEqual
SetIfUnsignedLessEqual sets the register to 1 if the result was less or equal using unsigned comparison, otherwise to 0.
src/x86/Set.go:51
↓ 2 callersMethodSetLast
SetLast sets the last instruction.
src/asm/Assembler.go:101
↓ 2 callersFunctionShiftLeft
ShiftLeft shifts the register value a specified amount of bits to the left.
src/arm/Shift.go:8
↓ 2 callersFunctionShiftLeft
ShiftLeft shifts the register value by the amount of bits defined in the lower byte of R1 to the left.
src/x86/Shift.go:8
↓ 2 callersFunctionShiftLeftNumber
ShiftLeftNumber shifts the register value a specified amount of bits to the left.
src/arm/Shift.go:23
↓ 2 callersFunctionShiftLeftNumber
ShiftLeftNumber shifts the register value by `bitCount` bits to the left.
src/x86/Shift.go:23
↓ 2 callersFunctionShiftRight
ShiftRight shifts the register value a specified amount of bits to the right.
src/arm/Shift.go:13
↓ 2 callersFunctionShiftRight
ShiftRight shifts the register value by the amount of bits defined in the lower byte of R1 to the right.
src/x86/Shift.go:13
↓ 2 callersFunctionShiftRightNumber
ShiftRightNumber shifts the register value a specified amount of bits to the right.
src/arm/Shift.go:28
↓ 2 callersFunctionShiftRightNumber
ShiftRightNumber shifts the register value by `bitCount` bits to the right.
src/x86/Shift.go:29
↓ 2 callersFunctionShiftRightSigned
ShiftRightSigned shifts the signed register value a specified amount of bits to the right.
src/arm/Shift.go:18
↓ 2 callersFunctionShiftRightSigned
ShiftRightSigned shifts the signed register value by the amount of bits defined in the lower byte of R1 to the right.
src/x86/Shift.go:18
↓ 2 callersFunctionShiftRightSignedNumber
ShiftRightSignedNumber shifts the signed register value a specified amount of bits to the right.
src/arm/Shift.go:33
↓ 2 callersFunctionShiftRightSignedNumber
ShiftRightSignedNumber shifts the signed register value by `bitCount` bits to the right.
src/x86/Shift.go:35
↓ 2 callersMethodSkip
Skip returns true if appending the instruction can be skipped.
src/asm/Assembler.go:106
↓ 2 callersFunctionSlice
Slice creates a new slice type which is just a struct with a pointer and a length.
src/types/Slice.go:4
↓ 2 callersFunctionStoreFixedOffsetNumber
StoreFixedOffsetNumber writes a number to a memory address.
src/x86/StoreFixedOffset.go:8
↓ 2 callersFunctionStoreFixedOffsetRegister
StoreFixedOffsetRegister writes the contents of the register to a memory address.
src/x86/StoreFixedOffset.go:14
↓ 2 callersFunctionStoreNumber
StoreNumber writes a number to a memory address with a register offset.
src/x86/Store.go:8
↓ 2 callersFunctionStorePair
StorePair calculates an address from a base register value and an immediate offset multiplied by 8, and stores the values of two registers to the calc
src/arm/StorePair.go:10
↓ 2 callersFunctionStoreRegister
StoreRegister writes the contents of a register to a memory address with a register offset.
src/x86/Store.go:14
↓ 2 callersMethodString
String returns the name of the struct.
src/types/Field.go:15
↓ 2 callersMethodStringFrom
StringFrom returns the source code.
src/token/Source.go:35
↓ 2 callersMethodStructs
Structs returns an iterator over all structs.
src/core/Environment.go:142
↓ 2 callersFunctionSubRegisterRegister
SubRegisterRegister subtracts a register from a register.
src/arm/Sub.go:15
↓ 2 callersFunctionSubRegisterRegister
SubRegisterRegister subtracts a register value from another register.
src/x86/Sub.go:13
↓ 2 callersFunctionSyscall
Syscall is the primary way to communicate with the OS kernel.
src/x86/Syscall.go:4
↓ 2 callersFunctionTestRegisterRegister
TestRegisterRegister computes the bitwise logical AND of the operands and sets the SF, ZF, and PF status flags according to the result.
src/x86/Test.go:7
↓ 2 callersFunctionVersion
Version creates the version for the build version load command.
src/macho/Version.go:4
↓ 2 callersFunctionWriteFile
WriteFile writes an executable file to disk.
src/linker/WriteFile.go:10
↓ 2 callersMethodWriteRaw
WriteRaw writes the raw file contents without the code signature.
src/macho/MachO.go:164
↓ 2 callersFunctionXorRegisterNumber
XorRegisterNumber performs a bitwise XOR using a register and a number.
src/x86/Xor.go:8
↓ 2 callersFunctionXorRegisterRegister
XorRegisterRegister performs a bitwise XOR using two registers.
src/arm/Xor.go:12
↓ 2 callersFunctionappendNumber
appendNumber appends the number for memory store instructions.
src/x86/appendNumber.go:6
↓ 2 callersFunctionbuildInfo
buildInfo retrieves information about the build.
src/cli/show.go:73
↓ 2 callersMethodclobberedRegisters
clobberedRegisters returns the registers that are clobbered by the given instruction.
src/codegen/clobberedRegisters.go:10
↓ 2 callersMethodconditionalSet
conditionalSet sets the target register to 0 or 1 depending on the condition.
src/codegen/conditionalSet.go:11
↓ 2 callersMethodcopy
copy creates a copy of a value and appends it to the current block.
src/core/copy.go:6
↓ 2 callersMethoddefine
define gives a value an identifier.
src/core/define.go:12
↓ 2 callersMethoddefineMulti
defineMulti creates SSA values from expressions and composes structs from their individual fields.
src/core/defineMulti.go:12
↓ 2 callersMethoddelete
delete frees an allocated value.
src/core/delete.go:10
↓ 2 callersFunctiondiv
div implements the encoding for the division operation.
src/x86/Div.go:16
↓ 2 callersMethodevaluateArray
evaluateArray converts a array indexing expression to an SSA value.
src/core/evaluateArray.go:12
↓ 2 callersMethodevaluateCall
evaluateCall converts a call expression to an SSA value.
src/core/evaluateCall.go:10
↓ 2 callersMethodevaluateNew
evaluateNew converts a new call to an SSA value.
src/core/evaluateNew.go:11
↓ 2 callersMethodextractField
extractField extracts the struct field and the value it is supposed to be initialized with.
src/core/extractField.go:12
↓ 2 callersMethodfieldFromMemory
fieldFromMemory extracts a field from memory.
src/core/fieldFromMemory.go:11
↓ 2 callersFunctionhandleLiteral
handleLiteral either adds a leaf to the cursor or becomes the cursor.
src/expression/handleLiteral.go:8
↓ 2 callersFunctionhelp
help shows the command line argument usage.
src/cli/help.go:11
↓ 2 callersMethodinsertPhiMoves
insertPhiMoves moves all live values that are part of a Phi instruction from their current register to the Phi target register. It must be called righ
src/codegen/insertPhiMoves.go:13
↓ 2 callersFunctionisLetter
isLetter returns true if the character is a lowercase or uppercase letter in the English alphabet.
src/token/identifier.go:69
↓ 2 callersFunctionisOperator
(c byte)
src/token/operator.go:38
↓ 2 callersFunctionisTrailing
isTrailing is used for trailing commas and returns true if an expression has an invalid token and is the last expression in the list.
src/core/isTrailing.go:10
↓ 2 callersMethodloadFields
loadFields loads all fields from memory into a struct.
src/core/loadFields.go:9
↓ 2 callersMethodloopNext
loopNext starts the next iteration of the loop.
src/core/loopNext.go:9
↓ 2 callersMethodmakeSlice
makeSlice creates a new slice.
src/core/makeSlice.go:10
↓ 2 callersMethodmakeStructFromTuple
makeStructFromTuple creates a struct from elements in a tuple.
src/core/makeStructFromTuple.go:9
↓ 2 callersFunctionmemLoadExtend
memLoadExtend encodes a memory load with sign or zero extension.
src/x86/memLoadExtend.go:10
↓ 2 callersMethodmoveValuesToRegisters
moveValuesToRegisters moves the values to the destination registers.
src/codegen/moveValuesToRegisters.go:10
↓ 2 callersFunctionnumOperands
(symbol token.Kind)
src/expression/operator.go:65
↓ 2 callersFunctionoperatorKind
operatorKind returns the token kind for the given byte slice. The boolean value indicates if the next byte was used. A valid token always stops the se
src/token/operatorKind.go:8
↓ 2 callersFunctionpair
pair encodes an instruction using a register pair with memory.
src/arm/encode.go:13
↓ 2 callersFunctionparallel
parallel starts a goroutine for each function and waits for completion.
src/compiler/parallel.go:11
↓ 2 callersMethodqueueFile
queueFile queues a single file to be scanned.
src/scanner/queueFile.go:4
↓ 2 callersFunctionreg3Imm
reg3Imm encodes an instruction with 3 registers.
src/arm/encode.go:44
↓ 2 callersFunctionreg4
reg4 encodes an instruction with 4 registers.
src/arm/encode.go:49
↓ 2 callersFunctionregImmHw
regImmHw encodes an instruction with a register, an immediate and the 2-bit halfword specifying which 16-bit region of the register is addressed.
src/arm/encode.go:24
↓ 2 callersFunctionremoveAssign
removeAssign removes the assignment part of an operator token and returns the raw operation.
src/core/removeAssign.go:6
↓ 2 callersFunctionreorderMoves
reorderMoves reorders the move instructions.
src/codegen/reorderMoves.go:9
↓ 2 callersFunctionrun
run builds and runs the executable.
src/cli/run.go:10
↓ 2 callersMethodrunAll
runAll will run the specified function from each package if it exists.
src/core/runAll.go:10
↓ 2 callersFunctionscanFunctionSignature
scanFunctionSignature scans only the function signature without the body.
src/scanner/scanFunctionSignature.go:11
↓ 2 callersFunctionshowError
showError shows an error on stderr.
src/cli/showError.go:12
↓ 2 callersFunctionstack
stack generates a stack trace.
src/errors/stack.go:9
↓ 2 callersMethodstoreFields
storeFields stores all struct fields into memory.
src/core/storeFields.go:9
↓ 2 callersFunctionsubRegisterRegister
subRegisterRegister subtracts the registers and optionally updates the condition flags based on the result.
src/arm/Sub.go:40
↓ 2 callersFunctiontest
(t *testing.T, path string)
src/errors/FileError_test.go:36
↓ 2 callersFunctiontest
(t *testing.T, b *config.Build)
src/verbose/Function_test.go:43
↓ 2 callersFunctiontokenToCondition
(cond token.Kind, unsigned bool)
src/codegen/tokenToCondition.go:8
↓ 2 callersFunctionunescape
unescape replaces the escape sequences in the contents of a string token with the respective characters.
src/core/unescape.go:12
↓ 2 callersMethodvalidateLeft
validateLeft validates the left side in a definition or an assignment. For a definition it expects that the name does not exist yet. For an assignment
src/core/validateLeft.go:13
↓ 1 callersMethodAddDataLabels
AddDataLabels adds the data labels to the existing labels. This can only run after the code size is known.
src/asm/compiler.go:23
← previousnext →301–400 of 1,095, ranked by callers