/external/mesa3d/src/compiler/nir/ |
H A D | nir_opcodes.py | 346 def binop(name, ty, alg_props, const_expr): function 379 binop("fadd", tfloat, commutative + associative, "src0 + src1") 380 binop("iadd", tint, commutative + associative, "src0 + src1") 381 binop("fsub", tfloat, "", "src0 - src1") 382 binop("isub", tint, "", "src0 - src1") 384 binop("fmul", tfloat, commutative + associative, "src0 * src1") 386 binop("imul", tint, commutative + associative, "src0 * src1") 388 binop("imul_high", tint32, commutative, 391 binop("umul_high", tuint32, commutative, 394 binop("fdi [all...] |
/external/valgrind/VEX/priv/ |
H A D | ir_inject.c | 43 #define binop(kind, a1, a2) IRExpr_Binop(kind, a1, a2) macro 92 next_addr = binop(Iop_Add64, addr, mkU64(8)); 95 next_addr = binop(Iop_Add32, addr, mkU32(8)); 109 return binop(concat, 114 return binop(concat, 153 next_addr = binop(Iop_Add64, addr, mkU64(8)); 156 next_addr = binop(Iop_Add32, addr, mkU32(8)); 206 data = binop(iricb.op, rounding_mode, opnd1); 240 data = binop(iricb.op, opnd1, opnd2);
|
H A D | guest_arm64_helpers.c | 1318 # define binop(_op,_a1,_a2) IRExpr_Binop((_op),(_a1),(_a2)) macro 1356 binop(Iop_CmpEQ64, cc_dep1, cc_dep2)); 1361 binop(Iop_CmpNE64, cc_dep1, cc_dep2)); 1369 binop(Iop_CmpLE64U, cc_dep2, cc_dep1)); 1374 binop(Iop_CmpLT64U, cc_dep1, cc_dep2)); 1381 binop(Iop_CmpLE64U, cc_dep1, cc_dep2)); 1387 binop(Iop_CmpLT64U, cc_dep2, cc_dep1)); 1394 binop(Iop_CmpLT64S, cc_dep1, cc_dep2)); 1400 binop(Iop_CmpLE64S, cc_dep2, cc_dep1)); 1408 binop(Iop_CmpLT64 1727 # undef binop macro [all...] |
H A D | guest_arm_helpers.c | 819 # define binop(_op,_a1,_a2) IRExpr_Binop((_op),(_a1),(_a2)) macro 856 binop(Iop_CmpEQ32, cc_dep1, cc_dep2)); 861 binop(Iop_CmpNE32, cc_dep1, cc_dep2)); 868 binop(Iop_CmpLT32S, cc_dep2, cc_dep1)); 873 binop(Iop_CmpLE32S, cc_dep1, cc_dep2)); 879 binop(Iop_CmpLT32S, cc_dep1, cc_dep2)); 886 binop(Iop_CmpLE32S, cc_dep2, cc_dep1)); 893 binop(Iop_CmpLE32U, cc_dep2, cc_dep1)); 898 binop(Iop_CmpLT32U, cc_dep1, cc_dep2)); 904 binop(Iop_CmpLE32 1191 # undef binop macro [all...] |
H A D | guest_s390_helpers.c | 1809 #define binop(op,a1,a2) IRExpr_Binop((op),(a1),(a2)) macro 1885 return unop(Iop_1Uto32, binop(Iop_CmpEQ64, cc_dep1, cc_dep2)); 1888 return unop(Iop_1Uto32, binop(Iop_CmpNE64, cc_dep1, cc_dep2)); 1891 return unop(Iop_1Uto32, binop(Iop_CmpLT64S, cc_dep1, cc_dep2)); 1894 return unop(Iop_1Uto32, binop(Iop_CmpLE64S, cc_dep1, cc_dep2)); 1898 return unop(Iop_1Uto32, binop(Iop_CmpLT64S, cc_dep2, cc_dep1)); 1901 return unop(Iop_1Uto32, binop(Iop_CmpLE64S, cc_dep2, cc_dep1)); 1921 return unop(Iop_1Uto32, binop(Iop_CmpEQ64, cc_dep1, cc_dep2)); 1924 return unop(Iop_1Uto32, binop(Iop_CmpNE64, cc_dep1, cc_dep2)); 1927 return unop(Iop_1Uto32, binop(Iop_CmpLT64 [all...] |
H A D | guest_x86_helpers.c | 819 # define binop(_op,_a1,_a2) IRExpr_Binop((_op),(_a1),(_a2)) macro 852 binop(Iop_CmpEQ32, 853 binop(Iop_Add32, cc_dep1, cc_dep2), 862 binop(Iop_CmpEQ32, cc_dep1, cc_dep2)); 867 binop(Iop_CmpNE32, cc_dep1, cc_dep2)); 874 binop(Iop_CmpLT32S, cc_dep1, cc_dep2)); 879 return binop(Iop_Xor32, 881 binop(Iop_CmpLT32S, cc_dep1, cc_dep2)), 889 binop(Iop_CmpLE32S, cc_dep1, cc_dep2)); 895 return binop(Iop_Xor3 1354 # undef binop macro [all...] |
H A D | host_arm_isel.c | 188 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) function 3379 unop(Iop_Not64, binop(Iop_CmpGT8Sx8, bind(1), bind(0)))); 3381 unop(Iop_Not64, binop(Iop_CmpGT16Sx4, bind(1), bind(0)))); 3383 unop(Iop_Not64, binop(Iop_CmpGT32Sx2, bind(1), bind(0)))); 3385 unop(Iop_Not64, binop(Iop_CmpGT8Ux8, bind(1), bind(0)))); 3387 unop(Iop_Not64, binop(Iop_CmpGT16Ux4, bind(1), bind(0)))); 3389 unop(Iop_Not64, binop(Iop_CmpGT32Ux2, bind(1), bind(0)))); 3463 unop(Iop_Dup8x8, binop(Iop_GetElem8x8, bind(0), bind(1)))); 3465 unop(Iop_Dup16x4, binop(Iop_GetElem16x4, bind(0), bind(1)))); 3467 unop(Iop_Dup32x2, binop(Iop_GetElem32x [all...] |
H A D | host_s390_isel.c | 1548 IROp unop, binop; local 1557 binop = arg->Iex.Binop.op; 1561 (binop == Iop_MullS32 || binop == Iop_MullU32)) || 1563 (binop == Iop_MullS64 || binop == Iop_MullU64))))) {
|
H A D | guest_amd64_helpers.c | 1022 # define binop(_op,_a1,_a2) IRExpr_Binop((_op),(_a1),(_a2)) macro 1056 binop(Iop_CmpEQ64, 1057 binop(Iop_Add64, cc_dep1, cc_dep2), 1075 binop(Iop_And64, 1076 binop(Iop_Shr64, 1077 binop(Iop_And64, 1079 binop(Iop_Xor64, cc_dep1, cc_dep2)), 1080 binop(Iop_Xor64, 1082 binop(Iop_Add64, cc_dep1, cc_dep2))), 1098 return binop(Iop_Shr6 1845 # undef binop macro [all...] |
H A D | host_amd64_isel.c | 84 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) function 1955 binop( Iop_Add64, 1956 binop( Iop_Add64, 1958 binop(Iop_Shl64, bind(1), bind(2)) 2295 unop(Iop_CmpNEZ64, binop(Iop_Or64, bind(0), bind(1))));
|
H A D | host_x86_isel.c | 96 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) function 1854 unop(Iop_CmpNEZ32, binop(Iop_And32, bind(0), bind(1)))); 1869 unop(Iop_CmpNEZ32, binop(Iop_Or32, bind(0), bind(1)))); 1905 unop(Iop_CmpNEZ64, binop(Iop_Or64, bind(0), bind(1)))); 2726 unop(Iop_CmpwNEZ64,binop(Iop_Or64,bind(0),bind(1))));
|
/external/python/cpython2/Demo/parser/ |
H A D | unparse.py | 108 self.write(" "+self.binop[t.op.__class__.__name__]+"= ") 440 binop = { "Add":"+", "Sub":"-", "Mult":"*", "Div":"/", "Mod":"%", variable in class:Unparser 446 self.write(" " + self.binop[t.op.__class__.__name__] + " ")
|
/external/python/cpython3/Tools/parser/ |
H A D | unparse.py | 104 self.write(" "+self.binop[t.op.__class__.__name__]+"= ") 510 binop = { "Add":"+", "Sub":"-", "Mult":"*", "MatMult":"@", "Div":"/", "Mod":"%", variable in class:Unparser 516 self.write(" " + self.binop[t.op.__class__.__name__] + " ")
|
/external/libmojo/third_party/jinja2/ |
H A D | compiler.py | 1421 def binop(operator, interceptable=True): member in class:CodeGenerator 1449 visit_Add = binop('+') 1450 visit_Sub = binop('-') 1451 visit_Mul = binop('*') 1452 visit_Div = binop('/') 1453 visit_FloorDiv = binop('//') 1454 visit_Pow = binop('**') 1455 visit_Mod = binop('%') 1456 visit_And = binop('and', interceptable=False) 1457 visit_Or = binop('o [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/ |
H A D | user_computation.cc | 85 HloOpcode BinaryOperationToHloOpcode(BinaryOperation binop) { argument 86 switch (binop) { 130 LOG(FATAL) << "unhandled operation " << binop; 1393 binary_request.binop(), lhs->output_shape(), rhs->output_shape(), 3416 auto hlo_opcode = BinaryOperationToHloOpcode(binary_op_request.binop());
|
/external/v8/src/compiler/arm/ |
H A D | instruction-selector-arm.cc | 1666 Node** node, Node* binop, 1672 switch (binop->opcode()) { 1693 if (selector->CanCover(*node, binop)) { 1697 *node = binop; 1698 } else if (selector->IsOnlyUserOfNodeInSameBlock(*node, binop)) { 1704 *node = binop; 1737 // If we can deoptimize as a result of the binop, we need to make sure 1738 // that the deopt inputs are not overwritten by the binop result. One way 1780 Node* binop = m.left().node(); local 1781 MaybeReplaceCmpZeroWithFlagSettingBinop(selector, &node, binop, 1665 MaybeReplaceCmpZeroWithFlagSettingBinop(InstructionSelector* selector, Node** node, Node* binop, InstructionCode* opcode, FlagsCondition cond, FlagsContinuation* cont) argument 1791 Node* binop = m.right().node(); local [all...] |
/external/valgrind/exp-dhat/ |
H A D | dh_main.c | 765 #define binop(_op, _arg1, _arg2) IRExpr_Binop((_op),(_arg1),(_arg2)) macro 790 IRStmt* st2 = assign(t2, binop(Iop_Add64, mkexpr(t1), mkU64(n))); 845 ? binop(Iop_Sub32, mkexpr(sp), mkU32(rz_szB)) 846 : binop(Iop_Sub64, mkexpr(sp), mkU64(rz_szB))) 854 ? binop(Iop_Sub32, addr, mkexpr(sp_minus_rz)) 855 : binop(Iop_Sub64, addr, mkexpr(sp_minus_rz))) 863 ? binop(Iop_CmpLT32U, mkU32(THRESH), mkexpr(diff)) 864 : binop(Iop_CmpLT64U, mkU64(THRESH), mkexpr(diff))) 1019 #undef binop macro
|
/external/python/cpython2/Python/ |
H A D | compile.c | 2208 binop(struct compiler *c, operator_ty op) function 2974 ADDOP(c, binop(c, e->v.BinOp.op));
|
/external/python/cpython3/Modules/ |
H A D | itertoolsmodule.c | 3406 PyObject *binop; member in struct:__anon20136 3417 PyObject *binop = Py_None; local 3421 kwargs, &iterable, &binop)) 3436 if (binop != Py_None) { 3437 Py_XINCREF(binop); 3438 lz->binop = binop; 3449 Py_XDECREF(lz->binop); 3458 Py_VISIT(lz->binop); 3479 if (lz->binop [all...] |
/external/tensorflow/tensorflow/compiler/xla/client/ |
H A D | computation_builder.cc | 1077 BinaryOperation binop, const ComputationDataHandle& lhs, 1082 request->set_binop(binop); 1076 BinaryOp( BinaryOperation binop, const ComputationDataHandle& lhs, const ComputationDataHandle& rhs, tensorflow::gtl::ArraySlice<int64> broadcast_dimensions) argument
|
/external/v8/src/asmjs/ |
H A D | asm-typer.cc | 779 bool IsDoubleAnnotation(BinaryOperation* binop) { argument 781 if (binop->op() != Token::MUL) { 785 auto* right_as_literal = binop->right()->AsLiteral(); 793 bool IsIntAnnotation(BinaryOperation* binop) { argument 794 if (binop->op() != Token::BIT_OR) { 798 auto* right_as_literal = binop->right()->AsLiteral(); 1614 bool IsInvert(BinaryOperation* binop) { argument 1615 if (binop->op() != Token::BIT_XOR) { 1619 auto* right_as_literal = binop->right()->AsLiteral(); 1627 bool IsUnaryMinus(BinaryOperation* binop) { argument 1959 ValidateMultiplicativeExpression(BinaryOperation* binop) argument 2044 ValidateAdditiveExpression(BinaryOperation* binop, uint32_t intish_count) argument 2105 ValidateShiftExpression(BinaryOperation* binop) argument 2225 ValidateBitwiseANDExpression(BinaryOperation* binop) argument 2252 ValidateBitwiseXORExpression(BinaryOperation* binop) argument 2279 ValidateBitwiseORExpression(BinaryOperation* binop) argument [all...] |
H A D | asm-wasm-builder.cc | 286 BinaryOperation* binop = expr->AsBinaryOperation(); local 287 if (binop->op() == Token::COMMA) { 288 VisitForEffect(binop->left()); 289 VisitForEffect(binop->right()); 909 BinaryOperation* binop = value->AsBinaryOperation(); local 910 if (binop != nullptr) { 913 Property* prop = binop->left()->AsProperty(); 914 if (binop->op() == Token::MUL) { 915 DCHECK(binop->right()->IsLiteral()); 916 DCHECK_EQ(1.0, binop 1110 BinaryOperation* binop = expr->key()->AsBinaryOperation(); local [all...] |
/external/v8/src/compiler/arm64/ |
H A D | instruction-selector-arm64.cc | 1899 Node** node, Node* binop, 1907 switch (binop->opcode()) { 1922 if (selector->CanCover(*node, binop)) { 1927 *node = binop; 1929 } else if (selector->IsOnlyUserOfNodeInSameBlock(*node, binop)) { 1935 *node = binop; 2056 Node* binop = m.left().node(); local 2057 MaybeReplaceCmpZeroWithFlagSettingBinop(selector, &node, binop, &opcode, 2066 Node* binop = m.right().node(); local 2067 MaybeReplaceCmpZeroWithFlagSettingBinop(selector, &node, binop, 1898 MaybeReplaceCmpZeroWithFlagSettingBinop(InstructionSelector* selector, Node** node, Node* binop, ArchOpcode* opcode, FlagsCondition cond, FlagsContinuation* cont, ImmediateMode* immediate_mode) argument [all...] |
/external/python/cpython3/Python/ |
H A D | compile.c | 2917 binop(struct compiler *c, operator_ty op) function 4273 ADDOP(c, binop(c, e->v.BinOp.op));
|
/external/v8/src/interpreter/ |
H A D | bytecode-generator.cc | 2948 void BytecodeGenerator::VisitBinaryOperation(BinaryOperation* binop) { argument 2949 switch (binop->op()) { 2951 VisitCommaExpression(binop); 2954 VisitLogicalOrExpression(binop); 2957 VisitLogicalAndExpression(binop); 2960 VisitArithmeticExpression(binop); 3073 void BytecodeGenerator::VisitCommaExpression(BinaryOperation* binop) { argument 3074 VisitForEffect(binop->left()); 3075 Visit(binop->right()); 3078 void BytecodeGenerator::VisitLogicalOrExpression(BinaryOperation* binop) { argument 3113 VisitLogicalAndExpression(BinaryOperation* binop) argument [all...] |