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
↓ 17 callers
Function
FoldFPUnaryOp
Returns a |ConstantFoldingRule| that folds unary floating point scalar ops using |scalar_rule| and unary float point vectors ops by applying |scalar_r
source/opt/const_folding_rules.cpp:784
↓ 17 callers
Method
FunctionIsLivesafe
source/fuzz/fact_manager/fact_manager.cpp:216
↓ 17 callers
Function
GenerateModuleWithGraphEntryPoint
test/val/val_graph_test.cpp:83
↓ 17 callers
Function
GetImageTypeInfo
Provides information on image type. |id| should be object of either OpTypeImage or OpTypeSampledImage type. Returns false in case of failure (not a va
source/val/validate_image.cpp:95
↓ 17 callers
Function
GetPointeeTypeIdFromPointerType
source/fuzz/fuzzer_util.cpp:771
↓ 17 callers
Method
GetS32BitValue
source/opt/constants.h:200
↓ 17 callers
Function
GetUnderlyingType
Gets underlying data type which is - member type if instruction is OpTypeStruct (member index is taken from decoration). - data type if id creates a p
source/val/validate_builtins.cpp:59
↓ 17 callers
Method
HasAnyOfExtensions
source/val/validation_state.cpp:495
↓ 17 callers
Function
ITypes
test/opt/split_combined_image_sampler_pass_test.cpp:1160
↓ 17 callers
Method
InitializeTree
source/opt/dominator_tree.cpp:313
↓ 17 callers
Method
IsCooperativeMatrixType
source/val/validation_state.cpp:1477
↓ 17 callers
Method
IsVulkanSampledImage
source/opt/instruction.cpp:314
↓ 17 callers
Method
KillDef
source/opt/ir_context.cpp:282
↓ 17 callers
Method
KillNamesAndDecorates
source/opt/ir_context.cpp:485
↓ 17 callers
Function
LookupOpcode
source/table2.cpp:168
↓ 17 callers
Function
NamedITypes
test/opt/split_combined_image_sampler_pass_test.cpp:1128
↓ 17 callers
Method
Validate
test/link/linker_fixture.h:216
↓ 17 callers
Method
WhileEachInId
source/opt/instruction.h:809
↓ 17 callers
Method
WhileEachInst
source/opt/function.cpp:82
↓ 17 callers
Method
WhileEachUse
source/opt/def_use_manager.cpp:146
↓ 17 callers
Function
forwardKernelNonDominantParameterBaseCode
test/val/val_ssa_test.cpp:661
↓ 17 callers
Method
peek
source/text_handler.cpp:252
↓ 17 callers
Function
spvAlternatePatternFollowingImmediate
source/operand.cpp:466
↓ 17 callers
Function
spvOperandIsConcreteMask
source/operand.cpp:357
↓ 16 callers
Function
CombineStatus
source/opt/pass.h:162
↓ 16 callers
Function
DoRoundTripCheck
test/opt/ir_loader_test.cpp:35
↓ 16 callers
Function
GenCoopVecShader
test/val/val_memory_test.cpp:9871
↓ 16 callers
Method
GetDebugInlinedAt
source/opt/debug_info_manager.cpp:440
↓ 16 callers
Method
GetFinalTripInductionNode
source/opt/loop_dependence_helpers.cpp:299
↓ 16 callers
Method
GetFirstTripInductionNode
source/opt/loop_dependence_helpers.cpp:280
↓ 16 callers
Method
GetLowerBound
source/opt/loop_dependence_helpers.cpp:48
↓ 16 callers
Method
GetMatrixTypeInfo
source/val/validation_state.cpp:1377
↓ 16 callers
Method
GetTripCount
source/opt/loop_dependence_helpers.cpp:251
↓ 16 callers
Method
GetUpperBound
source/opt/loop_dependence_helpers.cpp:80
↓ 16 callers
Function
Header
Return a string that contains the minimum instructions needed to form a valid module. Other instructions can be appended to this string.
test/cpp_interface_test.cpp:32
↓ 16 callers
Method
IsLCSSA
source/opt/loop_descriptor.cpp:427
↓ 16 callers
Method
IsOpcodeInCurrentLayoutSection
source/val/validation_state.cpp:333
↓ 16 callers
Method
IsValidBasePointer
source/opt/instruction.cpp:624
↓ 16 callers
Method
IsVulkanStorageBuffer
source/opt/instruction.cpp:384
↓ 16 callers
Function
MakeArrayLength
Creates an assembly module declaring OpTypeArray with the given length.
test/val/val_id_test.cpp:897
↓ 16 callers
Function
MaybeGetBoolConstant
source/fuzz/fuzzer_util.cpp:1460
↓ 16 callers
Method
RandomUint32
source/fuzz/pseudo_random_generator.cpp:26
↓ 16 callers
Function
ToString
test/fuzz/fuzz_test_util.cpp:108
↓ 16 callers
Function
ValidateRayQueryPointer
source/val/validate_ray_query.cpp:37
↓ 16 callers
Method
WhileEachDecoration
source/opt/decoration_manager.cpp:462
↓ 16 callers
Method
ext_inst_debuginfo_begin
source/opt/module.h:487
↓ 16 callers
Function
set_from_sign
Returns the 32-bit floating point value created by calling setFromSignUnbiasedExponentAndNormalizedSignificand on a HexFloat<FloatProxy<float>>
test/hex_float_test.cpp:737
↓ 16 callers
Function
spvIsIdType
source/operand.cpp:481
↓ 16 callers
Function
to_string
source/to_string.cpp:21
↓ 16 callers
Method
value
source/opt/constants.h:282
↓ 15 callers
Method
AsForwardPointer
source/opt/types.h:658
↓ 15 callers
Method
AsFunction
source/opt/types.h:603
↓ 15 callers
Function
BadFloatParseCase
test/hex_float_test.cpp:1608
↓ 15 callers
Function
Exists
True if capability exists in core spec of env.
test/val/val_capability_test.cpp:2390
↓ 15 callers
Method
FindConditionBlock
source/opt/loop_descriptor.cpp:619
↓ 15 callers
Method
GetAvailableBeforeInstruction
source/fuzz/available_instructions.cpp:102
↓ 15 callers
Method
GetEquivalenceClass
Returns pointers to all values in the equivalence class of |value|, which must already be part of the equivalence relation.
source/fuzz/equivalence_relation.h:138
↓ 15 callers
Function
GetHeaderForTestsFromValId
Returns header for legacy tests taken from val_id_test.cpp.
test/val/val_composites_test.cpp:117
↓ 15 callers
Method
GetNextOverflowId
source/fuzz/counter_overflow_id_source.cpp:25
↓ 15 callers
Method
GetPass
source/opt/pass_manager.h:146
↓ 15 callers
Method
GetU64
source/opt/constants.cpp:69
↓ 15 callers
Function
IsBitAtPositionSet
source/util/bitutils.h:112
↓ 15 callers
Method
IsVectorType
source/val/validation_state.cpp:1052
↓ 15 callers
Function
Make_Bad_Signed
test/text_literal_test.cpp:225
↓ 15 callers
Function
SplitFlagArgs
source/util/string_utils.cpp:40
↓ 15 callers
Method
block
Returns the BasicBlock where the instruction was defined. nullptr if it was defined outside of a BasicBlock
source/val/instruction.h:56
↓ 15 callers
Method
setPosition
Sets the current position in the input stream to the given position.
source/text_handler.h:185
↓ 15 callers
Function
spvOperandTypeStr
source/operand.cpp:32
↓ 15 callers
Method
value
source/util/hex_float.h:491
↓ 14 callers
Method
AddAnnotationInst
source/opt/module.h:396
↓ 14 callers
Method
AddString
Adds or finds a string in the string_buffer. Returns its IndexRange.
utils/Table/Context.py:94
↓ 14 callers
Method
AsCompositeConstant
source/opt/constants.h:71
↓ 14 callers
Function
BasicTypes
test/opt/resolve_binding_conflicts_pass_test.cpp:70
↓ 14 callers
Method
BuildInvalidAnalyses
source/opt/ir_context.cpp:42
↓ 14 callers
Method
CreateNegation
source/opt/scalar_analysis.cpp:57
↓ 14 callers
Function
GenerateShaderCode
test/val/val_extension_spv_khr_integer_dot_product_test.cpp:1276
↓ 14 callers
Method
GetConstantsAvailableFromUniformsForType
source/fuzz/fact_manager/fact_manager.cpp:149
↓ 14 callers
Method
GetDepth
Returns the depth of this loop in the loop nest. The outer-most loop has a depth of 1.
source/opt/loop_descriptor.h:159
↓ 14 callers
Method
GetMemoryModel
source/opt/ir_context.h:1212
↓ 14 callers
Function
GetPackedBitWidth
Returns packed bit width in Pack/Unpack extended instructions. |ext_inst_name| is expected to be of the format "PackHalf2x16".
test/val/val_ext_inst_test.cpp:77
↓ 14 callers
Function
GetPackedNumComponents
Returns number of components in Pack/Unpack extended instructions. |ext_inst_name| is expected to be of the format "PackHalf2x16". Number of component
test/val/val_ext_inst_test.cpp:68
↓ 14 callers
Method
GetSignExtendedValue
source/opt/constants.cpp:124
↓ 14 callers
Method
GetSintConstant
Returns a pointer to the definition of a signed 32-bit integer constant with the given value. Returns |nullptr| if the constant does not exist and can
source/opt/ir_builder.h:386
↓ 14 callers
Method
IsBranch
Returns true if this instruction is a branch or switch instruction (either conditional or not).
source/opt/instruction.h:501
↓ 14 callers
Method
IsDependent
Returns true if block |a| is dependent on block |b|.
source/opt/control_dependence.h:162
↓ 14 callers
Method
IsIntCooperativeVectorNVType
source/val/validation_state.cpp:1560
↓ 14 callers
Method
IsNested
Returns true if this loop is itself nested within another loop.
source/opt/loop_descriptor.h:182
↓ 14 callers
Method
IsVulkanUniformBuffer
source/opt/instruction.cpp:439
↓ 14 callers
Function
MakeSimpleOperand
Returns a parsed operand for a non-number value at the given word offset within an instruction.
test/binary_parse_test.cpp:161
↓ 14 callers
Method
MergeBlockId
source/opt/basic_block.cpp:200
↓ 14 callers
Method
NumberOfComponents
source/opt/types.cpp:277
↓ 14 callers
Function
PartitionSubscripts
test/opt/loop_optimizations/dependence_analysis.cpp:2830
↓ 14 callers
Function
Preamble
test/opt/resolve_binding_conflicts_pass_test.cpp:53
↓ 14 callers
Method
component_type
source/opt/constants.h:369
↓ 14 callers
Method
ctail
Returns a const iterator, but othewrise similar to tail().
source/opt/basic_block.h:125
↓ 14 callers
Method
current_layout_section
source/val/validation_state.cpp:315
↓ 14 callers
Method
entry_block
source/val/construct.cpp:64
↓ 14 callers
Method
ext_inst_debuginfo
source/opt/module.h:494
↓ 14 callers
Method
name
source/table2.cpp:129
↓ 14 callers
Method
size
Returns the number of enums stored in this set.
source/enum_set.h:321
← previous
next →
501–600 of 7,821, ranked by callers