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
↓ 37 callers
Function
MakeSynonymFact
test/fuzz/data_synonym_transformation_test.cpp:33
↓ 36 callers
Method
Call
Call sends a request over the connection and then waits for a response. If the response is not an error, it will be decoded into result. result must b
utils/vscode/src/lsp/jsonrpc2/jsonrpc2.go:140
↓ 36 callers
Function
ExpectedHeaderForBound
Returns the expected SPIR-V module header words for the Khronos Assembler generator, and with a given Id bound.
test/binary_parse_test.cpp:154
↓ 36 callers
Method
ForEachSuccessorLabel
source/opt/basic_block.cpp:113
↓ 36 callers
Function
IdIsAvailableBeforeInstruction
source/fuzz/fuzzer_util.cpp:704
↓ 36 callers
Function
TypesFloat
test/opt/graphics_robust_access_test.cpp:163
↓ 35 callers
Method
IsBoolScalarType
source/val/validation_state.cpp:1329
↓ 35 callers
Function
Preamble
test/opt/split_combined_image_sampler_pass_test.cpp:95
↓ 35 callers
Method
addressing_model
source/val/validation_state.cpp:515
↓ 35 callers
Method
isNan
source/util/hex_float.h:87
↓ 35 callers
Method
options
Returns the command line options
source/val/validation_state.h:134
↓ 35 callers
Function
spvBinaryDestroy
TODO(dneto): This probably belongs in text.cpp since that's the only place that a spv_binary_t value is created.
source/binary.cpp:973
↓ 34 callers
Function
GenerateKernelCode
test/val/val_image_test.cpp:376
↓ 34 callers
Function
MutateBits
source/util/bitutils.h:126
↓ 34 callers
Method
castTo
source/util/hex_float.h:835
↓ 34 callers
Function
spvBinaryToText
source/disassemble.cpp:1116
↓ 34 callers
Function
spvOpcodeMake
source/opcode.cpp:59
↓ 34 callers
Method
struct_member_index
source/val/decoration.h:74
↓ 33 callers
Function
ConstInput
source/opt/folding_rules.cpp:119
↓ 33 callers
Function
GenerateReorderShaderCodeEXT
test/val/val_ray_tracing_reorder_test.cpp:843
↓ 33 callers
Method
GetLoopMergeInst
source/opt/basic_block.cpp:87
↓ 33 callers
Method
GetRegisteredType
source/opt/type_manager.cpp:856
↓ 33 callers
Method
HasAnyOf
Returns true if this set contains at least one value contained in `in_set`. Note: If `in_set` is empty, this function returns true.
source/enum_set.h:325
↓ 33 callers
Function
MakeSynonymFact
test/fuzz/transformation_replace_id_with_synonym_test.cpp:194
↓ 33 callers
Function
e4m3_bits_set
The same as bits_set but for a E4M3 value instead of 32-bit floating point.
test/hex_float_test.cpp:893
↓ 33 callers
Method
get_debug_info_mgr
Returns a pointer to the debug information manager. If no debug information manager has been created yet, it creates one. NOTE: Once created, the deb
source/opt/ir_context.h:371
↓ 33 callers
Function
half_bits_set
The same as bits_set but for a Float16 value instead of 32-bit floating point.
test/hex_float_test.cpp:700
↓ 33 callers
Method
pointee_type
source/opt/types.h:576
↓ 32 callers
Method
ChooseEven
source/fuzz/fuzzer_context.cpp:397
↓ 32 callers
Method
Fuse
source/opt/loop_fusion.cpp:533
↓ 32 callers
Method
IsReachable
source/opt/ir_context.cpp:1189
↓ 32 callers
Method
SetResultId
source/opt/instruction.h:708
↓ 32 callers
Method
WhileEachUser
source/opt/def_use_manager.cpp:114
↓ 32 callers
Function
makeE4M3
Returns a E4M3 constructed from its sign bit, unbiased exponent, and mantissa.
test/hex_float_test.cpp:2340
↓ 32 callers
Function
makeE5M2
Returns a E5M2 constructed from its sign bit, unbiased exponent, and mantissa.
test/hex_float_test.cpp:2429
↓ 32 callers
Function
spvTextDestroy
source/text.cpp:998
↓ 32 callers
Method
unique_id
source/opt/instruction.h:250
↓ 31 callers
Function
Match
test/opt/loop_optimizations/fusion_legal.cpp:42
↓ 31 callers
Function
MaybeFindBlock
source/fuzz/fuzzer_util.cpp:108
↓ 31 callers
Method
id_bound
source/opt/module.h:157
↓ 31 callers
Method
pseudo_exit_block
source/opt/cfg.h:48
↓ 30 callers
Function
AddFactHelper
test/fuzz/transformation_replace_constant_with_uniform_test.cpp:27
↓ 30 callers
Method
ContainsSizedIntOrFloatType
source/val/validation_state.cpp:2094
↓ 30 callers
Function
GenerateShaderCode
test/val/val_group_test.cpp:28
↓ 30 callers
Method
GetDivergenceSource
Returns the divergence source for the given id. The following types of divergence flows from A to B are possible: data -> data: A is used as an opera
source/lint/divergence_analysis.h:92
↓ 30 callers
Method
GetDouble
source/opt/constants.cpp:36
↓ 30 callers
Method
GetOffset
source/opt/scalar_analysis_nodes.h:261
↓ 30 callers
Method
IsLoopHeader
Return true if this block is a loop header block.
source/opt/basic_block.h:185
↓ 30 callers
Function
Make_Ok__Signed
Four nicely named methods for making TextLiteralCase values. Their names have underscores in some places to make it easier to read the table that foll
test/text_literal_test.cpp:217
↓ 30 callers
Method
Set
Sets the |i|th bit to 1. Returns the |i|th bit before it was set.
source/util/bit_vector.h:40
↓ 30 callers
Method
pseudo_entry_block
Return the pseudo entry and exit blocks.
source/opt/cfg.h:45
↓ 29 callers
Function
MakeReturnMergingInfo
test/fuzz/transformation_merge_function_returns_test.cpp:26
↓ 29 callers
Function
e5m2_bits_set
clang-format on The same as bits_set but for a E4M3 value instead of 32-bit floating point.
test/hex_float_test.cpp:975
↓ 29 callers
Function
hash_combine
source/util/hash_combine.h:30
↓ 29 callers
Function
spvDiagnosticPrint
source/diagnostic.cpp:50
↓ 29 callers
Function
spvOpcodeGeneratesType
source/opcode.cpp:235
↓ 28 callers
Function
AddFactHelper
test/fuzz/fact_manager/constant_uniform_facts_test.cpp:38
↓ 28 callers
Function
ElementWidth
Returns the element width of |type|.
source/opt/folding_rules.cpp:80
↓ 28 callers
Method
GetU32
source/opt/constants.cpp:57
↓ 28 callers
Function
MakeIntegerShader
test/val/val_decoration_test.cpp:6018
↓ 28 callers
Method
getWord
source/text_handler.cpp:223
↓ 27 callers
Function
BuiltInCase
Makes a test case for a BuiltIn variable declaration.
test/name_mapper_test.cpp:210
↓ 27 callers
Method
HaveTheSameDecorations
source/opt/decoration_manager.cpp:191
↓ 27 callers
Method
IdBound
source/diff/diff.cpp:123
↓ 27 callers
Method
InvalidateAnalyses
source/opt/ir_context.cpp:107
↓ 27 callers
Function
MakeFirstWord
Returns the packed first word of a SPIR-V instruction.
test/handle_unknown_opcodes_test.cpp:46
↓ 27 callers
Function
ShaderWithNonReadableNonWritableTarget
Returns a SPIR-V shader module with variables in various storage classes, parameterizable by which ID should be decorated as NonReadable or NonWritabl
test/val/val_decoration_test.cpp:6748
↓ 27 callers
Method
advance
source/text_handler.cpp:219
↓ 27 callers
Method
get_value
source/util/hex_float.h:95
↓ 27 callers
Method
instruction
instruction parses the instruction starting at the i'th token.
utils/vscode/src/parser/parser.go:425
↓ 27 callers
Function
spvOpcodeIsSpecConstant
source/opcode.cpp:115
↓ 27 callers
Function
spvTextToBinary
source/text.cpp:967
↓ 27 callers
Function
spvValidatorOptionsSetUniversalLimit
source/spirv_validator_options.cpp:59
↓ 26 callers
Method
AddType
source/opt/module.h:400
↓ 26 callers
Method
AsId
source/opt/instruction.h:95
↓ 26 callers
Function
GenCoopMat2Shader
test/val/val_memory_test.cpp:9069
↓ 26 callers
Function
GenerateShaderCode
test/val/val_ray_query_test.cpp:33
↓ 26 callers
Method
GetExtInstImportId_GLSLstd450
source/opt/feature_manager.h:42
↓ 26 callers
Method
GetOverflowIdSource
source/fuzz/transformation_context.h:49
↓ 26 callers
Function
NonConstInput
source/opt/folding_rules.cpp:124
↓ 26 callers
Function
check_no_dominance
Check that x does not dominates y and vice versa
test/opt/dominator_tree/generated.cpp:60
↓ 26 callers
Method
reset
Flags are supposed to be constant for the whole app execution, hence the static storage. Gtest doesn't fork before running a test, meaning we have to
tools/util/flags.h:224
↓ 26 callers
Function
spvTargetEnvDescription
source/spirv_target_env.cpp:27
↓ 25 callers
Method
AddBasicBlock
source/opt/function.h:245
↓ 25 callers
Method
AddCapability
source/opt/module.h:348
↓ 25 callers
Function
GetBlock
test/opt/dominator_tree/common_dominators.cpp:63
↓ 25 callers
Method
GetConstantFromInst
source/opt/constants.cpp:295
↓ 25 callers
Method
GetPointerTypeInfo
source/val/validation_state.cpp:1429
↓ 25 callers
Method
GetWords
Returns a vector of words suitable for use in an Operand.
source/util/hex_float.h:294
↓ 25 callers
Method
IsZero
Returns true if the constant is a zero or a composite containing 0s.
source/opt/constants.h:128
↓ 25 callers
Function
Make_Ok__Unsigned
test/text_literal_test.cpp:221
↓ 25 callers
Function
UpdateImageOperands
If an image instruction's operand is a constant, updates the image operand flag from Offset to ConstOffset.
source/opt/folding_rules.cpp:4377
↓ 25 callers
Method
rbegin
source/opt/basic_block.h:101
↓ 24 callers
Method
GetChild
Return the child node at |index|.
source/opt/scalar_analysis_nodes.h:99
↓ 24 callers
Method
GetFunction
Returns the function whose id is |id|, if one exists. Returns |nullptr| otherwise.
source/opt/ir_context.h:643
↓ 24 callers
Method
GetLatchBlock
Returns the latch basic block (basic block that holds the back-edge). These functions return nullptr if the loop is not structured (i.e. if it has mor
source/opt/loop_descriptor.h:94
↓ 24 callers
Method
GetLoop
Returns the loop on which the object operates on.
source/opt/loop_utils.h:162
↓ 24 callers
Function
GetTypeId
source/fuzz/fuzzer_util.cpp:765
↓ 24 callers
Method
HasExtension
Returns true if |ext| is an enabled extension in the module.
source/opt/feature_manager.h:29
↓ 24 callers
Method
IsProvablyOutsideOfLoopBounds
source/opt/loop_dependence_helpers.cpp:135
← previous
next →
301–400 of 7,821, ranked by callers