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
↓ 6 callers
Method
GetMaxCallNestingDepth
Returns the maximum loop nesting depth from which |function_id| can be called. This is computed inter-procedurally (i.e. if main calls A from depth 2
source/fuzz/call_graph.h:60
↓ 6 callers
Method
GetMemberType
source/opt/type_manager.cpp:1203
↓ 6 callers
Function
GetParameters
source/fuzz/fuzzer_util.cpp:997
↓ 6 callers
Function
GetPlaneCoordSize
Returns the number of components in a coordinate used to access a texel in a single plane of an image with the given parameters.
source/val/validate_image.cpp:314
↓ 6 callers
Function
GetSizeTBitWidth
source/val/validate_extensions.cpp:55
↓ 6 callers
Method
GetStage
source/opt/ir_context.cpp:1195
↓ 6 callers
Function
GetStorageClass
Returns the storage class of the instruction |var|.
source/opt/interface_var_sroa.cpp:130
↓ 6 callers
Function
GetStorageClassFromPointerType
source/fuzz/fuzzer_util.cpp:784
↓ 6 callers
Method
GetTargetEnv
test/fuzzers/random_generator.cpp:90
↓ 6 callers
Method
GetUIntConstId
source/opt/constants.cpp:532
↓ 6 callers
Function
IntToWords
source/fuzz/fuzzer_util.cpp:1479
↓ 6 callers
Method
IsBuiltin
Returns true if the given id <id> has the given built-in decoration <bt>, otherwise returns false.
source/val/validation_state.h:544
↓ 6 callers
Method
IsDebugLineInst
source/opt/instruction.cpp:589
↓ 6 callers
Method
IsFloat16Vector2Or4Type
source/val/validation_state.cpp:1196
↓ 6 callers
Method
IsIntScalarTypeWithSignedness
source/val/validation_state.cpp:1236
↓ 6 callers
Method
IsLoad
source/opt/instruction.h:910
↓ 6 callers
Function
IsLogicalPointer
Returns true if inst is a logical pointer.
source/val/validate_logical_pointers.cpp:28
↓ 6 callers
Method
IsMapped
source/diff/diff.cpp:101
↓ 6 callers
Function
IsSpecConstantInst
source/opt/reflect.h:57
↓ 6 callers
Method
IsValid
IsValid returns true if the position has a line and column greater than 1.
utils/vscode/src/parser/parser.go:130
↓ 6 callers
Method
LineNum
source/val/instruction.h:109
↓ 6 callers
Function
LookupOpcodeForEnv
source/table2.cpp:225
↓ 6 callers
Function
Match
test/opt/type_manager_test.cpp:47
↓ 6 callers
Function
Match
test/opt/loop_optimizations/lcssa.cpp:42
↓ 6 callers
Function
NewPoint
(line, col, offset int)
utils/vscode/src/lsp/span/span.go:69
↓ 6 callers
Method
NumTypes
Returns the number of types hold in this manager.
source/opt/type_manager.h:93
↓ 6 callers
Method
PeelAfter
source/opt/loop_peeling.cpp:518
↓ 6 callers
Method
PeelBefore
source/opt/loop_peeling.cpp:440
↓ 6 callers
Function
PushToString
source/opt/scalar_analysis.cpp:575
↓ 6 callers
Method
RegisterLimitation
Registers limitation with an |is_compatible| functor.
source/val/function.h:221
↓ 6 callers
Function
SelectiveJoin
test/opt/pass_utils.cpp:82
↓ 6 callers
Function
SetConsoleForegroundColor
source/print.cpp:34
↓ 6 callers
Method
SetFunctionEnd
source/opt/function.h:288
↓ 6 callers
Method
SetMessageConsumer
source/lint/linter.cpp:40
↓ 6 callers
Function
UseDiagnosticAsMessageConsumer
source/diagnostic.cpp:116
↓ 6 callers
Function
ValidateImageOperands
Checks ImageOperand bitfield and respective operands. word_index is the index of the first word after the image-operand mask word.
source/val/validate_image.cpp:374
↓ 6 callers
Method
annotation_begin
source/opt/module.h:536
↓ 6 callers
Method
bb
source/opt/ssa_rewrite_pass.h:66
↓ 6 callers
Method
begin
Depth first iterators. Traverse the dominator tree in a depth first pre-order. The pseudo-block is ignored.
source/opt/dominator_tree.h:113
↓ 6 callers
Method
binaryEncodeNumericLiteral
source/text_handler.cpp:271
↓ 6 callers
Function
convert_operand_kind
Returns the corresponding operand type used in spirv-tools for the given operand kind and quantifier used in the JSON grammar. Arguments:
utils/ggt.py:177
↓ 6 callers
Function
count_functions
Helper to count the number of functions in the module. Remove if there turns out to be a more direct way to do this.
test/reduce/remove_function_test.cpp:27
↓ 6 callers
Function
ctype
Returns the corresponding operand type used in spirv-tools for the given operand kind and quantifier used in the JSON grammar. Arguments:
utils/ggt.py:114
↓ 6 callers
Method
end
source/opt/dominator_tree.h:114
↓ 6 callers
Method
getFile
(uri string)
utils/vscode/src/langsvr.go:542
↓ 6 callers
Method
getUnbiasedNormalizedExponent
If the number was normalized, returns the unbiased exponent. If the number was denormal, normalize the exponent first.
source/util/hex_float.h:580
↓ 6 callers
Method
id_overflow
Returns true if an ID overflow has occurred since the last time the flag was cleared.
source/opt/ir_context.h:595
↓ 6 callers
Method
immediate_dominator
source/val/basic_block.cpp:48
↓ 6 callers
Method
in_block
source/val/validation_state.cpp:385
↓ 6 callers
Method
result_id
source/opt/unify_const_pass.cpp:61
↓ 6 callers
Function
rstripSuffix
(input string)
utils/vscode/src/lsp/span/parse.go:88
↓ 6 callers
Method
schema
source/opt/module.h:161
↓ 6 callers
Function
spvBinaryEndianness
source/spirv_endian.cpp:49
↓ 6 callers
Function
spvOpcodeIsAtomicOp
source/opcode.cpp:371
↓ 6 callers
Function
spvOpcodeIsBlockTerminator
source/opcode.cpp:406
↓ 6 callers
Function
spvOpcodeIsComposite
source/opcode.cpp:170
↓ 6 callers
Function
spvOpcodeIsReturn
source/opcode.cpp:377
↓ 6 callers
Function
spvOpcodeReturnsLogicalPointer
source/opcode.cpp:214
↓ 6 callers
Function
spvOpcodeReturnsLogicalVariablePointer
source/opcode.cpp:186
↓ 6 callers
Function
spvParseTargetEnv
source/spirv_target_env.cpp:185
↓ 6 callers
Function
spvValidatorOptionsSetRelaxBlockLayout
source/spirv_validator_options.cpp:99
↓ 6 callers
Function
spvValidatorOptionsSetRelaxStoreStruct
source/spirv_validator_options.cpp:83
↓ 6 callers
Function
strToInt
source/link/fnvar.cpp:331
↓ 6 callers
Function
unbiased_E4M3_exponent
test/hex_float_test.cpp:589
↓ 5 callers
Function
ACCheckFail
test/opt/graphics_robust_access_test.cpp:209
↓ 5 callers
Method
AddCoefficient
source/opt/scalar_analysis_nodes.h:248
↓ 5 callers
Function
AddConstantUniformFact
test/fuzz/fuzzer_replayer_test.cpp:1616
↓ 5 callers
Method
AddDebug1Inst
source/opt/module.h:380
↓ 5 callers
Method
AddDebugInstructionInHeader
source/opt/function.h:240
↓ 5 callers
Method
AddDefaultReductionPasses
source/reduce/reducer.cpp:106
↓ 5 callers
Function
AddGlobalVariable
source/fuzz/fuzzer_util.cpp:891
↓ 5 callers
Function
AddInstructionsInBlock
Apped all instructions in |block| to |instructions|.
source/opt/loop_fusion.cpp:72
↓ 5 callers
Method
AddNestedLoop
Adds |nested| as a nested loop of this loop. Automatically register |this| as the parent of |nested|.
source/opt/loop_descriptor.h:170
↓ 5 callers
Method
AddReductionPass
source/reduce/reducer.cpp:143
↓ 5 callers
Method
Apply
source/fuzz/transformation_load.cpp:173
↓ 5 callers
Function
Assemble
test/diff/diff_test.cpp:36
↓ 5 callers
Method
BuildDebugInlinedAtChain
source/opt/debug_info_manager.cpp:274
↓ 5 callers
Function
BuildIRContext
source/fuzz/fuzzer_util.cpp:69
↓ 5 callers
Function
BuildShader
test/opt/convert_to_sampled_image_test.cpp:137
↓ 5 callers
Method
CanPerformUnroll
source/opt/loop_unroller.cpp:1037
↓ 5 callers
Function
CheckForExpectedVectorConstant
test/opt/fold_test.cpp:161
↓ 5 callers
Function
CheckOptimization
Checks that after running the given optimizer |opt| on the given |original| source code, we can get the given |optimized| source code.
test/cpp_interface_test.cpp:227
↓ 5 callers
Method
ContinueBlockIdIfAny
source/opt/basic_block.cpp:206
↓ 5 callers
Function
CreateBlockMergePass
source/opt/optimizer.cpp:837
↓ 5 callers
Function
CreateLocalMultiStoreElimPass
source/opt/optimizer.cpp:882
↓ 5 callers
Function
CreateLoopUnrollPass
source/opt/optimizer.cpp:1017
↓ 5 callers
Function
CreateNullPass
source/opt/optimizer.cpp:762
↓ 5 callers
Method
FlagHasValidForm
source/opt/optimizer.cpp:287
↓ 5 callers
Function
FloatControlsHeader
test/opt/fold_test.cpp:15494
↓ 5 callers
Method
ForgetBlock
Removes from the CFG any mapping for the basic block id |blk_id|.
source/opt/cfg.h:106
↓ 5 callers
Method
GenerateIntegerConstant
source/opt/constants.cpp:543
↓ 5 callers
Function
GenerateShaderCodeImpl
test/val/val_barriers_test.cpp:31
↓ 5 callers
Function
GetActualResultType
Checks sparse image opcode result type and returns the second struct member. Returns inst.type_id for non-sparse image opcodes. Not valid for sparse i
source/val/validate_image.cpp:920
↓ 5 callers
Function
GetArrayLength
Get the length of the OpTypeArray |array_type|.
source/opt/interface_var_sroa.cpp:41
↓ 5 callers
Function
GetBoolConstantKind
source/opt/folding_rules.cpp:3035
↓ 5 callers
Method
GetBoolTypeId
source/opt/type_manager.h:206
↓ 5 callers
Method
GetConditionInst
source/opt/loop_descriptor.cpp:147
↓ 5 callers
Method
GetEquivalenceClassRepresentatives
Returns exactly one representative per equivalence class.
source/fuzz/equivalence_relation.h:126
↓ 5 callers
Method
GetExtInstImportId
source/opt/module.cpp:279
↓ 5 callers
Function
GetExtensionFromString
source/table2.cpp:354
← previous
next →
1,001–1,100 of 7,821, ranked by callers