MCPcopy Create free account

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

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

↓ 6,037 callersMethodget
source/disassemble.cpp:82
↓ 2,163 callersMethoddiag
source/val/validation_state.cpp:337
↓ 2,121 callersMethodIsApplicable
source/fuzz/transformation_load.cpp:40
↓ 1,821 callersMethodopcode
source/val/instruction.h:47
↓ 1,793 callersMethodc_str
Returns the source for a C string literal or the given string, including the explicit null at the end
utils/ggt.py:767
↓ 1,507 callersMethodGetSingleWordInOperand
source/opt/instruction.h:363
↓ 1,392 callersMethodGetDef
source/opt/def_use_manager.cpp:85
↓ 1,366 callersMethodget_def_use_mgr
Returns the def-use manager used for this pass. TODO(dnovillo): This should be handled by the pass manager.
source/opt/pass.h:74
↓ 1,280 callersMethodresult_id
Returns graph's id
source/opt/graph.h:56
↓ 1,177 callersMethodopcode
source/opt/instruction.h:238
↓ 1,084 callersFunctionBuildModule
Returns an IRContext owning the module formed by assembling the given text, then loading the result.
test/opt/module_test.cpp:47
↓ 1,080 callersFunctionHeader
Return a string that contains the minimum instructions needed to form a valid module. Other instructions can be appended to this string.
test/opt/optimizer_test.cpp:33
↓ 1,056 callersMethodsize
source/util/span.h:49
↓ 1,049 callersFunctionIsValidAndWellFormed
source/fuzz/fuzzer_util.cpp:494
↓ 1,046 callersFunctionMakeDataDescriptor
source/fuzz/data_descriptor.cpp:22
↓ 910 callersMethodGetFactManager
source/fuzz/transformation_context.h:45
↓ 880 callersMethodtype_id
Returns graph's return type id
source/opt/graph.h:59
↓ 811 callersMethodpush_back
source/opt/instruction_list.h:108
↓ 806 callersFunctionMakeInstructionDescriptor
source/fuzz/instruction_descriptor.cpp:55
↓ 788 callersMethodid
Returns the id of the function
source/val/function.h:143
↓ 786 callersMethodpush_back
source/util/ilist.h:272
↓ 705 callersFunctionApplyAndCheckFreshIds
test/fuzz/fuzz_test_util.cpp:159
↓ 672 callersMethodmodule
source/opt/ir_loader.h:50
↓ 662 callersMethodFindDef
source/val/validation_state.cpp:303
↓ 616 callersMethodend
source/util/ilist.h:242
↓ 595 callersFunctionMakeInstruction
Returns a vector of words representing a single instruction with the given opcode and operand words as a vector.
test/unit_spirv.h:107
↓ 565 callersMethodbegin
source/util/ilist.h:236
↓ 542 callersMethodDominates
source/opt/dominator_tree.cpp:223
↓ 523 callersMethodGetType
source/opt/constants.cpp:153
↓ 523 callersMethodget_type_mgr
Returns a pointer to the type manager. If no type manager has been created yet, it creates one. NOTE: Once created, the type manager remains active i
source/opt/ir_context.h:360
↓ 472 callersFunctionspvOpcodeString
source/opcode.cpp:90
↓ 445 callersMethodend
source/opt/module.h:262
↓ 441 callersMethodinsert
source/util/small_vector.h:350
↓ 420 callersMethodstr
Returns the string representation of this word vector.
test/unit_spirv.h:80
↓ 377 callersMethodtype_id
source/val/instruction.h:46
↓ 364 callersMethodid
Returns the id of the label at the top of this block
source/opt/basic_block.h:92
↓ 362 callersMethodIsSynonymous
source/fuzz/fact_manager/fact_manager.cpp:197
↓ 357 callersMethodgetIdName
source/val/validation_state.cpp:281
↓ 355 callersMethodemplace_back
source/util/small_vector.h:408
↓ 343 callersMethodStrictlyDominates
source/opt/dominator_tree.cpp:207
↓ 341 callersMethodsize
source/opt/iterator.h:125
↓ 338 callersFunctionGenerateShaderCode
test/val/val_image_test.cpp:37
↓ 330 callersMethodGetOperandTypeId
source/val/validation_state.cpp:1772
↓ 312 callersMethodNumInOperands
The following methods are similar to the above, but are for in operands.
source/opt/instruction.h:353
↓ 308 callersMethodbegin
Iterators for functions contained in this module.
source/opt/module.h:261
↓ 298 callersMethodVkErrorID
Currently no 2 VUID share the same id, so no need for |reference|
source/val/validation_state.cpp:2220
↓ 294 callersFunctionIsEqual
test/fuzz/fuzz_test_util.cpp:51
↓ 290 callersMethodcount
source/util/index_range.h:46
↓ 270 callersMethodget_instr_block
Returns the basic block for instruction |instr|. Re-builds the instruction block map, if needed.
source/opt/ir_context.h:313
↓ 264 callersMethoddata
source/util/span.h:55
↓ 254 callersMethodword
The word used to define the Instruction
source/val/instruction.h:68
↓ 240 callersMethodempty
source/util/ilist.h:277
↓ 233 callersMethodcfg
Returns a pointer to the CFG for current module.
source/opt/pass.h:96
↓ 231 callersFunctionGetExtInstName
source/val/validate_extensions.cpp:91
↓ 229 callersMethodGetSingleWordOperand
source/opt/instruction.cpp:183
↓ 213 callersMethodHasCapability
Returns true if the capability is enabled in the module.
source/val/validation_state.h:399
↓ 212 callersMethodAsVector
source/opt/types.h:325
↓ 210 callersMethodAsInteger
source/opt/types.h:280
↓ 210 callersFunctionGenerateKernelCode
test/val/val_ext_inst_test.cpp:263
↓ 204 callersFunctionGenerateShaderCodeForDebugInfo
test/val/val_ext_inst_debug_test.cpp:251
↓ 202 callersMethodcontext
Returns the context
source/val/validation_state.h:131
↓ 200 callersMethodget_constant_mgr
Returns a pointer to the constant manager. If no constant manager has been created yet, it creates one. NOTE: Once created, the constant manager rem
source/opt/ir_context.h:350
↓ 197 callersMethodwidth
source/opt/types.h:304
↓ 194 callersMethodGetLoopDescriptor
source/opt/ir_context.cpp:842
↓ 194 callersMethodGetScalarEvolution
Returns the ScalarEvolutionAnalysis used by this analysis.
source/opt/loop_dependence.h:378
↓ 184 callersMethodInsertBefore
source/opt/iterator.h:315
↓ 182 callersFunctionGetBasicBlock
test/opt/function_utils.h:43
↓ 179 callersFunctionGenerateShaderCode
test/val/val_ext_inst_test.cpp:83
↓ 178 callersMethodoperands
source/table2.cpp:126
↓ 172 callersFunctionMakeInstructionMessage
source/fuzz/instruction_message.cpp:22
↓ 164 callersMethodelement_type
source/opt/types.h:442
↓ 158 callersMethodvalue
Returns the enum value as a uint32_t.
test/unit_spirv.h:154
↓ 157 callersMethodGetDimension
source/val/validation_state.cpp:981
↓ 155 callersMethodIsIntScalarType
source/val/validation_state.cpp:1224
↓ 154 callersMethodAddFactDataSynonym
source/fuzz/fact_manager/fact_manager.cpp:138
↓ 149 callersMethodAsSEConstantNode
source/opt/scalar_analysis_nodes.h:224
↓ 149 callersFunctionConcatenate
Returns the vector of words representing the concatenation of all input vectors.
test/unit_spirv.h:127
↓ 147 callersMethodsize
source/fuzz/available_instructions.cpp:114
↓ 146 callersMethodget_feature_mgr
source/opt/pass.h:82
↓ 146 callersMethodinsert
Matches std::unordered_set::insert behavior.
source/enum_set.h:234
↓ 145 callersMethodGetFreshId
source/fuzz/fuzzer_context.cpp:385
↓ 142 callersMethodGetParent
source/opt/loop_descriptor.h:176
↓ 141 callersFunctionMakeIdUseDescriptor
source/fuzz/id_use_descriptor.cpp:40
↓ 141 callersMethodSimplifyExpression
source/opt/scalar_analysis_simplification.cpp:531
↓ 141 callersFunctionspvIsVulkanEnv
source/spirv_target_env.cpp:284
↓ 139 callersMethodblock
Return a pointer to the basic block instance corresponding to the label |blk_id|.
source/opt/cfg.h:42
↓ 136 callersFunctionCardinalToOrdinal
source/util/string_utils.cpp:24
↓ 131 callersMethodAsFloat
source/opt/types.h:302
↓ 131 callersMethodback
source/util/span.h:54
↓ 130 callersMethodGetBitWidth
source/val/validation_state.cpp:1019
↓ 129 callersFunctionGetFunction
test/opt/function_utils.h:23
↓ 129 callersMethodSetInOperands
source/opt/instruction.h:701
↓ 128 callersMethodelement_count
source/opt/types.h:323
↓ 127 callersMethodSetInOperand
source/opt/instruction.h:689
↓ 124 callersMethodFoldToSingleValue
source/opt/scalar_analysis_nodes.h:222
↓ 124 callersMethodSetOpcode
Sets the opcode of this instruction to a specific opcode. Note this may invalidate the instruction. TODO(qining): Remove this function when instructio
source/opt/instruction.h:243
↓ 123 callersMethodNumLoops
Returns the number of loops found in the function.
source/opt/loop_descriptor.h:452
↓ 122 callersFunctionfloat_fractions
Creates a float that is the sum of 1/(2 ^ fractions[i]) for i in factions
test/hex_float_test.cpp:668
↓ 118 callersMethodCreateConstant
source/opt/constants.cpp:242
↓ 116 callersFunctionUpdateModuleIdBound
source/fuzz/fuzzer_util.cpp:101
next →1–100 of 7,821, ranked by callers