MCPcopy Create free account

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

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

↓ 1 callersFunctionMerge
Merges the bindings from source into sink. Maintains order and uniqueness within a list of bindings.
source/opt/resolve_binding_conflicts_pass.cpp:219
↓ 1 callersFunctionMergeBinaryOpSelect
source/opt/folding_rules.cpp:3223
↓ 1 callersFunctionMergeDivDivArithmetic
Merges consecutive divides if each instruction contains one constant operand. Does not support integer division. Cases: 2 / (x / 2) = 4 / x 4 / (2 / x
source/opt/folding_rules.cpp:978
↓ 1 callersFunctionMergeDivMulArithmetic
Fold multiplies succeeded by divides where each instruction contains a constant operand. Does not support integer divide. Cases: 4 / (x * 2) = 2 / x 4
source/opt/folding_rules.cpp:1054
↓ 1 callersFunctionMergeDivNegateArithmetic
Fold divides of a constant and a negation. Cases: (-x) / 2 = x / -2 2 / (-x) = -2 / x
source/opt/folding_rules.cpp:1131
↓ 1 callersFunctionMergeModules
source/link/linker.cpp:246
↓ 1 callersFunctionMergeMulDivArithmetic
Merges divides into subsequent multiplies if each instruction contains one constant operand. Does not support integer operations. Cases: 2 * (x / 2) =
source/opt/folding_rules.cpp:813
↓ 1 callersFunctionMeshShadingPass
source/val/validate_mesh_shading.cpp:219
↓ 1 callersFunctionMiscPass
source/val/validate_misc.cpp:133
↓ 1 callersFunctionModeSettingPass
source/val/validate_mode_setting.cpp:1075
↓ 1 callersMethodModify
source/opt/remove_unused_interface_variables_pass.cpp:80
↓ 1 callersFunctionModuleScopedInstructions
Module scoped instructions are processed by determining if the opcode is part of the current layout section. If it is not then the next sections is ch
source/val/validate_layout.cpp:34
↓ 1 callersFunctionNegateVectorConstant
Negates the vector constant |c|. Returns the id of the defining instruction.
source/opt/folding_rules.cpp:288
↓ 1 callersFunctionNestSuccessors
For a given block, assign nesting level to its successors.
source/disassemble.cpp:324
↓ 1 callersFunctionNewTokenConverter
NewTokenConverter returns an implementation of Converter backed by a token.File.
utils/vscode/src/lsp/span/token.go:51
↓ 1 callersFunctionNewURI
(uri span.URI)
utils/vscode/src/lsp/protocol/span.go:33
↓ 1 callersMethodNextIterationState
Swap the state so that the new nodes are now the previous nodes.
source/opt/loop_unroller.cpp:104
↓ 1 callersFunctionNoCheck
test/opt/resolve_binding_conflicts_pass_test.cpp:90
↓ 1 callersFunctionNonUniformPass
Validates correctness of non-uniform group instructions.
source/val/validate_non_uniform.cpp:425
↓ 1 callersMethodNotifyInteresting
source/reduce/reduction_pass.cpp:79
↓ 1 callersMethodOnTypeFormatting
(context.Context, *DocumentOnTypeFormattingParams)
utils/vscode/src/lsp/protocol/tsserver.go:65
↓ 1 callersFunctionOperandVersionExtensionCheck
Returns SPV_SUCCESS if, for the given operand, the target environment satsifies minimum version requirements, or if the module declares an enabling ex
source/val/validate_instruction.cpp:87
↓ 1 callersFunctionOrderBlocks
Given the control flow graph, calculates and returns the reverse post-order ordering of the blocks. The blocks are then disassembled in that order fo
source/disassemble.cpp:410
↓ 1 callersMethodOutput
source/diff/diff.cpp:2798
↓ 1 callersFunctionOutputSourceFiles
Write each HLSL file described in `sources` in a file in `outdirPath`. Doesn't ovewrite existing files, unless `overwrite` is set to true. The created
tools/objdump/objdump.cpp:61
↓ 1 callersFunctionParseDefaultValueBitPattern
Given a bit pattern and a type, checks if the bit pattern is compatible with the type. If so, returns the bit pattern, otherwise returns an empty bit
source/opt/set_spec_constant_default_value_pass.cpp:90
↓ 1 callersFunctionParseDefaultValueStr
Given a numeric value in a null-terminated c string and the expected type of the value, parses the string and encodes it in a vector of words. If the
source/opt/set_spec_constant_default_value_pass.cpp:44
↓ 1 callersFunctionParseFlags
tools/reduce/reduce.cpp:140
↓ 1 callersFunctionParseFlags
tools/fuzz/fuzz.cpp:202
↓ 1 callersMethodParseInstruction
source/name_mapper.cpp:164
↓ 1 callersFunctionParseOconfigFlag
Parses and handles the -Oconfig flag. |prog_name| contains the name of the spirv-opt binary (used to build a new argv vector for the recursive invocat
tools/opt/opt.cpp:667
↓ 1 callersMethodPartiallyUnrollResidualFactor
This function is used to partially unroll the loop when the factor provided would normally lead to an illegal optimization. Instead of just unrolling
source/opt/loop_unroller.cpp:379
↓ 1 callersMethodPartitionSubscripts
source/opt/loop_dependence.cpp:1116
↓ 1 callersFunctionPerEntryExecutionMode
source/val/validate_mode_setting.cpp:976
↓ 1 callersFunctionPerformCfgChecks
source/val/validate_cfg.cpp:1006
↓ 1 callersMethodPerformUnswitch
Unswitches |loop_|.
source/opt/loop_unswitch_pass.cpp:142
↓ 1 callersFunctionPipePass
Validates correctness of pipe instructions.
source/val/validate_pipe.cpp:316
↓ 1 callersMethodPrepareRename
(context.Context, *PrepareRenameParams)
utils/vscode/src/lsp/protocol/tsserver.go:67
↓ 1 callersMethodPrettyPrint
source/opt/instruction.cpp:850
↓ 1 callersMethodPrettyPrint
source/opt/basic_block.cpp:234
↓ 1 callersFunctionPrimitivesPass
Validates correctness of primitive instructions.
source/val/validate_primitives.cpp:28
↓ 1 callersFunctionPrintDivergenceFlow
source/lint/lint_divergent_derivatives.cpp:94
↓ 1 callersFunctionPrintTimerDescription
source/util/timer.cpp:28
↓ 1 callersMethodProcessEntryPointCallTree
source/opt/ir_context.cpp:1004
↓ 1 callersMethodProcessFnVar
source/link/fnvar.cpp:345
↓ 1 callersMethodProcessVariantDefs
source/link/fnvar.cpp:490
↓ 1 callersMethodProgress
(context.Context, *ProgressParams)
utils/vscode/src/lsp/protocol/tsserver.go:36
↓ 1 callersMethodPushIndirection
source/opt/copy_prop_arrays.cpp:907
↓ 1 callersMethodRandomDouble
source/fuzz/pseudo_random_generator.cpp:46
↓ 1 callersMethodRandomPercentage
source/fuzz/pseudo_random_generator.cpp:40
↓ 1 callersMethodRandomUint64
source/fuzz/pseudo_random_generator.cpp:31
↓ 1 callersMethodRange
(s span.Span)
utils/vscode/src/lsp/protocol/span.go:45
↓ 1 callersMethodRangeFormatting
(context.Context, *DocumentRangeFormattingParams)
utils/vscode/src/lsp/protocol/tsserver.go:64
↓ 1 callersMethodRangeSpan
(r Range)
utils/vscode/src/lsp/protocol/span.go:79
↓ 1 callersFunctionRayQueryLSSNVResultType
test/val/val_ray_query_test.cpp:656
↓ 1 callersFunctionRayQueryPass
source/val/validate_ray_query.cpp:80
↓ 1 callersFunctionRayReorderEXTPass
source/val/validate_ray_tracing_reorder.cpp:761
↓ 1 callersFunctionRayReorderNVPass
source/val/validate_ray_tracing_reorder.cpp:292
↓ 1 callersFunctionRayTracingPass
source/val/validate_ray_tracing.cpp:197
↓ 1 callersFunctionReachabilityPass
source/val/validate_cfg.cpp:1239
↓ 1 callersMethodReachedMinimumGranularity
source/reduce/reduction_pass.cpp:72
↓ 1 callersFunctionReadFlagsFromFile
Reads command-line flags the file specified in |oconfig_flag|. This string is assumed to have the form "-Oconfig=FILENAME". This function parses the
tools/opt/opt.cpp:615
↓ 1 callersFunctionReassociateCommutiveBitwise
source/opt/folding_rules.cpp:3790
↓ 1 callersFunctionReassociateCommutiveOp
source/opt/folding_rules.cpp:3749
↓ 1 callersFunctionReassociateNestedGenericInt
source/opt/folding_rules.cpp:1650
↓ 1 callersFunctionReciprocalFDiv
Replaces fdiv where second operand is constant with fmul.
source/opt/folding_rules.cpp:358
↓ 1 callersFunctionRedundantAndAddSub
Folds redundant add and sub ops that are part of an and. Cases handled: 1 & (b + 2) = b & 1 1 & (b - 2) = b & 1
source/opt/folding_rules.cpp:3978
↓ 1 callersFunctionRedundantAndOrXor
Folds redundant xor and or ops that are part of an and. Cases handled: 0b1110 & (a | 0b0001) = a & 0b1110 0b1110 & (a ^ 0b0001) = a & 0b1110 0b0110 &
source/opt/folding_rules.cpp:3920
↓ 1 callersFunctionRedundantAndShift
Folds redundant shift ops that are part of an and. Cases handled: 1 & (b << 1) = 0 0x80000000 & (b >> 1) = 0
source/opt/folding_rules.cpp:4034
↓ 1 callersFunctionRedundantBinaryLhs0
source/opt/folding_rules.cpp:3721
↓ 1 callersFunctionRedundantBinaryLhs0To0
source/opt/folding_rules.cpp:3740
↓ 1 callersFunctionRedundantBinaryRhs0
source/opt/folding_rules.cpp:3708
↓ 1 callersFunctionRedundantBitcast
Remove indirect bitcasts which have no effect. uint32 x; asuint32(x) => x uint32 x; asuint32(asint32(x)) => x float32 x; asuint32(asint
source/opt/folding_rules.cpp:2892
↓ 1 callersFunctionRedundantFAdd
source/opt/folding_rules.cpp:3496
↓ 1 callersFunctionRedundantFDiv
source/opt/folding_rules.cpp:3588
↓ 1 callersFunctionRedundantFMix
source/opt/folding_rules.cpp:3637
↓ 1 callersFunctionRedundantFMod
source/opt/folding_rules.cpp:3613
↓ 1 callersFunctionRedundantFMul
source/opt/folding_rules.cpp:3554
↓ 1 callersFunctionRedundantFSub
source/opt/folding_rules.cpp:3522
↓ 1 callersFunctionRedundantLogicalAnd
Fold OpLogicalAnd instructions which have a constant true on one side. x && true = x true && x = x
source/opt/folding_rules.cpp:3108
↓ 1 callersFunctionRedundantLogicalNot
Fold concurrent OpLogicalNot instructions: !!x = x
source/opt/folding_rules.cpp:3145
↓ 1 callersFunctionRedundantLogicalOr
Fold OpLogicalOr instructions which have a constant false on one side. x || false = x false || x = x
source/opt/folding_rules.cpp:3127
↓ 1 callersFunctionRedundantPhi
source/opt/folding_rules.cpp:2823
↓ 1 callersFunctionRedundantSelect
source/opt/folding_rules.cpp:2963
↓ 1 callersMethodReferences
(context.Context, *ReferenceParams)
utils/vscode/src/lsp/protocol/tsserver.go:54
↓ 1 callersMethodRegisterBlock
source/val/function.cpp:118
↓ 1 callersMethodRegisterDebugInstruction
Improves diagnostic messages by collecting names of IDs
source/val/validation_state.cpp:579
↓ 1 callersFunctionRegisterDecorations
Registers necessary decoration(s) for the appropriate IDs based on the instruction.
source/val/validate_annotation.cpp:576
↓ 1 callersMethodRegisterDecorationsForId
source/val/validation_state.h:479
↓ 1 callersMethodRegisterDecorationsForStructMember
source/val/validation_state.h:487
↓ 1 callersMethodRegisterEntryPoint
Registers |id| as an entry point with |execution_model| and |interfaces|.
source/val/validation_state.h:237
↓ 1 callersMethodRegisterEntryPointLocalSize
Registers that the entry point declares its local size
source/val/validation_state.h:261
↓ 1 callersMethodRegisterEntryPointOutputPrimitivesEXT
Registers that the entry point maximum number of primitives mesh shader will ever emit
source/val/validation_state.h:268
↓ 1 callersMethodRegisterEntryPointOutputVertices
Registers that the entry point maximum number of vertices mesh shader will ever emit
source/val/validation_state.h:285
↓ 1 callersMethodRegisterExecutionModeForEntryPoint
Registers execution mode for the given entry point.
source/val/validation_state.h:255
↓ 1 callersFunctionRegisterExtension
Parses OpExtension instruction and registers extension.
source/val/validate.cpp:47
↓ 1 callersMethodRegisterForwardPointer
source/val/validation_state.cpp:268
↓ 1 callersMethodRegisterFunction
source/val/validation_state.cpp:536
↓ 1 callersMethodRegisterFunctionEnd
source/val/function.cpp:182
↓ 1 callersMethodRegisterFunctionParameter
source/val/function.cpp:55
← previousnext →2,701–2,800 of 7,821, ranked by callers