Home
last modified time | relevance | path

Searched refs:new_op (Results 1 – 12 of 12) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/
Drepeat_node.cc42 auto new_op = std::make_shared<RepeatOp>(repeat_count_); in Build() local
43 new_op->SetTotalRepeats(GetTotalRepeats()); in Build()
44 new_op->SetNumRepeatsPerEpoch(GetNumRepeatsPerEpoch()); in Build()
45 node_ops->push_back(new_op); in Build()
46 op_ = new_op; in Build()
55 reset_ancestor_->op_->AddToEoeList(new_op); in Build()
/third_party/mindspore/mindspore/dataset/transforms/
Dpy_transforms.py73 new_op = cls.__new__(cls)
74 new_op.__dict__ = json_obj
82 new_op.transforms = transforms
85 new_op.output_type = output_type
86 return new_op
/third_party/gstreamer/gstplugins_good/gst/goom/
Dgoomsl_yacc.y34 static NodeType *new_op(const char *str, int type, int nbOp);
368 NodeType *set = new_op("set", OPR_SET, 2); in new_set()
381 NodeType *set = new_op("plus_eq", OPR_PLUS_EQ, 2); in new_plus_eq()
400 NodeType *set = new_op("sub_eq", OPR_SUB_EQ, 2); in new_sub_eq()
419 NodeType *set = new_op("mul_eq", OPR_MUL_EQ, 2); in new_mul_eq()
438 NodeType *set = new_op("div_eq", OPR_DIV_EQ, 2); in new_div_eq()
551 NodeType *add = new_op(name, id, 1); in new_expr1()
558 NodeType *add = new_op(name, id, 2); in new_expr2()
762 NodeType *node = new_op("while", OPR_WHILE, 2); in new_while()
788 NodeType *node = new_op("for", OPR_FOREACH, 3); in new_static_foreach()
[all …]
/third_party/mesa3d/src/compiler/glsl/
Dopt_algebraic.cpp435 enum ir_expression_operation new_op = ir_unop_logic_not; in handle_expression() local
441 case ir_binop_less: new_op = ir_binop_gequal; break; in handle_expression()
442 case ir_binop_gequal: new_op = ir_binop_less; break; in handle_expression()
443 case ir_binop_equal: new_op = ir_binop_nequal; break; in handle_expression()
444 case ir_binop_nequal: new_op = ir_binop_equal; break; in handle_expression()
445 case ir_binop_all_equal: new_op = ir_binop_any_nequal; break; in handle_expression()
446 case ir_binop_any_nequal: new_op = ir_binop_all_equal; break; in handle_expression()
454 if (new_op != ir_unop_logic_not) { in handle_expression()
455 return new(mem_ctx) ir_expression(new_op, in handle_expression()
/third_party/mesa3d/src/amd/compiler/
Daco_ir.cpp674 can_swap_operands(aco_ptr<Instruction>& instr, aco_opcode* new_op) in can_swap_operands() argument
710 case aco_opcode::v_min_u16_e64: *new_op = instr->opcode; return true; in can_swap_operands()
711 case aco_opcode::v_sub_f16: *new_op = aco_opcode::v_subrev_f16; return true; in can_swap_operands()
712 case aco_opcode::v_sub_f32: *new_op = aco_opcode::v_subrev_f32; return true; in can_swap_operands()
713 case aco_opcode::v_sub_co_u32: *new_op = aco_opcode::v_subrev_co_u32; return true; in can_swap_operands()
714 case aco_opcode::v_sub_u16: *new_op = aco_opcode::v_subrev_u16; return true; in can_swap_operands()
715 case aco_opcode::v_sub_u32: *new_op = aco_opcode::v_subrev_u32; return true; in can_swap_operands()
720 *new_op = info.ordered_swapped; in can_swap_operands()
724 *new_op = info.unordered_swapped; in can_swap_operands()
Daco_optimizer.cpp1819 aco_opcode new_op = aco_opcode::num_opcodes; in combine_ordering_test() local
1821 case 16: new_op = is_or ? aco_opcode::v_cmp_u_f16 : aco_opcode::v_cmp_o_f16; break; in combine_ordering_test()
1822 case 32: new_op = is_or ? aco_opcode::v_cmp_u_f32 : aco_opcode::v_cmp_o_f32; break; in combine_ordering_test()
1823 case 64: new_op = is_or ? aco_opcode::v_cmp_u_f64 : aco_opcode::v_cmp_o_f64; break; in combine_ordering_test()
1828 create_instruction<VOP3_instruction>(new_op, asVOP3(Format::VOPC), 2, 1); in combine_ordering_test()
1836 new_instr = create_instruction<VOPC_instruction>(new_op, Format::VOPC, 2, 1); in combine_ordering_test()
1898 aco_opcode new_op = is_or ? get_unordered(cmp->opcode) : get_ordered(cmp->opcode); in combine_comparison_ordering() local
1902 create_instruction<VOP3_instruction>(new_op, asVOP3(Format::VOPC), 2, 1); in combine_comparison_ordering()
1911 new_instr = create_instruction<VOPC_instruction>(new_op, Format::VOPC, 2, 1); in combine_comparison_ordering()
2024 aco_opcode new_op = is_or ? get_unordered(cmp->opcode) : get_ordered(cmp->opcode); in combine_constant_comparison_ordering() local
[all …]
Daco_ir.h1776 bool can_swap_operands(aco_ptr<Instruction>& instr, aco_opcode* new_op);
/third_party/mindspore/mindspore/dataset/engine/
Ddatasets.py321 new_op = cls.__new__(cls)
322 memodict[id(self)] = new_op
325 setattr(new_op, arg, value)
328 setattr(new_op, arg, copy.deepcopy(value, memodict))
330 setattr(new_op, arg, value)
331 return new_op
4178 new_op = self.__safe_deepcopy__(memodict, exclude=("source", "__transfer_dataset__"))
4181 if new_op.sampler is not None and hasattr(self.source, "__getitem__"):
4187 if new_op.num_parallel_workers > 1:
4188 … sample_fn = SamplerFn(self.source, new_op.num_parallel_workers, self.python_multiprocessing,
[all …]
/third_party/grpc/src/core/ext/transport/cronet/transport/
Dcronet_transport.cc333 op_and_state* new_op = new op_and_state(s, *op); in add_to_storage() local
335 new_op->next = storage->head; in add_to_storage()
336 storage->head = new_op; in add_to_storage()
344 CRONET_LOG(GPR_DEBUG, "adding new op %p. %d in the queue.", new_op, in add_to_storage()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dupgrade_memory_model.cpp737 GLSLstd450 new_op = is_modf ? GLSLstd450ModfStruct : GLSLstd450FrexpStruct; in UpgradeExtInst() local
738 ext_inst->SetOperand(3u, {static_cast<uint32_t>(new_op)}); in UpgradeExtInst()
/third_party/spirv-tools/source/opt/
Dupgrade_memory_model.cpp737 GLSLstd450 new_op = is_modf ? GLSLstd450ModfStruct : GLSLstd450FrexpStruct; in UpgradeExtInst() local
738 ext_inst->SetOperand(3u, {static_cast<uint32_t>(new_op)}); in UpgradeExtInst()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dupgrade_memory_model.cpp737 GLSLstd450 new_op = is_modf ? GLSLstd450ModfStruct : GLSLstd450FrexpStruct; in UpgradeExtInst() local
738 ext_inst->SetOperand(3u, {static_cast<uint32_t>(new_op)}); in UpgradeExtInst()