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
SetContinueBlock
source/opt/loop_descriptor.cpp:288
↓ 2 callers
Method
SetDebugInlinedAtChain
Puts the DebugInlinedAt chain that is generated for the callee instruction whose DebugInlinedAt of DebugScope is |callee_instr_inlined_at| into |calle
source/opt/debug_info_manager.h:46
↓ 2 callers
Method
SetGraphEnd
source/opt/graph.h:117
↓ 2 callers
Function
SetInlinedOperand
source/opt/debug_info_manager.cpp:51
↓ 2 callers
Method
SetLatchBlock
source/opt/loop_descriptor.cpp:293
↓ 2 callers
Method
SetLexicalScope
source/opt/instruction.h:155
↓ 2 callers
Method
SetMemoryModel
source/opt/module.h:360
↓ 2 callers
Method
SetMessageConsumer
source/libspirv.cpp:43
↓ 2 callers
Method
SetPointeeType
source/opt/types.cpp:751
↓ 2 callers
Method
SetReturnType
source/opt/types.cpp:789
↓ 2 callers
Function
SetUpIdSynonyms
Equips the fact manager with synonym facts for the above shader.
test/fuzz/transformation_replace_id_with_synonym_test.cpp:204
↓ 2 callers
Function
SetUpIdSynonyms
Adds synonym facts to the fact manager.
test/fuzz/transformation_add_opphi_synonym_test.cpp:35
↓ 2 callers
Function
SetUpIrrelevantIdFacts
test/fuzz/transformation_replace_irrelevant_id_test.cpp:66
↓ 2 callers
Function
ShaderPartsForAMDShaderBallot
Returns a vector of strings for the prefix of a SPIR-V assembly shader that can use the group instructions introduced by SPV_AMD_shader_ballot.
test/val/val_extensions_test.cpp:477
↓ 2 callers
Function
ShaderPreamble
test/opt/graphics_robust_access_test.cpp:108
↓ 2 callers
Method
SimulateFusion
source/opt/register_pressure.cpp:336
↓ 2 callers
Function
TEST_F
test/opt/eliminate_dead_member_test.cpp:25
↓ 2 callers
Function
ToBinaryAndBack
Converts code to binary and then back to text.
test/preserve_numeric_ids_test.cpp:29
↓ 2 callers
Method
ToOffset
ToOffset converts from a line:column pair to an offset.
utils/vscode/src/lsp/span/span.go:60
↓ 2 callers
Function
ToString
source/val/validate_instruction.cpp:38
↓ 2 callers
Function
TypesAndFunctionsAssembly
Returns types
test/opt/flatten_decoration_test.cpp:46
↓ 2 callers
Method
UpdateLexicalScope
source/opt/instruction.cpp:526
↓ 2 callers
Function
ValidateAccessChain
source/val/validate_memory.cpp:1847
↓ 2 callers
Function
ValidateBitcast
source/val/validate_conversion.cpp:643
↓ 2 callers
Function
ValidateBitwise
source/val/validate_bitwise.cpp:105
↓ 2 callers
Function
ValidateCompositeExtract
source/val/validate_composites.cpp:473
↓ 2 callers
Function
ValidateCompositeInsert
source/val/validate_composites.cpp:501
↓ 2 callers
Function
ValidateConstantOperand
source/val/validate_constants.cpp:43
↓ 2 callers
Function
ValidateConvertFToS
source/val/validate_conversion.cpp:85
↓ 2 callers
Function
ValidateConvertFToU
source/val/validate_conversion.cpp:42
↓ 2 callers
Function
ValidateConvertIntToF
source/val/validate_conversion.cpp:127
↓ 2 callers
Function
ValidateConvertPtrToU
source/val/validate_conversion.cpp:330
↓ 2 callers
Function
ValidateConvertUToPtr
source/val/validate_conversion.cpp:437
↓ 2 callers
Function
ValidateFConvert
source/val/validate_conversion.cpp:261
↓ 2 callers
Function
ValidateFloat
source/val/validate_arithmetics.cpp:27
↓ 2 callers
Function
ValidateGenericCastToPtr
source/val/validate_conversion.cpp:560
↓ 2 callers
Function
ValidateImageDref
Validates anything OpImage*Dref* instruction
source/val/validate_image.cpp:1653
↓ 2 callers
Function
ValidateImageProcessing2QCOMWindowDecoration
source/val/validate_image.cpp:2430
↓ 2 callers
Function
ValidateImageProj
Validate OpImage*Proj* instructions
source/val/validate_image.cpp:833
↓ 2 callers
Function
ValidateImageReadWrite
Validate OpImage*Read and OpImage*Write instructions
source/val/validate_image.cpp:855
↓ 2 callers
Function
ValidateIntCompare
source/val/validate_logicals.cpp:223
↓ 2 callers
Function
ValidateLogicalCompare
source/val/validate_logicals.cpp:94
↓ 2 callers
Function
ValidateLogicalNot
source/val/validate_logicals.cpp:113
↓ 2 callers
Function
ValidateOperandBaseType
Check that the operand of a debug info instruction |inst| at |word_index| is a result id of an debug info instruction with DebugTypeBasic.
source/val/validate_extensions.cpp:286
↓ 2 callers
Function
ValidatePtrCastToGeneric
source/val/validate_conversion.cpp:521
↓ 2 callers
Function
ValidateQuantizeToF16
source/val/validate_conversion.cpp:310
↓ 2 callers
Function
ValidateSConvert
source/val/validate_conversion.cpp:216
↓ 2 callers
Function
ValidateSelect
source/val/validate_logicals.cpp:129
↓ 2 callers
Function
ValidateShift
source/val/validate_bitwise.cpp:60
↓ 2 callers
Function
ValidateSignedInt
source/val/validate_arithmetics.cpp:123
↓ 2 callers
Function
ValidateTensorDim
source/val/validate_type.cpp:875
↓ 2 callers
Function
ValidateTensorLayoutResultTypeNV
source/val/validate_tensor_layout.cpp:27
↓ 2 callers
Function
ValidateTensorViewResultTypeNV
source/val/validate_tensor_layout.cpp:41
↓ 2 callers
Function
ValidateUConvert
source/val/validate_conversion.cpp:170
↓ 2 callers
Function
ValidateUnsignedInt
source/val/validate_arithmetics.cpp:77
↓ 2 callers
Function
ValidateVectorShuffle
source/val/validate_composites.cpp:596
↓ 2 callers
Function
VerifyMatch
test/diff/lcs_test.cpp:28
↓ 2 callers
Function
WasFileCorrectlyRead
Returns true if |file| has encountered an error opening the file or reading from it. If there was an error, writes an error message to standard error.
tools/io.cpp:54
↓ 2 callers
Method
WhileEachBlockLabel
Runs the function |f| on each block label in the CDG. If any iteration returns false, immediately stops iteration and returns false. Otherwise returns
source/opt/control_dependence.h:138
↓ 2 callers
Function
WithClient
(ctx context.Context, client Client)
utils/vscode/src/lsp/protocol/context.go:27
↓ 2 callers
Function
ZeroExtendValue
source/util/bitutils.h:203
↓ 2 callers
Function
allOperandTypes
Returns a vector of all operand types that can be used in a pattern.
test/operand_pattern_test.cpp:121
↓ 2 callers
Method
begin
source/enum_set.h:182
↓ 2 callers
Method
binaryEncodeString
source/text_handler.cpp:328
↓ 2 callers
Function
c_bool
(b: bool)
utils/ggt.py:110
↓ 2 callers
Method
capabilities
source/table2.cpp:135
↓ 2 callers
Method
cend
source/enum_set.h:184
↓ 2 callers
Method
cend
source/opt/basic_block.h:99
↓ 2 callers
Method
clamp_mode_id
source/opt/types.h:745
↓ 2 callers
Function
comment
Returns commented-out text. Each line of text will be prefixed by prefix and a space character. Any trailing whitespace will be trimmed.
utils/check_copyright.py:124
↓ 2 callers
Method
components
source/opt/types.h:794
↓ 2 callers
Method
const_definition
(self, prefix, var, value)
utils/generate_language_headers.py:135
↓ 2 callers
Function
convert_max_required_version
Converts the maximum required SPIR-V version encoded in the grammar to the symbol in SPIRV-Tools.
utils/ggt.py:102
↓ 2 callers
Function
convert_min_required_version
Converts the minimal required SPIR-V version encoded in the grammar to the symbol in SPIRV-Tools.
utils/ggt.py:92
↓ 2 callers
Method
crbegin
source/opt/basic_block.h:109
↓ 2 callers
Method
crend
source/opt/basic_block.h:112
↓ 2 callers
Method
debug2_begin
source/opt/module.h:465
↓ 2 callers
Method
depth
source/opt/types.h:372
↓ 2 callers
Method
df_begin
Depth first preorder iterator using this node as root.
source/opt/dominator_tree.h:58
↓ 2 callers
Method
dim
source/opt/types.h:371
↓ 2 callers
Method
dis
(input: Uint8Array, env: number, options: number)
source/wasm/spirv-tools.d.ts:17
↓ 2 callers
Method
disassembler
source/disassemble.cpp:561
↓ 2 callers
Method
dom_end
source/val/basic_block.cpp:124
↓ 2 callers
Method
dominates
source/val/basic_block.cpp:80
↓ 2 callers
Function
encodeImmediate
Parses an immediate integer from text, guarding against overflow. If successful, adds the parsed value to pInst, advances the context past it, and re
source/text.cpp:163
↓ 2 callers
Method
end
source/util/small_vector.h:244
↓ 2 callers
Method
enum_end
(self, prefix, enum)
utils/generate_language_headers.py:144
↓ 2 callers
Method
enum_prefix
(self, prefix, name)
utils/generate_language_headers.py:141
↓ 2 callers
Method
enum_value
(self, prefix, name, value)
utils/generate_language_headers.py:73
↓ 2 callers
Function
filtered_descendants
Returns glob-matching filenames under the current directory, but skips some irrelevant paths.
utils/check_copyright.py:111
↓ 2 callers
Function
float_binop_evaluates_to
source/fuzz/transformation_replace_boolean_constant_with_constant_binary.cpp:31
↓ 2 callers
Function
gatherResultIds
Returns all the result IDs of the instructions in |range|.
source/opt/opextinst_forward_ref_fixup_pass.cpp:63
↓ 2 callers
Function
getBaseAlignment
Returns base alignment of struct member. If |roundUp| is true, also ensure that structs, arrays, and matrices are aligned at least to a multiple of 16
source/val/validate_decorations.cpp:160
↓ 2 callers
Function
getPadAlignment
source/opt/struct_packing_pass.cpp:226
↓ 2 callers
Function
getScalarElementCount
source/opt/struct_packing_pass.cpp:141
↓ 2 callers
Function
get_all_methods
Returns the names of all methods in instance.
test/tools/spirv_test_framework.py:67
↓ 2 callers
Function
get_nibble_from_character
Returns 4 bits represented by the hex character.
source/util/hex_float.h:924
↓ 2 callers
Method
hasText
source/text_handler.cpp:256
↓ 2 callers
Method
has_dimensions_id
source/opt/types.h:768
↓ 2 callers
Method
has_memory_model_specified
Returns true if the OpMemoryModel was found.
source/val/validation_state.h:426
← previous
next →
1,901–2,000 of 7,821, ranked by callers