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
Method
recordTypeDefinition
source/text_handler.cpp:347
↓ 1 callers
Method
recordTypeIdForValue
source/text_handler.cpp:409
↓ 1 callers
Method
registerGlobalVariable
Inserts a new <id> to the set of Global Variables.
source/val/validation_state.h:615
↓ 1 callers
Method
registerLocalVariable
Inserts a new <id> to the set of Local Variables.
source/val/validation_state.h:618
↓ 1 callers
Method
result_id
Returns function's id
source/opt/function.h:112
↓ 1 callers
Function
run
()
utils/vscode/src/tools/gen-grammar.go:83
↓ 1 callers
Method
runTest
Sets up and runs a test, reports any failures and then cleans up.
test/tools/spirv_test_framework.py:306
↓ 1 callers
Method
run_tests
(self)
test/tools/spirv_test_framework.py:249
↓ 1 callers
Function
saturated_dec
source/util/hex_float.h:1236
↓ 1 callers
Method
server
(id string, del bool)
utils/vscode/src/lsp/protocol/log.go:94
↓ 1 callers
Method
setClient
(id string, r req)
utils/vscode/src/lsp/protocol/log.go:104
↓ 1 callers
Method
setGenerator
Sets the ID of the generator for this module.
source/val/validation_state.h:137
↓ 1 callers
Method
setIdBound
source/val/validation_state.cpp:910
↓ 1 callers
Method
setServer
(id string, r req)
utils/vscode/src/lsp/protocol/log.go:110
↓ 1 callers
Method
setUp
Creates environment and instantiates placeholders for the test case.
test/tools/spirv_test_framework.py:266
↓ 1 callers
Method
setVersion
Sets the SPIR-V version of this module.
source/val/validation_state.h:143
↓ 1 callers
Method
set_addressing_model
source/val/validation_state.cpp:500
↓ 1 callers
Method
set_block
source/val/instruction.h:57
↓ 1 callers
Method
set_exit
source/val/construct.cpp:70
↓ 1 callers
Method
set_function
source/val/instruction.h:52
↓ 1 callers
Method
set_label
/ Registers the label instruction for the block.
source/val/basic_block.h:152
↓ 1 callers
Method
set_memory_model
source/val/validation_state.cpp:519
↓ 1 callers
Method
set_reachable
Sets the reachability of the basic block in the CFG
source/val/basic_block.h:100
↓ 1 callers
Method
set_samplerimage_variable_address_mode
source/val/validation_state.cpp:527
↓ 1 callers
Method
set_struct_member_index
source/val/decoration.h:73
↓ 1 callers
Method
set_struct_nesting_depth
Sets the struct nesting depth for a given struct ID
source/val/validation_state.h:633
↓ 1 callers
Method
set_structurally_reachable
Sets the structural reachability of the basic block in the CFG
source/val/basic_block.h:103
↓ 1 callers
Method
set_terminator
Registers the terminator instruction for the block.
source/val/basic_block.h:155
↓ 1 callers
Method
set_version
source/opt/module.h:163
↓ 1 callers
Function
severityToLSP
(s parser.Severity)
utils/vscode/src/langsvr.go:556
↓ 1 callers
Function
skip
Returns true if line is all whitespace or shebang.
utils/check_copyright.py:118
↓ 1 callers
Function
spvCoreOperandTableNameLookup
test/val/val_capability_test.cpp:2372
↓ 1 callers
Function
spvDbgInfoExtOperandCanBeForwardDeclaredFunction
source/operand.cpp:600
↓ 1 callers
Function
spvFuzzerOptionsDestroy
source/spirv_fuzzer_options.cpp:35
↓ 1 callers
Function
spvFuzzerOptionsEnableAllPasses
source/spirv_fuzzer_options.cpp:65
↓ 1 callers
Function
spvFuzzerOptionsEnableFuzzerPassValidation
source/spirv_fuzzer_options.cpp:60
↓ 1 callers
Function
spvFuzzerOptionsEnableReplayValidation
source/spirv_fuzzer_options.cpp:39
↓ 1 callers
Function
spvFuzzerOptionsSetRandomSeed
source/spirv_fuzzer_options.cpp:44
↓ 1 callers
Function
spvFuzzerOptionsSetReplayRange
source/spirv_fuzzer_options.cpp:50
↓ 1 callers
Function
spvFuzzerOptionsSetShrinkerStepLimit
source/spirv_fuzzer_options.cpp:55
↓ 1 callers
Function
spvIsHostEndian
source/spirv_endian.cpp:72
↓ 1 callers
Function
spvIsOpenGLEnv
source/spirv_target_env.cpp:364
↓ 1 callers
Function
spvIsValidEnv
source/spirv_target_env.cpp:404
↓ 1 callers
Function
spvIsValidID
Returns true if the given string represents a valid ID name.
source/text.cpp:52
↓ 1 callers
Function
spvIsValidIDCharacter
source/text.cpp:47
↓ 1 callers
Method
spvNamedIdAssignOrGet
This represents all of the data that is only valid for the duration of a single compilation.
source/text_handler.cpp:189
↓ 1 callers
Function
spvOpcodeIsAccessChain
source/opcode.cpp:692
↓ 1 callers
Function
spvOpcodeIsLoad
source/opcode.cpp:303
↓ 1 callers
Function
spvOpcodeIsScalarizable
source/opcode.cpp:475
↓ 1 callers
Function
spvOperandCanBeForwardDeclaredFunction
source/operand.cpp:509
↓ 1 callers
Function
spvOptimizerOptionsSetMaxIdBound
source/spirv_optimizer_options.cpp:38
↓ 1 callers
Function
spvOptimizerOptionsSetPreserveBindings
source/spirv_optimizer_options.cpp:43
↓ 1 callers
Function
spvOptimizerOptionsSetPreserveSpecConstants
source/spirv_optimizer_options.cpp:48
↓ 1 callers
Function
spvOptimizerOptionsSetValidatorOptions
source/spirv_optimizer_options.cpp:34
↓ 1 callers
Function
spvOptimizerRegisterLegalizationPasses
source/opt/optimizer.cpp:1243
↓ 1 callers
Function
spvOptimizerRegisterPerformancePasses
source/opt/optimizer.cpp:1249
↓ 1 callers
Function
spvOptimizerRegisterSizePasses
source/opt/optimizer.cpp:1255
↓ 1 callers
Function
spvOptimizerSetMessageConsumer
source/opt/optimizer.cpp:1233
↓ 1 callers
Function
spvParseUniversalLimitsOptions
source/spirv_validator_options.cpp:20
↓ 1 callers
Function
spvParseVulkanEnv
source/spirv_target_env.cpp:273
↓ 1 callers
Function
spvReducerOptionsDestroy
source/spirv_reducer_options.cpp:34
↓ 1 callers
Function
spvReducerOptionsSetFailOnValidationError
source/spirv_reducer_options.cpp:43
↓ 1 callers
Function
spvReducerOptionsSetStepLimit
source/spirv_reducer_options.cpp:38
↓ 1 callers
Function
spvReducerOptionsSetTargetFunction
source/spirv_reducer_options.cpp:48
↓ 1 callers
Function
spvSoftwareVersionString
source/software_version.cpp:25
↓ 1 callers
Function
spvTakeFirstMatchableOperand
source/operand.cpp:455
↓ 1 callers
Function
spvTextParseMaskOperand
@brief Parses a mask expression string for the given operand type. A mask expression is a sequence of one or more terms separated by '|', where each
source/assembly_grammar.cpp:44
↓ 1 callers
Function
spvTextToBinaryInternal
Translates a given assembly language module into binary form. If a diagnostic is generated, it is not yet marked as being for a text-based input.
source/text.cpp:898
↓ 1 callers
Method
struct_nesting_depth
Returns the nesting depth of a given structure ID
source/val/validation_state.h:638
↓ 1 callers
Method
structural_dom_begin
source/val/basic_block.cpp:132
↓ 1 callers
Method
structural_pdom_begin
source/val/basic_block.cpp:152
↓ 1 callers
Function
successfulEncode
test/text_literal_test.cpp:170
↓ 1 callers
Method
tearDown
Removes the directory if we were not instructed to do otherwise.
test/tools/spirv_test_framework.py:301
↓ 1 callers
Function
test
()
test/wasm/test.js:22
↓ 1 callers
Function
test_spirv_file
(path, temp_dir)
test/scripts/test_compact_ids.py:21
↓ 1 callers
Method
undefined_block_count
source/val/function.cpp:192
↓ 1 callers
Method
unexpected
unexpected emits an 'unexpected token error' for the i'th token.
utils/vscode/src/parser/parser.go:689
↓ 1 callers
Method
unresolved_forward_id_count
source/val/validation_state.cpp:289
↓ 1 callers
Method
updateBinding
Sets the binding number to 'b'.
source/opt/resolve_binding_conflicts_pass.cpp:49
↓ 1 callers
Function
validBitWidthForFPEncoding
Returns false if the the floating point encoding requires a bit width different from the given width. Write the expected bit width via *expected.
source/text_handler.cpp:158
↓ 1 callers
Method
verify_binary_length_and_header
Checks that the given SPIR-V binary has valid length and header. Returns: False, error string if anything is invalid
test/tools/expect.py:133
↓ 1 callers
Function
version
test/val/val_version_test.cpp:50
Method
AdaptPhiInstructionsForAddedEdge
source/reduce/structured_loop_to_selection_reduction_opportunity.cpp:164
Method
AttemptsToReplaceVariableInitializerWithNonConstant
source/fuzz/transformation_replace_irrelevant_id.cpp:129
Method
BlockInstructionsHaveNoOutsideReferences
source/reduce/remove_block_reduction_opportunity_finder.cpp:66
Method
CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors
source/fuzz/transformation_merge_function_returns.cpp:676
Method
CheckExtraArraynessConflictBetweenEntries
source/opt/interface_var_sroa.cpp:154
Method
CheckThatTheCorrectIdsAreGivenForMergeBlock
source/fuzz/transformation_merge_function_returns.cpp:770
Method
ConditionalBranchToSimpleConditionalBranchReductionOpportunity
source/reduce/conditional_branch_to_simple_conditional_branch_reduction_opportunity.cpp:22
Method
DefinitionSufficientlyDominatesUse
source/reduce/structured_loop_to_selection_reduction_opportunity.cpp:269
Method
DefinitionsRestrictedToRegion
source/reduce/structured_construct_to_block_reduction_opportunity_finder.cpp:119
Method
FindOrCreateToggledIntegerConstant
source/fuzz/fuzzer_pass_interchange_signedness_of_integer_operands.cpp:93
Method
FindSuitableStepAndInitialValueConstants
source/fuzz/fuzzer_pass_add_loops_to_create_int_constant_synonyms.cpp:232
Method
FuzzerPassAddImageSampleUnusedComponents
source/fuzz/fuzzer_pass_add_image_sample_unused_components.cpp:25
Method
FuzzerPassAddLoopsToCreateIntConstantSynonyms
source/fuzz/fuzzer_pass_add_loops_to_create_int_constant_synonyms.cpp:27
Method
FuzzerPassDuplicateRegionsWithSelections
source/fuzz/fuzzer_pass_duplicate_regions_with_selections.cpp:23
Method
FuzzerPassInterchangeSignednessOfIntegerOperands
source/fuzz/fuzzer_pass_interchange_signedness_of_integer_operands.cpp:25
Method
FuzzerPassReplaceAddsSubsMulsWithCarryingExtended
source/fuzz/fuzzer_pass_replace_adds_subs_muls_with_carrying_extended.cpp:27
Method
FuzzerPassReplaceBranchesFromDeadBlocksWithExits
source/fuzz/fuzzer_pass_replace_branches_from_dead_blocks_with_exits.cpp:26
Method
FuzzerPassReplaceCopyMemoriesWithLoadsStores
source/fuzz/fuzzer_pass_replace_copy_memories_with_loads_stores.cpp:24
← previous
next →
3,301–3,400 of 7,821, ranked by callers