| /third_party/skia/third_party/externals/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/skia/third_party/externals/spirv-tools/source/opt/ |
| H A D | aggressive_dead_code_elim_pass.cpp | 170 bool AggressiveDCEPass::IsTargetDead(Instruction* inst) { in IsTargetDead() argument 319 Instruction* inst = (*bi)->terminator(); KillDeadInstructions() local 343 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 457 MarkBlockAsLive(Instruction* inst) MarkBlockAsLive() argument 510 AddOperandsToWorkList(const Instruction* inst) AddOperandsToWorkList() argument 1002 GetMergeInstruction(Instruction* inst) GetMergeInstruction() argument [all...] |
| H A D | amd_ext_to_khr.cpp | 61 bool ReplaceTrinaryMinMax(IRContext* ctx, Instruction* inst, in ReplaceTrinaryMinMax() argument 98 bool ReplaceTrinaryMid(IRContext* ctx, Instruction* inst, in ReplaceTrinaryMid() argument 140 ReplaceGroupNonuniformOperationOpCode( IRContext* ctx, Instruction* inst, const std::vector<const analysis::Constant*>&) ReplaceGroupNonuniformOperationOpCode() argument 212 ReplaceSwizzleInvocations(IRContext* ctx, Instruction* inst, const std::vector<const analysis::Constant*>&) ReplaceSwizzleInvocations() argument 323 ReplaceSwizzleInvocationsMasked( IRContext* ctx, Instruction* inst, const std::vector<const analysis::Constant*>&) ReplaceSwizzleInvocationsMasked() argument 421 ReplaceWriteInvocation(IRContext* ctx, Instruction* inst, const std::vector<const analysis::Constant*>&) ReplaceWriteInvocation() argument 477 ReplaceMbcnt(IRContext* context, Instruction* inst, const std::vector<const analysis::Constant*>&) ReplaceMbcnt() argument 563 ReplaceCubeFaceCoord(IRContext* ctx, Instruction* inst, const std::vector<const analysis::Constant*>&) ReplaceCubeFaceCoord() argument 712 ReplaceCubeFaceIndex(IRContext* ctx, Instruction* inst, const std::vector<const analysis::Constant*>&) ReplaceCubeFaceIndex() argument 810 ReplaceTimeAMD(IRContext* ctx, Instruction* inst, const std::vector<const analysis::Constant*>&) ReplaceTimeAMD() argument [all...] |
| H A D | debug_info_manager.cpp | 99 void DebugInfoManager::RegisterDbgInst(Instruction* inst) { in RegisterDbgInst() argument 106 void DebugInfoManager::RegisterDbgFunction(Instruction* inst) { in RegisterDbgFunction() argument 603 GetVulkanDebugOperation(Instruction* inst) GetVulkanDebugOperation() argument 614 GetVariableIdOfDebugValueUsedForDeclare( Instruction* inst) GetVariableIdOfDebugValueUsedForDeclare() argument 685 ClearDebugScopeAndInlinedAtUses(Instruction* inst) ClearDebugScopeAndInlinedAtUses() argument 697 AnalyzeDebugInst(Instruction* inst) AnalyzeDebugInst() argument [all...] |
| H A D | inst_bindless_check_pass.cpp | 151 uint32_t InstBindlessCheckPass::GetImageId(Instruction* inst) { in GetImageId() argument
|
| H A D | instruction.cpp | 67 Instruction::Instruction(IRContext* c, const spv_parsed_instruction_t& inst, in Instruction() argument 88 Instruction::Instruction(IRContext* c, const spv_parsed_instruction_t& inst, in Instruction() argument 571 AddDebugLine(const Instruction* inst) AddDebugLine() argument 600 InsertBefore(std::unique_ptr<Instruction>&& inst) InsertBefore() argument 826 operator <<(std::ostream& str, const Instruction& inst) operator <<() argument [all...] |
| H A D | loop_descriptor.cpp | 455 bool Loop::ShouldHoistInstruction(IRContext* context, Instruction* inst) { in ShouldHoistInstruction() argument 460 bool Loop::AreAllOperandsOutsideLoop(IRContext* context, Instruction* inst) { in AreAllOperandsOutsideLoop() argument [all...] |
| 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/opt/ |
| H A D | aggressive_dead_code_elim_pass.cpp | 170 bool AggressiveDCEPass::IsTargetDead(Instruction* inst) { in IsTargetDead() argument 319 Instruction* inst = (*bi)->terminator(); KillDeadInstructions() local 343 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 457 MarkBlockAsLive(Instruction* inst) MarkBlockAsLive() argument 510 AddOperandsToWorkList(const Instruction* inst) AddOperandsToWorkList() argument 1002 GetMergeInstruction(Instruction* inst) GetMergeInstruction() argument [all...] |
| H A D | amd_ext_to_khr.cpp | 61 bool ReplaceTrinaryMinMax(IRContext* ctx, Instruction* inst, in ReplaceTrinaryMinMax() argument 98 bool ReplaceTrinaryMid(IRContext* ctx, Instruction* inst, in ReplaceTrinaryMid() argument 140 ReplaceGroupNonuniformOperationOpCode( IRContext* ctx, Instruction* inst, const std::vector<const analysis::Constant*>&) ReplaceGroupNonuniformOperationOpCode() argument 212 ReplaceSwizzleInvocations(IRContext* ctx, Instruction* inst, const std::vector<const analysis::Constant*>&) ReplaceSwizzleInvocations() argument 323 ReplaceSwizzleInvocationsMasked( IRContext* ctx, Instruction* inst, const std::vector<const analysis::Constant*>&) ReplaceSwizzleInvocationsMasked() argument 421 ReplaceWriteInvocation(IRContext* ctx, Instruction* inst, const std::vector<const analysis::Constant*>&) ReplaceWriteInvocation() argument 477 ReplaceMbcnt(IRContext* context, Instruction* inst, const std::vector<const analysis::Constant*>&) ReplaceMbcnt() argument 563 ReplaceCubeFaceCoord(IRContext* ctx, Instruction* inst, const std::vector<const analysis::Constant*>&) ReplaceCubeFaceCoord() argument 712 ReplaceCubeFaceIndex(IRContext* ctx, Instruction* inst, const std::vector<const analysis::Constant*>&) ReplaceCubeFaceIndex() argument 810 ReplaceTimeAMD(IRContext* ctx, Instruction* inst, const std::vector<const analysis::Constant*>&) ReplaceTimeAMD() argument [all...] |
| H A D | debug_info_manager.cpp | 99 void DebugInfoManager::RegisterDbgInst(Instruction* inst) { in RegisterDbgInst() argument 106 void DebugInfoManager::RegisterDbgFunction(Instruction* inst) { in RegisterDbgFunction() argument 603 GetVulkanDebugOperation(Instruction* inst) GetVulkanDebugOperation() argument 614 GetVariableIdOfDebugValueUsedForDeclare( Instruction* inst) GetVariableIdOfDebugValueUsedForDeclare() argument 685 ClearDebugScopeAndInlinedAtUses(Instruction* inst) ClearDebugScopeAndInlinedAtUses() argument 697 AnalyzeDebugInst(Instruction* inst) AnalyzeDebugInst() argument [all...] |
| H A D | inst_bindless_check_pass.cpp | 151 uint32_t InstBindlessCheckPass::GetImageId(Instruction* inst) { in GetImageId() argument
|
| H A D | instruction.cpp | 67 Instruction::Instruction(IRContext* c, const spv_parsed_instruction_t& inst, in Instruction() argument 88 Instruction::Instruction(IRContext* c, const spv_parsed_instruction_t& inst, in Instruction() argument 571 AddDebugLine(const Instruction* inst) AddDebugLine() argument 600 InsertBefore(std::unique_ptr<Instruction>&& inst) InsertBefore() argument 826 operator <<(std::ostream& str, const Instruction& inst) operator <<() argument [all...] |
| H A D | loop_descriptor.cpp | 455 bool Loop::ShouldHoistInstruction(IRContext* context, Instruction* inst) { in ShouldHoistInstruction() argument 460 bool Loop::AreAllOperandsOutsideLoop(IRContext* context, Instruction* inst) { in AreAllOperandsOutsideLoop() argument [all...] |
| 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...] |