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
↓ 4 callers
Method
RemoveBasicBlock
Removes the Basic Block id |bb_id| from this loop and its parents. It the user responsibility to make sure the removed block is not a merge, header or
source/opt/loop_descriptor.h:217
↓ 4 callers
Method
RemoveDecoration
source/opt/decoration_manager.cpp:604
↓ 4 callers
Method
RemoveNonExistingEdges
source/opt/cfg.cpp:59
↓ 4 callers
Method
ReplaceElementType
source/opt/types.cpp:567
↓ 4 callers
Method
ReplaceWith
source/util/ilist_node.h:213
↓ 4 callers
Method
Run
source/lint/linter.cpp:48
↓ 4 callers
Function
RunAndCheckShrinker
|binary_in| and |initial_facts| are a SPIR-V binary and sequence of facts to which |transformation_sequence_in| can be applied. Shrinking of |transfo
test/fuzz/fuzzer_shrinker_test.cpp:986
↓ 4 callers
Method
SetHeader
Sets the header to the given |header|.
source/opt/module.h:59
↓ 4 callers
Function
ShaderAssembly
Generate a shader for use with validation tests for sparse sampling instructions.
test/val/val_explicit_reserved_test.cpp:34
↓ 4 callers
Method
Start
()
utils/vscode/src/lsp/span/span.go:119
↓ 4 callers
Method
Start
Do not change the order of invoking system calls. We want to make CPU/Wall time correct as much as possible. Calling functions to get CPU/Wall time mu
source/util/timer.cpp:43
↓ 4 callers
Function
StripOpNameInstructions
A helper function to strip OpName instructions from the given string of disassembly code. Returns the string with all OpName instruction stripped.
test/opt/fold_spec_const_op_composite_test.cpp:785
↓ 4 callers
Function
TypesAreEqualUpToSign
source/fuzz/fuzzer_util.cpp:1503
↓ 4 callers
Method
UpdateDebugInlinedAt
source/opt/instruction.cpp:537
↓ 4 callers
Function
UpdateFunctionType
source/fuzz/fuzzer_util.cpp:1054
↓ 4 callers
Function
ValidateArgInfo
source/val/validate_extensions.cpp:556
↓ 4 callers
Function
ValidateBaseType
Validates when base and result need to be the same type
source/val/validate_bitwise.cpp:27
↓ 4 callers
Function
ValidateCooperativeMatrixLength
source/val/validate_memory.cpp:2401
↓ 4 callers
Function
ValidateShaderBitWidth
source/val/validate_conversion.cpp:29
↓ 4 callers
Method
WhileEachSuccessorLabel
source/opt/basic_block.cpp:121
↓ 4 callers
Function
advance
Advances |text| to first non white space character and writes the new position to |position|. If a null terminator is found during the text advance, S
source/text_handler.cpp:64
↓ 4 callers
Function
align
Rounds x up to the next alignment. Assumes alignment is a power of two.
source/val/validate_decorations.cpp:152
↓ 4 callers
Method
branch_target_bb_id
The label of the target of the *branch* for this dependence. Equal to the ID of the entry block for entry dependences. For example, for the partial C
source/opt/control_dependence.h:50
↓ 4 callers
Function
checkLayout
Returns SPV_SUCCESS if the given struct satisfies standard layout rules for Block or BufferBlocks in Vulkan. Otherwise emits a diagnostic and returns
source/val/validate_decorations.cpp:440
↓ 4 callers
Method
columns_id
source/opt/types.h:689
↓ 4 callers
Method
dim_id
source/opt/types.h:767
↓ 4 callers
Function
generate_extra_test
(diff_tool, src_file, dst_file, variant, test_name_camel_case, test_tag, test_options)
test/diff/diff_files/generate_tests.py:204
↓ 4 callers
Method
generator
source/opt/module.h:160
↓ 4 callers
Function
getPackedBaseSize
source/opt/struct_packing_pass.cpp:122
↓ 4 callers
Function
get_all_variables
Returns the names of all the variables in instance.
test/tools/spirv_test_framework.py:62
↓ 4 callers
Function
get_assembly_filename
Gets the assembly filename for the given source file.
test/tools/expect.py:58
↓ 4 callers
Function
get_round_text
test/hex_float_test.cpp:1098
↓ 4 callers
Method
isNegative
Returns true if this number represents a negative value.
source/util/hex_float.h:608
↓ 4 callers
Function
isPackingVec4Padded
source/opt/struct_packing_pass.cpp:90
↓ 4 callers
Method
opcode
opcode returns the schema.Opcode for the i'th token, or nil if the i'th token does not represent an opcode.
utils/vscode/src/parser/parser.go:637
↓ 4 callers
Method
pre_begin
Iterators for pre-order depth first traversal of the loops. Inner most loops will be visited first.
source/opt/loop_descriptor.h:491
↓ 4 callers
Function
print_usage
()
test/scripts/test_compact_ids.py:46
↓ 4 callers
Method
rank_id
source/opt/types.h:817
↓ 4 callers
Function
read_file
(file_name)
test/diff/diff_files/generate_tests.py:144
↓ 4 callers
Method
rows_id
source/opt/types.h:688
↓ 4 callers
Method
sampled
source/opt/types.h:375
↓ 4 callers
Method
samplerimage_variable_address_mode
source/val/validation_state.cpp:532
↓ 4 callers
Method
save
save returns the current lexerState.
utils/vscode/src/parser/parser.go:213
↓ 4 callers
Method
scope_id
source/opt/types.h:687
↓ 4 callers
Method
set_preserve_bindings
source/opt/ir_context.h:627
↓ 4 callers
Method
set_preserve_spec_constants
source/opt/ir_context.h:632
↓ 4 callers
Function
spvDecodeLiteralStringOperand
source/binary.cpp:67
↓ 4 callers
Function
spvExpandOperandSequenceOnce
source/operand.cpp:421
↓ 4 callers
Function
spvExtInstImportTypeGet
source/ext_inst.cpp:22
↓ 4 callers
Function
spvOpcodeIsConstantOrUndef
source/opcode.cpp:166
↓ 4 callers
Function
spvOpcodeIsScalarType
source/opcode.cpp:104
↓ 4 callers
Function
spvOpcodeSplit
source/opcode.cpp:63
↓ 4 callers
Function
spvTargetEnvList
source/spirv_target_env.cpp:486
↓ 4 callers
Function
spvTextEncodeOperand
@brief Translate an Opcode operand to binary form @param[in] grammar the grammar to use for compilation @param[in, out] context the dynamic compilati
source/text.cpp:188
↓ 4 callers
Function
spvValidateWithOptions
source/val/validate.cpp:494
↓ 4 callers
Function
spvValidatorOptionsDestroy
source/spirv_validator_options.cpp:55
↓ 4 callers
Function
strID
(x *jsonrpc2.ID)
utils/vscode/src/lsp/protocol/log.go:118
↓ 4 callers
Method
structural_successors
Returns the structural successors of the BasicBlock
source/val/basic_block.h:78
↓ 4 callers
Method
target_bb_id
The label of the target of this dependence, i.e. the block which is dependent on the source.
source/opt/control_dependence.h:40
↓ 4 callers
Function
to_safe_identifier
Returns a new string with all non-letters converted to underscores, and prepending 'k'. The result should be safe to use as a C identifie
utils/ggt.py:194
↓ 4 callers
Method
tokAt
tokAt returns the parser token at the given position lp
utils/vscode/src/langsvr.go:109
↓ 3 callers
Method
AddAccessChain
source/opt/ir_builder.h:525
↓ 3 callers
Method
AddBasicBlocks
source/opt/function.h:256
↓ 3 callers
Method
AddCalls
source/opt/ir_context.cpp:971
↓ 3 callers
Method
AddDebugLine
source/opt/instruction.cpp:574
↓ 3 callers
Method
AddExecutionMode
source/opt/module.h:376
↓ 3 callers
Method
AddExtInstDebugInfo
source/opt/module.h:392
↓ 3 callers
Method
AddIAdd
Creates an addition instruction. The id |type| must be the id of the instruction's type, must be the same as |op1| and |op2| types. The id |op1| is th
source/opt/ir_builder.h:303
↓ 3 callers
Method
AddNonSemanticInstruction
source/opt/function.h:292
↓ 3 callers
Method
AddNullaryOp
source/opt/ir_builder.h:62
↓ 3 callers
Method
AddStore
source/opt/inline_pass.cpp:88
↓ 3 callers
Method
AddSwitch
Creates a new switch instruction and the associated selection merge instruction if requested. The id |selector_id| is the id of the selector instructi
source/opt/ir_builder.h:262
↓ 3 callers
Method
AddUser
Registers |operand_id| as a user of this Phi candidate.
source/opt/ssa_rewrite_pass.h:91
↓ 3 callers
Function
AppendToVector
source/util/string_utils.h:51
↓ 3 callers
Method
AsBufferEXT
source/opt/types.h:860
↓ 3 callers
Method
AsCooperativeMatrixKHR
source/opt/types.h:709
↓ 3 callers
Method
AsCooperativeMatrixNV
source/opt/types.h:679
↓ 3 callers
Method
AsGraphARM
source/opt/types.h:837
↓ 3 callers
Method
AsNodePayloadArrayAMDX
source/opt/types.h:490
↓ 3 callers
Method
AsTensorLayoutNV
source/opt/types.h:739
↓ 3 callers
Method
AsTensorViewNV
source/opt/types.h:762
↓ 3 callers
Method
Assemble
source/libspirv.cpp:73
↓ 3 callers
Function
AssembleAndDisassemble
Tests that "text" does not change when it is assembled, converted into a module, converted back to a binary, and then disassembled.
test/opt/module_test.cpp:233
↓ 3 callers
Function
AssumedBitWidth
Returns the number of bits in the type. This is only valid for integer and floating types.
source/util/parse_number.h:61
↓ 3 callers
Method
AugmentedStructuralCFGSuccessorsFunction
source/val/function.cpp:264
↓ 3 callers
Function
BlockIsInLoopContinueConstruct
source/fuzz/fuzzer_util.cpp:262
↓ 3 callers
Method
BreakMergeInst
source/opt/merge_return_pass.h:139
↓ 3 callers
Method
Clear
Sets the |i|th bit to 0. Return the |i|th bit before it was cleared.
source/util/bit_vector.h:60
↓ 3 callers
Method
ComputeControlDependenceGraph
source/opt/control_dependence.cpp:136
↓ 3 callers
Function
ConstructErrorString
Constructs an error message for construct validation errors
source/val/validate_cfg.cpp:480
↓ 3 callers
Function
ConstructNames
source/val/validate_cfg.cpp:447
↓ 3 callers
Function
CountSetBits
source/util/bitutils.h:97
↓ 3 callers
Function
CreateCombineAccessChainsPass
source/opt/optimizer.cpp:1042
↓ 3 callers
Function
CreateCompactIdsPass
source/opt/optimizer.cpp:916
↓ 3 callers
Function
CreateIfConversionPass
source/opt/optimizer.cpp:1002
↓ 3 callers
Method
CreatePreHeaderBlocksIfMissing
source/opt/loop_descriptor.cpp:927
↓ 3 callers
Function
CreateStripNonSemanticInfoPass
source/opt/optimizer.cpp:775
↓ 3 callers
Function
CreateUnifyConstantPass
source/opt/optimizer.cpp:817
↓ 3 callers
Function
CreateUnreachableEdgeInstruction
source/fuzz/fuzzer_util.cpp:185
↓ 3 callers
Method
CurrentMergeId
source/opt/merge_return_pass.h:124
← previous
next →
1,301–1,400 of 7,821, ranked by callers