/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | fuzzer_pass_replace_params_with_struct.cpp | 50 std::vector<uint32_t> parameter_index(params.size()); in Apply() local 51 std::iota(parameter_index.begin(), parameter_index.end(), 0); in Apply() 55 std::remove_if(parameter_index.begin(), parameter_index.end(), in Apply() 66 parameter_index.erase(new_end, parameter_index.end()); in Apply() 68 if (parameter_index.empty()) { in Apply() 76 parameter_index.size(), in Apply() 80 GetFuzzerContext()->Shuffle(¶meter_index); in Apply() 81 parameter_index.resize(num_replaced_params); in Apply() 85 for (auto index : parameter_index) { in Apply() 93 for (auto index : parameter_index) { in Apply()
|
D | transformation_replace_parameter_with_global.cpp | 122 auto parameter_index = static_cast<uint32_t>(params.size()); in Apply() local 125 parameter_index = i; in Apply() 130 assert(parameter_index != params.size() && in Apply() 145 {inst->GetSingleWordInOperand(parameter_index + 1)}}})); in Apply() 149 inst->RemoveInOperand(parameter_index + 1); in Apply() 166 if (i - 1 != parameter_index) { in Apply()
|
D | transformation_inline_function.cpp | 299 uint32_t parameter_index = 0; in AdaptInlinedInstruction() local 302 ¶meter_index](opt::Instruction* parameter_instruction) { in AdaptInlinedInstruction() 309 parameter_index + 1); in AdaptInlinedInstruction() 311 parameter_index++; in AdaptInlinedInstruction()
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
D | fuzzer_pass_replace_params_with_struct.cpp | 50 std::vector<uint32_t> parameter_index(params.size()); in Apply() local 51 std::iota(parameter_index.begin(), parameter_index.end(), 0); in Apply() 55 std::remove_if(parameter_index.begin(), parameter_index.end(), in Apply() 66 parameter_index.erase(new_end, parameter_index.end()); in Apply() 68 if (parameter_index.empty()) { in Apply() 76 parameter_index.size(), in Apply() 80 GetFuzzerContext()->Shuffle(¶meter_index); in Apply() 81 parameter_index.resize(num_replaced_params); in Apply() 85 for (auto index : parameter_index) { in Apply() 93 for (auto index : parameter_index) { in Apply()
|
D | transformation_replace_parameter_with_global.cpp | 122 auto parameter_index = static_cast<uint32_t>(params.size()); in Apply() local 125 parameter_index = i; in Apply() 130 assert(parameter_index != params.size() && in Apply() 145 {inst->GetSingleWordInOperand(parameter_index + 1)}}})); in Apply() 149 inst->RemoveInOperand(parameter_index + 1); in Apply() 166 if (i - 1 != parameter_index) { in Apply()
|
D | transformation_inline_function.cpp | 299 uint32_t parameter_index = 0; in AdaptInlinedInstruction() local 302 ¶meter_index](opt::Instruction* parameter_instruction) { in AdaptInlinedInstruction() 309 parameter_index + 1); in AdaptInlinedInstruction() 311 parameter_index++; in AdaptInlinedInstruction()
|
/third_party/spirv-tools/source/fuzz/ |
D | fuzzer_pass_replace_params_with_struct.cpp | 49 std::vector<uint32_t> parameter_index(params.size()); in Apply() local 50 std::iota(parameter_index.begin(), parameter_index.end(), 0); in Apply() 54 std::remove_if(parameter_index.begin(), parameter_index.end(), in Apply() 65 parameter_index.erase(new_end, parameter_index.end()); in Apply() 67 if (parameter_index.empty()) { in Apply() 75 parameter_index.size(), in Apply() 79 GetFuzzerContext()->Shuffle(¶meter_index); in Apply() 80 parameter_index.resize(num_replaced_params); in Apply() 84 for (auto index : parameter_index) { in Apply() 92 for (auto index : parameter_index) { in Apply()
|
D | transformation_replace_parameter_with_global.cpp | 122 auto parameter_index = static_cast<uint32_t>(params.size()); in Apply() local 125 parameter_index = i; in Apply() 130 assert(parameter_index != params.size() && in Apply() 145 {inst->GetSingleWordInOperand(parameter_index + 1)}}})); in Apply() 149 inst->RemoveInOperand(parameter_index + 1); in Apply() 166 if (i - 1 != parameter_index) { in Apply()
|
D | transformation_inline_function.cpp | 299 uint32_t parameter_index = 0; in AdaptInlinedInstruction() local 302 ¶meter_index](opt::Instruction* parameter_instruction) { in AdaptInlinedInstruction() 309 parameter_index + 1); in AdaptInlinedInstruction() 311 parameter_index++; in AdaptInlinedInstruction()
|
/third_party/mindspore/mindspore/ccsrc/runtime/framework/ |
D | graph_compiler.h | 119 … VectorRef *const outputs, std::map<AnfNodePtr, size_t> *parameter_index, 125 const std::map<AnfNodePtr, size_t> ¶meter_index, 129 const std::map<AnfNodePtr, size_t> ¶meter_index,
|
D | graph_compiler.cc | 452 std::map<AnfNodePtr, size_t> *parameter_index, in GetParamAndOutputIndex() argument 455 session_->GetParameterIndex(graph.get(), inputs, parameter_index); in GetParamAndOutputIndex() 461 const std::map<AnfNodePtr, size_t> ¶meter_index, in GetSingleOpInputTensors() argument 465 session_->GetOpInputTensors(kernel, op_output, parameter_index, graph_inputs, input_tensor_info); in GetSingleOpInputTensors() 470 … const std::map<AnfNodePtr, size_t> ¶meter_index, in GetSingleOpInputTensorByIndex() argument 474 …return session_->GetOpInputTensorByIndex(kernel, op_output, parameter_index, graph_inputs, input_t… in GetSingleOpInputTensorByIndex()
|
/third_party/mindspore/mindspore/ccsrc/backend/session/ |
D | session_basic.h | 187 std::map<AnfNodePtr, size_t> *parameter_index); 242 … void BuildOpsInGraph(const GraphId &graph_id, const std::map<AnfNodePtr, size_t> ¶meter_index, in BuildOpsInGraph() argument 278 const std::map<AnfNodePtr, size_t> ¶meter_index, 283 const std::map<AnfNodePtr, size_t> ¶meter_index, 287 const std::map<AnfNodePtr, size_t> ¶meter_index,
|
D | ascend_session.h | 75 void BuildOpsInGraph(const GraphId &graph_id, const std::map<AnfNodePtr, size_t> ¶meter_index, 151 …d GetOpInputStubTensors(const CNodePtr &cnode, const std::map<AnfNodePtr, size_t> ¶meter_index,
|
D | session_basic.cc | 1243 std::map<AnfNodePtr, size_t> *parameter_index) { in GetParameterIndex() argument 1268 parameter_index->emplace(param, index++); in GetParameterIndex() 1405 … const std::map<AnfNodePtr, size_t> ¶meter_index, in GetParameterOutputTensor() argument 1411 const auto &iter = parameter_index.find(node); in GetParameterOutputTensor() 1412 if (iter == parameter_index.end()) { in GetParameterOutputTensor() 1434 const std::map<AnfNodePtr, size_t> ¶meter_index, in GetOpInputTensors() argument 1449 tensor = GetParameterOutputTensor(real_input, parameter_index, graph_inputs); in GetOpInputTensors() 1470 … const std::map<AnfNodePtr, size_t> ¶meter_index, in GetOpInputTensorByIndex() argument 1485 return GetParameterOutputTensor(real_input, parameter_index, graph_inputs); in GetOpInputTensorByIndex() 2276 std::map<AnfNodePtr, size_t> parameter_index; in RunOpsInGraphImpl() local [all …]
|
D | ascend_session.cc | 1080 …::GetOpInputStubTensors(const CNodePtr &cnode, const std::map<AnfNodePtr, size_t> ¶meter_index, in GetOpInputStubTensors() argument 1097 tensor = GetParameterOutputTensor(real_input, parameter_index, graph_inputs); in GetOpInputStubTensors() 1117 …sion::BuildOpsInGraph(const GraphId &graph_id, const std::map<AnfNodePtr, size_t> ¶meter_index, in BuildOpsInGraph() argument 1132 … GetOpInputStubTensors(kernel, parameter_index, graph_inputs, op_output_info, &input_tensor_info); in BuildOpsInGraph()
|
/third_party/mindspore/mindspore/ccsrc/vm/ |
D | backend.cc | 512 const std::map<AnfNodePtr, size_t> ¶meter_index, in GetControlOpInput() argument 529 …nsor = graph_compiler->GetSingleOpInputTensorByIndex(backend_cnode, op_output_map, parameter_index, in GetControlOpInput() 602 const std::map<AnfNodePtr, size_t> ¶meter_index, in RunControlOperator() argument 630 …GetControlOpInput(graph_compiler, cnode, kernel, op_output_map, parameter_index, graph_inputs, inp… in RunControlOperator() 720 std::map<AnfNodePtr, size_t> parameter_index; in RunGraphBySingleOp() local 723 graph_compiler_->GetParamAndOutputIndex(graph, inputs[graph_index], outputs, ¶meter_index, in RunGraphBySingleOp() 747 …graph_compiler_->GetSingleOpInputTensors(kernel, op_output_map, parameter_index, inputs[graph_inde… in RunGraphBySingleOp() 757 …RunControlOperator(graph_compiler_, graph, kernel, op_output_map, parameter_index, inputs[graph_in… in RunGraphBySingleOp()
|
/third_party/mesa3d/src/compiler/glsl/glcpp/ |
D | glcpp.h | 144 int *parameter_index);
|
D | glcpp-parse.y | 1856 int parameter_index; in _glcpp_parser_expand_function() local 1901 ¶meter_index)) { in _glcpp_parser_expand_function() 1903 argument = _argument_list_member_at(arguments, parameter_index); in _glcpp_parser_expand_function()
|
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/ |
D | auto_monad.cc | 761 int parameter_index = 0; in GetParameterIndex() local 764 return parameter_index; in GetParameterIndex() 766 ++parameter_index; in GetParameterIndex()
|
/third_party/skia/third_party/externals/tint/src/resolver/ |
D | resolver.cc | 554 uint32_t parameter_index = 0; in Function() local 573 Variable(param, VariableKind::kParameter, parameter_index++)); in Function()
|