Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KhronosGroup/SPIRV-Tools
/ functions
Functions
7,821 in github.com/KhronosGroup/SPIRV-Tools
⨍
Functions
7,821
◇
Types & classes
1,346
↓ 3 callers
Function
NormalizeAndCompareFractions
Compare 2 fractions while first normalizing them, e.g. 2/4 and 4/8 will both be simplified to 1/2 and then determined to be equal.
source/opt/loop_dependence.cpp:164
↓ 3 callers
Function
OptFuzzerTestOneInput
test/fuzzers/spvtools_opt_fuzzer_common.cpp:23
↓ 3 callers
Method
Parse
tools/io.cpp:135
↓ 3 callers
Method
Parse
source/libspirv.cpp:116
↓ 3 callers
Method
Point
(p Position)
utils/vscode/src/lsp/protocol/span.go:99
↓ 3 callers
Function
PreambleFragment
test/opt/split_combined_image_sampler_pass_test.cpp:109
↓ 3 callers
Function
PrintTo
test/unit_spirv.h:90
↓ 3 callers
Function
PrintUsage
tools/reduce/reduce.cpp:53
↓ 3 callers
Function
PrintUsage
tools/fuzz/fuzz.cpp:72
↓ 3 callers
Method
Process
test/opt/loop_optimizations/unroll_simple.cpp:566
↓ 3 callers
Method
ProcessCallTreeFromRoots
source/opt/ir_context.cpp:1043
↓ 3 callers
Method
ProgressToNextLayoutSectionOrder
source/val/validation_state.cpp:319
↓ 3 callers
Function
RandomUInt
test/fuzzers/random_generator.cpp:32
↓ 3 callers
Function
RedundantBinaryOpWithZeroOperand
Returns a folding rule that folds the instruction to operand |foldToArg| (0 or 1) if operand |arg| (0 or 1) is a zero constant.
source/opt/folding_rules.cpp:3674
↓ 3 callers
Method
RegisterSetFunctionDeclType
source/val/function.cpp:112
↓ 3 callers
Method
RegisterStructuralSuccessor
source/val/basic_block.h:182
↓ 3 callers
Method
RemoveEdge
source/opt/cfg.h:112
↓ 3 callers
Method
ReplaceAllUsesWithPredicate
source/opt/ir_context.cpp:326
↓ 3 callers
Method
Report
source/util/timer.cpp:67
↓ 3 callers
Method
Request
Log is invoked for all messages flowing through a Conn. direction indicates if the message being received or sent id is the message id, if not set it
utils/vscode/src/lsp/jsonrpc2/handler.go:51
↓ 3 callers
Method
ResetFeatureManager
source/opt/ir_context.h:607
↓ 3 callers
Function
RunFuzzerAndShrinker
Assembles the given |shader| text, and then: - Runs the fuzzer with |seed| to yield a set of transformations - Shrinks the transformation with various
test/fuzz/fuzzer_shrinker_test.cpp:1021
↓ 3 callers
Method
SetContextForTesting
Sets the pointer to the current context for this pass.
source/opt/pass.h:90
↓ 3 callers
Method
SetHeaderBlock
source/opt/loop_descriptor.h:75
↓ 3 callers
Method
SetInlinedAt
source/opt/instruction.h:159
↓ 3 callers
Method
SetMessageConsumer
Sets the message consumer to the given |consumer|. |consumer| which will be invoked every time there is a message to be communicated to the outside.
source/opt/pass.h:67
↓ 3 callers
Method
SetMessageConsumer
source/opt/optimizer.cpp:83
↓ 3 callers
Method
SetTargetPointer
source/opt/types.h:652
↓ 3 callers
Function
SetupReducerForCheckValidationOptions
Sets up a Reducer for use in the CheckValidationOptions test; avoids repetition.
test/reduce/validation_during_reduction_test.cpp:458
↓ 3 callers
Function
SignExtendValue
source/util/bitutils.h:187
↓ 3 callers
Method
Stop
Calling Stop() does nothing but just increases |count_stop_| by 1.
test/timer_test.cpp:100
↓ 3 callers
Method
String
String returns a string representation of the ID. The representation is non ambiguous, string forms are quoted, number forms are preceded by a #
utils/vscode/src/lsp/jsonrpc2/wire.go:125
↓ 3 callers
Function
StripOpNameInstructionsToSet
A helper function to strip OpName instructions from the given string of disassembly code and put those debug instructions to a set. Returns the string
test/opt/unify_const_test.cpp:79
↓ 3 callers
Function
TraceVariablePointers
Traces the variable pointer inst backwards. checker is called on each visited instruction.
source/val/validate_logical_pointers.cpp:534
↓ 3 callers
Function
ValidateBinaryUsingContextAndValidationState
source/val/validate.cpp:168
↓ 3 callers
Function
ValidateExecutionScope
source/val/validate_scopes.cpp:78
↓ 3 callers
Function
ValidateFDotMixVectors
source/val/validate_dot_product.cpp:199
↓ 3 callers
Function
ValidateScope
source/val/validate_scopes.cpp:42
↓ 3 callers
Method
WhileEachInOperand
source/opt/instruction.h:844
↓ 3 callers
Method
WithAll
(c Converter)
utils/vscode/src/lsp/span/span.go:244
↓ 3 callers
Method
Wrote
Wrote is called each time some data is written to the stream.
utils/vscode/src/lsp/jsonrpc2/handler.go:64
↓ 3 callers
Method
access_qualifier
source/opt/types.h:632
↓ 3 callers
Function
alignPow2
Aligns the specified value to a multiple of alignment, whereas the alignment must be a power-of-two.
source/opt/struct_packing_pass.cpp:157
↓ 3 callers
Method
begin
Iterators over the immediate sub-loops.
source/opt/loop_descriptor.h:64
↓ 3 callers
Method
begin
Iterate over immediate child nodes.
source/opt/scalar_analysis_nodes.h:107
↓ 3 callers
Method
begin
source/opt/function.h:127
↓ 3 callers
Method
block_count
source/val/function.cpp:190
↓ 3 callers
Method
cbegin
source/enum_set.h:167
↓ 3 callers
Function
checkForRequiredDecoration
Returns true if all ids of given type have a specified decoration.
source/val/validate_decorations.cpp:738
↓ 3 callers
Method
check_stdout_match
(self, status)
test/tools/expect.py:600
↓ 3 callers
Function
command_output
Runs a command in a directory and returns its standard output stream. Returns (False, None) if the command fails to launch or otherwise fails.
utils/update_build_version.py:63
↓ 3 callers
Function
comparePoint
(a, b point)
utils/vscode/src/lsp/span/span.go:89
↓ 3 callers
Method
copy_of
source/opt/ssa_rewrite_pass.h:69
↓ 3 callers
Function
empty_main_assembly
()
test/tools/opt/oconfig.py:22
↓ 3 callers
Method
end
source/opt/instruction.h:275
↓ 3 callers
Method
end
source/opt/function.h:128
↓ 3 callers
Function
filename
(uri URI)
utils/vscode/src/lsp/span/uri.go:43
↓ 3 callers
Method
filterCapsAgainstTargetEnv
source/assembly_grammar.cpp:171
↓ 3 callers
Method
function_call_targets
Returns a set with ids of all functions called from this function.
source/val/function.h:242
↓ 3 callers
Method
getIdBound
source/val/validation_state.cpp:908
↓ 3 callers
Function
getScalarAlignment
Returns scalar alignment of a type.
source/val/validate_decorations.cpp:256
↓ 3 callers
Function
getSize
Returns size of a struct member. Doesn't include padding at the end of struct or array. Assumes that in the struct case, all members have offsets.
source/val/validate_decorations.cpp:308
↓ 3 callers
Function
getWord
Fetches the next word from the given text stream starting from the given position. On success, writes the decoded word into *word and updates position
source/text_handler.cpp:97
↓ 3 callers
Method
get_liveness_mgr
Returns a pointer to a liveness manager. If the liveness manager is invalid, it is rebuilt first.
source/opt/ir_context.h:277
↓ 3 callers
Method
graph_begin
Iterate over all child nodes in the graph.
source/opt/scalar_analysis_nodes.h:159
↓ 3 callers
Method
graph_end
source/opt/scalar_analysis_nodes.h:160
↓ 3 callers
Function
hasImportLinkageAttribute
Returns true if the given ID has the Import LinkageAttributes decoration.
source/val/validate_decorations.cpp:84
↓ 3 callers
Method
id
source/opt/dominator_tree.h:77
↓ 3 callers
Method
id_member_decorations
source/val/validation_state.h:510
↓ 3 callers
Method
immediate_structural_dominator
source/val/basic_block.cpp:52
↓ 3 callers
Function
isPackingHlsl
source/opt/struct_packing_pass.cpp:112
↓ 3 callers
Method
isValid
()
utils/vscode/src/lsp/span/span.go:150
↓ 3 callers
Function
marshalToRaw
(obj interface{})
utils/vscode/src/lsp/jsonrpc2/jsonrpc2.go:409
↓ 3 callers
Method
newline
newline returns true if the i'th token is a Newline, otherwise false.
utils/vscode/src/parser/parser.go:681
↓ 3 callers
Function
offset
offset is a copy of the Offset function in go/token, but with the adjustment that it does not panic on invalid positions.
utils/vscode/src/lsp/span/token.go:98
↓ 3 callers
Method
parseMaskOperand
source/assembly_grammar.cpp:225
↓ 3 callers
Method
pointer_size_and_alignment
Returns the addressing model of this module, or Logical if uninitialized.
source/val/validation_state.h:435
↓ 3 callers
Method
post_cbegin
source/opt/dominator_tree.h:126
↓ 3 callers
Method
post_cend
source/opt/dominator_tree.h:129
↓ 3 callers
Method
post_end
source/opt/dominator_tree.h:123
↓ 3 callers
Function
run_diff_tool
(diff_tool, src_file, dst_file, variant)
test/diff/diff_files/generate_tests.py:172
↓ 3 callers
Function
saturated_inc
source/util/hex_float.h:1224
↓ 3 callers
Method
shape_id
source/opt/types.h:818
↓ 3 callers
Method
size_bytes
source/util/span.h:50
↓ 3 callers
Function
spvDiagnosticCreate
source/diagnostic.cpp:27
↓ 3 callers
Function
spvInstructionBinaryToText
source/disassemble.cpp:1078
↓ 3 callers
Function
spvOpcodeIsAbort
source/opcode.cpp:387
↓ 3 callers
Function
spvOpcodeIsBranch
source/opcode.cpp:333
↓ 3 callers
Function
spvOpcodeIsCommutativeBinaryOperator
source/opcode.cpp:579
↓ 3 callers
Function
spvOpcodeIsNonUniformGroupOperation
source/opcode.cpp:430
↓ 3 callers
Function
spvValidatorOptionsCreate
source/spirv_validator_options.cpp:51
↓ 3 callers
Function
spvValidatorOptionsSetRelaxLogicalPointer
source/spirv_validator_options.cpp:88
↓ 3 callers
Function
startsWithOp
Returns true if the characters in the text as position represent the start of an Opcode.
source/text_handler.cpp:148
↓ 3 callers
Method
string
string processes the String token at the current position. The lexer *must* know the next token is a String before calling.
utils/vscode/src/parser/parser.go:284
↓ 3 callers
Method
target_id
source/opt/types.h:651
↓ 3 callers
Method
update
(c Converter, withPos, withOffset bool)
utils/vscode/src/lsp/span/span.go:251
↓ 2 callers
Function
AMDShaderBallotGroupInstructions
Returns a list of SPIR-V assembly strings, where each uses only types and IDs that can fit with a shader made from parts from the result of ShaderPart
test/val/val_extensions_test.cpp:502
↓ 2 callers
Function
AdaptPhiInstructionsForRemovedEdge
source/reduce/reduction_util.cpp:103
↓ 2 callers
Method
AddComponent
source/opt/interface_var_sroa.h:64
↓ 2 callers
Method
AddDebugValueForDecl
source/opt/debug_info_manager.cpp:588
← previous
next →
1,501–1,600 of 7,821, ranked by callers