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
↓ 24 callers
Function
ToString
source/util/string_utils.h:31
↓ 24 callers
Method
apply
source/util/index_range.h:53
↓ 24 callers
Function
spvTextToLiteral
source/text.cpp:65
↓ 23 callers
Method
AddChild
source/opt/scalar_analysis_nodes.h:64
↓ 23 callers
Function
ApplyTransformationAndCheckFactManager
Apply the TransformationRecordSynonymousConstants defined by the given constant1_id and constant2_id and check that the fact that the two constants ar
test/fuzz/transformation_record_synonymous_constants_test.cpp:29
↓ 23 callers
Method
AsDependenceLine
source/opt/loop_dependence.h:207
↓ 23 callers
Function
BuildList
Returns a list containing the values 0 to n-1 using the first n elements of nodes to build the list.
test/util/ilist_test.cpp:64
↓ 23 callers
Function
GenerateReorderShaderCode
test/val/val_ray_tracing_reorder_test.cpp:109
↓ 23 callers
Method
GetOperandConstants
source/opt/constants.cpp:157
↓ 23 callers
Method
GetU32BitValue
source/opt/constants.h:166
↓ 23 callers
Function
HasFloatingPoint
Returns true if |type| is Float or a vector of Float.
source/opt/folding_rules.cpp:95
↓ 23 callers
Method
MergeBlockIdIfAny
source/opt/basic_block.cpp:184
↓ 23 callers
Method
NumUses
source/opt/def_use_manager.cpp:198
↓ 23 callers
Method
PreviousNode
source/util/ilist_node.h:167
↓ 23 callers
Function
RepeatedUInt32PairToMap
source/fuzz/fuzzer_util.cpp:1535
↓ 23 callers
Method
Text
Text returns the tokens text from the source.
utils/vscode/src/parser/parser.go:74
↓ 23 callers
Method
annotations
source/opt/module.h:543
↓ 23 callers
Method
name
source/opt/ccp_pass.h:35
↓ 23 callers
Method
name
(self)
test/tools/spirv_test_framework.py:135
↓ 23 callers
Method
rend
source/opt/basic_block.h:102
↓ 22 callers
Function
AccessChainRequiresElemId
Determines whether the access chain instruction requires the 'element id' argument.
test/val/val_id_test.cpp:3944
↓ 22 callers
Method
AnalyzeInstDef
source/opt/def_use_manager.cpp:21
↓ 22 callers
Method
DonateSingleModule
source/fuzz/fuzzer_pass_donate_modules.cpp:85
↓ 22 callers
Function
GenerateShaderCode
test/val/val_primitives_test.cpp:31
↓ 22 callers
Function
GenerateShaderCode
test/val/val_adjacency_test.cpp:102
↓ 22 callers
Function
GenerateShaderComputeCode
test/val/val_atomics_test.cpp:123
↓ 22 callers
Method
GetContinueBlock
Returns the continue target basic block. This is the block designated as the continue target by the OpLoopMerge instruction.
source/opt/loop_descriptor.h:88
↓ 22 callers
Method
GetLexicalScope
Accessor functions for |lexical_scope_|.
source/opt/instruction.h:154
↓ 22 callers
Method
HaveSubsetOfDecorations
source/opt/decoration_manager.cpp:257
↓ 22 callers
Method
IsReadOnlyPointer
source/opt/instruction.cpp:272
↓ 22 callers
Method
IsSame
Returns true if this type is exactly the same as |that| type, including decorations.
source/opt/types.h:143
↓ 22 callers
Function
Main
test/opt/split_combined_image_sampler_pass_test.cpp:139
↓ 22 callers
Function
Make_Bad_Unsigned
test/text_literal_test.cpp:228
↓ 22 callers
Method
PrettyPrint
source/opt/function.cpp:265
↓ 22 callers
Method
SetResultType
source/opt/instruction.h:730
↓ 22 callers
Function
ValidateHitObjectPointer
source/val/validate_ray_tracing_reorder.cpp:59
↓ 22 callers
Function
bits_set
Sets the bits from MSB to LSB of the significand part of a float. For example 0 would set the bit 23 (counting from LSB to MSB), and 1 would set the 2
test/hex_float_test.cpp:689
↓ 22 callers
Method
erase
Removes the value `value` into the set. Similar to `std::unordered_set::erase`. Returns the number of erased elements.
source/enum_set.h:282
↓ 22 callers
Method
extensions
source/opt/module.h:558
↓ 22 callers
Method
tok
tok returns the i'th token, or nil if i is out of bounds.
utils/vscode/src/parser/parser.go:628
↓ 21 callers
Method
AnalyzeDefUse
source/opt/ir_context.h:1283
↓ 21 callers
Function
BuiltInGLCase
Makes a test case for a BuiltIn variable declaration. In this overload, the expected result is the same as the assembly name, but with a "gl_" prefix
test/name_mapper_test.cpp:225
↓ 21 callers
Function
Disassemble
test/opt/fold_test.cpp:36
↓ 21 callers
Method
FindPointerToType
source/opt/type_manager.cpp:562
↓ 21 callers
Method
GetValueAsDouble
source/opt/constants.cpp:47
↓ 21 callers
Method
RemoveFromList
source/util/ilist_node.h:201
↓ 21 callers
Method
ext_inst_imports
source/opt/module.h:445
↓ 21 callers
Method
ext_inst_type
Provides direct access to instructions spv_ext_inst_type_t object.
source/val/instruction.h:87
↓ 20 callers
Method
AsDependenceEmpty
source/opt/loop_dependence.h:268
↓ 20 callers
Function
Errorf
source/opt/log.h:128
↓ 20 callers
Method
ForgetUses
source/opt/ir_context.cpp:452
↓ 20 callers
Function
GenerateShaderCode
test/val/val_dot_product_test.cpp:30
↓ 20 callers
Method
GetPostDominatorAnalysis
Gets the postdominator analysis for function |f|.
source/opt/ir_context.cpp:1125
↓ 20 callers
Method
GetShaderDebugOpcode
source/opt/instruction.cpp:695
↓ 20 callers
Method
GetTypeId
source/val/validation_state.cpp:931
↓ 20 callers
Method
IsCooperativeVectorNVType
source/val/validation_state.cpp:1550
↓ 20 callers
Method
IsEquivalent
Returns true if and only if |value1| and |value2| are in the same equivalence class. Both values must already be known to the equivalence relation.
source/fuzz/equivalence_relation.h:162
↓ 20 callers
Function
MaybeGetPointerType
source/fuzz/fuzzer_util.cpp:799
↓ 20 callers
Method
ProcessReachableCallTree
source/opt/ir_context.cpp:1013
↓ 20 callers
Function
ValidateHitObjectPointerEXT
source/val/validate_ray_tracing_reorder.cpp:77
↓ 20 callers
Function
spvBinaryParse
source/binary.cpp:944
↓ 19 callers
Method
AddDecoration
Attaches a decoration directly on this type.
source/opt/types.h:134
↓ 19 callers
Method
AsDependenceDistance
source/opt/loop_dependence.h:227
↓ 19 callers
Method
AsScalarConstant
reflections
source/opt/constants.h:67
↓ 19 callers
Function
CreateAggressiveDCEPass
source/opt/optimizer.cpp:887
↓ 19 callers
Method
ForEachParam
source/opt/function.cpp:178
↓ 19 callers
Method
Get
Returns the underlying iterator.
source/opt/iterator.h:218
↓ 19 callers
Method
GetCode
Get the SPIR-V assembly code as string.
test/opt/assembly_builder.h:165
↓ 19 callers
Method
GetOpenCL100DebugOpcode
source/opt/instruction.cpp:676
↓ 19 callers
Method
GetZeroExtendedValue
source/opt/constants.cpp:105
↓ 19 callers
Method
HasAnyOfCapabilities
source/val/validation_state.cpp:490
↓ 19 callers
Method
IsCooperativeMatrix
Returns true if this is a cooperative matrix.
source/opt/types.h:149
↓ 19 callers
Method
IsVulkanStorageImage
source/opt/instruction.cpp:279
↓ 19 callers
Function
MakeHeader
Returns a SPIR-V module header for a module with the given ID bound.
test/handle_unknown_opcodes_test.cpp:40
↓ 19 callers
Function
MakeSideEffectWrapperInfo
test/fuzz/transformation_flatten_conditional_branch_test.cpp:27
↓ 19 callers
Function
MakeSwitchTestCase
Constructs a SwitchTestCase from the given integer_width, signedness, constant value string, and expected encoded constant.
test/text_to_binary.control_flow_test.cpp:239
↓ 19 callers
Function
ShaderWithComponentDecoration
test/val/val_decoration_test.cpp:7291
↓ 19 callers
Method
SpvDecorationString
Returns the string name for |decoration|.
source/val/validation_state.h:923
↓ 19 callers
Method
capabilities
source/opt/module.h:430
↓ 18 callers
Method
AddStringList
Ensures a list of strings is recorded in range_buffer[kind], and returns its location in the range_buffer[kind]. As a side ef
utils/Table/Context.py:110
↓ 18 callers
Method
AsFloatConstant
source/opt/constants.h:69
↓ 18 callers
Method
CloneDecorations
source/opt/decoration_manager.cpp:515
↓ 18 callers
Method
ContainsType
source/val/validation_state.cpp:2048
↓ 18 callers
Method
Erase
source/opt/iterator.h:339
↓ 18 callers
Function
FoldInstruction
test/opt/fold_test.cpp:101
↓ 18 callers
Function
GetActualResultTypeStr
Returns a string describing actual result type of an opcode. Not valid for sparse image opcodes which do not return a struct.
source/val/validate_image.cpp:950
↓ 18 callers
Function
GetTestMessageConsumer
test/opt/pass_utils.cpp:38
↓ 18 callers
Method
InsertAfter
source/util/ilist_node.h:185
↓ 18 callers
Method
IsVulkanStorageTexelBuffer
source/opt/instruction.cpp:349
↓ 18 callers
Method
Notify
Notify is called to send a notification request over the connection. It will return as soon as the notification has been sent, as no response is possi
utils/vscode/src/lsp/jsonrpc2/jsonrpc2.go:109
↓ 18 callers
Method
SetParent
Sets the parent loop of this loop, that is, a loop which contains this loop as a nested child loop.
source/opt/loop_descriptor.h:298
↓ 18 callers
Method
first
source/util/index_range.h:49
↓ 18 callers
Method
isStartOfNewInst
source/text_handler.cpp:233
↓ 18 callers
Function
spvIsExtendedInstruction
source/opcode.cpp:649
↓ 17 callers
Function
CanMakeSynonymOf
source/fuzz/fuzzer_util.cpp:308
↓ 17 callers
Function
CheckDependenceAndDirection
test/opt/loop_optimizations/dependence_analysis.cpp:2500
↓ 17 callers
Method
ComputeHashValue
source/opt/types.cpp:205
↓ 17 callers
Method
ContainsLimitedUseIntOrFloatType
source/val/validation_state.cpp:2111
↓ 17 callers
Method
FindBlock
Returns an iterator to the basic block |id|.
source/opt/function.h:139
↓ 17 callers
Function
FindFunction
source/fuzz/fuzzer_util.cpp:635
← previous
next →
401–500 of 7,821, ranked by callers