Home
last modified time | relevance | path

Searched refs:OP_NEG (Results 1 – 25 of 28) sorted by relevance

12

/third_party/boost/libs/spirit/classic/example/fundamental/more_calculators/
Dvmachine_calc.cpp33 OP_NEG, // negate the top stack entry enumerator
69 case OP_NEG: in execute()
138 case OP_NEG: in operator ()()
212 | ('-' >> factor)[push_op(OP_NEG, self.code)] in definition()
/third_party/boost/libs/yap/example/autodiff_library/
Dauto_diff_types.h23 typedef enum {OP_PLUS=0, OP_MINUS, OP_TIMES, OP_DIVID, OP_SIN, OP_COS, OP_SQRT, OP_POW, OP_NEG} OPC… enumerator
DUaryOPNode.cpp35 else if(op == OP_NEG) in createUnaryOpNode()
/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_target_gm107.cpp250 case OP_NEG: in getLatency()
290 case OP_NEG: in getReadLatency()
Dnv50_ir_target_nvc0.cpp112 { OP_NEG, 0x0, 0x1, 0x0, 0x0, 0x1, 0x0 },
489 case OP_NEG: in isModSupported()
661 case OP_NEG: in getThroughput()
Dnv50_ir_target_nv50.cpp92 { OP_NEG, 0x0, 0x1, 0x0, 0x0, 0x0, 0x1, 0x1, 0x0 },
474 case OP_NEG: in isModSupported()
Dnv50_ir_peephole.cpp543 case NV50_IR_MOD_NEG: return OP_NEG; in getOp()
882 case OP_NEG: res.data.f32 = -imm.reg.data.f32; break; in unary()
1263 i->op = OP_NEG; in opnd()
1290 bld.mkOp1(OP_NEG, TYPE_S32, i->getDef(0), tB); in opnd()
1318 bld.mkOp1(OP_NEG, TYPE_S32, (v1 = bld.getSSA()), mod) in opnd()
1546 case OP_NEG: in opnd()
1755 mi->op != OP_NEG)) in visit()
1769 if ((i->op == OP_NEG) && mod.neg()) { in visit()
1856 if (neg && neg->op != OP_NEG) { in handleABS()
1860 if (!neg || neg->op != OP_NEG || in handleABS()
[all …]
Dnv50_ir_lowering_helper.cpp42 case OP_NEG: in visit()
Dnv50_ir_emit_nv50.cpp1366 if (i->op == OP_NEG && i->dType == TYPE_U32) in emitCVT()
1534 case OP_NEG: code[1] |= 1 << 29; break; in emitCVT()
2026 case OP_NEG: in emitInstruction()
Dnv50_ir_emit_gm107.cpp826 emitField(0x2d, 1, (insn->op == OP_NEG) || insn->src(0).mod.neg()); in emitF2F()
868 emitField(0x2d, 1, (insn->op == OP_NEG) || insn->src(0).mod.neg()); in emitF2I()
910 emitField(0x2d, 1, (insn->op == OP_NEG) || insn->src(0).mod.neg()); in emitI2F()
943 emitField(0x2d, 1, (insn->op == OP_NEG) || insn->src(0).mod.neg()); in emitI2I()
3481 case OP_NEG: in emitInstruction()
Dnv50_ir_emit_gk110.cpp1068 case OP_NEG: neg = !neg; break; in emitCVT()
1076 if (i->op == OP_NEG && i->dType == TYPE_U32) in emitCVT()
2621 case OP_NEG: in emitInstruction()
Dnv50_ir_target_gv100.cpp325 case OP_NEG: in getOpInfo()
Dnv50_ir_emit_nvc0.cpp1096 const bool neg = (i->op == OP_NEG) || i->src(0).mod.neg(); in emitCVT()
1098 if (i->op == OP_NEG && i->dType == TYPE_U32) in emitCVT()
2791 case OP_NEG: in emitInstruction()
Dnv50_ir.h65 OP_NEG, enumerator
Dnv50_ir_lowering_nvc0.cpp258 bld.mkOp1v(OP_NEG, TYPE_S32, bld.getSSA(), x32_minus_shift)) in handleShift()
802 case OP_NEG: in replaceCvt()
873 if (i->op == OP_SAT || i->op == OP_NEG || i->op == OP_ABS) in visit()
2986 bld.mkOp1(OP_NEG, TYPE_S32, face, face); in handleRDSV()
Dnv50_ir.cpp36 case OP_NEG: bits = NV50_IR_MOD_NEG; break; in Modifier()
Dnv50_ir_lowering_nv50.cpp572 bld.mkOp1(OP_NEG, ty, s, q)->setPredicate(CC_S, cond); in handleDIV()
1291 bld.mkOp1(OP_NEG, TYPE_S32, def, def); in handleRDSV()
/third_party/ltp/tools/sparse/sparse-src/
Dsimplify.c461 return (DEF_OPCODE(def, p) == OP_NEG) && (def->src == ref); in is_negate_of()
648 case OP_NEG: in eval_op()
1076 insn->opcode = OP_NEG; in simplify_mul_div()
1548 insn->src2 = eval_unop(OP_NEG, insn->size, insn->src2); in simplify_constant_rightside()
1633 return replace_with_unop(insn, OP_NEG, insn->src2); in simplify_constant_leftside()
1855 case OP_NEG: // (-x + y) --> (y - x) in simplify_add_one_side()
1890 return replace_with_unop(insn, OP_NEG, def->src2); in simplify_sub()
1892 return replace_with_unop(insn, OP_NEG, def->src1); in simplify_sub()
1894 case OP_NEG: // (x - -y) --> (x + y) in simplify_sub()
2108 case OP_NEG: in simplify_constant_unop()
[all …]
Dcse.c77 case OP_NOT: case OP_NEG: in cse_collect()
215 case OP_NOT: case OP_NEG: in insn_compare()
Dscheck.c164 case OP_NEG: t = boolector_neg(btor, a); break; in unop()
Dlinearize.c238 [OP_NEG] = "neg",
472 case OP_NOT: case OP_NEG: in show_instruction()
1217 return add_unop(ep, ctype, opcode_float(OP_NEG, ctype), pre); in linearize_regular_preop()
Dsparse-llvm.c1065 case OP_NEG: { in output_insn()
Dexample.c61 [OP_NEG] = "neg",
/third_party/boost/libs/yap/example/
Dautodiff_example.cpp105 OP_NEG, in operator ()()
232 OPNode* op2 = create_uary_op_node(OP_NEG,v10); //op2 = -v10 in build_linear_function2_manually()
394 root = create_uary_op_node(OP_NEG,x1); in BOOST_AUTO_TEST_CASE()
/third_party/ltp/tools/sparse/sparse-src/Documentation/
DIR.rst234 .. op:: OP_NEG

12