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
↓ 1 callers
Function
IsConstWithIntScalarType
source/val/validate_extensions.cpp:1243
↓ 1 callers
Method
IsCooperativeMatrixAType
source/val/validation_state.cpp:1493
↓ 1 callers
Method
IsDebugDeclare
source/opt/debug_info_manager.cpp:670
↓ 1 callers
Function
IsDebugVariableWithIntScalarType
source/val/validate_extensions.cpp:1253
↓ 1 callers
Method
IsDefinedId
source/val/validation_state.cpp:299
↓ 1 callers
Function
IsDescriptorStruct
source/opt/desc_sroa_util.cpp:66
↓ 1 callers
Function
IsEnabledByCapabilityOpenCL_1_2
source/val/validate_capability.cpp:309
↓ 1 callers
Function
IsExecutionModelValidForRtBuiltIn
source/val/validate_builtins.cpp:195
↓ 1 callers
Method
IsFP8ScalarType
source/val/validation_state.cpp:1123
↓ 1 callers
Method
IsFP8VectorType
source/val/validation_state.cpp:1137
↓ 1 callers
Method
IsFirstBlock
source/val/function.cpp:51
↓ 1 callers
Function
IsFloatImageFormat
source/val/validate_image.cpp:242
↓ 1 callers
Method
IsFloatMatrixType
source/val/validation_state.cpp:1364
↓ 1 callers
Method
IsFoldable
source/opt/instruction.cpp:774
↓ 1 callers
Method
IsForwardPointer
source/val/validation_state.cpp:273
↓ 1 callers
Method
IsFunctionCallTarget
Returns whether or not a function<id> is the target of OpFunctionCall.
source/val/validation_state.h:373
↓ 1 callers
Function
IsGraph
source/val/validate_graph.cpp:44
↓ 1 callers
Function
IsGraphInterfaceType
source/val/validate_graph.cpp:40
↓ 1 callers
Function
IsGraphType
source/val/validate_graph.cpp:52
↓ 1 callers
Function
IsHandledCondition
source/opt/loop_peeling.cpp:887
↓ 1 callers
Function
IsHexStream
tools/io.cpp:101
↓ 1 callers
Function
IsImageInstruction
source/val/validate_image.cpp:2750
↓ 1 callers
Function
IsImageSparse
source/val/validate_image.cpp:271
↓ 1 callers
Function
IsInstructionInLayoutSection
source/val/validation_state.cpp:132
↓ 1 callers
Function
IsIntImageFormat
Signed or Unsigned Integer Format
source/val/validate_image.cpp:182
↓ 1 callers
Function
IsIntegral
Returns true if the type is a scalar integer type.
source/util/parse_number.h:39
↓ 1 callers
Method
IsLineInst
source/opt/instruction.cpp:595
↓ 1 callers
Function
IsLiteralNumber
Returns true if the operand holds a literal number
source/val/validate_literals.cpp:28
↓ 1 callers
Method
IsLocalSizeIdAllowed
Returns true if allowing localsizeid, either because the environment always allows it, or because it is enabled from the command-line.
source/val/validation_state.h:628
↓ 1 callers
Function
IsMemberDecorationOnly
source/val/validate_annotation.cpp:51
↓ 1 callers
Function
IsNotMemberDecoration
source/val/validate_annotation.cpp:66
↓ 1 callers
Function
IsNullConstantSupported
source/fuzz/fuzzer_util.cpp:823
↓ 1 callers
Method
IsOpcodeInPreviousLayoutSection
source/val/validation_state.cpp:327
↓ 1 callers
Method
IsOpcodeSafeToDelete
source/opt/instruction.cpp:1053
↓ 1 callers
Method
IsOpenCL100DebugInstr
Returns true if it is an OpenCL.DebugInfo.100 instruction.
source/opt/instruction.h:595
↓ 1 callers
Method
IsPhiArgExecutable
source/opt/propagator.cpp:60
↓ 1 callers
Method
IsPoint
()
utils/vscode/src/lsp/span/span.go:117
↓ 1 callers
Method
IsPointerToStorageBuffer
Is the ID the type of a pointer to a storage buffer: BufferBlock-decorated struct in uniform storage class, or Block-decorated struct in StorageBuffer
source/val/validation_state.h:861
↓ 1 callers
Method
IsPointerToStorageImage
Is the ID the type of a pointer to a storage image? That is, the pointee type is an image type which is known to not use a sampler.
source/val/validation_state.h:883
↓ 1 callers
Method
IsPointerToTensor
Is the ID the type of a pointer to a tensor? That is, the pointee type is a tensor type.
source/val/validation_state.h:894
↓ 1 callers
Method
IsPointerToUniformBlock
Is the ID the type of a pointer to a uniform block: Block-decorated struct in uniform storage class? The result is only valid after internal method Ch
source/val/validation_state.h:838
↓ 1 callers
Function
IsPowerOf2
Return true if |val| is a power of 2.
source/opt/strength_reduction_pass.cpp:44
↓ 1 callers
Method
IsReadOnlyLoad
source/opt/instruction.cpp:219
↓ 1 callers
Method
IsRelaxedBlockLayout
Returns true if using relaxed block layout, equivalent to VK_KHR_relaxed_block_layout.
source/val/validation_state.h:622
↓ 1 callers
Function
IsResult
IsResult returns true if k is used to store the result of an instruction.
utils/vscode/src/parser/parser.go:760
↓ 1 callers
Method
IsSafeToClone
source/opt/loop_descriptor.cpp:403
↓ 1 callers
Method
IsScalarizable
source/opt/instruction.cpp:979
↓ 1 callers
Function
IsSeparator
Returns true if the given char is ':', '\0' or considered as blank space (i.e.: '\n', '\r', '\v', '\t', '\f' and ' ').
source/opt/convert_to_sampled_image_pass.cpp:38
↓ 1 callers
Function
IsSignedIntImageFormat
source/val/validate_image.cpp:223
↓ 1 callers
Method
IsSignedIntScalarType
source/val/validation_state.cpp:1311
↓ 1 callers
Function
IsSpecConstIntScalarTypeWith32Or64Bits
source/val/validate_extensions.cpp:1235
↓ 1 callers
Function
IsStorageClassAllowedByUniversalRules
source/val/validate_atomics.cpp:30
↓ 1 callers
Method
IsStructTypeWithBuiltInMember
Returns true if the struct type with the given Id has a BuiltIn member.
source/val/validation_state.h:660
↓ 1 callers
Function
IsSupportGuaranteedOpenCL_2_2
source/val/validate_capability.cpp:267
↓ 1 callers
Function
IsSupportGuaranteedVulkan_1_4
source/val/validate_capability.cpp:89
↓ 1 callers
Function
IsSupportOptionalVulkan_1_4
Vulkan 1.4 only added required features.
source/val/validate_capability.cpp:230
↓ 1 callers
Function
IsTypeNullable
True if instruction defines a type that can have a null value, as defined by the SPIR-V spec. Tracks composite-type components through module to chec
source/val/validate_constants.cpp:492
↓ 1 callers
Function
IsUnknown
Returns true if the type is unknown.
source/util/parse_number.h:55
↓ 1 callers
Function
IsValidGatherLodBiasAMD
source/val/validate_image.cpp:170
↓ 1 callers
Function
IsValidLodOperand
source/val/validate_image.cpp:159
↓ 1 callers
Function
IsValidScope
source/val/validate_scopes.cpp:24
↓ 1 callers
Function
IsValidTypeForComponentWiseOperation
A helper function to check the type for component wise operations. Returns true if the type: 1) is bool type; 2) is 32-bit int type; 3) is vector of b
source/opt/fold_spec_constant_op_and_composite_pass.cpp:232
↓ 1 callers
Method
IsVulkanStorageBufferVariable
source/opt/instruction.cpp:423
↓ 1 callers
Function
LSB
source/util/bitutils.h:211
↓ 1 callers
Function
LimitCheckIdBound
Checks that the Resuld <id> is within the valid bound.
source/val/validate_instruction.cpp:348
↓ 1 callers
Function
LimitCheckNumVars
Ensure the number of variables of the given class does not exceed the limit.
source/val/validate_instruction.cpp:423
↓ 1 callers
Function
LimitCheckStruct
Checks that the number of OpTypeStruct members is within the limit.
source/val/validate_instruction.cpp:358
↓ 1 callers
Function
LimitCheckSwitch
Checks that the number of (literal, label) pairs in OpSwitch is within the limit.
source/val/validate_instruction.cpp:403
↓ 1 callers
Method
Line
()
utils/vscode/src/lsp/span/span.go:129
↓ 1 callers
Function
LiteralsPass
Validates that literal numbers are represented according to the spec
source/val/validate_literals.cpp:64
↓ 1 callers
Method
LogMessage
(context.Context, *LogMessageParams)
utils/vscode/src/lsp/protocol/tsclient.go:27
↓ 1 callers
Method
LogTraceNotification
(context.Context, *LogTraceParams)
utils/vscode/src/lsp/protocol/tsserver.go:38
↓ 1 callers
Function
LogicalsPass
Validates correctness of logical instructions.
source/val/validate_logicals.cpp:266
↓ 1 callers
Method
LookupEquivalentResultFor
For a given instruction, extracts its opcode, type id and operand words as an array of keys, looks up the trie to find a result id which is stored wit
source/opt/unify_const_pass.cpp:42
↓ 1 callers
Method
MapConstantToInst
Records a new mapping between |inst| and |const_value|. This updates the two mappings |id_to_const_val_| and |const_val_to_id_|.
source/opt/constants.h:641
↓ 1 callers
Method
MapInst
Records a mapping between |inst| and the constant value generated by it. It returns true if a new Constant was successfully mapped, false if |inst| ge
source/opt/constants.h:623
↓ 1 callers
Method
MapUnmatchedIds
source/diff/diff.cpp:589
↓ 1 callers
Method
MappedInst
source/diff/diff.cpp:90
↓ 1 callers
Method
MarkCopyOf
Marks this phi candidate as a trivial copy of |orig_id|.
source/opt/ssa_rewrite_pass.h:75
↓ 1 callers
Method
MarkIncomplete
Marks this phi candidate as incomplete.
source/opt/ssa_rewrite_pass.h:78
↓ 1 callers
Method
MarkLoopForRemoval
Mark this loop to be removed later by a call to LoopDescriptor::PostModificationCleanup.
source/opt/loop_descriptor.h:277
↓ 1 callers
Method
MatchAnnotations
source/diff/diff.cpp:2621
↓ 1 callers
Method
MatchCapabilities
source/diff/diff.cpp:2133
↓ 1 callers
Method
MatchConstants
source/diff/diff.cpp:2395
↓ 1 callers
Method
MatchDebugs1
source/diff/diff.cpp:2596
↓ 1 callers
Method
MatchDebugs2
source/diff/diff.cpp:2602
↓ 1 callers
Method
MatchDebugs3
source/diff/diff.cpp:2607
↓ 1 callers
Method
MatchEntryPointIds
source/diff/diff.cpp:2170
↓ 1 callers
Method
MatchExecutionModes
source/diff/diff.cpp:2228
↓ 1 callers
Method
MatchExtInstDebugInfo
source/diff/diff.cpp:2612
↓ 1 callers
Method
MatchExtInstImportIds
source/diff/diff.cpp:2141
↓ 1 callers
Method
MatchExtensions
source/diff/diff.cpp:2137
↓ 1 callers
Method
MatchFunctions
source/diff/diff.cpp:2505
↓ 1 callers
Function
MatchIgnoreCase
tools/io.cpp:116
↓ 1 callers
Method
MatchMemoryModel
source/diff/diff.cpp:2164
↓ 1 callers
Method
MatchTypeForwardPointers
source/diff/diff.cpp:2232
↓ 1 callers
Method
MatchTypeIds
source/diff/diff.cpp:2304
↓ 1 callers
Method
MatchVariableIds
source/diff/diff.cpp:2474
↓ 1 callers
Function
MaximalReconvergenceChecks
source/val/validate_cfg.cpp:917
↓ 1 callers
Function
MemoryPass
source/val/validate_memory.cpp:3480
← previous
next →
2,601–2,700 of 7,821, ranked by callers