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
↓ 11 callers
Method
GetExecutionModes
Returns Execution Modes for the given Entry Point. Returns nullptr if none found.
source/val/validation_state.h:330
↓ 11 callers
Function
GetOperand
Helper to get the operand of an instruction as an id.
source/disassemble.cpp:230
↓ 11 callers
Method
GetS64
source/opt/constants.cpp:93
↓ 11 callers
Function
GoodFloatParseCase
test/hex_float_test.cpp:1617
↓ 11 callers
Method
HasExtension
Returns true if the extension is enabled in the module.
source/val/validation_state.h:410
↓ 11 callers
Method
HasOverflowIds
source/fuzz/counter_overflow_id_source.cpp:23
↓ 11 callers
Method
InsertBasicBlockBefore
source/opt/function.cpp:218
↓ 11 callers
Method
IsCommonDebugInstr
source/opt/instruction.h:603
↓ 11 callers
Function
Link
source/link/linker.cpp:806
↓ 11 callers
Function
LookupExtInst
source/table2.cpp:297
↓ 11 callers
Function
Match
test/opt/fold_test.cpp:50
↓ 11 callers
Function
MaybeGetIntegerType
source/fuzz/fuzzer_util.cpp:1161
↓ 11 callers
Function
MaybeGetVectorType
source/fuzz/fuzzer_util.cpp:1177
↓ 11 callers
Method
NumImmediateChildren
source/opt/loop_descriptor.h:165
↓ 11 callers
Function
Preamble
test/lint/divergence_analysis_test.cpp:75
↓ 11 callers
Function
ReadBinaryFile
tools/io.cpp:352
↓ 11 callers
Method
RemoveId
source/opt/type_manager.cpp:178
↓ 11 callers
Method
ReplaceOperands
source/opt/instruction.cpp:214
↓ 11 callers
Method
Validate
source/libspirv.cpp:145
↓ 11 callers
Method
err
err appends an fmt.Printf style error into l.diags for the given token.
utils/vscode/src/parser/parser.go:720
↓ 11 callers
Method
extension_end
source/opt/module.h:554
↓ 11 callers
Function
normalized_significand
Returns the normalized significand of a HexFloat<FloatProxy<float>> that was created by calling float_fractions with the input fractions, raised to th
test/hex_float_test.cpp:679
↓ 11 callers
Method
source_bb_id
The label of the source of this dependence, i.e. the block on which the target is dependent on. A |source_bb_id| of 0 represents an "entry" dependence
source/opt/control_dependence.h:37
↓ 11 callers
Function
spvOpcodeIsDecoration
source/opcode.cpp:286
↓ 11 callers
Function
spvOperandIsOptional
source/operand.cpp:381
↓ 11 callers
Function
spvOptimizerDestroy
source/opt/optimizer.cpp:1229
↓ 11 callers
Function
spvPushOperandTypes
source/operand.cpp:237
↓ 11 callers
Function
spvValidate
source/val/validate.cpp:462
↓ 11 callers
Method
structurally_reachable
Returns true if the block is structurally reachable in the CFG.
source/val/basic_block.h:91
↓ 11 callers
Method
target_env
Returns the SPIR-V target environment.
source/assembly_grammar.h:35
↓ 11 callers
Function
unbiased_exponent
double is used so that unbiased_exponent can be used with the output of ldexp directly.
test/hex_float_test.cpp:578
↓ 10 callers
Method
AddBranch
source/opt/inline_pass.cpp:59
↓ 10 callers
Method
AddExtension
source/opt/module.h:352
↓ 10 callers
Method
AddLoad
source/opt/inline_pass.cpp:103
↓ 10 callers
Method
AsDependenceNone
source/opt/loop_dependence.h:259
↓ 10 callers
Method
AsImage
source/opt/types.h:367
↓ 10 callers
Function
CheckMemoryAccess
source/val/validate_memory.cpp:288
↓ 10 callers
Method
CommonDominator
source/opt/dominator_analysis.cpp:24
↓ 10 callers
Method
CooperativeVectorDimensionsMatch
source/val/validation_state.cpp:1742
↓ 10 callers
Method
CreateAddNode
source/opt/scalar_analysis.cpp:143
↓ 10 callers
Function
CreateDeadBranchElimPass
source/opt/optimizer.cpp:877
↓ 10 callers
Function
CreatesRegisterUsage
Returns true if |insn| generates a SSA register that is likely to require a physical register.
source/opt/register_pressure.cpp:49
↓ 10 callers
Function
FindFunctionType
source/fuzz/fuzzer_util.cpp:600
↓ 10 callers
Method
ForEachBlockInPostOrder
source/opt/cfg.cpp:105
↓ 10 callers
Method
ForEachBlockInReversePostOrder
source/opt/cfg.cpp:118
↓ 10 callers
Method
GetInlinedAt
Accessor functions for |inlined_at_|.
source/opt/instruction.h:158
↓ 10 callers
Method
GetName
source/link/fnvar.h:126
↓ 10 callers
Method
GetOrCreatePreHeaderBlock
source/opt/loop_descriptor.cpp:277
↓ 10 callers
Method
GetParentAnalysis
Get the analysis which has this node in its cache.
source/opt/scalar_analysis_nodes.h:188
↓ 10 callers
Method
GetS32
source/opt/constants.cpp:81
↓ 10 callers
Function
HasBlockOrBufferBlockDecoration
source/fuzz/fuzzer_util.cpp:1747
↓ 10 callers
Method
IsBlockTerminator
Returns true if this instruction is a basic block terminator.
source/opt/instruction.h:511
↓ 10 callers
Method
IsIntCooperativeMatrixType
source/val/validation_state.cpp:1531
↓ 10 callers
Method
IsUnsignedIntVectorType
source/val/validation_state.cpp:1281
↓ 10 callers
Function
JoinNonDebugInsts
test/opt/pass_utils.cpp:96
↓ 10 callers
Function
MakeString
source/util/string_utils.h:85
↓ 10 callers
Function
Match
test/opt/loop_optimizations/peeling.cpp:43
↓ 10 callers
Function
MaybeGetZeroConstant
source/fuzz/fuzzer_util.cpp:1219
↓ 10 callers
Method
RegisterBlock
Registers |blk| as a basic block in the cfg, this also updates the predecessor lists of each successor of |blk|. |blk| must have a terminator instruct
source/opt/cfg.h:95
↓ 10 callers
Method
RemoveInOperand
source/opt/instruction.h:366
↓ 10 callers
Method
SetDebugScope
source/opt/instruction.h:723
↓ 10 callers
Method
SetInsertPoint
Change the insertion point to insert before the instruction |insert_before|.
source/opt/ir_builder.h:700
↓ 10 callers
Method
String
()
utils/vscode/src/parser/parser.go:44
↓ 10 callers
Function
ValidateOperandDebugSource
source/val/validate_extensions.cpp:364
↓ 10 callers
Function
ValidateOperandDebugType
Check that the operand of a debug info instruction |inst| at |word_index| is a result id of a debug type instruction (See DebugTypeXXX in "4.3. Type i
source/val/validate_extensions.cpp:319
↓ 10 callers
Function
ValidateOperandLexicalScope
Check that the operand of a debug info instruction |inst| at |word_index| is a result id of a debug lexical scope instruction which is one of DebugCom
source/val/validate_extensions.cpp:297
↓ 10 callers
Function
ValuesInExcept
test/val/val_memory_semantics_test.cpp:84
↓ 10 callers
Method
annotation_end
source/opt/module.h:539
↓ 10 callers
Method
binding
Returns the binding number.
source/opt/resolve_binding_conflicts_pass.cpp:45
↓ 10 callers
Method
exit_block
source/val/construct.cpp:67
↓ 10 callers
Function
getFloatConstantKind
source/opt/folding_rules.cpp:3452
↓ 10 callers
Function
hasDecoration
Returns true if variable or structure id has given decoration. Handles also nested structures.
source/val/validate_decorations.cpp:721
↓ 10 callers
Method
next
next returns the next rune, or io.EOF if the last rune has already been consumed.
utils/vscode/src/parser/parser.go:192
↓ 10 callers
Method
restore
restore restores the current lexer state with s.
utils/vscode/src/parser/parser.go:218
↓ 10 callers
Function
spvBinaryHeaderGet
source/binary.cpp:39
↓ 10 callers
Function
spvExtInstIsNonSemantic
source/ext_inst.cpp:74
↓ 10 callers
Function
spvOptimizerOptionsDestroy
source/spirv_optimizer_options.cpp:24
↓ 10 callers
Function
spvOptimizerOptionsSetRunValidator
source/spirv_optimizer_options.cpp:29
↓ 10 callers
Function
starts_with
Check if str starts with prefix (only included since C++20)
source/util/string_utils.h:126
↓ 10 callers
Method
subspan
source/util/span.h:57
↓ 9 callers
Method
AddEdge
Registers the basic block id |pred_blk_id| as being a predecessor of the basic block id |succ_blk_id|.
source/opt/cfg.h:125
↓ 9 callers
Method
AddMemberDecoration
source/opt/types.cpp:637
↓ 9 callers
Method
AddUnaryOp
source/opt/ir_builder.h:75
↓ 9 callers
Function
CheckUse
Constants don't disassemble properly without a full context, so skip them as checks.
test/opt/def_use_test.cpp:129
↓ 9 callers
Method
ComputeStructuredOrder
source/opt/cfg.cpp:75
↓ 9 callers
Function
ElementsIn
Returns the capabilities in a CapabilitySet as an ordered vector.
test/unit_spirv.h:203
↓ 9 callers
Method
Exists
Returns true if and only if |value| is known to be part of the equivalence relation.
source/fuzz/equivalence_relation.h:177
↓ 9 callers
Function
ExtractSource
test/tools/objdump/extract_source_test.cpp:30
↓ 9 callers
Method
FindConditionVariable
source/opt/loop_descriptor.cpp:860
↓ 9 callers
Method
FindConstant
Returns the canonical constant that has the same structure and value as the given Constant |cst|. If none is found, it returns nullptr. TODO: Should
source/opt/constants.h:593
↓ 9 callers
Function
FindInstructionContainingUse
source/fuzz/id_use_descriptor.cpp:22
↓ 9 callers
Method
FindNumberOfIterations
source/opt/loop_descriptor.cpp:658
↓ 9 callers
Function
FindOrCreateGlobalUndef
source/reduce/reduction_util.cpp:85
↓ 9 callers
Method
FoldInstruction
source/opt/fold.cpp:693
↓ 9 callers
Method
ForEachDecoration
source/opt/decoration_manager.cpp:486
↓ 9 callers
Function
GenCoopMatLoadStoreShaderKHR
test/val/val_memory_test.cpp:3001
↓ 9 callers
Function
GenerateCoopMatCode
test/val/val_arithmetics_test.cpp:1406
↓ 9 callers
Function
GenerateFmaCode
test/val/val_arithmetics_test.cpp:1213
↓ 9 callers
Function
GenerateReorderThreadCode
test/val/val_ray_tracing_reorder_test.cpp:33
↓ 9 callers
Function
GetArraySize
source/fuzz/fuzzer_util.cpp:425
← previous
next →
701–800 of 7,821, ranked by callers