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
↓ 4 callers
Function
CheckConsistencyOfSynonymFacts
test/fuzz/fact_manager/data_synonym_and_id_equation_facts_test.cpp:26
↓ 4 callers
Function
CheckLoopBlocks
test/opt/loop_optimizations/nested_loops.cpp:196
↓ 4 callers
Method
ClearInst
source/opt/def_use_manager.cpp:232
↓ 4 callers
Method
CloneDebugInlinedAt
source/opt/debug_info_manager.cpp:449
↓ 4 callers
Method
ComputeLoopStructuredOrder
source/opt/loop_descriptor.cpp:473
↓ 4 callers
Function
ComputeMemberConstraintsForStruct
Load |constraints| with all the member constraints for the given struct, and all its contained structs.
source/val/validate_decorations.cpp:1131
↓ 4 callers
Function
CreateCCPPass
source/opt/optimizer.cpp:993
↓ 4 callers
Function
CreateCopyPropagateArraysPass
source/opt/optimizer.cpp:1027
↓ 4 callers
Function
CreateDeadInsertElimPass
source/opt/optimizer.cpp:872
↓ 4 callers
Method
CreateDebugInlinedAt
source/opt/debug_info_manager.cpp:169
↓ 4 callers
Function
CreateDecoration
Creates an OpDecorate instruction whose Target is |var_id| and Decoration is |decoration|. Adds |literal| as an extra operand of the instruction.
source/opt/interface_var_sroa.cpp:95
↓ 4 callers
Function
CreateEliminateDeadFunctionsPass
source/opt/optimizer.cpp:780
↓ 4 callers
Function
CreateFreezeSpecConstantValuePass
source/opt/optimizer.cpp:807
↓ 4 callers
Function
CreateLocalAccessChainConvertPass
source/opt/optimizer.cpp:852
↓ 4 callers
Function
CreateMergeReturnPass
source/opt/optimizer.cpp:921
↓ 4 callers
Function
CreatePrivateToLocalPass
source/opt/optimizer.cpp:988
↓ 4 callers
Function
CreateReduceLoadSizePass
source/opt/optimizer.cpp:1036
↓ 4 callers
Function
CreateRedundancyEliminationPass
source/opt/optimizer.cpp:973
↓ 4 callers
Function
CreateVectorDCEPass
source/opt/optimizer.cpp:1032
↓ 4 callers
Function
CreateWrapOpKillPass
source/opt/optimizer.cpp:1105
↓ 4 callers
Method
Disassemble
source/val/validation_state.cpp:1949
↓ 4 callers
Function
DisassembleModule
Disassembles the given |module| and returns the disassembly.
test/opt/def_use_test.cpp:592
↓ 4 callers
Method
End
()
utils/vscode/src/lsp/span/span.go:120
↓ 4 callers
Method
EntryPointReferences
source/val/validation_state.cpp:1921
↓ 4 callers
Method
EquivalenceClassIsSuitableForBlock
source/fuzz/fuzzer_pass_add_opphi_synonyms.cpp:227
↓ 4 callers
Method
EvalConstantValInt64
source/val/validation_state.cpp:1803
↓ 4 callers
Method
Exit
(context.Context)
utils/vscode/src/lsp/protocol/tsserver.go:28
↓ 4 callers
Function
FactorAddSubMuls
Perform the following factoring identity, handling all operand order combinations: (a * b) + (a * c) = a * (b + c) (a * b) - (a * c) = a * (b - c)
source/opt/folding_rules.cpp:1590
↓ 4 callers
Function
FindAndReplace
test/opt/pass_utils.cpp:58
↓ 4 callers
Method
FindFuncsCalledFromContinue
source/opt/struct_cfg_analysis.cpp:217
↓ 4 callers
Function
FindIdOfBoolType
Finds ID of a bool type (returns 0 if not found)
source/link/fnvar.cpp:152
↓ 4 callers
Method
FoldInstructionToConstant
source/opt/fold.cpp:574
↓ 4 callers
Function
FoldUnaryOp
Returns a |ConstantFoldingRule| that folds unary scalar ops using |scalar_rule| and unary vectors ops by applying |scalar_rule| to the elements of the
source/opt/const_folding_rules.cpp:677
↓ 4 callers
Method
ForEachId
source/opt/instruction.h:798
↓ 4 callers
Method
FullyUnroll
Fully unroll the loop by partially unrolling it by the number of loop iterations minus one for the body already accounted for.
source/opt/loop_unroller.cpp:592
↓ 4 callers
Function
GenKernelClockSpirv
test/val/val_misc_test.cpp:275
↓ 4 callers
Function
GenerateBFloatCode
test/val/val_invalid_type_test.cpp:36
↓ 4 callers
Function
GetArrayLength
source/val/validate_ray_query.cpp:26
↓ 4 callers
Method
GetBuiltinInputVarId
source/opt/ir_context.cpp:893
↓ 4 callers
Method
GetConstantFromUniformDescriptor
source/fuzz/fact_manager/fact_manager.cpp:160
↓ 4 callers
Method
GetDebugFunction
Returns DebugFunction whose Function operand is |fn_id|. If it does not exist, return nullptr.
source/opt/debug_info_manager.h:112
↓ 4 callers
Function
GetExtensionSet
source/fuzz/transformation_move_instruction_down.cpp:27
↓ 4 callers
Method
GetFloatValue
Returns the float value of |this|. The type of |this| must be |Float| with width of 32.
source/opt/constants.h:245
↓ 4 callers
Function
GetFnName
source/link/fnvar.cpp:254
↓ 4 callers
Method
GetIRContext
source/fuzz/fuzzer.cpp:286
↓ 4 callers
Function
GetKernelHeader
test/val/val_image_test.cpp:480
↓ 4 callers
Function
GetMemorySemanticsForStorageClass
source/fuzz/fuzzer_util.cpp:460
↓ 4 callers
Method
GetNullCompositeConstant
source/opt/constants.cpp:404
↓ 4 callers
Function
GetUnreachableContinueTerminatedBy
test/val/val_cfg_test.cpp:751
↓ 4 callers
Method
GetValidatorOptions
source/fuzz/transformation_context.h:55
↓ 4 callers
Function
GetVariableType
source/opt/desc_sroa_util.cpp:40
↓ 4 callers
Function
Has16BitCapability
source/opt/trim_capabilities_pass.cpp:134
↓ 4 callers
Method
HasEarlyReturn
source/opt/function.cpp:231
↓ 4 callers
Function
HasFloatingPoint
Returns true if |type| is Float or a vector of Float.
source/opt/const_folding_rules.cpp:66
↓ 4 callers
Method
HasOffset
()
utils/vscode/src/lsp/span/span.go:115
↓ 4 callers
Method
HasPosition
()
utils/vscode/src/lsp/span/span.go:114
↓ 4 callers
Method
IdBound
Returns the Id bound.
source/opt/module.h:68
↓ 4 callers
Function
IdUseCanBeReplaced
source/fuzz/fuzzer_util.cpp:1585
↓ 4 callers
Function
ImageOperandsTemplate
TODO(atgoo@github.com) The following test is not valid as it generates invalid combinations of images, instructions and image operands. Creates assem
test/val/val_capability_test.cpp:2326
↓ 4 callers
Function
InOperandIndexFromOperandIndex
source/fuzz/fuzzer_util.cpp:817
↓ 4 callers
Function
InstructionHasNoSideEffects
source/fuzz/fuzzer_util.cpp:1794
↓ 4 callers
Method
IsBase
source/link/fnvar.h:125
↓ 4 callers
Method
IsBfloat16Type
source/val/validation_state.cpp:1118
↓ 4 callers
Method
IsCooperativeMatrixNVType
source/val/validation_state.cpp:1483
↓ 4 callers
Method
IsDescriptorType
Opaque handles from [Descriptor] section (added from SPV_EXT_descriptor_heap)
source/val/validation_state.cpp:1577
↓ 4 callers
Method
IsFP8Type
source/val/validation_state.cpp:1163
↓ 4 callers
Method
IsIntArrayType
source/val/validation_state.cpp:1243
↓ 4 callers
Method
IsLoopInvariant
source/opt/scalar_analysis.cpp:375
↓ 4 callers
Method
IsMember
Returns true if |this| represents a member of its owner, and not the entire variable.
source/opt/copy_prop_arrays.h:101
↓ 4 callers
Method
IsOpcodeCodeMotionSafe
source/opt/instruction.cpp:876
↓ 4 callers
Method
IsPseudoEntryBlock
Return true if |block_ptr| is the pseudo-entry block.
source/opt/cfg.h:52
↓ 4 callers
Method
IsPseudoExitBlock
Return true if |block_ptr| is the pseudo-exit block.
source/opt/cfg.h:57
↓ 4 callers
Function
IsSigned
Returns true if the type is a signed value.
source/util/parse_number.h:50
↓ 4 callers
Function
IsSpace
Whether a character should be skipped as whitespace / separator / end-of-file.
tools/io.cpp:99
↓ 4 callers
Function
IsSubset
Returns true if |a| is a subet of |b|.
source/opt/decoration_manager.cpp:33
↓ 4 callers
Method
IsSupportedCondition
source/opt/loop_descriptor.cpp:96
↓ 4 callers
Method
IsUnsignedIntCooperativeMatrixType
source/val/validation_state.cpp:1537
↓ 4 callers
Method
IsValid
()
utils/vscode/src/lsp/span/span.go:116
↓ 4 callers
Method
IsVariableDebugDeclared
source/opt/debug_info_manager.cpp:464
↓ 4 callers
Function
Log
Calls the given |consumer| by supplying the |message|. The |message| is from the given |source| and |location| and of the given severity |level|.
source/opt/log.h:70
↓ 4 callers
Function
Logf
source/opt/log.h:80
↓ 4 callers
Function
MakeLongUTF8String
Returns a string with num_4_byte_chars Unicode characters, each of which has a 4-byte UTF-8 encoding.
test/unit_spirv.h:168
↓ 4 callers
Function
MakeParsedInt32TypeInstruction
Returns a ParsedInstruction for an OpTypeInt instruction that generates the given result Id for a 32-bit signed integer scalar type.
test/binary_parse_test.cpp:200
↓ 4 callers
Method
MaybeGetExitBlockSuitableForOutlining
source/fuzz/fuzzer_pass_outline_functions.cpp:162
↓ 4 callers
Function
MaybeGetVoidType
source/fuzz/fuzzer_util.cpp:1214
↓ 4 callers
Method
MoveBasicBlockToAfter
source/opt/function.h:261
↓ 4 callers
Function
NumUses
Returns the number of uses of |id|.
test/opt/def_use_test.cpp:41
↓ 4 callers
Method
Or
source/util/bit_vector.cpp:41
↓ 4 callers
Method
PartiallyUnroll
Duplicate the |loop| body |factor| number of times while keeping the loop backedge intact.
source/opt/loop_unroller.cpp:1016
↓ 4 callers
Function
PhiIdsOkForNewEdge
source/fuzz/fuzzer_util.cpp:123
↓ 4 callers
Method
Position
(p span.Point)
utils/vscode/src/lsp/protocol/span.go:64
↓ 4 callers
Function
RayQueryIntersection
test/val/val_ray_query_test.cpp:190
↓ 4 callers
Function
RayQueryResult
test/val/val_ray_query_test.cpp:123
↓ 4 callers
Method
Read
Read gets the next message from the stream. It is never called concurrently.
utils/vscode/src/lsp/jsonrpc2/stream.go:35
↓ 4 callers
Function
ReadTextFile
tools/io.cpp:397
↓ 4 callers
Function
ReassociateNestedAddSub
Reassociate add/sub instructions, which have add/sub inputs, both of which contain a constant. e.g: (a + C0) - (C1 - b) = (C0 - C1) + (a + b) (C0 - a
source/opt/folding_rules.cpp:1878
↓ 4 callers
Function
Reciprocal
Takes the reciprocal of |c|. |c|'s type must be Float or a vector of Float. Returns 0 if the reciprocal is NaN, infinite or subnormal.
source/opt/folding_rules.cpp:329
↓ 4 callers
Method
Register
Requires that |value| is not known to the equivalence relation. Registers it in its own equivalence class and returns a pointer to the equivalence cla
source/fuzz/equivalence_relation.h:107
↓ 4 callers
Method
RegisterConstant
Registers a new constant |cst| in the constant pool. If the constant existed already, it returns a pointer to the previously existing Constant in the
source/opt/constants.h:601
↓ 4 callers
Method
RegisterPassesFromFlags
source/opt/optimizer.cpp:272
← previous
next →
1,201–1,300 of 7,821, ranked by callers