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
GetAnnotations
source/opt/def_use_manager.cpp:208
↓ 2 callers
Function
GetArrayElementType
Get the element type instruction of the OpTypeArray |array_type|.
source/opt/interface_var_sroa.cpp:53
↓ 2 callers
Function
GetArrayStride
Returns the array stride of the given array type.
source/val/validate_decorations.cpp:65
↓ 2 callers
Method
GetCoefficientFromRecurrentTerm
source/opt/scalar_analysis.cpp:396
↓ 2 callers
Function
GetComponentTypeOfArrayMatrix
Traverses the component type of OpTypeArray or OpTypeMatrix. Repeats it |depth_to_component| times recursively and returns the component type. |type_i
source/opt/interface_var_sroa.cpp:73
↓ 2 callers
Method
GetComponentVariable
source/opt/interface_var_sroa.h:68
↓ 2 callers
Method
GetConstantsFromIds
source/opt/constants.cpp:192
↓ 2 callers
Function
GetDebugSourceText
source/val/validate_extensions.cpp:1129
↓ 2 callers
Method
GetDef
Gets the instruction that defines the given id.
source/opt/graphics_robust_access_pass.h:129
↓ 2 callers
Method
GetEnd
Returns the sentinel iterator.
source/opt/iterator.h:221
↓ 2 callers
Method
GetErr
Returns last error message.
source/link/fnvar.h:178
↓ 2 callers
Function
GetErrorString
Returns expected error string if |extension| is not recognized.
test/val/val_extensions_test.cpp:40
↓ 2 callers
Function
GetExtractInsertValueType
Returns the type of the value accessed by OpCompositeExtract or OpCompositeInsert instruction. The function traverses the hierarchy of nested data str
source/val/validate_composites.cpp:38
↓ 2 callers
Function
GetFirstIndexOfAccessChain
source/opt/desc_sroa_util.cpp:108
↓ 2 callers
Method
GetFloatTypeId
source/opt/type_manager.h:165
↓ 2 callers
Function
GetFunctionInstructionCount
Computes an instruction count for each function in the module represented by |binary|.
test/reduce/reducer_test.cpp:563
↓ 2 callers
Function
GetFunctionIterator
source/fuzz/fuzzer_util.cpp:2021
↓ 2 callers
Method
GetFuturePassRecommendations
source/fuzz/pass_management/repeated_pass_recommender_standard.cpp:28
↓ 2 callers
Method
GetGlobalValue
source/opt/module.cpp:72
↓ 2 callers
Method
GetIdBoundLimit
source/fuzz/fuzzer_context.cpp:427
↓ 2 callers
Function
GetInFunctionCodeGenerator
test/val/val_builtins_test.cpp:247
↓ 2 callers
Method
GetIntConst
source/opt/constants.cpp:507
↓ 2 callers
Method
GetIntConstant
source/opt/ir_builder.h:427
↓ 2 callers
Function
GetLocationsAccessed
Return the set of locations accessed by |stores| and |loads|.
source/opt/loop_fusion.cpp:39
↓ 2 callers
Method
GetLoopIterationCount
source/opt/loop_unroller.cpp:216
↓ 2 callers
Function
GetNSDIVersion
Returns the declared NSDI version from the OpExtInstImport referenced by |inst|. Returns 0 if not a NonSemantic.Shader.DebugInfo import.
source/val/validate_extensions.cpp:117
↓ 2 callers
Method
GetNames
source/opt/ir_context.h:1306
↓ 2 callers
Function
GetNonCopyObjectDef
Finds the instruction whose id is |inst_id|. Follows the operand of OpCopyObject recursively if the opcode of the instruction is OpCopyObject and retu
source/opt/convert_to_sampled_image_pass.cpp:69
↓ 2 callers
Function
GetNumberOfMembers
Returns the number of members in |type|. If |type| is not a composite type or the number of components is not known at compile time, the return value
source/opt/copy_prop_arrays.cpp:44
↓ 2 callers
Method
GetNumericVectorConstantWithWords
source/opt/constants.cpp:441
↓ 2 callers
Function
GetPhiIndexFromLabel
Retrieve the index of the OpPhi instruction |phi| which corresponds to the incoming |block| id.
source/opt/loop_unroller.cpp:338
↓ 2 callers
Method
GetPlaceholderRootLoop
source/opt/loop_descriptor.h:542
↓ 2 callers
Method
GetPointerTypeId
Returns the type id of the pointer type that can be used to point to this memory object.
source/opt/copy_prop_arrays.h:126
↓ 2 callers
Method
GetPtr
source/opt/mem_pass.cpp:102
↓ 2 callers
Method
GetRandomSizeForNewArray
source/fuzz/fuzzer_context.h:468
↓ 2 callers
Method
GetResultTypeId
Returns return type id of the function
source/val/function.h:146
↓ 2 callers
Method
GetSIntConstId
source/opt/constants.cpp:501
↓ 2 callers
Method
GetScalarEvolutionAnalysis
Returns a pointer to the scalar evolution analysis. If it is invalid it will be rebuilt first.
source/opt/ir_context.h:380
↓ 2 callers
Method
GetScalarEvolutionAnalysis
source/opt/scalar_analysis.h:186
↓ 2 callers
Function
GetSizedLoadStoreCodeGenerator
test/val/val_memory_test.cpp:5670
↓ 2 callers
Method
GetSubscripts
source/opt/loop_dependence_helpers.cpp:381
↓ 2 callers
Method
GetSuitableIds
source/fuzz/fuzzer_pass_add_opphi_synonyms.cpp:272
↓ 2 callers
Function
GetTensorTypeRank
source/val/validate_tensor.cpp:34
↓ 2 callers
Method
GetTypes
source/opt/module.cpp:40
↓ 2 callers
Method
GetTypesForWhichUniformValuesAreKnown
source/fuzz/fact_manager/fact_manager.cpp:166
↓ 2 callers
Method
GetUIntType
source/opt/type_manager.h:147
↓ 2 callers
Method
GetUIntTypeId
source/opt/type_manager.h:149
↓ 2 callers
Method
GetUIntVectorType
source/opt/type_manager.h:174
↓ 2 callers
Function
GetUint32Constant
source/val/validate_extensions.cpp:86
↓ 2 callers
Method
GetUndefVal
Returns an undef value for the given |var_id|'s type.
source/opt/mem_pass.h:44
↓ 2 callers
Function
GetVariableCodeGenerator
test/val/val_builtins_test.cpp:394
↓ 2 callers
Function
GetVectorOfStrings
source/opt/optimizer.cpp:37
↓ 2 callers
Function
GetWordsFromNumericScalarOrVectorConstant
source/opt/folding_rules.cpp:166
↓ 2 callers
Method
GreaterThan
GreaterThan returns true iff o is greater than p.
utils/vscode/src/parser/parser.go:149
↓ 2 callers
Method
HandleHeader
source/disassemble.cpp:165
↓ 2 callers
Method
HandleInstruction
source/disassemble.cpp:183
↓ 2 callers
Function
HasBuiltinDecoration
source/opt/spread_volatile_semantics.cpp:28
↓ 2 callers
Function
HasDescriptorDecorations
source/opt/desc_sroa_util.cpp:32
↓ 2 callers
Method
HasEnumAt
Returns true if the bucket at `bucketIndex/ stores the enum at `bucketOffset`, false otherwise.
source/enum_set.h:438
↓ 2 callers
Method
HasFoldingRule
Returns true if there is at least 1 folding rule for |opcode|.
source/opt/const_folding_rules.h:84
↓ 2 callers
Method
HasMultipleComponents
source/opt/interface_var_sroa.h:56
↓ 2 callers
Function
HasReturnType
source/val/validate_atomics.cpp:49
↓ 2 callers
Function
HashCombine
test/fuzzers/random_generator.cpp:63
↓ 2 callers
Function
HashInst
Calculates hash of an instruction. Applicable only to instructions that can be combined (ie. with CanBeFnVarCombined being true) and from those, hash
source/link/fnvar.cpp:225
↓ 2 callers
Function
HaveSameIndexesExceptForLast
Returns true of |inst_1| and |inst_2| have the same indexes that will be used to index into a composite object, excluding the last index. The two ins
source/opt/folding_rules.cpp:2368
↓ 2 callers
Method
InBreakable
source/opt/merge_return_pass.h:121
↓ 2 callers
Method
Init
source/opt/loop_unroller.cpp:348
↓ 2 callers
Function
InputOutputInstructionsHaveDuplicateIndices
source/val/validate_graph.cpp:443
↓ 2 callers
Method
Instruction
source/val/instruction.cpp:25
↓ 2 callers
Function
InstructionLayoutSection
source/val/validation_state.cpp:38
↓ 2 callers
Function
InstructionRequiresTypeOperand
source/val/validate_id.cpp:144
↓ 2 callers
Function
InterestingWhileOpcodeExists
test/reduce/reducer_test.cpp:224
↓ 2 callers
Function
IsAllInt1
Returns true if all elements in |c| are 1.
source/opt/folding_rules.cpp:3800
↓ 2 callers
Method
IsAlwaysGreaterOrEqualToZero
source/opt/scalar_analysis.cpp:921
↓ 2 callers
Method
IsAlwaysGreaterThanZero
source/opt/scalar_analysis.cpp:916
↓ 2 callers
Method
IsAnalyzedBuiltin
source/opt/liveness.cpp:46
↓ 2 callers
Method
IsAtomicWithLoad
source/opt/instruction.h:912
↓ 2 callers
Function
IsBasicBlockSafeToClone
source/opt/loop_descriptor.cpp:392
↓ 2 callers
Function
IsBitWidthSupported
source/fuzz/fuzzer_pass_add_equation_instructions.cpp:26
↓ 2 callers
Method
IsBlockType
source/val/function.cpp:218
↓ 2 callers
Method
IsConsistent
source/opt/ir_context.cpp:384
↓ 2 callers
Function
IsContinue
Returns true if |id| is the continue target of a merge instruction.
source/opt/block_merge_util.cpp:53
↓ 2 callers
Method
IsCooperativeMatrixBType
source/val/validation_state.cpp:1504
↓ 2 callers
Function
IsDebug1Inst
source/opt/reflect.h:28
↓ 2 callers
Function
IsDebug2Inst
source/opt/reflect.h:33
↓ 2 callers
Function
IsDebug3Inst
source/opt/reflect.h:36
↓ 2 callers
Function
IsDebugDeclareOrValue
source/opt/copy_prop_arrays.cpp:35
↓ 2 callers
Function
IsDecorationBinding
source/opt/desc_sroa.cpp:24
↓ 2 callers
Method
IsDefined
Return true if id is mapped to any instruction, false otherwise.
source/diff/diff.cpp:229
↓ 2 callers
Function
IsEmptyDebugExpression
source/opt/debug_info_manager.cpp:74
↓ 2 callers
Method
IsEmptyList
source/util/ilist_node.h:251
↓ 2 callers
Function
IsEnabledByCapabilityOpenCL_2_0
source/val/validate_capability.cpp:327
↓ 2 callers
Function
IsExplicitLod
source/val/validate_image.cpp:142
↓ 2 callers
Method
IsFloatArrayType
source/val/validation_state.cpp:1179
↓ 2 callers
Function
IsFloating
Returns true if the type is a scalar floating point type.
source/util/parse_number.h:45
↓ 2 callers
Method
IsFoldableByFoldScalar
source/opt/instruction.cpp:779
↓ 2 callers
Method
IsFoldableByFoldVector
source/opt/instruction.cpp:801
↓ 2 callers
Method
IsFoldableOpcode
source/opt/fold.cpp:521
↓ 2 callers
Method
IsFoldableScalarType
source/opt/fold.cpp:667
↓ 2 callers
Method
IsFoldableVectorType
source/opt/fold.cpp:680
← previous
next →
1,701–1,800 of 7,821, ranked by callers