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
↓ 14 callers
Method
version
source/opt/module.h:159
↓ 13 callers
Method
AddRegisterClass
Get the number of required registers for each basic block.
source/opt/register_pressure.cpp:264
↓ 13 callers
Method
AddSelect
Creates a select instruction. |type| must match the types of |true_value| and |false_value|. It is up to the caller to ensure that |cond| is a correct
source/opt/ir_builder.h:369
↓ 13 callers
Method
AreDecorationsTheSame
TODO(pierremoreau): If OpDecorateId is referencing an OpConstant, one could check that the constants are the same rather than just looking at the cons
source/opt/decoration_manager.cpp:327
↓ 13 callers
Method
AsRuntimeArray
source/opt/types.h:469
↓ 13 callers
Function
ClearHighBits
source/util/bitutils.h:173
↓ 13 callers
Function
CombinedTypes
test/opt/split_combined_image_sampler_pass_test.cpp:1169
↓ 13 callers
Function
ExtensionToString
source/table2.cpp:350
↓ 13 callers
Function
FoldFTranscendentalUnary
source/opt/const_folding_rules.cpp:1933
↓ 13 callers
Function
GenerateCoopMatKHRCode
test/val/val_arithmetics_test.cpp:1710
↓ 13 callers
Function
GenerateExecutionModelCode
test/val/val_storage_test.cpp:440
↓ 13 callers
Function
GenerateMeshShadingCode
test/val/val_builtins_test.cpp:4324
↓ 13 callers
Function
GenerateRayTraceCode
test/val/val_ray_tracing_test.cpp:365
↓ 13 callers
Method
GetBlock
source/val/function.cpp:228
↓ 13 callers
Method
GetDestination
source/opt/loop_dependence.h:247
↓ 13 callers
Method
GetDivergenceDependenceSource
Returns the dependence source for the control dependence for the given id. This only exists for data -> control edges. In other words, if block 2 is
source/lint/divergence_analysis.h:109
↓ 13 callers
Function
GetIdDesc
Returns a short textual description of the id defined by the given instruction.
source/val/validate_builtins.cpp:43
↓ 13 callers
Method
GetInductionVariables
Returns the list of induction variables within the loop.
source/opt/loop_descriptor.cpp:851
↓ 13 callers
Method
GetRoot
Get the unique root of the tree. It is guaranteed to work on a dominator tree. post-dominator might have a list.
source/opt/dominator_tree.h:143
↓ 13 callers
Method
GetSource
source/opt/loop_dependence.h:246
↓ 13 callers
Method
GetUintConstant
Returns a pointer to the definition of an unsigned 32-bit integer constant with the given value. Returns |nullptr| if the constant does not exist and
source/opt/ir_builder.h:412
↓ 13 callers
Method
GetVectorComponents
source/opt/constants.cpp:565
↓ 13 callers
Method
HasNestedLoops
Returns true if this loop contains any nested loops.
source/opt/loop_descriptor.h:140
↓ 13 callers
Method
IsCooperativeMatrixKHRType
source/val/validation_state.cpp:1488
↓ 13 callers
Method
IsPointerType
source/val/validation_state.cpp:1421
↓ 13 callers
Method
IsWithinBounds
source/opt/loop_dependence_helpers.cpp:121
↓ 13 callers
Function
MakeAccessClampingInfo
test/fuzz/transformation_add_function_test.cpp:26
↓ 13 callers
Method
MapIds
source/diff/diff.cpp:77
↓ 13 callers
Function
MaybeGetIntegerConstant
source/fuzz/fuzzer_util.cpp:1409
↓ 13 callers
Function
NamedCaller
test/opt/split_combined_image_sampler_pass_test.cpp:1150
↓ 13 callers
Function
PerformOperation
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:698
↓ 13 callers
Function
StorageClassToString
This is dirty copy of the spirv.hpp11 function TODO - Use a generated version of this function
source/table2.cpp:377
↓ 13 callers
Function
ToUIntVector
test/fuzz/equivalence_relation_test.cpp:38
↓ 13 callers
Function
TrivialMain
test/val/val_image_test.cpp:493
↓ 13 callers
Function
ValidateIntersectionId
source/val/validate_ray_query.cpp:62
↓ 13 callers
Function
ValidatePipeType
source/val/validate_pipe.cpp:33
↓ 13 callers
Function
WalkCompositeTypeIndices
source/fuzz/fuzzer_util.cpp:404
↓ 13 callers
Method
consumer
test/opt/pass_fixture.h:306
↓ 13 callers
Method
debugs2
source/opt/module.h:468
↓ 13 callers
Method
ext_inst_debuginfo_end
source/opt/module.h:490
↓ 13 callers
Function
formatEnum
(f fmt.State, c rune, i int, names []string, unknown string)
utils/vscode/src/lsp/protocol/enums.go:133
↓ 13 callers
Function
getChars
Returns a pointer to the null-terminated C-style string in the global strings table, as referenced by 'ir'. Assumes the given range is valid.
source/table2.cpp:119
↓ 13 callers
Method
name
test/opt/pass_manager_test.cpp:80
↓ 13 callers
Function
parseEnum
(s string, names []string)
utils/vscode/src/lsp/protocol/enums.go:145
↓ 13 callers
Method
set_value
source/util/hex_float.h:492
↓ 13 callers
Function
spvFixWord
source/spirv_endian.cpp:34
↓ 13 callers
Method
version
Gets the SPIR-V version of this module.
source/val/validation_state.h:146
↓ 12 callers
Method
AddNaryExtendedInstruction
source/opt/ir_builder.h:649
↓ 12 callers
Method
AddPhi
Creates a phi instruction. The id |type| must be the id of the phi instruction's type. The vector |incomings| must be a sequence of pairs of <definiti
source/opt/ir_builder.h:292
↓ 12 callers
Method
AsSampledImage
source/opt/types.h:401
↓ 12 callers
Method
CanPeelLoop
Returns true if the loop can be peeled. To be peelable, all operation involved in the update of the loop iterators must not dominates the exit conditi
source/opt/loop_peeling.h:118
↓ 12 callers
Function
DoesDebugInfoOperandMatchExpectation
True if the operand of a debug info instruction |inst| at |word_index| satisfies |expectation| that is given as a function. Otherwise, returns false.
source/val/validate_extensions.cpp:215
↓ 12 callers
Function
FunctionIsEntryPoint
source/fuzz/fuzzer_util.cpp:654
↓ 12 callers
Function
GenerateKernelCode
test/val/val_logicals_test.cpp:174
↓ 12 callers
Function
GenerateKernelCode
test/val/val_barriers_test.cpp:133
↓ 12 callers
Function
GetIteratorForInstruction
source/fuzz/fuzzer_util.cpp:277
↓ 12 callers
Method
HasDecoration
source/opt/decoration_manager.cpp:495
↓ 12 callers
Method
IsDeclaration
Returns true is a function declaration and not a function definition.
source/opt/function.h:201
↓ 12 callers
Method
IsDecoration
source/opt/instruction.h:906
↓ 12 callers
Function
MakeFilterIteratorRange
source/opt/iterator.h:254
↓ 12 callers
Method
MakeLoopClosedSSA
source/opt/loop_utils.cpp:459
↓ 12 callers
Function
MakeSynonymFact
test/fuzz/transformation_add_opphi_synonym_test.cpp:25
↓ 12 callers
Function
MapToRepeatedUInt32Pair
source/fuzz/fuzzer_util.cpp:1546
↓ 12 callers
Function
MaybeGetBoolType
source/fuzz/fuzzer_util.cpp:1172
↓ 12 callers
Function
MaybeGetScalarConstant
source/fuzz/fuzzer_util.cpp:1353
↓ 12 callers
Function
NamedCombinedTypes
test/opt/split_combined_image_sampler_pass_test.cpp:1139
↓ 12 callers
Method
RegisterCapability
(context.Context, *RegistrationParams)
utils/vscode/src/lsp/protocol/tsclient.go:32
↓ 12 callers
Method
RemoveAtRandomIndex
source/fuzz/fuzzer_context.h:61
↓ 12 callers
Method
RemoveDecorationsFrom
source/opt/decoration_manager.cpp:55
↓ 12 callers
Function
SetContextMessageConsumer
test/c_interface_test.cpp:24
↓ 12 callers
Method
SetCurrentLayoutSectionForTesting
Testing method to allow setting the current layout section.
source/val/validation_state.h:992
↓ 12 callers
Function
ShaderWithUniformLikeDecoration
Returns SPIR-V assembly for a shader that uses a given decoration instruction.
test/val/val_decoration_test.cpp:5622
↓ 12 callers
Method
ToMessage
source/fuzz/transformation_load.cpp:217
↓ 12 callers
Method
UpdateDebugInfoFrom
source/opt/instruction.cpp:556
↓ 12 callers
Method
begin
source/opt/iterator.h:121
↓ 12 callers
Method
extension_begin
source/opt/module.h:551
↓ 12 callers
Function
get_all_superclasses
Returns all superclasses of a given class. Omits root 'object' superclass. Returns: A list of superclasses of the given class. The order gu
test/tools/spirv_test_framework.py:72
↓ 12 callers
Function
get_all_test_methods
Gets all validation methods. Returns: A list of validation methods. The order guarantees that * A method defined in superclass preced
test/tools/spirv_test_framework.py:95
↓ 12 callers
Method
graph_definition_region
source/val/validation_state.cpp:390
↓ 12 callers
Method
in_function_body
source/val/validation_state.cpp:383
↓ 12 callers
Method
operand
operand parses the operand with the name n, kind k, starting at the i'th token.
utils/vscode/src/parser/parser.go:541
↓ 12 callers
Method
reachable
Returns true if the block is reachable in the CFG.
source/val/basic_block.h:88
↓ 12 callers
Method
set_max_id_bound
source/opt/ir_context.h:624
↓ 12 callers
Function
spvSoftwareVersionDetailsString
source/software_version.cpp:27
↓ 12 callers
Method
types_values_end
source/opt/module.h:570
↓ 11 callers
Method
AddCompositeExtract
source/opt/ir_builder.h:478
↓ 11 callers
Function
AllVariablesAndParametersExceptLoopLimiterAreIrrelevant
Returns true if and only if every pointer parameter and variable associated with |function_id| in |context| is known by |transformation_context| to be
test/fuzz/transformation_add_function_test.cpp:72
↓ 11 callers
Method
AsBoolConstant
source/opt/constants.h:70
↓ 11 callers
Function
BuildModule
source/opt/build_module.cpp:49
↓ 11 callers
Function
CanCreateConstant
source/fuzz/fuzzer_util.cpp:1322
↓ 11 callers
Method
CollectRecurrentNodes
Collect all the recurrent nodes in this SENode
source/opt/scalar_analysis_nodes.h:117
↓ 11 callers
Method
CooperativeMatrixShapesMatch
source/val/validation_state.cpp:1660
↓ 11 callers
Function
CreateStripDebugInfoPass
source/opt/optimizer.cpp:766
↓ 11 callers
Function
DecoSSBO
test/opt/graphics_robust_access_test.cpp:138
↓ 11 callers
Function
DoErrorMessageCheck
Checks the given |error_message| is reported when trying to build a module from the given |assembly|.
test/opt/ir_loader_test.cpp:1399
↓ 11 callers
Method
GetByteOffset
source/opt/types.cpp:306
↓ 11 callers
Function
GetCallers
source/fuzz/fuzzer_util.cpp:1023
↓ 11 callers
Method
GetDistance
source/opt/loop_dependence.h:230
↓ 11 callers
Function
GetErrorString
Returns expected error string if |opcode| produces a duplicate type declaration.
test/val/val_type_unique_test.cpp:95
↓ 11 callers
Method
GetExecutionModels
Returns Execution Models for the given Entry Point. Returns nullptr if none found (would trigger assertion).
source/val/validation_state.h:318
← previous
next →
601–700 of 7,821, ranked by callers