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
↓ 2 callers
Method
AddEdges
source/opt/cfg.cpp:49
↓ 2 callers
Method
AddEntryPoint
source/opt/module.h:368
↓ 2 callers
Function
AddFunctionType
source/fuzz/fuzzer_util.cpp:1123
↓ 2 callers
Method
AddHandler
AddHandler adds a new handler to the set the connection will invoke. Handlers are invoked in the reverse order of how they were added, this allows the
utils/vscode/src/lsp/jsonrpc2/jsonrpc2.go:87
↓ 2 callers
Method
AddInput
source/opt/graph.h:105
↓ 2 callers
Method
AddOpcodeAccessChain
source/opt/ir_builder.h:504
↓ 2 callers
Method
AddOutput
source/opt/graph.h:113
↓ 2 callers
Method
AddSampledImage
source/opt/ir_builder.h:670
↓ 2 callers
Function
AddUnreachableEdgeAndUpdateOpPhis
source/fuzz/fuzzer_util.cpp:215
↓ 2 callers
Function
AreLayoutCompatibleStructs
Returns true if the two instructions represent structs that, as far as the validator can tell, have the exact same data layout.
source/val/validate_memory.cpp:60
↓ 2 callers
Function
AreOffsetsAndCoefficientsConstant
source/opt/loop_dependence.cpp:122
↓ 2 callers
Method
AsOpaque
source/opt/types.h:557
↓ 2 callers
Method
AsPipe
source/opt/types.h:629
↓ 2 callers
Method
AttachDecoration
source/opt/type_manager.cpp:1168
↓ 2 callers
Method
AugmentedStructuralCFGPredecessorsFunction
source/val/function.cpp:274
↓ 2 callers
Function
BlockIsBackEdge
source/fuzz/fuzzer_util.cpp:243
↓ 2 callers
Method
BuildDebugScope
source/opt/debug_info_manager.cpp:266
↓ 2 callers
Function
BuildDebugSourceLineLength
We build up a vector that is length of the DebugSource lines and get how long they are to make sure anyone using a DebugSource provides valid Line/Col
source/val/validate_extensions.cpp:1144
↓ 2 callers
Function
CalculateConstantTerm
Fold all SEConstantNode that appear in |recurrences| and |constants| into a single integer value.
source/opt/loop_dependence.cpp:135
↓ 2 callers
Function
CalculateGCDFromCoefficients
source/opt/loop_dependence.cpp:150
↓ 2 callers
Method
Cancel
Cancel is invoked for cancelled outgoing requests. It is okay to use the connection to send notifications, but the context will be in the cancelled st
utils/vscode/src/lsp/jsonrpc2/handler.go:39
↓ 2 callers
Function
CheckFormOfHighLevelVersion
test/software_version_test.cpp:29
↓ 2 callers
Function
CheckRangeAndIfHexThenSignExtend
source/util/parse_number.h:105
↓ 2 callers
Function
CheckRequiredCapabilities
Returns SPV_SUCCESS if the given operand is enabled by capabilities declared in the module. Otherwise issues an error message and returns SPV_ERROR_I
source/val/validate_instruction.cpp:139
↓ 2 callers
Method
ClearBlocks
Removes all the basic blocks from the set of basic blocks within the loop. This does not affect any of the stored pointers to the header, preheader, m
source/opt/loop_descriptor.h:226
↓ 2 callers
Method
ClearDbgLineInsts
source/opt/instruction.cpp:548
↓ 2 callers
Method
ClearDebugInfo
source/opt/debug_info_manager.cpp:854
↓ 2 callers
Function
CloneIRContext
source/fuzz/fuzzer_util.cpp:548
↓ 2 callers
Method
CloneLoop
source/opt/loop_utils.cpp:509
↓ 2 callers
Method
CollectCallTreeFromRoots
source/opt/ir_context.cpp:1062
↓ 2 callers
Function
CollectChildren
Append all the loops nested in |loop| to |loops|.
source/opt/loop_fusion.cpp:29
↓ 2 callers
Method
CollectValueUnknownNodes
Collect all the value unknown nodes in this SENode
source/opt/scalar_analysis_nodes.h:135
↓ 2 callers
Function
CommonTypes
Returns the types defining instructions commonly used in many tests.
test/opt/unify_const_test.cpp:30
↓ 2 callers
Function
CommonTypesAndConstants
All types and some common constants that are potentially required in FoldSpecConstantOpAndCompositeTest.
test/opt/fold_spec_const_op_composite_test.cpp:705
↓ 2 callers
Function
CompactIds
source/diff/diff.cpp:60
↓ 2 callers
Function
ComparePosition
(a, b Position)
utils/vscode/src/lsp/protocol/span.go:120
↓ 2 callers
Function
CompareTwoVectors
Returns true if the two vector of vectors are identical.
source/opt/types.cpp:39
↓ 2 callers
Method
ComputeLoopRegisterPressure
source/opt/register_pressure.cpp:287
↓ 2 callers
Method
Contains
source/opt/copy_prop_arrays.cpp:951
↓ 2 callers
Function
Context
Disables copy constructor/assignment operations.
include/spirv-tools/libspirv.hpp:57
↓ 2 callers
Method
ConvertDebugGlobalToLocalVariable
source/opt/debug_info_manager.cpp:765
↓ 2 callers
Function
ConvertEPToConditional
If the function has an entry point, converts it to a conditional one
source/link/fnvar.cpp:130
↓ 2 callers
Function
ConvertHexToBinary
tools/io.cpp:391
↓ 2 callers
Function
ConvertMatch
test/val/val_non_uniform_test.cpp:140
↓ 2 callers
Function
ConvertScope
test/val/val_non_uniform_test.cpp:123
↓ 2 callers
Function
ConvertWordsToNumericScalarOrVectorConstant
source/opt/folding_rules.cpp:229
↓ 2 callers
Function
CreateBinary
test/link/ids_limit_test.cpp:74
↓ 2 callers
Function
CreateCFGCleanupPass
source/opt/optimizer.cpp:934
↓ 2 callers
Function
CreateEliminateDeadMembersPass
source/opt/optimizer.cpp:785
↓ 2 callers
Function
CreateFixStorageClassPass
source/opt/optimizer.cpp:1067
↓ 2 callers
Function
CreateInterpolateFixupPass
source/opt/optimizer.cpp:1114
↓ 2 callers
Function
CreateLegalizeMultidimArrayPass
source/opt/optimizer.cpp:968
↓ 2 callers
Function
CreateModifyMaximalReconvergencePass
source/opt/optimizer.cpp:1196
↓ 2 callers
Function
CreateOpExtInstWithForwardReferenceFixupPass
source/opt/optimizer.cpp:1201
↓ 2 callers
Function
CreateRemoveUnusedInterfaceVariablesPass
source/opt/optimizer.cpp:903
↓ 2 callers
Function
CreateSSARewritePass
source/opt/optimizer.cpp:1022
↓ 2 callers
Function
CreateSetSpecConstantDefaultValuePass
source/opt/optimizer.cpp:790
↓ 2 callers
Function
DFSWhile
source/opt/trim_capabilities_pass.cpp:62
↓ 2 callers
Function
DecorationTakesIdParameters
Returns true if the decoration takes ID parameters. TODO(dneto): This can be generated from the grammar.
source/val/validate_annotation.cpp:29
↓ 2 callers
Function
DepthFirstSearch
source/opt/dominator_tree.cpp:58
↓ 2 callers
Method
DerefDebugExpression
source/opt/debug_info_manager.cpp:373
↓ 2 callers
Method
Disassemble
Disassembles |binary| and outputs the result in |text|. If |text| is a null pointer, SPV_ERROR_INVALID_POINTER is returned.
test/link/linker_fixture.h:196
↓ 2 callers
Function
EliminateFunction
source/opt/eliminate_dead_functions_util.cpp:22
↓ 2 callers
Function
EmitAsStatement
Emits the given name as a statement token
utils/vim/generate_syntax.py:124
↓ 2 callers
Method
EmitHeaderSpirv
source/disassemble.cpp:645
↓ 2 callers
Function
EmitNumericLiteral
source/parsed_operand.cpp:24
↓ 2 callers
Method
Empty
Returns true if every bit is 0.
source/util/bit_vector.h:93
↓ 2 callers
Function
EncodeIntegerAsWords
Encodes the integer |value| of in a word vector format appropriate for representing this value as a operands for a constant definition. Performs zero-
source/opt/fold_spec_constant_op_and_composite_pass.cpp:253
↓ 2 callers
Function
EncodeViaFloatProxy
test/hex_float_test.cpp:452
↓ 2 callers
Function
EncodeViaHexFloat
test/hex_float_test.cpp:52
↓ 2 callers
Method
EntryPointHasLocalSizeOrId
Returns whether the entry point declares its local size
source/val/validation_state.h:301
↓ 2 callers
Method
EntryPointLocalSizeOrId
Returns the id of the local size
source/val/validation_state.h:306
↓ 2 callers
Method
Error
Error is called with errors that cannot be delivered through the normal mechanisms, for instance a failure to process a notify cannot be delivered bac
utils/vscode/src/lsp/jsonrpc2/handler.go:68
↓ 2 callers
Method
Eval
Determine if the value of |node| is always strictly greater than zero if |or_equal_zero| is false or greater or equal to zero if |or_equal_zero| is tr
source/opt/scalar_analysis.cpp:660
↓ 2 callers
Function
ExtractInts
source/opt/folding_rules.cpp:131
↓ 2 callers
Function
ExtractSourceFromModule
tools/objdump/extract_source.cpp:136
↓ 2 callers
Function
FileURI
FileURI returns a span URI for the supplied file path. It will always have the file scheme.
utils/vscode/src/lsp/span/uri.go:112
↓ 2 callers
Method
FindDecoration
source/opt/decoration_manager.cpp:508
↓ 2 callers
Function
FindEntryPoint
Finds entry point corresponding to a function Returns null if not found, otherwise returns pointer to the EP Instruction.
source/link/fnvar.cpp:117
↓ 2 callers
Function
FindOrCreateGlobalVariable
source/reduce/reduction_util.cpp:26
↓ 2 callers
Method
FindUntypedBaseVariable
source/val/validation_state.cpp:1590
↓ 2 callers
Method
Flag
tools/util/flags.h:173
↓ 2 callers
Function
FoldFPScalarDivideByZero
Returns the constant that results from evaluating |numerator| / 0.0. Returns |nullptr| if the result could not be evaluated.
source/opt/const_folding_rules.cpp:1021
↓ 2 callers
Function
FoldFToI
Define the folding rule for conversion between floating point and integer
source/opt/const_folding_rules.cpp:981
↓ 2 callers
Function
FoldFTranscendentalBinary
source/opt/const_folding_rules.cpp:1958
↓ 2 callers
Function
FoldIToF
source/opt/const_folding_rules.cpp:982
↓ 2 callers
Function
FoldRedundantSub
x - x = 0
source/opt/const_folding_rules.cpp:994
↓ 2 callers
Function
ForEachIntegerConstantPair
source/opt/folding_rules.cpp:3863
↓ 2 callers
Function
FunctionContainsOpKillOrUnreachable
source/fuzz/fuzzer_util.cpp:644
↓ 2 callers
Function
GatherEdges
test/opt/control_dependence.cpp:30
↓ 2 callers
Function
GenerateAllTypesWithDecorations
test/opt/types_test.cpp:465
↓ 2 callers
Function
GenerateKernelCode
test/val/val_literals_test.cpp:56
↓ 2 callers
Function
GenerateReorderThreadCodeEXT
test/val/val_ray_tracing_reorder_test.cpp:799
↓ 2 callers
Function
GenerateShaderCode
test/val/val_non_uniform_test.cpp:32
↓ 2 callers
Function
GenerateShaderCodeImpl
test/val/val_atomics_test.cpp:31
↓ 2 callers
Function
GenerateVulkanCode
test/val/val_memory_semantics_test.cpp:142
↓ 2 callers
Function
GetAccessChainIndexAsConst
source/opt/desc_sroa_util.cpp:97
↓ 2 callers
Method
GetAllSynonyms
source/fuzz/fact_manager/fact_manager.cpp:180
↓ 2 callers
Function
GetAllTopLevelConstants
If |node| is an SEConstantNode then returns |node| or if |node| is an SEAddNode returns a vector of SEConstantNode that are its children.
source/opt/loop_dependence.cpp:106
↓ 2 callers
Function
GetAllTopLevelRecurrences
If |node| is an SERecurrentNode then returns |node| or if |node| is an SEAddNode returns a vector of SERecurrentNode that are its children.
source/opt/loop_dependence.cpp:88
← previous
next →
1,601–1,700 of 7,821, ranked by callers