| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
| H A D | loop_unroller.cpp | 903 RemapOperands(Instruction* inst) RemapOperands() argument [all...] |
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
| H A D | validate_builtins.cpp | 44 std::string GetIdDesc(const Instruction& inst) { in GetIdDesc() argument 60 GetUnderlyingType(ValidationState_t& _, const Decoration& decoration, const Instruction& inst, uint32_t* underlying_type) GetUnderlyingType() argument 99 GetStorageClass(const Instruction& inst) GetStorageClass() argument 739 ValidateBool( const Decoration& decoration, const Instruction& inst, const std::function<spv_result_t(const std::string& message)>& diag) ValidateBool() argument 755 ValidateI( const Decoration& decoration, const Instruction& inst, const std::function<spv_result_t(const std::string& message)>& diag) ValidateI() argument 771 ValidateI32( const Decoration& decoration, const Instruction& inst, const std::function<spv_result_t(const std::string& message)>& diag) ValidateI32() argument 783 ValidateOptionalArrayedI32( const Decoration& decoration, const Instruction& inst, const std::function<spv_result_t(const std::string& message)>& diag) ValidateOptionalArrayedI32() argument 800 ValidateI32Helper( const Decoration& decoration, const Instruction& inst, const std::function<spv_result_t(const std::string& message)>& diag, uint32_t underlying_type) ValidateI32Helper() argument 819 ValidateOptionalArrayedF32( const Decoration& decoration, const Instruction& inst, const std::function<spv_result_t(const std::string& message)>& diag) ValidateOptionalArrayedF32() argument 836 ValidateF32( const Decoration& decoration, const Instruction& inst, const std::function<spv_result_t(const std::string& message)>& diag) ValidateF32() argument 848 ValidateF32Helper( const Decoration& decoration, const Instruction& inst, const std::function<spv_result_t(const std::string& message)>& diag, uint32_t underlying_type) ValidateF32Helper() argument 868 ValidateI32Vec( const Decoration& decoration, const Instruction& inst, uint32_t num_components, const std::function<spv_result_t(const std::string& message)>& diag) ValidateI32Vec() argument 901 ValidateOptionalArrayedF32Vec( const Decoration& decoration, const Instruction& inst, uint32_t num_components, const std::function<spv_result_t(const std::string& message)>& diag) ValidateOptionalArrayedF32Vec() argument 920 ValidateF32Vec( const Decoration& decoration, const Instruction& inst, uint32_t num_components, const std::function<spv_result_t(const std::string& message)>& diag) ValidateF32Vec() argument 934 ValidateF32VecHelper( const Decoration& decoration, const Instruction& inst, uint32_t num_components, const std::function<spv_result_t(const std::string& message)>& diag, uint32_t underlying_type) ValidateF32VecHelper() argument 963 ValidateI32Arr( const Decoration& decoration, const Instruction& inst, const std::function<spv_result_t(const std::string& message)>& diag) ValidateI32Arr() argument 994 ValidateF32Arr( const Decoration& decoration, const Instruction& inst, uint32_t num_components, const std::function<spv_result_t(const std::string& message)>& diag) ValidateF32Arr() argument 1008 ValidateOptionalArrayedF32Arr( const Decoration& decoration, const Instruction& inst, uint32_t num_components, const std::function<spv_result_t(const std::string& message)>& diag) ValidateOptionalArrayedF32Arr() argument 1030 ValidateF32ArrHelper( const Decoration& decoration, const Instruction& inst, uint32_t num_components, const std::function<spv_result_t(const std::string& message)>& diag, uint32_t underlying_type) ValidateF32ArrHelper() argument 1070 ValidateF32Mat( const Decoration& decoration, const Instruction& inst, uint32_t req_num_rows, uint32_t req_num_columns, const std::function<spv_result_t(const std::string& message)>& diag) ValidateF32Mat() argument 1127 ValidateClipOrCullDistanceAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateClipOrCullDistanceAtDefinition() argument 1290 ValidateFragCoordAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateFragCoordAtDefinition() argument 1352 ValidateFragDepthAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateFragDepthAtDefinition() argument 1428 ValidateFrontFacingAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateFrontFacingAtDefinition() argument 1489 ValidateHelperInvocationAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateHelperInvocationAtDefinition() argument 1549 ValidateInvocationIdAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateInvocationIdAtDefinition() argument 1609 ValidateInstanceIndexAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateInstanceIndexAtDefinition() argument 1670 ValidatePatchVerticesAtDefinition( const Decoration& decoration, const Instruction& inst) ValidatePatchVerticesAtDefinition() argument 1731 ValidatePointCoordAtDefinition( const Decoration& decoration, const Instruction& inst) ValidatePointCoordAtDefinition() argument 1791 ValidatePointSizeAtDefinition( const Decoration& decoration, const Instruction& inst) ValidatePointSizeAtDefinition() argument 1908 ValidatePositionAtDefinition( const Decoration& decoration, const Instruction& inst) ValidatePositionAtDefinition() argument 2034 ValidatePrimitiveIdAtDefinition( const Decoration& decoration, const Instruction& inst) ValidatePrimitiveIdAtDefinition() argument 2173 ValidateSampleIdAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateSampleIdAtDefinition() argument 2232 ValidateSampleMaskAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateSampleMaskAtDefinition() argument 2293 ValidateSamplePositionAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateSamplePositionAtDefinition() argument 2355 ValidateTessCoordAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateTessCoordAtDefinition() argument 2415 ValidateTessLevelOuterAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateTessLevelOuterAtDefinition() argument 2436 ValidateTessLevelInnerAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateTessLevelInnerAtDefinition() argument 2537 ValidateVertexIndexAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateVertexIndexAtDefinition() argument 2558 ValidateVertexIdAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateVertexIdAtDefinition() argument 2570 ValidateLocalInvocationIndexAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateLocalInvocationIndexAtDefinition() argument 2631 ValidateLayerOrViewportIndexAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateLayerOrViewportIndexAtDefinition() argument 2791 ValidateComputeShaderI32Vec3InputAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateComputeShaderI32Vec3InputAtDefinition() argument 2867 ValidateComputeI32InputAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateComputeI32InputAtDefinition() argument 2949 ValidateI32InputAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateI32InputAtDefinition() argument 2992 ValidateI32Vec4InputAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateI32Vec4InputAtDefinition() argument 3037 ValidateWorkgroupSizeAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateWorkgroupSizeAtDefinition() argument 3099 ValidateBaseInstanceOrVertexAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateBaseInstanceOrVertexAtDefinition() argument 3169 ValidateDrawIndexAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateDrawIndexAtDefinition() argument 3236 ValidateViewIndexAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateViewIndexAtDefinition() argument 3300 ValidateDeviceIndexAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateDeviceIndexAtDefinition() argument 3352 ValidateFragInvocationCountAtDefinition(const Decoration& decoration, const Instruction& inst) ValidateFragInvocationCountAtDefinition() argument 3423 ValidateFragSizeAtDefinition(const Decoration& decoration, const Instruction& inst) ValidateFragSizeAtDefinition() argument 3493 ValidateFragStencilRefAtDefinition(const Decoration& decoration, const Instruction& inst) ValidateFragStencilRefAtDefinition() argument 3563 ValidateFullyCoveredAtDefinition(const Decoration& decoration, const Instruction& inst) ValidateFullyCoveredAtDefinition() argument 3633 ValidateSMBuiltinsAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateSMBuiltinsAtDefinition() argument 3688 ValidatePrimitiveShadingRateAtDefinition( const Decoration& decoration, const Instruction& inst) ValidatePrimitiveShadingRateAtDefinition() argument 3760 ValidateShadingRateAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateShadingRateAtDefinition() argument 3824 ValidateRayTracingBuiltinsAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateRayTracingBuiltinsAtDefinition() argument 3992 ValidateSingleBuiltInAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateSingleBuiltInAtDefinition() argument 4209 const Instruction* inst = _.FindDef(id); ValidateBuiltInsAtDefinition() local [all...] |
| H A D | validate_cfg.cpp | 42 spv_result_t ValidatePhi(ValidationState_t& _, const Instruction* inst) { in ValidatePhi() argument 141 ValidateBranch(ValidationState_t& _, const Instruction* inst) ValidateBranch() argument 154 ValidateBranchConditional(ValidationState_t& _, const Instruction* inst) ValidateBranchConditional() argument 197 ValidateSwitch(ValidationState_t& _, const Instruction* inst) ValidateSwitch() argument 229 ValidateReturnValue(ValidationState_t& _, const Instruction* inst) ValidateReturnValue() argument 270 ValidateLoopMerge(ValidationState_t& _, const Instruction* inst) ValidateLoopMerge() argument 938 CfgPass(ValidationState_t& _, const Instruction* inst) CfgPass() argument 1057 ControlFlowPass(ValidationState_t& _, const Instruction* inst) ControlFlowPass() argument [all...] |
| H A D | validate_extensions.cpp | 65 auto inst = _.FindDef(id); in IsUint32Constant() local 74 auto inst = _.FindDef(id); in GetUint32Constant() local 80 ValidateOperandForDebugInfo( ValidationState_t& _, const std::string& operand_name, SpvOp expected_opcode, const Instruction* inst, uint32_t word_index, const std::function<std::string()>& ext_inst_name) ValidateOperandForDebugInfo() argument 105 ValidateUint32ConstantOperandForDebugInfo( ValidationState_t& _, const std::string& operand_name, const Instruction* inst, uint32_t word_index, const std::function<std::string()>& ext_inst_name) ValidateUint32ConstantOperandForDebugInfo() argument 134 DoesDebugInfoOperandMatchExpectation( const ValidationState_t& _, const std::function<bool(CommonDebugInfoInstructions)>& expectation, const Instruction* inst, uint32_t word_index) DoesDebugInfoOperandMatchExpectation() argument 153 ValidateDebugInfoOperand( ValidationState_t& _, const std::string& debug_inst_name, CommonDebugInfoInstructions expected_debug_inst, const Instruction* inst, uint32_t word_index, const std::function<std::string()>& ext_inst_name) ValidateDebugInfoOperand() argument 187 ValidateOperandBaseType( ValidationState_t& _, const Instruction* inst, uint32_t word_index, const std::function<std::string()>& ext_inst_name) ValidateOperandBaseType() argument 198 ValidateOperandLexicalScope( ValidationState_t& _, const std::string& debug_inst_name, const Instruction* inst, uint32_t word_index, const std::function<std::string()>& ext_inst_name) ValidateOperandLexicalScope() argument 221 ValidateOperandDebugType( ValidationState_t& _, const std::string& debug_inst_name, const Instruction* inst, uint32_t word_index, const std::function<std::string()>& ext_inst_name, bool allow_template_param) ValidateOperandDebugType() argument 245 ValidateClspvReflectionKernel(ValidationState_t& _, const Instruction* inst) ValidateClspvReflectionKernel() argument 300 ValidateClspvReflectionArgumentInfo(ValidationState_t& _, const Instruction* inst) ValidateClspvReflectionArgumentInfo() argument 337 ValidateKernelDecl(ValidationState_t& _, const Instruction* inst) ValidateKernelDecl() argument 360 ValidateArgInfo(ValidationState_t& _, const Instruction* inst, uint32_t info_index) ValidateArgInfo() argument 382 ValidateClspvReflectionArgumentBuffer(ValidationState_t& _, const Instruction* inst) ValidateClspvReflectionArgumentBuffer() argument 413 ValidateClspvReflectionArgumentPodBuffer(ValidationState_t& _, const Instruction* inst) ValidateClspvReflectionArgumentPodBuffer() argument 454 ValidateClspvReflectionArgumentPodPushConstant( ValidationState_t& _, const Instruction* inst) ValidateClspvReflectionArgumentPodPushConstant() argument 485 ValidateClspvReflectionArgumentWorkgroup(ValidationState_t& _, const Instruction* inst) ValidateClspvReflectionArgumentWorkgroup() argument 516 ValidateClspvReflectionSpecConstantTriple( ValidationState_t& _, const Instruction* inst) ValidateClspvReflectionSpecConstantTriple() argument 536 ValidateClspvReflectionSpecConstantWorkDim( ValidationState_t& _, const Instruction* inst) ValidateClspvReflectionSpecConstantWorkDim() argument 546 ValidateClspvReflectionPushConstant(ValidationState_t& _, const Instruction* inst) ValidateClspvReflectionPushConstant() argument 561 ValidateClspvReflectionConstantData(ValidationState_t& _, const Instruction* inst) ValidateClspvReflectionConstantData() argument 580 ValidateClspvReflectionSampler(ValidationState_t& _, const Instruction* inst) ValidateClspvReflectionSampler() argument 600 ValidateClspvReflectionPropertyRequiredWorkgroupSize( ValidationState_t& _, const Instruction* inst) ValidateClspvReflectionPropertyRequiredWorkgroupSize() argument 624 ValidateClspvReflectionInstruction(ValidationState_t& _, const Instruction* inst, uint32_t ) ValidateClspvReflectionInstruction() argument 685 IsConstWithIntScalarType(ValidationState_t& _, const Instruction* inst, uint32_t word_index) IsConstWithIntScalarType() argument 695 IsDebugVariableWithIntScalarType(ValidationState_t& _, const Instruction* inst, uint32_t word_index) IsDebugVariableWithIntScalarType() argument 726 ValidateExtension(ValidationState_t& _, const Instruction* inst) ValidateExtension() argument 740 ValidateExtInstImport(ValidationState_t& _, const Instruction* inst) ValidateExtInstImport() argument 756 ValidateExtInst(ValidationState_t& _, const Instruction* inst) ValidateExtInst() argument 3294 ExtensionPass(ValidationState_t& _, const Instruction* inst) ExtensionPass() argument [all...] |
| H A D | validate_memory.cpp | 282 uint32_t GetMakeAvailableScope(const Instruction* inst, uint32_t mask, in GetMakeAvailableScope() argument 294 uint32_t GetMakeVisibleScope(const Instruction* inst, uint32_t mask, in GetMakeVisibleScope() argument 231 GetStorageClass( ValidationState_t& _, const Instruction* inst) GetStorageClass() argument 303 DoesStructContainRTA(const ValidationState_t& _, const Instruction* inst) DoesStructContainRTA() argument 313 CheckMemoryAccess(ValidationState_t& _, const Instruction* inst, uint32_t index) CheckMemoryAccess() argument 402 ValidateVariable(ValidationState_t& _, const Instruction* inst) ValidateVariable() argument 856 ValidateLoad(ValidationState_t& _, const Instruction* inst) ValidateLoad() argument 919 ValidateStore(ValidationState_t& _, const Instruction* inst) ValidateStore() argument 1038 ValidateCopyMemoryMemoryAccess(ValidationState_t& _, const Instruction* inst) ValidateCopyMemoryMemoryAccess() argument 1083 ValidateCopyMemory(ValidationState_t& _, const Instruction* inst) ValidateCopyMemory() argument 1204 ValidateAccessChain(ValidationState_t& _, const Instruction* inst) ValidateAccessChain() argument 1357 ValidatePtrAccessChain(ValidationState_t& _, const Instruction* inst) ValidatePtrAccessChain() argument 1370 ValidateArrayLength(ValidationState_t& state, const Instruction* inst) ValidateArrayLength() argument 1425 ValidateCooperativeMatrixLengthNV(ValidationState_t& state, const Instruction* inst) ValidateCooperativeMatrixLengthNV() argument 1452 ValidateCooperativeMatrixLoadStoreNV(ValidationState_t& _, const Instruction* inst) ValidateCooperativeMatrixLoadStoreNV() argument 1559 ValidatePtrComparison(ValidationState_t& _, const Instruction* inst) ValidatePtrComparison() argument 1615 MemoryPass(ValidationState_t& _, const Instruction* inst) MemoryPass() argument [all...] |
| /third_party/python/Modules/_ctypes/ |
| H A D | cfield.c | 202 PyCField_set(CFieldObject *self, PyObject *inst, PyObject *value) in PyCField_set() argument 223 PyCField_get(CFieldObject *self, PyObject *inst, PyTypeObject *type) in PyCField_get() argument
|
| /third_party/skia/third_party/externals/tint/src/reader/spirv/ |
| H A D | function.h | 251 const spvtools::opt::Instruction& inst; member [all...] |
| /third_party/spirv-tools/source/opt/ |
| H A D | aggressive_dead_code_elim_pass.cpp | 167 bool AggressiveDCEPass::IsTargetDead(Instruction* inst) { in IsTargetDead() argument 317 Instruction* inst = (*bi)->terminator(); KillDeadInstructions() local 341 AddDebugScopeToWorkList(const Instruction* inst) AddDebugScopeToWorkList() argument 351 AddDebugInstructionsToWorkList( const Instruction* inst) AddDebugInstructionsToWorkList() argument 362 AddDecorationsToWorkList(const Instruction* inst) AddDecorationsToWorkList() argument 385 MarkLoadedVariablesAsLive(Function* func, Instruction* inst) MarkLoadedVariablesAsLive() argument 393 GetLoadedVariables(Instruction* inst) GetLoadedVariables() argument 404 GetLoadedVariableFromNonFunctionCalls( Instruction* inst) GetLoadedVariableFromNonFunctionCalls() argument 437 GetLoadedVariablesFromFunctionCall( const Instruction* inst) GetLoadedVariablesFromFunctionCall() argument 460 MarkBlockAsLive(Instruction* inst) MarkBlockAsLive() argument 513 AddOperandsToWorkList(const Instruction* inst) AddOperandsToWorkList() argument 1038 GetMergeInstruction(Instruction* inst) GetMergeInstruction() argument [all...] |
| H A D | amd_ext_to_khr.cpp | 60 bool ReplaceTrinaryMinMax(IRContext* ctx, Instruction* inst, in ReplaceTrinaryMinMax() argument 97 bool ReplaceTrinaryMid(IRContext* ctx, Instruction* inst, in ReplaceTrinaryMid() argument 139 ReplaceGroupNonuniformOperationOpCode( IRContext* ctx, Instruction* inst, const std::vector<const analysis::Constant*>&) ReplaceGroupNonuniformOperationOpCode() argument 211 ReplaceSwizzleInvocations(IRContext* ctx, Instruction* inst, const std::vector<const analysis::Constant*>&) ReplaceSwizzleInvocations() argument 325 ReplaceSwizzleInvocationsMasked( IRContext* ctx, Instruction* inst, const std::vector<const analysis::Constant*>&) ReplaceSwizzleInvocationsMasked() argument 425 ReplaceWriteInvocation(IRContext* ctx, Instruction* inst, const std::vector<const analysis::Constant*>&) ReplaceWriteInvocation() argument 481 ReplaceMbcnt(IRContext* context, Instruction* inst, const std::vector<const analysis::Constant*>&) ReplaceMbcnt() argument 569 ReplaceCubeFaceCoord(IRContext* ctx, Instruction* inst, const std::vector<const analysis::Constant*>&) ReplaceCubeFaceCoord() argument 720 ReplaceCubeFaceIndex(IRContext* ctx, Instruction* inst, const std::vector<const analysis::Constant*>&) ReplaceCubeFaceIndex() argument 819 ReplaceTimeAMD(IRContext* ctx, Instruction* inst, const std::vector<const analysis::Constant*>&) ReplaceTimeAMD() argument [all...] |
| H A D | debug_info_manager.cpp | 100 void DebugInfoManager::RegisterDbgInst(Instruction* inst) { in RegisterDbgInst() argument 107 void DebugInfoManager::RegisterDbgFunction(Instruction* inst) { in RegisterDbgFunction() argument 610 GetVulkanDebugOperation(Instruction* inst) GetVulkanDebugOperation() argument 621 GetVariableIdOfDebugValueUsedForDeclare( Instruction* inst) GetVariableIdOfDebugValueUsedForDeclare() argument 693 ClearDebugScopeAndInlinedAtUses(Instruction* inst) ClearDebugScopeAndInlinedAtUses() argument 705 AnalyzeDebugInst(Instruction* inst) AnalyzeDebugInst() argument [all...] |
| H A D | inline_pass.cpp | 267 Instruction* inst = &*cii; in MoveInstsBeforeEntryBlock() local 224 CloneSameBlockOps( std::unique_ptr<Instruction>* inst, std::unordered_map<uint32_t, uint32_t>* postCallSB, std::unordered_map<uint32_t, Instruction*>* preCallSB, std::unique_ptr<BasicBlock>* block_ptr) CloneSameBlockOps() argument 330 InlineSingleInstruction( const std::unordered_map<uint32_t, uint32_t>& callee2caller, BasicBlock* new_blk_ptr, const Instruction* inst, uint32_t dbg_inlined_at) InlineSingleInstruction() argument 365 InlineReturn( const std::unordered_map<uint32_t, uint32_t>& callee2caller, std::vector<std::unique_ptr<BasicBlock>>* new_blocks, std::unique_ptr<BasicBlock> new_blk_ptr, analysis::DebugInlinedAtContext* inlined_at_ctx, Function* calleeFn, const Instruction* inst, uint32_t returnVarId) InlineReturn() argument 702 IsInlinableFunctionCall(const Instruction* inst) IsInlinableFunctionCall() argument [all...] |
| H A D | inst_bindless_check_pass.cpp | 184 uint32_t InstBindlessCheckPass::GetImageId(Instruction* inst) { in GetImageId() argument
|
| H A D | instruction.cpp | 66 Instruction::Instruction(IRContext* c, const spv_parsed_instruction_t& inst, in Instruction() argument 87 Instruction::Instruction(IRContext* c, const spv_parsed_instruction_t& inst, in Instruction() argument 562 AddDebugLine(const Instruction* inst) AddDebugLine() argument 591 InsertBefore(std::unique_ptr<Instruction>&& inst) InsertBefore() argument 846 operator <<(std::ostream& str, const Instruction& inst) operator <<() argument [all...] |
| H A D | instrument_pass.cpp | 40 Instruction* inst = &*cii; in MovePreludeCode() local 57 Instruction* inst = &*cii; in MovePostludeCode() local 323 CloneSameBlockOps( std::unique_ptr<Instruction>* inst, std::unordered_map<uint32_t, uint32_t>* same_blk_post, std::unordered_map<uint32_t, Instruction*>* same_blk_pre, BasicBlock* block_ptr) CloneSameBlockOps() argument [all...] |
| H A D | interface_var_sroa.cpp | 206 KillInstructionAndUsers( Instruction* inst) KillInstructionAndUsers() argument 481 Instruction* inst = new_access_chain.get(); CreateAccessChainToVar() local 499 Instruction* inst = new_access_chain.get(); CreateAccessChainWithIndex() local [all...] |
| H A D | ir_builder.h | 455 Instruction* inst = GetBoolConstant(value); in GetBoolConstantId() local
|
| H A D | ir_context.cpp | 166 Instruction* IRContext::KillInst(Instruction* inst) { in KillInst() argument 245 CollectNonSemanticTree( Instruction* inst, std::unordered_set<Instruction*>* to_kill) CollectNonSemanticTree() argument 427 ForgetUses(Instruction* inst) ForgetUses() argument 442 AnalyzeUses(Instruction* inst) AnalyzeUses() argument 473 KillNamesAndDecorates(Instruction* inst) KillNamesAndDecorates() argument 479 KillOperandFromDebugInstructions(Instruction* inst) KillOperandFromDebugInstructions() argument 784 RemoveFromIdToName(const Instruction* inst) RemoveFromIdToName() argument 1002 EmitErrorMessage(std::string message, Instruction* inst) EmitErrorMessage() argument [all...] |
| H A D | loop_unroller.cpp | 902 RemapOperands(Instruction* inst) RemapOperands() argument [all...] |
| /third_party/spirv-tools/source/val/ |
| H A D | validate_builtins.cpp | 42 std::string GetIdDesc(const Instruction& inst) { in GetIdDesc() argument 58 GetUnderlyingType(ValidationState_t& _, const Decoration& decoration, const Instruction& inst, uint32_t* underlying_type) GetUnderlyingType() argument 97 GetStorageClass(const Instruction& inst) GetStorageClass() argument 750 ValidateBool( const Decoration& decoration, const Instruction& inst, const std::function<spv_result_t(const std::string& message)>& diag) ValidateBool() argument 766 ValidateI( const Decoration& decoration, const Instruction& inst, const std::function<spv_result_t(const std::string& message)>& diag) ValidateI() argument 782 ValidateI32( const Decoration& decoration, const Instruction& inst, const std::function<spv_result_t(const std::string& message)>& diag) ValidateI32() argument 794 ValidateOptionalArrayedI32( const Decoration& decoration, const Instruction& inst, const std::function<spv_result_t(const std::string& message)>& diag) ValidateOptionalArrayedI32() argument 811 ValidateI32Helper( const Decoration& decoration, const Instruction& inst, const std::function<spv_result_t(const std::string& message)>& diag, uint32_t underlying_type) ValidateI32Helper() argument 830 ValidateOptionalArrayedF32( const Decoration& decoration, const Instruction& inst, const std::function<spv_result_t(const std::string& message)>& diag) ValidateOptionalArrayedF32() argument 847 ValidateF32( const Decoration& decoration, const Instruction& inst, const std::function<spv_result_t(const std::string& message)>& diag) ValidateF32() argument 859 ValidateF32Helper( const Decoration& decoration, const Instruction& inst, const std::function<spv_result_t(const std::string& message)>& diag, uint32_t underlying_type) ValidateF32Helper() argument 879 ValidateI32Vec( const Decoration& decoration, const Instruction& inst, uint32_t num_components, const std::function<spv_result_t(const std::string& message)>& diag) ValidateI32Vec() argument 912 ValidateOptionalArrayedF32Vec( const Decoration& decoration, const Instruction& inst, uint32_t num_components, const std::function<spv_result_t(const std::string& message)>& diag) ValidateOptionalArrayedF32Vec() argument 931 ValidateF32Vec( const Decoration& decoration, const Instruction& inst, uint32_t num_components, const std::function<spv_result_t(const std::string& message)>& diag) ValidateF32Vec() argument 945 ValidateF32VecHelper( const Decoration& decoration, const Instruction& inst, uint32_t num_components, const std::function<spv_result_t(const std::string& message)>& diag, uint32_t underlying_type) ValidateF32VecHelper() argument 974 ValidateI32Arr( const Decoration& decoration, const Instruction& inst, const std::function<spv_result_t(const std::string& message)>& diag) ValidateI32Arr() argument 1005 ValidateF32Arr( const Decoration& decoration, const Instruction& inst, uint32_t num_components, const std::function<spv_result_t(const std::string& message)>& diag) ValidateF32Arr() argument 1019 ValidateOptionalArrayedF32Arr( const Decoration& decoration, const Instruction& inst, uint32_t num_components, const std::function<spv_result_t(const std::string& message)>& diag) ValidateOptionalArrayedF32Arr() argument 1041 ValidateF32ArrHelper( const Decoration& decoration, const Instruction& inst, uint32_t num_components, const std::function<spv_result_t(const std::string& message)>& diag, uint32_t underlying_type) ValidateF32ArrHelper() argument 1081 ValidateF32Mat( const Decoration& decoration, const Instruction& inst, uint32_t req_num_rows, uint32_t req_num_columns, const std::function<spv_result_t(const std::string& message)>& diag) ValidateF32Mat() argument 1138 ValidateClipOrCullDistanceAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateClipOrCullDistanceAtDefinition() argument 1309 ValidateFragCoordAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateFragCoordAtDefinition() argument 1371 ValidateFragDepthAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateFragDepthAtDefinition() argument 1447 ValidateFrontFacingAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateFrontFacingAtDefinition() argument 1508 ValidateHelperInvocationAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateHelperInvocationAtDefinition() argument 1568 ValidateInvocationIdAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateInvocationIdAtDefinition() argument 1628 ValidateInstanceIndexAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateInstanceIndexAtDefinition() argument 1689 ValidatePatchVerticesAtDefinition( const Decoration& decoration, const Instruction& inst) ValidatePatchVerticesAtDefinition() argument 1750 ValidatePointCoordAtDefinition( const Decoration& decoration, const Instruction& inst) ValidatePointCoordAtDefinition() argument 1810 ValidatePointSizeAtDefinition( const Decoration& decoration, const Instruction& inst) ValidatePointSizeAtDefinition() argument 1928 ValidatePositionAtDefinition( const Decoration& decoration, const Instruction& inst) ValidatePositionAtDefinition() argument 2062 ValidatePrimitiveIdAtDefinition( const Decoration& decoration, const Instruction& inst) ValidatePrimitiveIdAtDefinition() argument 2201 ValidateSampleIdAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateSampleIdAtDefinition() argument 2260 ValidateSampleMaskAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateSampleMaskAtDefinition() argument 2321 ValidateSamplePositionAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateSamplePositionAtDefinition() argument 2383 ValidateTessCoordAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateTessCoordAtDefinition() argument 2443 ValidateTessLevelOuterAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateTessLevelOuterAtDefinition() argument 2464 ValidateTessLevelInnerAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateTessLevelInnerAtDefinition() argument 2565 ValidateVertexIndexAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateVertexIndexAtDefinition() argument 2586 ValidateVertexIdAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateVertexIdAtDefinition() argument 2598 ValidateLocalInvocationIndexAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateLocalInvocationIndexAtDefinition() argument 2659 ValidateLayerOrViewportIndexAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateLayerOrViewportIndexAtDefinition() argument 2821 ValidateFragmentShaderF32Vec3InputAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateFragmentShaderF32Vec3InputAtDefinition() argument 2895 ValidateComputeShaderI32Vec3InputAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateComputeShaderI32Vec3InputAtDefinition() argument 2975 ValidateComputeI32InputAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateComputeI32InputAtDefinition() argument 3060 ValidateI32InputAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateI32InputAtDefinition() argument 3103 ValidateI32Vec4InputAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateI32Vec4InputAtDefinition() argument 3148 ValidateWorkgroupSizeAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateWorkgroupSizeAtDefinition() argument 3213 ValidateBaseInstanceOrVertexAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateBaseInstanceOrVertexAtDefinition() argument 3283 ValidateDrawIndexAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateDrawIndexAtDefinition() argument 3353 ValidateViewIndexAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateViewIndexAtDefinition() argument 3417 ValidateDeviceIndexAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateDeviceIndexAtDefinition() argument 3469 ValidateFragInvocationCountAtDefinition(const Decoration& decoration, const Instruction& inst) ValidateFragInvocationCountAtDefinition() argument 3540 ValidateFragSizeAtDefinition(const Decoration& decoration, const Instruction& inst) ValidateFragSizeAtDefinition() argument 3610 ValidateFragStencilRefAtDefinition(const Decoration& decoration, const Instruction& inst) ValidateFragStencilRefAtDefinition() argument 3680 ValidateFullyCoveredAtDefinition(const Decoration& decoration, const Instruction& inst) ValidateFullyCoveredAtDefinition() argument 3750 ValidateNVSMOrARMCoreBuiltinsAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateNVSMOrARMCoreBuiltinsAtDefinition() argument 3805 ValidatePrimitiveShadingRateAtDefinition( const Decoration& decoration, const Instruction& inst) ValidatePrimitiveShadingRateAtDefinition() argument 3878 ValidateShadingRateAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateShadingRateAtDefinition() argument 3942 ValidateRayTracingBuiltinsAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateRayTracingBuiltinsAtDefinition() argument 4111 ValidateSingleBuiltInAtDefinition( const Decoration& decoration, const Instruction& inst) ValidateSingleBuiltInAtDefinition() argument 4307 const Instruction* inst = _.FindDef(id); ValidateBuiltInsAtDefinition() local [all...] |
| H A D | validate_cfg.cpp | 40 spv_result_t ValidatePhi(ValidationState_t& _, const Instruction* inst) { in ValidatePhi() argument 140 ValidateBranch(ValidationState_t& _, const Instruction* inst) ValidateBranch() argument 153 ValidateBranchConditional(ValidationState_t& _, const Instruction* inst) ValidateBranchConditional() argument 202 ValidateSwitch(ValidationState_t& _, const Instruction* inst) ValidateSwitch() argument 234 ValidateReturnValue(ValidationState_t& _, const Instruction* inst) ValidateReturnValue() argument 276 ValidateLoopMerge(ValidationState_t& _, const Instruction* inst) ValidateLoopMerge() argument 1005 CfgPass(ValidationState_t& _, const Instruction* inst) CfgPass() argument 1146 ControlFlowPass(ValidationState_t& _, const Instruction* inst) ControlFlowPass() argument [all...] |
| H A D | validate_image.cpp | 99 const Instruction* inst = _.FindDef(id); in GetImageTypeInfo() local 245 ValidateImageOperands(ValidationState_t& _, const Instruction* inst, const ImageTypeInfo& info, uint32_t word_index) ValidateImageOperands() argument 651 ValidateImageProj(ValidationState_t& _, const Instruction* inst, const ImageTypeInfo& info) ValidateImageProj() argument 673 ValidateImageReadWrite(ValidationState_t& _, const Instruction* inst, const ImageTypeInfo& info) ValidateImageReadWrite() argument 738 GetActualResultType(ValidationState_t& _, const Instruction* inst, uint32_t* actual_result_type) GetActualResultType() argument 773 ValidateTypeImage(ValidationState_t& _, const Instruction* inst) ValidateTypeImage() argument 924 ValidateTypeSampledImage(ValidationState_t& _, const Instruction* inst) ValidateTypeSampledImage() argument 994 ValidateSampledImage(ValidationState_t& _, const Instruction* inst) ValidateSampledImage() argument 1103 ValidateImageTexelPointer(ValidationState_t& _, const Instruction* inst) ValidateImageTexelPointer() argument 1227 ValidateImageLod(ValidationState_t& _, const Instruction* inst) ValidateImageLod() argument 1325 ValidateImageDref(ValidationState_t& _, const Instruction* inst, const ImageTypeInfo& info) ValidateImageDref() argument 1345 ValidateImageDrefLod(ValidationState_t& _, const Instruction* inst) ValidateImageDrefLod() argument 1413 ValidateImageFetch(ValidationState_t& _, const Instruction* inst) ValidateImageFetch() argument 1485 ValidateImageGather(ValidationState_t& _, const Instruction* inst) ValidateImageGather() argument 1588 ValidateImageRead(ValidationState_t& _, const Instruction* inst) ValidateImageRead() argument 1718 ValidateImageWrite(ValidationState_t& _, const Instruction* inst) ValidateImageWrite() argument 1801 ValidateImage(ValidationState_t& _, const Instruction* inst) ValidateImage() argument 1825 ValidateImageQuerySizeLod(ValidationState_t& _, const Instruction* inst) ValidateImageQuerySizeLod() argument 1891 ValidateImageQuerySize(ValidationState_t& _, const Instruction* inst) ValidateImageQuerySize() argument 1948 ValidateImageQueryFormatOrOrder(ValidationState_t& _, const Instruction* inst) ValidateImageQueryFormatOrOrder() argument 1974 ValidateImageQueryLod(ValidationState_t& _, const Instruction* inst) ValidateImageQueryLod() argument 2072 ValidateImageSparseLod(ValidationState_t& _, const Instruction* inst) ValidateImageSparseLod() argument 2079 ValidateImageQueryLevelsOrSamples(ValidationState_t& _, const Instruction* inst) ValidateImageQueryLevelsOrSamples() argument 2127 ValidateImageSparseTexelsResident(ValidationState_t& _, const Instruction* inst) ValidateImageSparseTexelsResident() argument 2164 ValidateImageProcessingQCOM(ValidationState_t& _, const Instruction* inst) ValidateImageProcessingQCOM() argument 2196 ImagePass(ValidationState_t& _, const Instruction* inst) ImagePass() argument 2375 ValidateQCOMImageProcessingTextureUsages(ValidationState_t& _, const Instruction* inst) ValidateQCOMImageProcessingTextureUsages() argument [all...] |
| H A D | validate_memory.cpp | 283 uint32_t GetMakeAvailableScope(const Instruction* inst, uint32_t mask, in GetMakeAvailableScope() argument 295 uint32_t GetMakeVisibleScope(const Instruction* inst, uint32_t mask, in GetMakeVisibleScope() argument 230 GetStorageClass( ValidationState_t& _, const Instruction* inst) GetStorageClass() argument 304 DoesStructContainRTA(const ValidationState_t& _, const Instruction* inst) DoesStructContainRTA() argument 314 CheckMemoryAccess(ValidationState_t& _, const Instruction* inst, uint32_t index) CheckMemoryAccess() argument 408 ValidateVariable(ValidationState_t& _, const Instruction* inst) ValidateVariable() argument 909 ValidateLoad(ValidationState_t& _, const Instruction* inst) ValidateLoad() argument 974 ValidateStore(ValidationState_t& _, const Instruction* inst) ValidateStore() argument 1112 ValidateCopyMemoryMemoryAccess(ValidationState_t& _, const Instruction* inst) ValidateCopyMemoryMemoryAccess() argument 1160 ValidateCopyMemory(ValidationState_t& _, const Instruction* inst) ValidateCopyMemory() argument 1277 ValidateAccessChain(ValidationState_t& _, const Instruction* inst) ValidateAccessChain() argument 1433 ValidatePtrAccessChain(ValidationState_t& _, const Instruction* inst) ValidatePtrAccessChain() argument 1493 ValidateArrayLength(ValidationState_t& state, const Instruction* inst) ValidateArrayLength() argument 1548 ValidateCooperativeMatrixLengthNV(ValidationState_t& state, const Instruction* inst) ValidateCooperativeMatrixLengthNV() argument 1580 ValidateCooperativeMatrixLoadStoreNV(ValidationState_t& _, const Instruction* inst) ValidateCooperativeMatrixLoadStoreNV() argument 1684 ValidateCooperativeMatrixLoadStoreKHR(ValidationState_t& _, const Instruction* inst) ValidateCooperativeMatrixLoadStoreKHR() argument 1791 ValidatePtrComparison(ValidationState_t& _, const Instruction* inst) ValidatePtrComparison() argument 1849 MemoryPass(ValidationState_t& _, const Instruction* inst) MemoryPass() argument [all...] |
| /third_party/vulkan-loader/loader/ |
| H A D | loader_windows.c | 116 bool windows_add_json_entry(const struct loader_instance *inst, in windows_add_json_entry() argument 169 bool windows_get_device_registry_entry(const struct loader_instance *inst, char **reg_data, PDWORD total_size, DEVINST dev_id, in windows_get_device_registry_entry() argument 233 windows_get_device_registry_files(const struct loader_instance *inst, uint32_t log_target_flag, char **reg_data, PDWORD reg_data_size, LPCSTR value_name) windows_get_device_registry_files() argument 352 windows_get_registry_files(const struct loader_instance *inst, char *location, bool use_secondary_hive, char **reg_data, PDWORD reg_data_size) windows_get_registry_files() argument 575 windows_read_manifest_from_d3d_adapters(const struct loader_instance *inst, char **reg_data, PDWORD reg_data_size, const wchar_t *value_name) windows_read_manifest_from_d3d_adapters() argument 707 windows_read_data_files_in_registry(const struct loader_instance *inst, enum loader_data_files_type data_file_type, bool warn_if_not_present, char *registry_location, struct loader_string_list *out_files) windows_read_data_files_in_registry() argument 796 enumerate_adapter_physical_devices(struct loader_instance *inst, struct loader_icd_term *icd_term, uint32_t icd_idx, LUID luid, uint32_t *icd_phys_devs_array_count, struct loader_icd_physical_devices *icd_phys_devs_array) enumerate_adapter_physical_devices() argument 872 sort_physical_devices_with_same_luid(struct loader_instance *inst, uint32_t icd_phys_devs_array_count, struct loader_icd_physical_devices *icd_phys_devs_array) sort_physical_devices_with_same_luid() argument 926 windows_read_sorted_physical_devices(struct loader_instance *inst, uint32_t *icd_phys_devs_array_count, struct loader_icd_physical_devices **icd_phys_devs_array) windows_read_sorted_physical_devices() argument 1023 windows_sort_devices_in_group(struct loader_instance *inst, struct VkPhysicalDeviceGroupProperties *group_props, struct loader_icd_physical_devices *icd_sorted_list) windows_sort_devices_in_group() argument 1046 windows_sort_physical_device_groups(struct loader_instance *inst, const uint32_t group_count, struct loader_physical_device_group_term *sorted_group_term, const uint32_t sorted_device_count, struct loader_icd_physical_devices *sorted_phys_dev_array) windows_sort_physical_device_groups() argument 1090 windows_get_app_package_manifest_path(const struct loader_instance *inst) windows_get_app_package_manifest_path() argument 1165 get_settings_path_if_exists_in_registry_key(const struct loader_instance *inst, char **out_path, HKEY key) get_settings_path_if_exists_in_registry_key() argument 1211 windows_get_loader_settings_file_path(const struct loader_instance *inst, char **out_path) windows_get_loader_settings_file_path() argument [all...] |
| /third_party/vulkan-loader/tests/framework/layer/ |
| H A D | wrap_objects.cpp | 66 struct wrapped_inst_obj *inst; // parent instance object member 96 VkInstance inst; member 109 VkInstance unwrap_instance(const VkInstance instance, wrapped_inst_obj **inst) { in unwrap_instance() argument 178 auto inst = new wrapped_inst_obj; in wrap_vkCreateInstance() local 229 wrapped_inst_obj *inst; wrap_vkDestroyInstance() local 241 wrapped_inst_obj *inst; wrap_vkCreateDebugUtilsMessengerEXT() local 256 wrapped_inst_obj *inst; wrap_vkDestroyDebugUtilsMessengerEXT() local 267 wrapped_inst_obj *inst; wrap_vkDestroySurfaceKHR() local 275 wrapped_inst_obj *inst; wrap_vkCreateAndroidSurfaceKHR() local 285 wrapped_inst_obj *inst; wrap_vkCreateWin32SurfaceKHR() local 295 wrapped_inst_obj *inst; wrap_vkCreateWaylandSurfaceKHR() local 305 wrapped_inst_obj *inst; wrap_vkCreateXcbSurfaceKHR() local 315 wrapped_inst_obj *inst; wrap_vkCreateXlibSurfaceKHR() local 326 wrapped_inst_obj *inst; wrap_vkCreateDirectFBSurfaceEXT() local 336 wrapped_inst_obj *inst; wrap_vkCreateMacOSSurfaceMVK() local 346 wrapped_inst_obj *inst; wrap_vkCreateIOSSurfaceMVK() local 358 wrapped_inst_obj *inst; wrap_vkCreateStreamDescriptorSurfaceGGP() local 368 wrapped_inst_obj *inst; wrap_vkCreateMetalSurfaceEXT() local 378 wrapped_inst_obj *inst; wrap_vkCreateScreenSurfaceQNX() local 387 wrapped_inst_obj *inst; wrap_vkEnumeratePhysicalDevices() local 592 wrapped_inst_obj *inst; wrap_vkDebugMarkerSetObjectTagEXT() local 614 wrapped_inst_obj *inst; wrap_vkDebugMarkerSetObjectNameEXT() local 640 wrapped_inst_obj *inst; wrap_vkSetDebugUtilsObjectNameEXT() local 661 wrapped_inst_obj *inst; wrap_vkSetDebugUtilsObjectTagEXT() local 719 layer_intercept_instance_proc(wrapped_inst_obj *inst, const char *name) layer_intercept_instance_proc() argument 810 wrapped_inst_obj *inst; wrap_vkGetInstanceProcAddr() local 825 wrapped_inst_obj *inst; GetPhysicalDeviceProcAddr() local [all...] |
| /third_party/glslang/glslang/MachineIndependent/ |
| H A D | SymbolTable.h | 321 virtual void setSpirvInstruction(const TSpirvInstruction& inst) in setSpirvInstruction() argument
|