/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
D | transformation_replace_parameter_with_global.cpp | 42 const auto* param_inst = in IsApplicable() local 44 if (!param_inst || param_inst->opcode() != SpvOpFunctionParameter) { in IsApplicable() 60 if (!IsParameterTypeSupported(ir_context, param_inst->type_id())) { in IsApplicable() 66 param_inst->type_id(), false) == 0) { in IsApplicable() 71 if (!fuzzerutil::MaybeGetPointerType(ir_context, param_inst->type_id(), in IsApplicable() 86 const auto* param_inst = in Apply() local 88 assert(param_inst && "Parameter must exist"); in Apply() 93 fuzzerutil::MaybeGetPointerType(ir_context, param_inst->type_id(), in Apply() 97 param_inst->type_id(), false)); in Apply() 115 ir_context, SpvOpLoad, param_inst->type_id(), param_inst->result_id(), in Apply()
|
D | transformation_replace_params_with_struct.cpp | 196 const auto* param_inst = in Apply() local 198 assert(param_inst && "Parameter id is invalid"); in Apply() 215 ir_context, SpvOpCompositeExtract, param_inst->type_id(), in Apply() 216 param_inst->result_id(), in Apply() 221 fuzzerutil::RemoveParameter(ir_context, param_inst->result_id()); in Apply()
|
D | fuzzer_util.cpp | 1036 auto* param_inst = ir_context->get_def_use_mgr()->GetDef(param_id); in GetFunctionFromParameterId() local 1037 assert(param_inst && "Parameter id is invalid"); in GetFunctionFromParameterId() 1040 if (InstructionIsFunctionParameter(param_inst, &function)) { in GetFunctionFromParameterId()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_replace_parameter_with_global.cpp | 42 const auto* param_inst = in IsApplicable() local 44 if (!param_inst || param_inst->opcode() != SpvOpFunctionParameter) { in IsApplicable() 60 if (!IsParameterTypeSupported(ir_context, param_inst->type_id())) { in IsApplicable() 66 param_inst->type_id(), false) == 0) { in IsApplicable() 71 if (!fuzzerutil::MaybeGetPointerType(ir_context, param_inst->type_id(), in IsApplicable() 86 const auto* param_inst = in Apply() local 88 assert(param_inst && "Parameter must exist"); in Apply() 93 fuzzerutil::MaybeGetPointerType(ir_context, param_inst->type_id(), in Apply() 97 param_inst->type_id(), false)); in Apply() 115 ir_context, SpvOpLoad, param_inst->type_id(), param_inst->result_id(), in Apply()
|
D | transformation_replace_params_with_struct.cpp | 196 const auto* param_inst = in Apply() local 198 assert(param_inst && "Parameter id is invalid"); in Apply() 215 ir_context, SpvOpCompositeExtract, param_inst->type_id(), in Apply() 216 param_inst->result_id(), in Apply() 221 fuzzerutil::RemoveParameter(ir_context, param_inst->result_id()); in Apply()
|
D | fuzzer_util.cpp | 1036 auto* param_inst = ir_context->get_def_use_mgr()->GetDef(param_id); in GetFunctionFromParameterId() local 1037 assert(param_inst && "Parameter id is invalid"); in GetFunctionFromParameterId() 1040 if (InstructionIsFunctionParameter(param_inst, &function)) { in GetFunctionFromParameterId()
|
/third_party/spirv-tools/source/fuzz/ |
D | transformation_replace_parameter_with_global.cpp | 42 const auto* param_inst = in IsApplicable() local 44 if (!param_inst || param_inst->opcode() != SpvOpFunctionParameter) { in IsApplicable() 60 if (!IsParameterTypeSupported(ir_context, param_inst->type_id())) { in IsApplicable() 66 param_inst->type_id(), false) == 0) { in IsApplicable() 71 if (!fuzzerutil::MaybeGetPointerType(ir_context, param_inst->type_id(), in IsApplicable() 86 const auto* param_inst = in Apply() local 88 assert(param_inst && "Parameter must exist"); in Apply() 93 fuzzerutil::MaybeGetPointerType(ir_context, param_inst->type_id(), in Apply() 97 param_inst->type_id(), false)); in Apply() 115 ir_context, SpvOpLoad, param_inst->type_id(), param_inst->result_id(), in Apply()
|
D | transformation_replace_params_with_struct.cpp | 196 const auto* param_inst = in Apply() local 198 assert(param_inst && "Parameter id is invalid"); in Apply() 215 ir_context, SpvOpCompositeExtract, param_inst->type_id(), in Apply() 216 param_inst->result_id(), in Apply() 221 fuzzerutil::RemoveParameter(ir_context, param_inst->result_id()); in Apply()
|
D | fuzzer_util.cpp | 1036 auto* param_inst = ir_context->get_def_use_mgr()->GetDef(param_id); in GetFunctionFromParameterId() local 1037 assert(param_inst && "Parameter id is invalid"); in GetFunctionFromParameterId() 1040 if (InstructionIsFunctionParameter(param_inst, &function)) { in GetFunctionFromParameterId()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | instrument_pass.cpp | 709 std::unique_ptr<Instruction> param_inst( in GetStreamWriteFunctionId() local 712 get_def_use_mgr()->AnalyzeInstDefUse(&*param_inst); in GetStreamWriteFunctionId() 713 output_func->AddParameter(std::move(param_inst)); in GetStreamWriteFunctionId() 816 std::unique_ptr<Instruction> param_inst(new Instruction( in GetDirectReadFunctionId() local 818 get_def_use_mgr()->AnalyzeInstDefUse(&*param_inst); in GetDirectReadFunctionId() 819 input_func->AddParameter(std::move(param_inst)); in GetDirectReadFunctionId()
|
D | inst_buff_addr_check_pass.cpp | 215 std::unique_ptr<Instruction> param_inst(new Instruction( in AddParam() local 217 get_def_use_mgr()->AnalyzeInstDefUse(&*param_inst); in AddParam() 218 (*input_func)->AddParameter(std::move(param_inst)); in AddParam()
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | instrument_pass.cpp | 709 std::unique_ptr<Instruction> param_inst( in GetStreamWriteFunctionId() local 712 get_def_use_mgr()->AnalyzeInstDefUse(&*param_inst); in GetStreamWriteFunctionId() 713 output_func->AddParameter(std::move(param_inst)); in GetStreamWriteFunctionId() 816 std::unique_ptr<Instruction> param_inst(new Instruction( in GetDirectReadFunctionId() local 818 get_def_use_mgr()->AnalyzeInstDefUse(&*param_inst); in GetDirectReadFunctionId() 819 input_func->AddParameter(std::move(param_inst)); in GetDirectReadFunctionId()
|
D | inst_buff_addr_check_pass.cpp | 215 std::unique_ptr<Instruction> param_inst(new Instruction( in AddParam() local 217 get_def_use_mgr()->AnalyzeInstDefUse(&*param_inst); in AddParam() 218 (*input_func)->AddParameter(std::move(param_inst)); in AddParam()
|
/third_party/spirv-tools/source/opt/ |
D | instrument_pass.cpp | 763 std::unique_ptr<Instruction> param_inst( in GetStreamWriteFunctionId() local 766 get_def_use_mgr()->AnalyzeInstDefUse(&*param_inst); in GetStreamWriteFunctionId() 767 output_func->AddParameter(std::move(param_inst)); in GetStreamWriteFunctionId() 876 std::unique_ptr<Instruction> param_inst(new Instruction( in GetDirectReadFunctionId() local 878 get_def_use_mgr()->AnalyzeInstDefUse(&*param_inst); in GetDirectReadFunctionId() 879 input_func->AddParameter(std::move(param_inst)); in GetDirectReadFunctionId()
|
D | inst_buff_addr_check_pass.cpp | 215 std::unique_ptr<Instruction> param_inst(new Instruction( in AddParam() local 217 get_def_use_mgr()->AnalyzeInstDefUse(&*param_inst); in AddParam() 218 (*input_func)->AddParameter(std::move(param_inst)); in AddParam()
|