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
↓ 5 callers
Method
GetFreshIds
source/fuzz/fuzzer_context.cpp:387
↓ 5 callers
Method
GetLivenessAnalysis
Returns a pointer to a liveness analysis. If the liveness analysis is invalid, it is rebuilt first.
source/opt/ir_context.h:304
↓ 5 callers
Method
GetNameMapper
Returns a NameMapper which maps ids to the friendly names parsed from the module provided to the constructor.
source/name_mapper.h:75
↓ 5 callers
Function
GetNumberOfStructMembers
source/fuzz/fuzzer_util.cpp:418
↓ 5 callers
Method
GetParent
Return the basic block that |instr| belongs to.
source/opt/loop_utils.cpp:106
↓ 5 callers
Function
GetSmallTypesGenerator
test/val/val_small_type_uses_test.cpp:35
↓ 5 callers
Method
GetString
(self, ir: IndexRange)
utils/Table/Context.py:89
↓ 5 callers
Function
GetStructureArrayTestSpirv
test/opt/desc_sroa_test.cpp:26
↓ 5 callers
Method
GetTreeNode
Returns the DominatorTreeNode associated with the basic block |bb|. If the |bb| is unknown to the dominator tree, it returns null.
source/opt/dominator_tree.h:244
↓ 5 callers
Function
GetTrivialNameMapper
source/name_mapper.cpp:36
↓ 5 callers
Method
GetTypeAndPointerType
source/opt/type_manager.cpp:51
↓ 5 callers
Method
GetU64BitValue
source/opt/constants.h:173
↓ 5 callers
Method
GetUniformDescriptorsForConstant
source/fuzz/fact_manager/fact_manager.cpp:155
↓ 5 callers
Method
GetVariable
Returns the owning variable that the memory object is contained in.
source/opt/copy_prop_arrays.h:109
↓ 5 callers
Method
HasParent
source/opt/loop_descriptor.h:179
↓ 5 callers
Method
HasResultType
source/opt/instruction.h:313
↓ 5 callers
Function
HasZero
Returns true if |c| has a zero element.
source/opt/folding_rules.cpp:574
↓ 5 callers
Function
IdIsAvailableAtUse
source/fuzz/fuzzer_util.cpp:663
↓ 5 callers
Function
InstructionFromMessage
source/fuzz/instruction_message.cpp:51
↓ 5 callers
Function
IsAlignedTo
Returns true if |offset| satsifies an alignment to |alignment|. In the case of |alignment| of zero, the |offset| must also be zero.
source/val/validate_decorations.cpp:431
↓ 5 callers
Function
IsFoldableNegation
Returns true if |inst| is negation op and is safe to fold.
source/opt/folding_rules.cpp:932
↓ 5 callers
Function
IsLineInst
source/opt/ir_loader.cpp:42
↓ 5 callers
Method
IsNoLine
source/opt/instruction.cpp:603
↓ 5 callers
Method
IsNonSemanticInstruction
source/opt/instruction.cpp:1081
↓ 5 callers
Function
IsValid
source/fuzz/fuzzer_util.cpp:484
↓ 5 callers
Method
IsValid
source/libspirv.cpp:169
↓ 5 callers
Function
IsVariablePointer
Returns true if inst is a variable pointer. Caches the result in variable_pointers.
source/val/validate_logical_pointers.cpp:45
↓ 5 callers
Method
LengthId
source/opt/types.h:443
↓ 5 callers
Method
MappedId
source/diff/diff.cpp:86
↓ 5 callers
Function
MaybeGetIntegerConstantFromValueAndType
source/fuzz/fuzzer_util.cpp:1422
↓ 5 callers
Function
MergeDivMulDoubleNegative
Merges multiplies / divisions of two negations. Cases: (-x) * (-y) = x * y (-x) / (-y) = x / y
source/opt/folding_rules.cpp:942
↓ 5 callers
Method
MoveBefore
Moves the nodes in |list| to the list that |this| points to. The positions of the nodes will be immediately before the element pointed to by the iter
source/util/ilist.h:107
↓ 5 callers
Function
New
(uri URI, start Point, end Point)
utils/vscode/src/lsp/span/span.go:63
↓ 5 callers
Function
NewURI
NewURI returns a span URI for the string. It will attempt to detect if the string is a file path or uri.
utils/vscode/src/lsp/span/uri.go:62
↓ 5 callers
Function
NoCheck
test/opt/split_combined_image_sampler_pass_test.cpp:147
↓ 5 callers
Function
Optimizer
Constructs an instance with the given target |env|, which is used to decode the binaries to be optimized later. The instance will have an empty messa
include/spirv-tools/optimizer.hpp:74
↓ 5 callers
Function
PositionAfterAdvance
Invokes AssemblyContext::advance() on text, asserts success, and returns AssemblyContext::position().
test/text_advance_test.cpp:99
↓ 5 callers
Function
RayQueryResultType
test/val/val_ray_query_test.cpp:149
↓ 5 callers
Method
RegisterBlockEnd
source/val/function.cpp:142
↓ 5 callers
Method
RegisterType
source/opt/type_manager.cpp:845
↓ 5 callers
Method
RemoveCapability
source/opt/ir_context.cpp:291
↓ 5 callers
Function
RepeatedFieldToVector
source/fuzz/fuzzer_util.cpp:362
↓ 5 callers
Method
ResultId
source/opt/scalar_analysis_nodes.h:327
↓ 5 callers
Method
SetContainsDebugInfo
source/opt/module.h:421
↓ 5 callers
Method
SetGraphDefinitionRegion
source/val/validation_state.cpp:564
↓ 5 callers
Method
Shuffle
source/fuzz/fuzzer_context.h:71
↓ 5 callers
Method
SplitLoopHeader
source/opt/cfg.cpp:192
↓ 5 callers
Method
ToBinaryWithoutAttachedDebugInsts
source/opt/instruction.cpp:205
↓ 5 callers
Method
ToNop
source/opt/instruction.h:749
↓ 5 callers
Method
URI
()
utils/vscode/src/lsp/span/span.go:118
↓ 5 callers
Function
Validate
test/opt/ir_builder.cpp:35
↓ 5 callers
Function
ValidateCooperativeVectorPointer
source/val/validate_memory.cpp:3001
↓ 5 callers
Function
ValidateImageProcessingQCOMDecoration
source/val/validate_image.cpp:2408
↓ 5 callers
Function
ValidateInt32Or64Operand
source/val/validate_memory.cpp:2984
↓ 5 callers
Function
ValidateMemorySemantics
source/val/validate_memory_semantics.cpp:25
↓ 5 callers
Function
ValidateTensorTypeWithDimValuesNV
source/val/validate_tensor_layout.cpp:76
↓ 5 callers
Function
WalkOneCompositeTypeIndex
source/fuzz/fuzzer_util.cpp:371
↓ 5 callers
Method
begin
Begin and end iterators for operands.
source/opt/instruction.h:274
↓ 5 callers
Method
binaryEncodeU32
source/text_handler.cpp:265
↓ 5 callers
Method
clean
()
utils/vscode/src/lsp/span/span.go:155
↓ 5 callers
Method
current_block
source/val/function.cpp:201
↓ 5 callers
Method
data
Returns the raw data.
source/util/hex_float.h:291
↓ 5 callers
Function
empty_main_assembly
()
test/tools/opt/flags.py:22
↓ 5 callers
Method
end
source/opt/loop_descriptor.h:65
↓ 5 callers
Method
end
source/opt/iterator.h:122
↓ 5 callers
Method
end
source/opt/scalar_analysis_nodes.h:108
↓ 5 callers
Method
end
source/opt/tree_iterator.h:154
↓ 5 callers
Method
first_block
source/val/function.cpp:209
↓ 5 callers
Method
hasOffset
()
utils/vscode/src/lsp/span/span.go:149
↓ 5 callers
Method
label
Returns the label instruction for the block, or nullptr if not set.
source/val/basic_block.h:149
↓ 5 callers
Method
memory_model
source/val/validation_state.cpp:523
↓ 5 callers
Method
post_begin
Traverse the dominator tree in a depth first post-order. The pseudo-block is ignored.
source/opt/dominator_tree.h:122
↓ 5 callers
Function
rangeToLSP
(r parser.Range)
utils/vscode/src/langsvr.go:572
↓ 5 callers
Method
return_type
source/opt/types.h:606
↓ 5 callers
Method
set_type
Sets the type of the BasicBlock
source/val/basic_block.h:108
↓ 5 callers
Function
spvInstructionAddWord
Appends a word to an instruction, without checking for overflow.
source/instruction.h:45
↓ 5 callers
Method
successors
Returns the successors of the BasicBlock
source/val/basic_block.h:62
↓ 5 callers
Method
verify_assembly_file_preamble
(self, filename)
test/tools/expect.py:226
↓ 4 callers
Method
AddConditionalBranch
Creates a new conditional instruction and the associated selection merge instruction if requested. The id |cond_id| is the id of the condition instruc
source/opt/ir_builder.h:233
↓ 4 callers
Method
AddDebug3Inst
source/opt/module.h:388
↓ 4 callers
Method
AddDebugValueForVariable
source/opt/debug_info_manager.cpp:564
↓ 4 callers
Method
AddFoldingRules
source/opt/folding_rules.cpp:4445
↓ 4 callers
Method
AddInitialFacts
source/fuzz/fact_manager/fact_manager.cpp:97
↓ 4 callers
Method
AddLessThan
Creates an OpILessThan or OpULessThen instruction depending on the sign of |op1|. The id |op1| is the left hand side of the operation. The id |op2| is
source/opt/ir_builder.h:352
↓ 4 callers
Function
AddLocalVariable
source/fuzz/fuzzer_util.cpp:940
↓ 4 callers
Method
AddNaryOp
Creates an N-ary instruction of |opcode|. |typid| must be the id of the instruction's type. |operands| must be a sequence of operand ids. Use |result|
source/opt/ir_builder.h:162
↓ 4 callers
Method
AddPass
test/opt/pass_fixture.h:243
↓ 4 callers
Method
AddVariable
source/opt/ir_builder.h:568
↓ 4 callers
Method
Analyze
Class to gather some metrics about a region of interest.
source/opt/loop_utils.cpp:717
↓ 4 callers
Method
AsCooperativeVectorNV
source/opt/types.h:786
↓ 4 callers
Method
AsFunction
Yields the Interesting instance method wrapped in a function object.
test/fuzz/fuzzer_shrinker_test.cpp:904
↓ 4 callers
Method
AsLiteralUint64
Returns a literal integer operand as a uint64_t
source/opt/instruction.h:108
↓ 4 callers
Method
AsMatrixConstant
source/opt/constants.h:74
↓ 4 callers
Method
AsSEAddNode
source/opt/scalar_analysis_nodes.h:284
↓ 4 callers
Method
AsSEValueUnknown
source/opt/scalar_analysis_nodes.h:324
↓ 4 callers
Method
AsTensorARM
source/opt/types.h:811
↓ 4 callers
Method
BreakMergeId
source/opt/merge_return_pass.h:135
↓ 4 callers
Method
BuildInstructionAndAddToModule
source/opt/constants.cpp:205
↓ 4 callers
Function
CallAndCallee
Returns SPIR-V assembly fragment representing a function call, the end of the callee body, and the preamble and body of the called function with the g
test/val/val_primitives_test.cpp:77
↓ 4 callers
Function
CanBeFnVarCombined
Returns whether instruction can be shared between variant modules and combined using spec constants (such as conditional capabilities).
source/link/fnvar.cpp:193
← previous
next →
1,101–1,200 of 7,821, ranked by callers