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
↓ 114 callers
Method
empty
source/opt/iterator.h:124
↓ 112 callers
Method
TakeNextId
Return the next available SSA id and increment it. TODO(1841): Handle id overflow.
source/opt/pass.h:141
↓ 112 callers
Method
function
source/val/validation_state.cpp:371
↓ 111 callers
Function
ParseNumber
source/util/parse_number.h:177
↓ 108 callers
Method
terminator
Returns the terminator instruction for the block.
source/val/basic_block.h:158
↓ 106 callers
Method
type
source/opt/constants.h:130
↓ 105 callers
Method
format
source/opt/types.h:376
↓ 104 callers
Method
GetAvailableOpportunities
test/reduce/validation_during_reduction_test.cpp:103
↓ 100 callers
Method
AnalyzeInstDefUse
source/opt/def_use_manager.cpp:66
↓ 100 callers
Method
MaybeAddFact
source/fuzz/fact_manager/fact_manager.cpp:107
↓ 99 callers
Method
GetConstant
source/opt/constants.cpp:398
↓ 99 callers
Function
MakeVector
source/util/string_utils.h:74
↓ 97 callers
Method
AreCompatible
source/opt/loop_fusion.cpp:108
↓ 97 callers
Method
GetId
source/opt/type_manager.cpp:61
↓ 97 callers
Method
KillInst
source/opt/ir_context.cpp:177
↓ 96 callers
Method
empty
source/fuzz/available_instructions.cpp:118
↓ 95 callers
Method
GetDivergenceLevel
Returns the divergence level for the given value (non-label instructions), or control flow for the given block.
source/lint/divergence_analysis.h:77
↓ 94 callers
Method
PreconditionHolds
test/reduce/validation_during_reduction_test.cpp:68
↓ 94 callers
Method
clear
source/opt/instruction_list.h:129
↓ 91 callers
Method
AnalyzeInstruction
source/opt/scalar_analysis.cpp:164
↓ 91 callers
Method
context
Returns a pointer to the current context for this pass.
source/opt/pass.h:93
↓ 90 callers
Method
ChoosePercentage
source/fuzz/fuzzer_context.cpp:399
↓ 90 callers
Function
GenerateCode
test/val/val_arithmetics_test.cpp:32
↓ 90 callers
Method
erase
source/util/small_vector.h:270
↓ 89 callers
Method
TryToApply
source/reduce/reduction_opportunity.cpp:20
↓ 88 callers
Method
lookupOperandName
source/assembly_grammar.cpp:192
↓ 86 callers
Method
AddInstruction
source/opt/graph.h:109
↓ 86 callers
Method
AsSERecurrentNode
source/opt/scalar_analysis_nodes.h:267
↓ 85 callers
Method
AsPointer
source/opt/types.h:581
↓ 85 callers
Method
GetDefiningInstruction
source/opt/constants.cpp:226
↓ 84 callers
Method
GetHeaderBlock
Returns the header (first basic block of the loop). This block contains the OpLoopMerge instruction.
source/opt/loop_descriptor.h:73
↓ 84 callers
Method
HasCapability
Returns true if |cap| is an enabled capability in the module.
source/opt/feature_manager.h:32
↓ 84 callers
Method
set_instr_block
Sets the basic block for |inst|. Re-builds the mapping if it has become invalid.
source/opt/ir_context.h:332
↓ 83 callers
Method
IdIsIrrelevant
source/fuzz/fact_manager/fact_manager.cpp:232
↓ 83 callers
Method
get_decoration_mgr
source/opt/pass.h:78
↓ 82 callers
Function
CheckEqual
test/reduce/reduce_test_util.cpp:47
↓ 82 callers
Method
ForEachInst
source/opt/graph.cpp:43
↓ 81 callers
Function
GenerateShaderCode
test/val/val_composites_test.cpp:33
↓ 80 callers
Method
AddOperand
source/opt/instruction.h:681
↓ 80 callers
Method
IsFloatScalarType
source/val/validation_state.cpp:1167
↓ 78 callers
Method
ImmediateDominator
source/opt/dominator_tree.cpp:246
↓ 77 callers
Function
ParseAndEncodeIntegerNumber
source/util/parse_number.cpp:57
↓ 77 callers
Function
makeF16
Returns a Float16 constructed from its sign bit, unbiased exponent, and mantissa.
test/hex_float_test.cpp:2065
↓ 76 callers
Function
DoStringDiffTest
test/diff/diff_test_utils.cpp:30
↓ 76 callers
Method
FindDeclaredConstant
source/opt/constants.cpp:174
↓ 76 callers
Method
Run
source/opt/pass.cpp:30
↓ 76 callers
Function
check_dominance
Check that x dominates y, and if x != y then x strictly dominates y and y does not dominate x and y does not strictly dominate x if x == x then x does
test/opt/dominator_tree/generated.cpp:43
↓ 76 callers
Method
value
@returns the seed bias value for HashCombine()
test/fuzzers/random_generator.cpp:45
↓ 74 callers
Method
GetValueNumber
source/opt/value_number_table.cpp:25
↓ 74 callers
Method
IsMergeBlock
source/opt/struct_cfg_analysis.cpp:213
↓ 73 callers
Function
CheckValid
test/reduce/reduce_test_util.cpp:78
↓ 73 callers
Method
ContainingConstruct
source/opt/struct_cfg_analysis.cpp:114
↓ 73 callers
Function
JoinAllInsts
test/opt/pass_utils.cpp:92
↓ 73 callers
Method
LoopMergeBlock
source/opt/struct_cfg_analysis.cpp:143
↓ 73 callers
Function
MakeUniformBufferElementDescriptor
source/fuzz/uniform_buffer_element_descriptor.cpp:22
↓ 73 callers
Method
front
source/util/span.h:53
↓ 72 callers
Function
CompareSets
test/opt/register_liveness.cpp:33
↓ 72 callers
Method
ContainingLoop
Returns the id of the header of the innermost loop construct that contains |bb_id|. Return |0| if |bb_id| is not contained in any loop construct.
source/opt/struct_cfg_analysis.h:64
↓ 72 callers
Method
GetDominatorAnalysis
Gets the dominator analysis for function |f|.
source/opt/ir_context.cpp:1112
↓ 72 callers
Method
GetIdOpcode
source/val/validation_state.cpp:936
↓ 72 callers
Function
find
Returns files in the tree rooted at top matching filename_glob but not in directories matching skip_glob_dir_list nor files matching skip_glob
utils/check_copyright.py:94
↓ 71 callers
Function
GenerateModule
test/val/val_tensor_test.cpp:30
↓ 71 callers
Method
getAsFloat
Returns the data as a floating point value.
source/util/hex_float.h:288
↓ 70 callers
Method
GetMergeBlock
Returns the basic block which marks the end of the loop. These functions return nullptr if the loop is not structured.
source/opt/loop_descriptor.h:109
↓ 70 callers
Method
PointeeValueIsIrrelevant
source/fuzz/fact_manager/fact_manager.cpp:228
↓ 69 callers
Method
GetComponentType
source/val/validation_state.cpp:941
↓ 69 callers
Method
IsContinueBlock
source/opt/struct_cfg_analysis.cpp:189
↓ 69 callers
Function
ParseAndEncodeFloatingPointNumber
source/util/parse_number.cpp:147
↓ 69 callers
Method
tail
Returns the last basic block in this function.
source/opt/function.h:124
↓ 68 callers
Method
InvalidateAnalysesExceptFor
source/opt/ir_context.cpp:101
↓ 68 callers
Method
IsInContinueConstruct
source/opt/struct_cfg_analysis.cpp:203
↓ 68 callers
Method
builtin
source/val/decoration.h:78
↓ 67 callers
Method
GetDependence
source/opt/loop_dependence.cpp:182
↓ 66 callers
Method
Clone
source/opt/graph.cpp:20
↓ 66 callers
Method
LoopNestingDepth
source/opt/struct_cfg_analysis.cpp:165
↓ 66 callers
Method
MergeBlock
source/opt/struct_cfg_analysis.cpp:119
↓ 66 callers
Method
NestingDepth
source/opt/struct_cfg_analysis.cpp:130
↓ 66 callers
Method
SwitchMergeBlock
source/opt/struct_cfg_analysis.cpp:178
↓ 65 callers
Method
ContainingSwitch
Returns the id of the header of the innermost switch construct that contains |bb_id| as long as there is no intervening loop. Returns |0| if no such
source/opt/struct_cfg_analysis.h:92
↓ 65 callers
Method
IntersectConstraints
source/opt/loop_dependence.cpp:1184
↓ 64 callers
Method
AsIntConstant
source/opt/constants.h:68
↓ 64 callers
Method
IsInContainingLoopsContinueConstruct
source/opt/struct_cfg_analysis.cpp:194
↓ 64 callers
Method
NumOperands
Gets the number of logical operands.
source/opt/instruction.h:283
↓ 64 callers
Method
RandomIndex
source/fuzz/fuzzer_context.h:52
↓ 64 callers
Method
types_values
source/opt/module.h:574
↓ 63 callers
Function
GenerateModule
test/val/val_graph_test.cpp:32
↓ 63 callers
Method
GetLoopsInBinaryLayoutOrder
source/opt/loop_descriptor.cpp:596
↓ 63 callers
Method
IsFloatingPointFoldingAllowed
source/opt/instruction.cpp:823
↓ 63 callers
Function
Parse
Just the public wrapper around the parse function.
tools/util/flags.cpp:242
↓ 63 callers
Function
spvDiagnosticDestroy
source/diagnostic.cpp:44
↓ 62 callers
Method
contains
Returns true if `value` is present in the set.
source/enum_set.h:304
↓ 61 callers
Method
AddFactBlockIsDead
source/fuzz/fact_manager/fact_manager.cpp:208
↓ 61 callers
Function
FindInstruction
source/fuzz/instruction_descriptor.cpp:20
↓ 61 callers
Function
TypesAreCompatible
source/fuzz/fuzzer_util.cpp:2105
↓ 60 callers
Method
Apply
test/fuzz/fuzzer_pass_test.cpp:40
↓ 60 callers
Method
cend
source/opt/module.h:590
↓ 59 callers
Method
HasResultId
source/opt/instruction.h:316
↓ 58 callers
Method
AsMatrix
source/opt/types.h:346
↓ 58 callers
Method
AsString
source/opt/scalar_analysis.cpp:477
↓ 58 callers
Method
AsStruct
source/opt/types.h:528
← previous
next →
101–200 of 7,821, ranked by callers