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
RegisterGraphEntryPoint
Registers |id| as a graph entry point.
source/val/validation_state.h:349
↓ 1 callers
Method
RegisterInstruction
source/val/validation_state.cpp:604
↓ 1 callers
Method
RegisterLoopMerge
source/val/function.cpp:67
↓ 1 callers
Method
RegisterPointerToStorageBuffer
Save the ID of a pointer to a storage buffer.
source/val/validation_state.h:866
↓ 1 callers
Method
RegisterPointerToStorageImage
Save the ID of a pointer to a storage image.
source/val/validation_state.h:888
↓ 1 callers
Method
RegisterPointerToTensor
Save the ID of a pointer to a tensor.
source/val/validation_state.h:898
↓ 1 callers
Method
RegisterPointerToUniformBlock
Save the ID of a pointer to uniform block.
source/val/validation_state.h:843
↓ 1 callers
Method
RegisterSelectionMerge
source/val/function.cpp:99
↓ 1 callers
Method
RegisterStructForStorageBuffer
Save the ID of a struct of a storage buffer.
source/val/validation_state.h:877
↓ 1 callers
Method
RegisterStructForUniformBlock
Save the ID of a struct of a uniform block.
source/val/validation_state.h:854
↓ 1 callers
Method
RegisterStructTypeWithBuiltInMember
Records that the structure type has a member decorated with a built-in.
source/val/validation_state.h:655
↓ 1 callers
Method
RegisterSuccessors
source/val/basic_block.cpp:68
↓ 1 callers
Method
RegisterUniqueTypeDeclaration
source/val/validation_state.cpp:912
↓ 1 callers
Method
RegisterUse
source/val/instruction.cpp:32
↓ 1 callers
Function
RejectParseDueToLeadingSign
source/util/hex_float.h:1021
↓ 1 callers
Function
RemoveChunk
A helper to return a transformation sequence identical to |transformations|, except that a chunk of size |chunk_size| starting from |chunk_index| x |c
source/fuzz/shrinker.cpp:43
↓ 1 callers
Method
RemoveDecorations
source/opt/types.cpp:149
↓ 1 callers
Method
RemoveDominatorAnalysis
Remove the dominator tree of |f| from the cache.
source/opt/ir_context.h:558
↓ 1 callers
Method
RemoveEmptyBlocks
source/opt/function.h:271
↓ 1 callers
Method
RemoveIfForwardDeclared
source/val/validation_state.cpp:263
↓ 1 callers
Function
RemoveLinkageSpecificInstructions
source/link/linker.cpp:600
↓ 1 callers
Method
RemoveLoop
source/opt/loop_descriptor.cpp:1002
↓ 1 callers
Function
RemoveOneNodeFromMultiplyChain
Remove |node| from the |mul| chain (of the form A * ... * |node| * ... * Z), if |node| is not in the chain, returns the original chain.
source/opt/scalar_analysis.cpp:930
↓ 1 callers
Method
RemoveParameter
source/opt/function.h:280
↓ 1 callers
Function
RemoveRedundantOperands
Removes duplicate ids from the interface list of an OpEntryPoint instruction.
source/opt/folding_rules.cpp:4346
↓ 1 callers
Method
RemoveSuccessorEdges
Remove all edges that leave |bb|.
source/opt/cfg.h:134
↓ 1 callers
Method
Rename
(context.Context, *RenameParams)
utils/vscode/src/lsp/protocol/tsserver.go:66
↓ 1 callers
Method
ReplaceAllUsesInDebugScopeWithPredicate
source/opt/debug_info_manager.cpp:676
↓ 1 callers
Function
ReplaceOpcodeIfRequired
Replace |inst| opcode with OpExtInstWithForwardRefsKHR or OpExtInst if required to comply with forward references.
source/opt/opextinst_forward_ref_fixup_pass.cpp:51
↓ 1 callers
Function
Replay
tools/fuzz/fuzz.cpp:461
↓ 1 callers
Function
ReservedCheck
Returns SPV_ERROR_INVALID_BINARY and emits a diagnostic if the instruction is explicitly reserved in the SPIR-V core spec. Otherwise return SPV_SUCCE
source/val/validate_instruction.cpp:219
↓ 1 callers
Method
ResetDFNumbering
source/opt/dominator_tree.cpp:347
↓ 1 callers
Method
Resolve
(context.Context, *CompletionItem)
utils/vscode/src/lsp/protocol/tsserver.go:50
↓ 1 callers
Method
ResolveCodeLens
(context.Context, *CodeLens)
utils/vscode/src/lsp/protocol/tsserver.go:60
↓ 1 callers
Function
ResolveConflicts
Resolves conflicts within this binding list, so the binding number on an item is at least one more than the binding number on the previous item. When
source/opt/resolve_binding_conflicts_pass.cpp:238
↓ 1 callers
Method
ResolveDocumentLink
(context.Context, *DocumentLink)
utils/vscode/src/lsp/protocol/tsserver.go:62
↓ 1 callers
Method
RewriteFunctionIntoSSA
source/opt/ssa_rewrite_pass.cpp:653
↓ 1 callers
Method
RewriteParams
source/opt/function.h:90
↓ 1 callers
Method
RewriteUse
Rewrites the use of |def_insn_| by the instruction |user| at the index |operand_index| in terms of phi instruction. This recursively builds new phi in
source/opt/loop_utils.cpp:71
↓ 1 callers
Method
Run
Run blocks until the connection is terminated, and returns any error that caused the termination. It must be called exactly once for each Conn. It ret
utils/vscode/src/lsp/jsonrpc2/jsonrpc2.go:318
↓ 1 callers
Method
Run
source/val/validate_builtins.cpp:5131
↓ 1 callers
Method
Run
source/opt/optimizer.cpp:664
↓ 1 callers
Method
SelectionRange
(context.Context, *SelectionRangeParams)
utils/vscode/src/lsp/protocol/tsserver.go:45
↓ 1 callers
Method
SetDebugStream
Sets the ostream for debug information for the analysis.
source/opt/loop_dependence.h:370
↓ 1 callers
Method
SetExtraLineTracking
Sets whether extra OpLine instructions should be injected to better track line information.
source/opt/ir_loader.h:69
↓ 1 callers
Method
SetHandleUnknownOpcodes
Sets whether to handle, rather than reject, unrecognized content: unknown opcodes, unknown extended instruction numbers in semantic sets, and known op
source/binary.cpp:103
↓ 1 callers
Method
SetHasNestedBlockOrBufferBlockStruct
Records the has a nested block/bufferblock decorated struct for a given struct ID
source/val/validation_state.h:644
↓ 1 callers
Function
SetHeader
Populates a binary stream's |header|. The target environment is specified via |env| and Id bound is via |bound|.
source/text.cpp:848
↓ 1 callers
Method
SetImmediateDominator
source/val/basic_block.cpp:36
↓ 1 callers
Method
SetImmediateStructuralDominator
source/val/basic_block.cpp:40
↓ 1 callers
Method
SetImmediateStructuralPostDominator
source/val/basic_block.cpp:44
↓ 1 callers
Method
SetLineNum
source/val/instruction.h:110
↓ 1 callers
Method
SetMessageConsumer
Sets the message consumer to the given |consumer|.
source/opt/pass_manager.h:52
↓ 1 callers
Method
SetModuleHeader
Sets the fields in the module's header to the given parameters.
source/opt/ir_loader.h:53
↓ 1 callers
Method
SetResultId
Sets the result id stored in this node.
source/opt/unify_const_pass.cpp:64
↓ 1 callers
Method
SetSampledImageAddressMode
source/opt/module.h:364
↓ 1 callers
Method
SetSingleComponentVariable
source/opt/interface_var_sroa.h:70
↓ 1 callers
Method
SetTargetEnv
source/opt/optimizer.cpp:660
↓ 1 callers
Method
SetTargetEnv
test/opt/pass_fixture.h:317
↓ 1 callers
Method
SetTraceNotification
(context.Context, *SetTraceParams)
utils/vscode/src/lsp/protocol/tsserver.go:37
↓ 1 callers
Method
SetTrailingDbgLineInfo
Sets the trailing debug line info to |dbg_line_info|.
source/opt/module.h:299
↓ 1 callers
Function
SetUpIdSynonyms
Adds synonym facts to the fact manager.
test/fuzz/fuzzer_pass_add_opphi_synonyms_test.cpp:36
↓ 1 callers
Function
ShiftIdsInModules
source/link/linker.cpp:163
↓ 1 callers
Method
ShouldHoistInstruction
source/opt/loop_descriptor.cpp:457
↓ 1 callers
Method
ShouldModify
source/opt/remove_unused_interface_variables_pass.cpp:67
↓ 1 callers
Method
ShowMessage
(context.Context, *ShowMessageParams)
utils/vscode/src/lsp/protocol/tsclient.go:26
↓ 1 callers
Method
ShowMessageRequest
(context.Context, *ShowMessageRequestParams)
utils/vscode/src/lsp/protocol/tsclient.go:34
↓ 1 callers
Function
Shrink
tools/fuzz/fuzz.cpp:505
↓ 1 callers
Method
Shutdown
(context.Context)
utils/vscode/src/lsp/protocol/tsserver.go:47
↓ 1 callers
Method
SignatureHelp
(context.Context, *SignatureHelpParams)
utils/vscode/src/lsp/protocol/tsserver.go:52
↓ 1 callers
Method
Simplify
source/opt/scalar_analysis_simplification.cpp:197
↓ 1 callers
Method
SimulateFission
source/opt/register_pressure.cpp:445
↓ 1 callers
Function
SpirvTools
Constructs an instance targeting the given environment |env|. The constructed instance will have an empty message consumer, which just ignores all me
include/spirv-tools/libspirv.hpp:316
↓ 1 callers
Method
Splice
source/util/ilist.h:317
↓ 1 callers
Method
SplitLoop
source/opt/loop_fission.cpp:360
↓ 1 callers
Method
Stop
If we cannot get a resource usage because of failures, it sets -1 for the resource usage.
source/util/timer.h:307
↓ 1 callers
Function
StoringUndef
If we are storing an undef, then we can remove the store. TODO: We can do something similar for OpImageWrite, but checking for volatile is complicate
source/opt/folding_rules.cpp:4190
↓ 1 callers
Function
StructuredControlFlowChecks
source/val/validate_cfg.cpp:731
↓ 1 callers
Function
StructuredSwitchChecks
source/val/validate_cfg.cpp:561
↓ 1 callers
Method
Symbol
(context.Context, *WorkspaceSymbolParams)
utils/vscode/src/lsp/protocol/tsserver.go:58
↓ 1 callers
Method
SystemTime
test/timer_test.cpp:34
↓ 1 callers
Function
TEST
test/fuzz/transformation_add_loop_to_create_int_constant_synonym_test.cpp:25
↓ 1 callers
Function
TensorAddressingOperandsNumWords
Returns the number of instruction words taken up by a tensor addressing operands argument and its implied operands.
source/val/validate_memory.cpp:2756
↓ 1 callers
Function
TensorLayoutPass
source/val/validate_tensor_layout.cpp:144
↓ 1 callers
Function
TensorPass
Validates correctness of tensor instructions.
source/val/validate_tensor.cpp:233
↓ 1 callers
Method
ToBinary
source/opt/instruction.cpp:1091
↓ 1 callers
Method
ToPosition
ToPosition converts from an offset to a line:column pair.
utils/vscode/src/lsp/span/span.go:58
↓ 1 callers
Function
ToString
source/fuzz/fact_manager/fact_manager.cpp:27
↓ 1 callers
Method
TracePointer
source/val/validation_state.cpp:2035
↓ 1 callers
Function
TraceUnmodifiedVariablePointers
Traces the variable pointer inst backwards, but only unmodified pointers. checker is called on each visited instruction.
source/val/validate_logical_pointers.cpp:672
↓ 1 callers
Function
TransposeMatrix
Returns to the constant that results from tranposing |matrix|. The result will have type |result_type|, and |matrix| must exist in |context|. The resu
source/opt/const_folding_rules.cpp:365
↓ 1 callers
Method
TryApplyReduction
source/reduce/reduction_pass.cpp:24
↓ 1 callers
Method
TryToAddFunction
source/fuzz/transformation_add_function.cpp:230
↓ 1 callers
Method
Type2Undef
source/opt/mem_pass.cpp:262
↓ 1 callers
Method
TypeDefinition
(context.Context, *TypeDefinitionParams)
utils/vscode/src/lsp/protocol/tsserver.go:40
↓ 1 callers
Function
TypePass
source/val/validate_type.cpp:1071
↓ 1 callers
Method
UnregisterCapability
(context.Context, *UnregistrationParams)
utils/vscode/src/lsp/protocol/tsclient.go:33
↓ 1 callers
Method
UnresolvedForwardIds
source/val/validation_state.cpp:293
↓ 1 callers
Method
UpdateChildNode
source/opt/scalar_analysis.cpp:408
↓ 1 callers
Function
UpdateContinueConstructExitBlocks
Update the continue construct's exit blocks once the backedge blocks are identified in the CFG.
source/val/validate_cfg.cpp:418
← previous
next →
2,801–2,900 of 7,821, ranked by callers