Home
last modified time | relevance | path

Searched refs:parameter_id (Results 1 – 25 of 30) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_replace_params_with_struct.cpp29 const std::vector<uint32_t>& parameter_id, uint32_t fresh_function_type_id, in TransformationReplaceParamsWithStruct() argument
35 for (auto id : parameter_id) { in TransformationReplaceParamsWithStruct()
45 std::vector<uint32_t> parameter_id(message_.parameter_id().begin(), in IsApplicable() local
46 message_.parameter_id().end()); in IsApplicable()
49 if (parameter_id.empty() || fuzzerutil::HasDuplicates(parameter_id)) { in IsApplicable()
57 if (!ir_context->get_def_use_mgr()->GetDef(parameter_id[0])) { in IsApplicable()
62 fuzzerutil::GetFunctionFromParameterId(ir_context, parameter_id[0]); in IsApplicable()
76 for (auto id : parameter_id) { in IsApplicable()
134 ir_context, message_.parameter_id(0)); in Apply()
197 ir_context->get_def_use_mgr()->GetDef(message_.parameter_id(i)); in Apply()
[all …]
Dtransformation_replace_parameter_with_global.cpp31 uint32_t function_type_fresh_id, uint32_t parameter_id, in TransformationReplaceParameterWithGlobal() argument
34 message_.set_parameter_id(parameter_id); in TransformationReplaceParameterWithGlobal()
43 ir_context->get_def_use_mgr()->GetDef(message_.parameter_id()); in IsApplicable()
50 ir_context, message_.parameter_id()); in IsApplicable()
87 ir_context->get_def_use_mgr()->GetDef(message_.parameter_id()); in Apply()
100 ir_context, message_.parameter_id()); in Apply()
124 if (params[i]->result_id() == message_.parameter_id()) { in Apply()
153 fuzzerutil::RemoveParameter(ir_context, message_.parameter_id()); in Apply()
184 message_.parameter_id())) { in Apply()
Dfuzzer_pass_replace_params_with_struct.cpp92 std::vector<uint32_t> parameter_id; in Apply() local
94 parameter_id.push_back(params[index]->result_id()); in Apply()
105 parameter_id, GetFuzzerContext()->GetFreshId(), in Apply()
Dtransformation_replace_parameter_with_global.h32 uint32_t parameter_id,
Dtransformation_replace_params_with_struct.h34 const std::vector<uint32_t>& parameter_id,
Dfuzzer_util.h350 void RemoveParameter(opt::IRContext* ir_context, uint32_t parameter_id);
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_replace_params_with_struct.cpp29 const std::vector<uint32_t>& parameter_id, uint32_t fresh_function_type_id, in TransformationReplaceParamsWithStruct() argument
35 for (auto id : parameter_id) { in TransformationReplaceParamsWithStruct()
45 std::vector<uint32_t> parameter_id(message_.parameter_id().begin(), in IsApplicable() local
46 message_.parameter_id().end()); in IsApplicable()
49 if (parameter_id.empty() || fuzzerutil::HasDuplicates(parameter_id)) { in IsApplicable()
57 if (!ir_context->get_def_use_mgr()->GetDef(parameter_id[0])) { in IsApplicable()
62 fuzzerutil::GetFunctionFromParameterId(ir_context, parameter_id[0]); in IsApplicable()
76 for (auto id : parameter_id) { in IsApplicable()
134 ir_context, message_.parameter_id(0)); in Apply()
197 ir_context->get_def_use_mgr()->GetDef(message_.parameter_id(i)); in Apply()
[all …]
Dtransformation_replace_parameter_with_global.cpp31 uint32_t function_type_fresh_id, uint32_t parameter_id, in TransformationReplaceParameterWithGlobal() argument
34 message_.set_parameter_id(parameter_id); in TransformationReplaceParameterWithGlobal()
43 ir_context->get_def_use_mgr()->GetDef(message_.parameter_id()); in IsApplicable()
50 ir_context, message_.parameter_id()); in IsApplicable()
87 ir_context->get_def_use_mgr()->GetDef(message_.parameter_id()); in Apply()
100 ir_context, message_.parameter_id()); in Apply()
124 if (params[i]->result_id() == message_.parameter_id()) { in Apply()
153 fuzzerutil::RemoveParameter(ir_context, message_.parameter_id()); in Apply()
184 message_.parameter_id())) { in Apply()
Dfuzzer_pass_replace_params_with_struct.cpp92 std::vector<uint32_t> parameter_id; in Apply() local
94 parameter_id.push_back(params[index]->result_id()); in Apply()
105 parameter_id, GetFuzzerContext()->GetFreshId(), in Apply()
Dtransformation_replace_parameter_with_global.h32 uint32_t parameter_id,
Dtransformation_replace_params_with_struct.h34 const std::vector<uint32_t>& parameter_id,
Dfuzzer_util.h350 void RemoveParameter(opt::IRContext* ir_context, uint32_t parameter_id);
Dfuzzer_util.cpp1003 void RemoveParameter(opt::IRContext* ir_context, uint32_t parameter_id) { in RemoveParameter() argument
1004 auto* function = GetFunctionFromParameterId(ir_context, parameter_id); in RemoveParameter()
1009 function->RemoveParameter(parameter_id); in RemoveParameter()
/third_party/spirv-tools/source/fuzz/
Dtransformation_replace_params_with_struct.cpp29 const std::vector<uint32_t>& parameter_id, uint32_t fresh_function_type_id, in TransformationReplaceParamsWithStruct() argument
35 for (auto id : parameter_id) { in TransformationReplaceParamsWithStruct()
45 std::vector<uint32_t> parameter_id(message_.parameter_id().begin(), in IsApplicable() local
46 message_.parameter_id().end()); in IsApplicable()
49 if (parameter_id.empty() || fuzzerutil::HasDuplicates(parameter_id)) { in IsApplicable()
57 if (!ir_context->get_def_use_mgr()->GetDef(parameter_id[0])) { in IsApplicable()
62 fuzzerutil::GetFunctionFromParameterId(ir_context, parameter_id[0]); in IsApplicable()
76 for (auto id : parameter_id) { in IsApplicable()
134 ir_context, message_.parameter_id(0)); in Apply()
197 ir_context->get_def_use_mgr()->GetDef(message_.parameter_id(i)); in Apply()
[all …]
Dtransformation_replace_parameter_with_global.cpp31 uint32_t function_type_fresh_id, uint32_t parameter_id, in TransformationReplaceParameterWithGlobal() argument
34 message_.set_parameter_id(parameter_id); in TransformationReplaceParameterWithGlobal()
43 ir_context->get_def_use_mgr()->GetDef(message_.parameter_id()); in IsApplicable()
50 ir_context, message_.parameter_id()); in IsApplicable()
87 ir_context->get_def_use_mgr()->GetDef(message_.parameter_id()); in Apply()
100 ir_context, message_.parameter_id()); in Apply()
124 if (params[i]->result_id() == message_.parameter_id()) { in Apply()
153 fuzzerutil::RemoveParameter(ir_context, message_.parameter_id()); in Apply()
184 message_.parameter_id())) { in Apply()
Dfuzzer_pass_replace_params_with_struct.cpp92 std::vector<uint32_t> parameter_id; in Apply() local
94 parameter_id.push_back(params[index]->result_id()); in Apply()
105 parameter_id, GetFuzzerContext()->GetFreshId(), in Apply()
Dtransformation_replace_parameter_with_global.h32 uint32_t parameter_id,
Dtransformation_replace_params_with_struct.h34 const std::vector<uint32_t>& parameter_id,
Dfuzzer_util.h350 void RemoveParameter(opt::IRContext* ir_context, uint32_t parameter_id);
/third_party/spirv-tools/source/val/
Dfunction.cpp56 spv_result_t Function::RegisterFunctionParameter(uint32_t parameter_id, in RegisterFunctionParameter() argument
63 (void)parameter_id; in RegisterFunctionParameter()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dfunction.cpp56 spv_result_t Function::RegisterFunctionParameter(uint32_t parameter_id, in RegisterFunctionParameter() argument
63 (void)parameter_id; in RegisterFunctionParameter()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dfunction.cpp56 spv_result_t Function::RegisterFunctionParameter(uint32_t parameter_id, in RegisterFunctionParameter() argument
63 (void)parameter_id; in RegisterFunctionParameter()
/third_party/skia/third_party/externals/spirv-tools/source/link/
Dlinker.cpp739 for (const auto parameter_id : in Link() local
741 linked_context.KillNamesAndDecorates(parameter_id); in Link()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/link/
Dlinker.cpp739 for (const auto parameter_id : in Link() local
741 linked_context.KillNamesAndDecorates(parameter_id); in Link()
/third_party/spirv-tools/source/link/
Dlinker.cpp787 for (const auto parameter_id : in Link() local
789 linked_context.KillNamesAndDecorates(parameter_id); in Link()

12