MCPcopy Create free account

hub / github.com/KhronosGroup/SPIRV-Tools / functions

Functions7,821 in github.com/KhronosGroup/SPIRV-Tools

↓ 2 callersFunctionIsImplicitLod
source/val/validate_image.cpp:125
↓ 2 callersFunctionIsInCorrectFormForGCDTest
Check if node is affine, ie in the form: a0*i0 + a1*i1 + ... an*in + c and contains only the following types of nodes: SERecurrentNode, SEAddNode and
source/opt/loop_dependence.cpp:71
↓ 2 callersFunctionIsInt64ImageFormat
source/val/validate_image.cpp:212
↓ 2 callersMethodIsInteresting
test/reduce/reducer_test.cpp:44
↓ 2 callersFunctionIsInterfaceVariable
source/val/validate_mesh_shading.cpp:26
↓ 2 callersMethodIsMarkedForRemoval
Returns whether or not this loop has been marked for removal.
source/opt/loop_descriptor.h:280
↓ 2 callersFunctionIsMerge
Returns true if |id| is the merge target of a merge instruction.
source/opt/block_merge_util.cpp:35
↓ 2 callersFunctionIsMergeOrContinue
source/fuzz/fuzzer_util.cpp:560
↓ 2 callersMethodIsNop
source/opt/instruction.h:744
↓ 2 callersFunctionIsOpLineInst
source/opt/reflect.h:39
↓ 2 callersFunctionIsPermutationOfRange
source/fuzz/fuzzer_util.cpp:982
↓ 2 callersMethodIsPostDominator
Returns true if this tree is a post dominator tree.
source/opt/dominator_tree.h:203
↓ 2 callersMethodIsQCOMImageProcessingTextureConsumer
Check if instruction 'id' is a consumer of a texture decorated with a QCOM image processing decoration
source/val/validation_state.h:998
↓ 2 callersMethodIsReady
Returns true if this Phi candidate is ready to be emitted.
source/opt/ssa_rewrite_pass.h:84
↓ 2 callersFunctionIsScalarTypeOrOrArrayOfScalarType
source/val/validate_tensor.cpp:47
↓ 2 callersFunctionIsSeparator
Returns true if the given char is ':', '\0' or considered as blank space (i.e.: '\n', '\r', '\v', '\t', '\f' and ' ').
source/opt/set_spec_constant_default_value_pass.cpp:365
↓ 2 callersFunctionIsSparse
Returns true if opcode is *ImageSparse*, false otherwise.
source/val/validate_image.cpp:893
↓ 2 callersMethodIsStructuredExit
source/val/construct.cpp:120
↓ 2 callersFunctionIsSupportGuaranteedOpenCL_1_2
source/val/validate_capability.cpp:234
↓ 2 callersFunctionIsSupportGuaranteedOpenCL_2_0
source/val/validate_capability.cpp:252
↓ 2 callersFunctionIsSupportGuaranteedVulkan_1_0
source/val/validate_capability.cpp:30
↓ 2 callersFunctionIsSupportGuaranteedVulkan_1_1
source/val/validate_capability.cpp:48
↓ 2 callersFunctionIsSupportGuaranteedVulkan_1_2
source/val/validate_capability.cpp:60
↓ 2 callersFunctionIsSupportGuaranteedVulkan_1_3
source/val/validate_capability.cpp:71
↓ 2 callersFunctionIsSupportOptionalVulkan_1_0
source/val/validate_capability.cpp:115
↓ 2 callersFunctionIsSupportOptionalVulkan_1_1
source/val/validate_capability.cpp:158
↓ 2 callersFunctionIsSupportOptionalVulkan_1_2
source/val/validate_capability.cpp:188
↓ 2 callersFunctionIsSupportOptionalVulkan_1_3
Vulkan 1.3 only added required features.
source/val/validate_capability.cpp:225
↓ 2 callersMethodIsSupportedLoop
source/opt/loop_dependence_helpers.cpp:452
↓ 2 callersMethodIsTargetVar
source/opt/mem_pass.cpp:278
↓ 2 callersMethodIsTensorType
source/val/validation_state.cpp:1571
↓ 2 callersFunctionIsTypeOfStructuredBuffer
source/opt/desc_sroa_util.cpp:86
↓ 2 callersMethodIsUniqueType
source/opt/types.cpp:89
↓ 2 callersMethodIsUnsigned64BitHandle
Either a 32 bit 2-component uint vector or a 64 bit uint scalar
source/val/validation_state.cpp:1544
↓ 2 callersMethodIsUnsignedIntScalarOrVectorType
source/val/validation_state.cpp:1294
↓ 2 callersFunctionIsValidResult
source/opt/folding_rules.cpp:107
↓ 2 callersMethodIsValidStorageClass
source/val/validation_state.cpp:2173
↓ 2 callersMethodIsWgslCompatible
Returns true if all transformations should be compatible with WGSL.
source/fuzz/fuzzer_context.h:124
↓ 2 callersFunctionLookupOpcodeForEnvInternal
source/table2.cpp:206
↓ 2 callersFunctionMakeConstantUniformReplacement
source/fuzz/force_render_red.cpp:146
↓ 2 callersMethodMakeFreshId
Generate a fresh id in this mapping's domain.
source/diff/diff.cpp:126
↓ 2 callersFunctionMakeLiteralNumberOperand
Returns a parsed operand for a literal unsigned integer value at the given word offset within an instruction.
test/binary_parse_test.cpp:168
↓ 2 callersFunctionMakeLiteralStringOperand
Returns a parsed operand for a literal string value at the given word offset within an instruction.
test/binary_parse_test.cpp:175
↓ 2 callersFunctionMakeModuleHavingStruct
Returns the assembly for a SPIR-V module with a struct declaration with the given number of members.
test/cpp_interface_test.cpp:189
↓ 2 callersFunctionMakeSetClosedSSA
Make the set |blocks| closed SSA. The set is closed SSA if all the uses outside the set are phi instructions in exiting basic block set (hold by |lcss
source/opt/loop_utils.cpp:283
↓ 2 callersMethodMappedSrcId
source/diff/diff.cpp:156
↓ 2 callersMethodMarkComplete
Marks this phi candidate as complete.
source/opt/ssa_rewrite_pass.h:81
↓ 2 callersFunctionMaybeGetOpConstant
source/fuzz/fuzzer_util.cpp:47
↓ 2 callersFunctionMergeAddAddArithmetic
Folds addition of an addition where each operation has a constant operand. Cases: (x + 2) + 2 = x + 4 (2 + x) + 2 = x + 4 2 + (x + 2) = x + 4 2 + (2 +
source/opt/folding_rules.cpp:1247
↓ 2 callersFunctionMergeAddNegateArithmetic
Folds addition, where one side is a negation. (-x) + y = y - x y + (-x) = y - x
source/opt/folding_rules.cpp:1166
↓ 2 callersFunctionMergeAddSubArithmetic
Folds addition of a subtraction where each operation has a constant operand. Cases: (x - 2) + 2 = x + 0 (2 - x) + 2 = 4 - x 2 + (x - 2) = x + 0 2 + (2
source/opt/folding_rules.cpp:1300
↓ 2 callersFunctionMergeBlocksReductionPassTest_LoopReturn_Helper
test/reduce/merge_blocks_test.cpp:512
↓ 2 callersFunctionMergeGenericAddSubArithmetic
Folds addition of a subtraction where the subtrahend is equal to the other addend. Return a copy of the minuend. Accepts generic (const and non-const)
source/opt/folding_rules.cpp:1534
↓ 2 callersFunctionMergeGenericAddendSub
Helper function for MergeGenericAddSubArithmetic. If |addend| and subtrahend of |sub| is the same, merge to copy of minuend of |sub|.
source/opt/folding_rules.cpp:1510
↓ 2 callersFunctionMergeMulMulArithmetic
Merges consecutive multiplies where each contains one constant operand. Cases: 2 * (x * 2) = x * 4 2 * (2 * x) = x * 4 (x * 2) * 2 = x * 4 (2 * x) * 2
source/opt/folding_rules.cpp:755
↓ 2 callersFunctionMergeMulNegateArithmetic
Merges multiply of constant and negation. Cases: (-x) * 2 = x * -2 2 * (-x) = x * -2
source/opt/folding_rules.cpp:892
↓ 2 callersFunctionMergeNegateAddSubArithmetic
Merges negate into a add or sub operation if that operation contains a constant operand. Cases: -(x + 2) = -2 - x -(2 + x) = -2 - x -(x - 2) = 2 - x -
source/opt/folding_rules.cpp:509
↓ 2 callersFunctionMergeNegateArithmetic
Elides consecutive negate instructions.
source/opt/folding_rules.cpp:407
↓ 2 callersFunctionMergeNegateMulDivArithmetic
Merges negate into a mul or div operation if that operation contains a constant operand. Cases: -(x * 2) = x * -2 -(2 * x) = x * -2 -(x / 2) = x / -2
source/opt/folding_rules.cpp:442
↓ 2 callersFunctionMergeSubAddArithmetic
Folds subtraction of an addition where each operand has a constant operand. Cases: (x + 2) - 2 = x + 0 (2 + x) - 2 = x + 0 2 - (x + 2) = 0 - x 2 - (2
source/opt/folding_rules.cpp:1365
↓ 2 callersFunctionMergeSubNegateArithmetic
Folds subtraction, where one side is a negation. Cases: (-x) - 2 = -2 - x y - (-x) = x + y
source/opt/folding_rules.cpp:1200
↓ 2 callersFunctionMergeSubSubArithmetic
Folds subtraction of a subtraction where each operand has a constant operand. Cases: (x - 2) - 2 = x - 4 (2 - x) - 2 = 0 - x 2 - (x - 2) = 4 - x 2 - (
source/opt/folding_rules.cpp:1436
↓ 2 callersFunctionNegateFPConst
Returns a constants with the value |-val| of the given type. Only works for 32-bit and 64-bit float point types. Returns |nullptr| if an error occur
source/opt/const_folding_rules.cpp:78
↓ 2 callersFunctionNegateFloatingPointConstant
Returns the negation of |c|. |c| must be a 32 or 64 bit floating point constant.
source/opt/folding_rules.cpp:247
↓ 2 callersFunctionNegateIntegerConstant
Negates the integer constant |c|. Returns the id of the defining instruction.
source/opt/folding_rules.cpp:268
↓ 2 callersFunctionNumConsumedComponents
Returns the number of components consumed by types that support a component decoration.
source/val/validate_interfaces.cpp:230
↓ 2 callersFunctionNumConsumedLocations
This function assumes a base location has been determined already. As such any further location decorations are invalid. TODO: if this code turns out
source/val/validate_interfaces.cpp:148
↓ 2 callersMethodParallel
Parallel indicates that the system is now allowed to process other requests in parallel with this one. It is safe to call any number of times, but mus
utils/vscode/src/lsp/jsonrpc2/jsonrpc2.go:226
↓ 2 callersFunctionParseCsv
Parses a CSV source string for the purpose of this extension. Required columns must be known in advance and supplied as the required_cols argument --
source/link/fnvar.cpp:42
↓ 2 callersFunctionParseFlags
Parses command-line flags. |argc| contains the number of command-line flags. |argv| points to an array of strings holding the flags. |optimizer| is th
tools/opt/opt.cpp:749
↓ 2 callersFunctionParseNumberUntilSeparator
Reads characters starting from |str| until it meets a separator. Parses a number from the characters and stores it into |number|. Returns the pointer
source/opt/convert_to_sampled_image_pass.cpp:45
↓ 2 callersFunctionParseTransformations
tools/fuzz/fuzz.cpp:442
↓ 2 callersFunctionPerformFloatingPointOperation
Performs |input1| |opcode| |input2| and returns the merged constant result id. Returns 0 if the result is not a valid value. The input types must be F
source/opt/folding_rules.cpp:592
↓ 2 callersFunctionPerformIntegerOperation
Performs |input1| |opcode| |input2| and returns the merged constant result id. Returns 0 if the result is not a valid value. The input types must be I
source/opt/folding_rules.cpp:641
↓ 2 callersMethodPopIndirection
Change |this| to now represent the first enclosing object to which it belongs. (Remove the last element off the access_chain). It is invalid to call
source/opt/copy_prop_arrays.h:94
↓ 2 callersMethodPostModificationCleanup
Add and remove loops which have been marked for addition and removal to maintain the state of the loop descriptor class.
source/opt/loop_descriptor.cpp:944
↓ 2 callersFunctionPreambleAssembly
Returns the initial part of the assembly text for a valid SPIR-V module, including instructions prior to decorations.
test/opt/flatten_decoration_test.cpp:28
↓ 2 callersFunctionPrintUsage
tools/opt/opt.cpp:82
↓ 2 callersMethodPublishDiagnostics
(context.Context, *PublishDiagnosticsParams)
utils/vscode/src/lsp/protocol/tsclient.go:29
↓ 2 callersMethodRandomBool
source/fuzz/pseudo_random_generator.cpp:36
↓ 2 callersMethodReachableFromRoots
Returns true if the basic block |a| is reachable by this tree. A node would be unreachable if it cannot be reached by traversal from the start node or
source/opt/dominator_tree.h:192
↓ 2 callersFunctionReadFile
tools/io.cpp:42
↓ 2 callersFunctionReassociateNestedMulDivFloat
Reassociate floating point mul/div instructions, which have mul/div inputs, both of which contain a constant. e.g: (a * C0) / (C1 / b) = (C0 / C1) *
source/opt/folding_rules.cpp:1731
↓ 2 callersFunctionRedundantLogicalEqual
(a == true) = a (a == false) = !a (a != true) = !a (a != false) = a
source/opt/folding_rules.cpp:3415
↓ 2 callersFunctionRedundantSUDiv
This rule handles divisions by 1 or vector 1 (a / 1 => a).
source/opt/folding_rules.cpp:3812
↓ 2 callersFunctionRedundantSUMod
This rule handles modulo from division by 1 or vector 1 (a % 1 => 0).
source/opt/folding_rules.cpp:3839
↓ 2 callersFunctionReflectionInstructionName
source/val/validate_extensions.cpp:42
↓ 2 callersMethodRegisterDecorationForId
Registers the decoration for the given <id>
source/val/validation_state.h:472
↓ 2 callersMethodRegisterQCOMImageProcessingTextureConsumer
source/val/validation_state.cpp:659
↓ 2 callersMethodRemoveChildLoop
Remove the child loop form this loop.
source/opt/loop_descriptor.h:269
↓ 2 callersFunctionRemoveParameter
source/fuzz/fuzzer_util.cpp:1009
↓ 2 callersMethodReorderBasicBlocksInStructuredOrder
source/opt/function.cpp:276
↓ 2 callersFunctionReplaceLoadWithCompositeConstruct
Replaces load instructions with composite construct instructions in all the users of the loads. |loads_to_composites| is the mapping from each load to
source/opt/interface_var_sroa.cpp:110
↓ 2 callersFunctionReplacePhiParentWith
source/opt/loop_fusion.cpp:524
↓ 2 callersMethodResetType
source/opt/type_manager.h:236
↓ 2 callersMethodResponse
Response is called near the start of processing any response.
utils/vscode/src/lsp/jsonrpc2/handler.go:53
↓ 2 callersMethodRun
source/fuzz/added_function_reducer.cpp:52
↓ 2 callersMethodSaveTextResult
source/disassemble.cpp:519
↓ 2 callersFunctionSetConsoleForegroundColorPrimary
source/print.cpp:22
↓ 2 callersMethodSetContext
Sets the associated context for this module
source/opt/module.h:293
← previousnext →1,801–1,900 of 7,821, ranked by callers