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
↓ 1 callers
Function
encodeInstructionStartingWithOpUnknown
@brief Translate an instruction started by OpUnknown and the following operands to binary form @param[in] grammar the grammar to use for compilation
source/text.cpp:537
↓ 1 callers
Method
encoding
source/opt/types.h:305
↓ 1 callers
Method
end
source/enum_set.h:188
↓ 1 callers
Function
equalURI
(a, b URI)
utils/vscode/src/lsp/span/uri.go:82
↓ 1 callers
Method
err
err appends an fmt.Printf style error into l.diags for the given token.
utils/vscode/src/parser/parser.go:178
↓ 1 callers
Method
execution_mode_begin
source/opt/module.h:520
↓ 1 callers
Method
ext_inst_import_begin
source/opt/module.h:438
↓ 1 callers
Function
extractOpSource
tools/objdump/extract_source.cpp:104
↓ 1 callers
Function
extractOpSourceContinued
tools/objdump/extract_source.cpp:84
↓ 1 callers
Function
extractOpString
tools/objdump/extract_source.cpp:65
↓ 1 callers
Function
fixPathForLLVM
Removes trailing '/' from `input`. A behavior difference has been observed between libc++ implementations. Fixing path to prevent this edge case to be
tools/objdump/objdump.cpp:52
↓ 1 callers
Method
generate
Returns a string that is the language-specific header for the given grammar
utils/generate_language_headers.py:81
↓ 1 callers
Function
generate_cmake
(test_files)
test/diff/diff_files/generate_tests.py:271
↓ 1 callers
Function
generate_test
(diff_tool, test_name)
test/diff/diff_files/generate_tests.py:212
↓ 1 callers
Function
generate_tests
(diff_tool, test_names)
test/diff/diff_files/generate_tests.py:268
↓ 1 callers
Function
generate_vendor_table
Returns a list of C style initializers for the registered vendors and their tools. Args: registry: The SPIR-V XMLregistry as an xml.Ele
utils/generate_registry_tables.py:43
↓ 1 callers
Method
getBits
Returns the bits associated with the value.
source/util/hex_float.h:553
↓ 1 callers
Method
getBound
source/text_handler.cpp:217
↓ 1 callers
Method
getExtInstTypeForId
source/text_handler.cpp:429
↓ 1 callers
Function
getExtensionsRelatedTo
source/opt/trim_capabilities_pass.cpp:450
↓ 1 callers
Method
getNormalizedSignificand
Returns the signficand after it has been normalized.
source/util/hex_float.h:597
↓ 1 callers
Function
getOrDownload
getOrDownload loads the specific file from the cache, or downloads the file from the given url.
utils/vscode/src/tools/gen-grammar.go:200
↓ 1 callers
Method
getSampledImageConsumers
source/val/validation_state.cpp:644
↓ 1 callers
Method
getTypeOfTypeGeneratingValue
source/text_handler.cpp:393
↓ 1 callers
Method
getTypeOfValueInstruction
source/text_handler.cpp:401
↓ 1 callers
Method
getUnsignedBits
Returns the bits associated with the value, without the leading sign bit.
source/util/hex_float.h:556
↓ 1 callers
Method
get_addressing_value
test/text_to_binary.mode_setting_test.cpp:43
↓ 1 callers
Method
get_execution_value
test/text_to_binary.mode_setting_test.cpp:97
↓ 1 callers
Function
get_extension_list
Returns extensions as an alphabetically sorted list of strings. Args: instructions: list of instruction objects, using the JSON grammar fil
utils/ggt.py:850
↓ 1 callers
Function
get_flag_name
Extracts the flag name from a potential token. This function only looks for a '=', to split the flag name from the value for long-form flags. Returns
tools/util/flags.cpp:40
↓ 1 callers
Method
get_language_value
test/text_to_binary.debug_test.cpp:38
↓ 1 callers
Method
get_memory_value
test/text_to_binary.mode_setting_test.cpp:46
↓ 1 callers
Method
get_module
Returns a pointer to the current module for this pass.
source/opt/pass.h:87
↓ 1 callers
Method
graph_cbegin
source/opt/scalar_analysis_nodes.h:163
↓ 1 callers
Method
graph_cend
source/opt/scalar_analysis_nodes.h:164
↓ 1 callers
Method
graph_entry_points
source/opt/module.h:511
↓ 1 callers
Method
grow
(o Range)
utils/vscode/src/parser/parser.go:113
↓ 1 callers
Function
hasImproperStraddle
A member is defined to improperly straddle if either of the following are true: - It is a vector with total size less than or equal to 16 bytes, and h
source/val/validate_decorations.cpp:414
↓ 1 callers
Function
hasOpcodeConflictingCapabilities
source/opt/trim_capabilities_pass.cpp:468
↓ 1 callers
Method
hasSuccessor
Returns true if the basic block has at least one successor.
source/opt/basic_block.h:131
↓ 1 callers
Method
has_samplerimage_variable_address_mode_specified
Returns true if the OpSamplerImageAddressingModeNV was found.
source/val/validation_state.h:455
↓ 1 callers
Method
id
source/val/instruction.h:45
↓ 1 callers
Method
ident
ident returns the i'th token if it is an Ident, otherwise nil.
utils/vscode/src/parser/parser.go:657
↓ 1 callers
Method
increment_total_functions
Increments the total number of functions in the file.
source/val/validation_state.h:188
↓ 1 callers
Method
increment_total_instructions
Increments the total number of instructions in the file.
source/val/validation_state.h:185
↓ 1 callers
Function
insert_copyright
Finds all glob-matching files under the current directory and inserts the copyright message, and license notice. An MIT license or Khronos free
utils/check_copyright.py:134
↓ 1 callers
Method
instantiate_for_spirv_args
Creates a temporary file and writes the source into it. Returns: The name of the temporary file.
test/tools/placeholder.py:73
↓ 1 callers
Function
is16bitType
source/opt/trim_capabilities_pass.cpp:125
↓ 1 callers
Function
isBlock
Returns true if the given structure type has a Block decoration.
source/val/validate_decorations.cpp:75
↓ 1 callers
Function
isFile
isFile returns true if path is a file.
utils/vscode/src/tools/gen-grammar.go:224
↓ 1 callers
Function
isMissingOffsetInStruct
Returns whether the given structure is missing Offset decoration for any member. Handles also nested structures.
source/val/validate_decorations.cpp:115
↓ 1 callers
Function
isScalarFloating
Returns true if the type is a scalar floating point type.
source/text_handler.h:74
↓ 1 callers
Function
isWindowsDriveURI
isWindowsDriveURI returns true if the file URI is of the format used by Windows URIs. The url.Parse package does not specially handle Windows paths (s
utils/vscode/src/lsp/span/uri.go:157
↓ 1 callers
Function
is_assembly
tools/diff/diff.cpp:73
↓ 1 callers
Method
is_complete
source/opt/ssa_rewrite_pass.h:70
↓ 1 callers
Function
is_interface_variable
Returns true if \c inst is an input or output variable.
source/val/validate_interfaces.cpp:34
↓ 1 callers
Function
lex
lex returns all the tokens and diagnostics after lexing source.
utils/vscode/src/parser/parser.go:354
↓ 1 callers
Method
lineComment
lineComment processes the Comment token at the current position. The lexer *must* know the next token is a Comment before calling.
utils/vscode/src/parser/parser.go:323
↓ 1 callers
Function
lineStart
lineStart is the pre-Go 1.12 version of (*token.File).LineStart. For Go versions <= 1.11, we borrow logic from the analysisutil package. TODO(rstamble
utils/vscode/src/lsp/span/token111.go:26
↓ 1 callers
Function
logIn
Got a message from the client, log it
utils/vscode/src/lsp/protocol/log.go:201
↓ 1 callers
Function
logOut
logOut and logIn could be combined. "received"<->"Sending", serverCalls<->clientCalls but it wouldn't be a lot shorter or clearer and "shutdown" is a
utils/vscode/src/lsp/protocol/log.go:148
↓ 1 callers
Function
main
()
utils/generate_changelog.py:54
↓ 1 callers
Function
main
()
utils/update_build_version.py:138
↓ 1 callers
Function
main
()
utils/ggt.py:906
↓ 1 callers
Function
main
()
utils/generate_language_headers.py:158
↓ 1 callers
Function
main
()
utils/check_symbol_exports.py:100
↓ 1 callers
Function
main
()
utils/check_copyright.py:232
↓ 1 callers
Function
main
()
utils/generate_registry_tables.py:71
↓ 1 callers
Function
main
Parses arguments, then generates the Vim syntax rules for SPIR-V assembly on stdout.
utils/vim/generate_syntax.py:134
↓ 1 callers
Function
main
()
test/tools/spirv_test_framework.py:341
↓ 1 callers
Function
main
()
test/diff/diff_files/generate_tests.py:280
↓ 1 callers
Function
main
()
test/scripts/test_compact_ids.py:60
↓ 1 callers
Function
make_camel_case
(test_name)
test/diff/diff_files/generate_tests.py:138
↓ 1 callers
Function
make_cpp_file
(test_name)
test/diff/diff_files/generate_tests.py:135
↓ 1 callers
Function
make_dst_file
(test_name)
test/diff/diff_files/generate_tests.py:132
↓ 1 callers
Function
make_path_to_file
Makes all ancestor directories to the given file, if they don't yet exist. Arguments: f: The file whose ancestor directories are to b
utils/generate_language_headers.py:23
↓ 1 callers
Function
make_src_file
(test_name)
test/diff/diff_files/generate_tests.py:129
↓ 1 callers
Function
mkdir_p
Make the directory, and all its ancestors as required. Any of the directories are allowed to already exist.
utils/generate_changelog.py:38
↓ 1 callers
Function
mkdir_p
Make the directory, and all its ancestors as required. Any of the directories are allowed to already exist.
utils/update_build_version.py:47
↓ 1 callers
Function
mkdir_p
Make the directory, and all its ancestors as required. Any of the directories are allowed to already exist. This is compatible with Python do
utils/generate_registry_tables.py:24
↓ 1 callers
Method
newline
newline processes the Newline token at the current position. The lexer *must* know the next token is a Newline before calling.
utils/vscode/src/parser/parser.go:343
↓ 1 callers
Method
notify_result
Call this to notify the manager of the results of a test run.
test/tools/spirv_test_framework.py:232
↓ 1 callers
Method
numberOrIdent
numberOrIdent processes the Ident, Float or Integer token at the current position.
utils/vscode/src/parser/parser.go:244
↓ 1 callers
Method
operator
operator processes the Operator token at the current position. The lexer *must* know the next token is a Operator before calling.
utils/vscode/src/parser/parser.go:309
↓ 1 callers
Method
operator
operator returns the operator for the i'th token, or and empty string if the i'th token is not an operator.
utils/vscode/src/parser/parser.go:649
↓ 1 callers
Method
operator()
Implements the hashing of SENodes.
source/opt/scalar_analysis.cpp:582
↓ 1 callers
Method
parse
()
utils/vscode/src/parser/parser.go:408
↓ 1 callers
Method
parse
source/binary.cpp:256
↓ 1 callers
Function
parse_bool_flag
Parse a boolean flag. Returns `true` if the parsing succeeded, `false` otherwise.
tools/util/flags.cpp:54
↓ 1 callers
Function
parse_flag_value
Parse a uint32_t flag value.
tools/util/flags.cpp:83
↓ 1 callers
Function
parse_test_comment
(src_spirv_file_name, src_spirv)
test/diff/diff_files/generate_tests.py:153
↓ 1 callers
Method
pident
pident processes the PIdent token at the current position. The lexer *must* know the next token is a PIdent before calling.
utils/vscode/src/parser/parser.go:224
↓ 1 callers
Function
prefix_operand_kind_names
Modifies json_dict, by prefixing all the operand kind names with the given prefix. Also modifies their uses in the instructions to match.
utils/ggt.py:886
↓ 1 callers
Method
preserve_bindings
source/opt/ir_context.h:626
↓ 1 callers
Method
preserve_spec_constants
source/opt/ir_context.h:631
↓ 1 callers
Function
print_usage
tools/link/linker.cpp:32
↓ 1 callers
Function
print_usage
tools/diff/diff.cpp:38
↓ 1 callers
Method
pseudo_exit_block
Returns the pseudo exit block
source/val/function.h:181
↓ 1 callers
Method
pushOperandTypesForMask
source/assembly_grammar.cpp:231
↓ 1 callers
Method
recordIdAsExtInstImport
source/text_handler.cpp:419
← previous
next →
3,201–3,300 of 7,821, ranked by callers