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
↓ 2 callers
Method
immediate_structural_post_dominator
source/val/basic_block.cpp:56
↓ 2 callers
Method
inst_binary
source/disassemble.cpp:562
↓ 2 callers
Method
instantiate_for_expectation
(self, testcase)
test/tools/placeholder.py:86
↓ 2 callers
Function
isAlpha
(r rune)
utils/vscode/src/parser/parser.go:395
↓ 2 callers
Function
isAlphaNumeric
(r rune)
utils/vscode/src/parser/parser.go:396
↓ 2 callers
Function
isCompositeType
source/val/validate_constants.cpp:36
↓ 2 callers
Method
isInfinity
Returns true if the given value is any kind of infinity.
source/util/hex_float.h:91
↓ 2 callers
Function
isNumeric
(r rune)
utils/vscode/src/parser/parser.go:394
↓ 2 callers
Function
isPackingScalar
source/opt/struct_packing_pass.cpp:102
↓ 2 callers
Function
isScalarIntegral
Returns true if the type is a scalar integer type.
source/text_handler.h:69
↓ 2 callers
Function
isWindowsDrivePath
isWindowsDrivePath returns true if the file path is of the form used by Windows. We check if the path begins with a drive letter, followed by a ":".
utils/vscode/src/lsp/span/uri.go:146
↓ 2 callers
Method
isZero
()
utils/vscode/src/lsp/span/span.go:151
↓ 2 callers
Method
is_arrayed
source/opt/types.h:373
↓ 2 callers
Method
is_multisampled
source/opt/types.h:374
↓ 2 callers
Method
is_untyped
source/opt/types.h:579
↓ 2 callers
Method
load
Populates self.grammar from the file. Applies the self.prefix to operand enums
utils/ggt.py:81
↓ 2 callers
Function
load_module
tools/diff/diff.cpp:82
↓ 2 callers
Function
logCommon
(outfd io.Writer, data []byte)
utils/vscode/src/lsp/protocol/log.go:129
↓ 2 callers
Method
lookupSpecConstantOpcode
source/assembly_grammar.cpp:201
↓ 2 callers
Function
make_comment
(text, comment_prefix)
test/diff/diff_files/generate_tests.py:141
↓ 2 callers
Function
make_path_to_file
Makes all ancestor directories to the given file, if they don't yet exist. Arguments: f: The file whose ancestor directories are to b
utils/ggt.py:833
↓ 2 callers
Function
markdownOpcode
(op *schema.Opcode)
utils/vscode/src/langsvr.go:232
↓ 2 callers
Method
max_id_bound
source/opt/ir_context.h:623
↓ 2 callers
Method
name
test/opt/line_debug_info_test.cpp:25
↓ 2 callers
Method
num_global_vars
Returns the number of Global Variables.
source/val/validation_state.h:609
↓ 2 callers
Method
num_inputs
source/opt/types.h:840
↓ 2 callers
Method
num_local_vars
Returns the number of Local Variables.
source/val/validation_state.h:612
↓ 2 callers
Function
parseGrammar
parseGrammar downloads (or loads from the cache) the grammar file and returns the parsed grammar.Root.
utils/vscode/src/tools/gen-grammar.go:184
↓ 2 callers
Function
parse_flag
tools/util/flags.cpp:119
↓ 2 callers
Method
pident
pident returns the i'th token if it is an PIdent, otherwise nil.
utils/vscode/src/parser/parser.go:665
↓ 2 callers
Function
positionToLSP
(r parser.Position)
utils/vscode/src/langsvr.go:579
↓ 2 callers
Function
print_usage
tools/val/val.cpp:28
↓ 2 callers
Function
print_usage
()
test/diff/diff_files/generate_tests.py:105
↓ 2 callers
Method
processFile
(ctx context.Context, uri, source string)
utils/vscode/src/langsvr.go:516
↓ 2 callers
Function
process_single_file
tools/val/val.cpp:86
↓ 2 callers
Method
pseudo_entry_block
Returns the pseudo exit block
source/val/function.h:175
↓ 2 callers
Function
remove_debug_info
(in_path)
test/diff/diff_files/generate_tests.py:108
↓ 2 callers
Method
sampled_type
source/opt/types.h:370
↓ 2 callers
Method
setFromSignUnbiasedExponentAndNormalizedSignificand
Sets this HexFloat from the individual components. Note this assumes EVERY significand is normalized, and has an implicit leading one. This means that
source/util/hex_float.h:622
↓ 2 callers
Method
setHandling
(r *Request, active bool)
utils/vscode/src/lsp/jsonrpc2/jsonrpc2.go:290
↓ 2 callers
Method
set_corresponding_constructs
source/val/construct.cpp:58
↓ 2 callers
Function
set_nth_most_significant_bit
source/util/hex_float.h:1211
↓ 2 callers
Function
signed_int_binop_evaluates_to
source/fuzz/transformation_replace_boolean_constant_with_constant_binary.cpp:65
↓ 2 callers
Function
spvFPEncodingFromOperandFPEncoding
source/operand.cpp:642
↓ 2 callers
Function
spvFixDoubleWord
source/spirv_endian.cpp:44
↓ 2 callers
Function
spvGeneratorStr
TODO(dneto): Move this to another file. It doesn't belong with opcode processing.
source/opcode.cpp:51
↓ 2 callers
Function
spvOpcodeIsAtomicWithLoad
source/opcode.cpp:344
↓ 2 callers
Function
spvOpcodeIsBaseOpaqueType
source/opcode.cpp:410
↓ 2 callers
Function
spvOpcodeIsImageSample
source/opcode.cpp:628
↓ 2 callers
Function
spvOpcodeIsLinearAlgebra
source/opcode.cpp:612
↓ 2 callers
Function
spvOpcodeIsReturnOrAbort
source/opcode.cpp:402
↓ 2 callers
Function
spvOptimizerRegisterPassFromFlag
source/opt/optimizer.cpp:1260
↓ 2 callers
Function
spvOptimizerRegisterPassesFromFlags
source/opt/optimizer.cpp:1267
↓ 2 callers
Function
spvPushOperandTypesForMask
source/operand.cpp:264
↓ 2 callers
Function
spvReadEnvironmentFromText
source/spirv_target_env.cpp:201
↓ 2 callers
Function
spvResultToString
source/diagnostic.cpp:130
↓ 2 callers
Function
spvTextEncodeOpcode
@brief Translate single Opcode and operands to binary form @param[in] grammar the grammar to use for compilation @param[in, out] context the dynamic
source/text.cpp:656
↓ 2 callers
Function
spvValidateBinary
source/val/validate.cpp:469
↓ 2 callers
Function
spvValidatorOptionsSetAllowLocalSizeId
source/spirv_validator_options.cpp:124
↓ 2 callers
Function
spvValidatorOptionsSetAllowOffsetTextureOperand
source/spirv_validator_options.cpp:129
↓ 2 callers
Function
spvValidatorOptionsSetAllowVulkan32BitBitwise
source/spirv_validator_options.cpp:134
↓ 2 callers
Function
spvValidatorOptionsSetFriendlyNames
source/spirv_validator_options.cpp:139
↓ 2 callers
Function
spvValidatorOptionsSetSkipBlockLayout
source/spirv_validator_options.cpp:119
↓ 2 callers
Function
spvValidatorOptionsSetUniformBufferStandardLayout
source/spirv_validator_options.cpp:104
↓ 2 callers
Function
spvValidatorOptionsSetWorkgroupScalarBlockLayout
source/spirv_validator_options.cpp:114
↓ 2 callers
Method
startsWithOp
source/text_handler.cpp:229
↓ 2 callers
Method
structural_dom_end
source/val/basic_block.cpp:144
↓ 2 callers
Method
structural_pdom_end
source/val/basic_block.cpp:164
↓ 2 callers
Method
structural_predecessors
Returns the structural successors of the BasicBlock
source/val/basic_block.h:68
↓ 2 callers
Method
structurally_postdominates
source/val/basic_block.cpp:92
↓ 2 callers
Function
substitute_file_extension
Substitutes file extension, respecting known shader extensions. foo.vert -> foo.vert.[extension] [similarly for .frag, .comp, etc.] foo.glsl
test/tools/expect.py:37
↓ 2 callers
Function
unsigned_int_binop_evaluates_to
source/fuzz/transformation_replace_boolean_constant_with_constant_binary.cpp:89
↓ 2 callers
Method
updateOffset
(c Converter)
utils/vscode/src/lsp/span/span.go:288
↓ 2 callers
Method
updatePosition
(c Converter)
utils/vscode/src/lsp/span/span.go:278
↓ 2 callers
Method
use_id
source/opt/types.h:720
↓ 2 callers
Function
verify_file_non_empty
Checks that a given file exists and is not empty.
test/tools/expect.py:63
↓ 2 callers
Method
word_count
source/disassemble.cpp:563
↓ 1 callers
Method
AddArchDef
source/link/fnvar.h:129
↓ 1 callers
Method
AddDecorationVal
source/opt/decoration_manager.cpp:403
↓ 1 callers
Method
AddExtInstImportIds
source/opt/feature_manager.cpp:85
↓ 1 callers
Method
AddFunctionCall
source/opt/ir_builder.h:590
↓ 1 callers
Method
AddFunctionCallTarget
Inserts id to the set of functions called from this function.
source/val/function.h:237
↓ 1 callers
Method
AddGraph
source/opt/module.h:417
↓ 1 callers
Method
AddGraphEntryPoint
source/opt/module.h:372
↓ 1 callers
Method
AddIdLiteralOp
source/opt/ir_builder.h:142
↓ 1 callers
Method
AddInstructions
source/opt/basic_block.h:253
↓ 1 callers
Method
AddLoop
Mark the loop |loop_to_add| as needing to be added when the user calls PostModificationCleanup. |parent| may be null.
source/opt/loop_descriptor.h:509
↓ 1 callers
Method
AddLoopNest
Adds a new loop nest to the descriptor set.
source/opt/loop_descriptor.cpp:987
↓ 1 callers
Method
AddLoopsToPretendAreTheSame
The loops in |loop_pair| will be considered the same when constructing SERecurrentNode objects. This enables analysing dependencies that will be creat
source/opt/scalar_analysis.h:125
↓ 1 callers
Function
AddNewConstInGlobals
Create new constant directly into global value area, bypassing the Constant manager. This is used when the DefUse or Constant managers are invalid and
source/opt/debug_info_manager.cpp:154
↓ 1 callers
Method
AddOrderedInstruction
source/val/validation_state.cpp:571
↓ 1 callers
Method
AddPass
source/opt/pass_manager.h:132
↓ 1 callers
Method
AddTgtDef
source/link/fnvar.h:142
↓ 1 callers
Function
AddVariableIdToEntryPointInterfaces
source/fuzz/fuzzer_util.cpp:874
↓ 1 callers
Method
AddVectorShuffle
source/opt/ir_builder.h:608
↓ 1 callers
Function
AllTargetEnvironments
Returns a vector of all valid target environment enums.
test/unit_spirv.h:187
↓ 1 callers
Method
AnalyzeAccessChainLoc
source/opt/liveness.cpp:172
↓ 1 callers
Function
AnnotationPass
source/val/validate_annotation.cpp:653
↓ 1 callers
Method
ApplyEdit
(context.Context, *ApplyWorkspaceEditParams)
utils/vscode/src/lsp/protocol/tsclient.go:35
↓ 1 callers
Method
ApplyWithResult
source/fuzz/transformation_replace_boolean_constant_with_constant_binary.cpp:265
← previous
next →
2,001–2,100 of 7,821, ranked by callers