/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_opcodes.py | 566 def binop(name, ty, alg_props, const_expr): function 627 binop("fadd", tfloat, _2src_commutative + associative,""" 637 binop("iadd", tint, _2src_commutative + associative, "(uint64_t)src0 + (uint64_t)src1") 638 binop("iadd_sat", tint, _2src_commutative, """ 643 binop("uadd_sat", tuint, _2src_commutative, 645 binop("isub_sat", tint, "", """ 650 binop("usub_sat", tuint, "", "src0 < src1 ? 0 : src0 - src1") 652 binop("fsub", tfloat, "", """ 662 binop("isub", tint, "", "src0 - src1") 667 binop("uabs_usu [all...] |
/third_party/python/Lib/test/ |
H A D | test_fstring.py | 104 # check the binop location 105 binop = t.body[1].value.values[0].value 106 self.assertEqual(type(binop), ast.BinOp) 107 self.assertEqual(type(binop.left), ast.Name) 108 self.assertEqual(type(binop.op), ast.Mult) 109 self.assertEqual(type(binop.right), ast.Call) 110 self.assertEqual(binop.lineno, 3) 111 self.assertEqual(binop.left.lineno, 3) 112 self.assertEqual(binop.right.lineno, 3) 113 self.assertEqual(binop [all...] |
H A D | test_ast.py | 1944 binop = tree.body[0].value 1947 ast.copy_location(new_left, binop.left) 1948 binop.left = new_left 1951 ast.copy_location(new_right, binop.right) 1952 binop.right = new_right 1954 self.assertEqual(ast.literal_eval(binop), 10+20j) 2109 binop = fstr.values[1].value 2110 self._check_content(s, binop, 'x + y') 2123 binop = fstr.values[1].value 2124 self._check_end_pos(binop, [all...] |
/third_party/mesa3d/src/amd/llvm/ |
H A D | ac_llvm_helper.cpp | 265 llvm::AtomicRMWInst::BinOp binop; in ac_build_atomic_rmw() local 268 binop = llvm::AtomicRMWInst::Xchg; in ac_build_atomic_rmw() 271 binop = llvm::AtomicRMWInst::Add; in ac_build_atomic_rmw() 274 binop = llvm::AtomicRMWInst::Sub; in ac_build_atomic_rmw() 277 binop = llvm::AtomicRMWInst::And; in ac_build_atomic_rmw() 280 binop = llvm::AtomicRMWInst::Nand; in ac_build_atomic_rmw() 283 binop = llvm::AtomicRMWInst::Or; in ac_build_atomic_rmw() 286 binop = llvm::AtomicRMWInst::Xor; in ac_build_atomic_rmw() 289 binop = llvm::AtomicRMWInst::Max; in ac_build_atomic_rmw() 292 binop in ac_build_atomic_rmw() [all...] |
/third_party/gn/src/gn/ |
H A D | parse_tree_unittest.cc | 196 const BinaryOpNode* binop = in TEST() local 198 ASSERT_TRUE(binop->right()->AsList()); in TEST() 199 const ListNode* list = binop->right()->AsList(); in TEST() 222 const BinaryOpNode* binop = in TEST() local 224 ASSERT_TRUE(binop->right()->AsList()); in TEST() 225 const ListNode* list = binop->right()->AsList(); in TEST() 244 const BinaryOpNode* binop = in TEST() local 246 ASSERT_TRUE(binop->right()->AsList()); in TEST() 247 const ListNode* list = binop->right()->AsList(); in TEST() 266 const BinaryOpNode* binop in TEST() local [all...] |
H A D | command_format.cc | 171 void SortIfApplicable(const BinaryOpNode* binop); 399 void Printer::SortIfApplicable(const BinaryOpNode* binop) { in SortIfApplicable() argument 400 if (const Comments* comments = binop->comments()) { in SortIfApplicable() 409 const IdentifierNode* ident = binop->left()->AsIdentifier(); in SortIfApplicable() 410 if ((binop->op().value() == "=" || binop->op().value() == "+=" || in SortIfApplicable() 411 binop->op().value() == "-=") && in SortIfApplicable() 415 TraverseBinaryOpNode(binop->right(), [](const ParseNode* node) { in SortIfApplicable() 421 TraverseBinaryOpNode(binop->right(), [](const ParseNode* node) { in SortIfApplicable() 433 const BinaryOpNode* binop in TraverseBinaryOpNode() local [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | transformation_replace_boolean_constant_with_constant_binary.cpp | 28 // operator |binop|, returns true if it is certain that 'lhs binop rhs' 31 bool float_binop_evaluates_to(T lhs, T rhs, SpvOp binop, bool required_value) { in float_binop_evaluates_to() argument 39 switch (binop) { in float_binop_evaluates_to() 64 bool signed_int_binop_evaluates_to(T lhs, T rhs, SpvOp binop, in signed_int_binop_evaluates_to() argument 67 switch (binop) { in signed_int_binop_evaluates_to() 88 bool unsigned_int_binop_evaluates_to(T lhs, T rhs, SpvOp binop, in unsigned_int_binop_evaluates_to() argument 91 switch (binop) { in unsigned_int_binop_evaluates_to()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | transformation_replace_boolean_constant_with_constant_binary.cpp | 28 // operator |binop|, returns true if it is certain that 'lhs binop rhs' 31 bool float_binop_evaluates_to(T lhs, T rhs, SpvOp binop, bool required_value) { in float_binop_evaluates_to() argument 39 switch (binop) { in float_binop_evaluates_to() 64 bool signed_int_binop_evaluates_to(T lhs, T rhs, SpvOp binop, in signed_int_binop_evaluates_to() argument 67 switch (binop) { in signed_int_binop_evaluates_to() 88 bool unsigned_int_binop_evaluates_to(T lhs, T rhs, SpvOp binop, in unsigned_int_binop_evaluates_to() argument 91 switch (binop) { in unsigned_int_binop_evaluates_to()
|
/third_party/spirv-tools/source/fuzz/ |
H A D | transformation_replace_boolean_constant_with_constant_binary.cpp | 28 // operator |binop|, returns true if it is certain that 'lhs binop rhs' 31 bool float_binop_evaluates_to(T lhs, T rhs, spv::Op binop, in float_binop_evaluates_to() argument 40 switch (binop) { in float_binop_evaluates_to() 65 bool signed_int_binop_evaluates_to(T lhs, T rhs, spv::Op binop, in signed_int_binop_evaluates_to() argument 68 switch (binop) { in signed_int_binop_evaluates_to() 89 bool unsigned_int_binop_evaluates_to(T lhs, T rhs, spv::Op binop, in unsigned_int_binop_evaluates_to() argument 92 switch (binop) { in unsigned_int_binop_evaluates_to()
|
/third_party/musl/src/locale/ |
H A D | pleval.c | 67 static int binop(struct st *st, int op, unsigned long left) in binop() function 129 if (binop(st, op, left)) in evalbinop()
|
/third_party/node/deps/v8/src/interpreter/ |
H A D | bytecode-generator.h | 184 void VisitArithmeticExpression(BinaryOperation* binop); 185 void VisitCommaExpression(BinaryOperation* binop); 186 void VisitLogicalOrExpression(BinaryOperation* binop); 187 void VisitLogicalAndExpression(BinaryOperation* binop); 188 void VisitNullishExpression(BinaryOperation* binop);
|
H A D | bytecode-generator.cc | 4616 BinaryOperation* binop = expr->binary_operation(); in VisitCompoundAssignment() local 4619 if (binop->op() == Token::NULLISH) { in VisitCompoundAssignment() 4626 } else if (binop->op() == Token::OR) { in VisitCompoundAssignment() 4629 } else if (binop->op() == Token::AND) { in VisitCompoundAssignment() 4634 binop->op(), expr->value()->AsLiteral()->AsSmiLiteral(), in VisitCompoundAssignment() 4640 builder()->BinaryOperation(binop->op(), old_value, feedback_index(slot)); in VisitCompoundAssignment() 6098 void BytecodeGenerator::VisitBinaryOperation(BinaryOperation* binop) { in VisitBinaryOperation() argument 6099 switch (binop->op()) { in VisitBinaryOperation() 6101 VisitCommaExpression(binop); in VisitBinaryOperation() 6104 VisitLogicalOrExpression(binop); in VisitBinaryOperation() 6519 VisitCommaExpression(BinaryOperation* binop) VisitCommaExpression() argument 6648 VisitLogicalOrExpression(BinaryOperation* binop) VisitLogicalOrExpression() argument 6709 VisitLogicalAndExpression(BinaryOperation* binop) VisitLogicalAndExpression() argument 6770 VisitNullishExpression(BinaryOperation* binop) VisitNullishExpression() argument [all...] |
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_lower_subgroups.c | 93 binop(struct ir3_block *block, opc_t opc, struct ir3_register *dst, in binop() function 137 binop(block, OPC_##name, dst, src0, src1); \ in do_reduce() 157 binop(block, OPC_MUL_S24, dst, src0, src1); in do_reduce() 160 binop(block, OPC_MULL_U, dst, src0, src1); in do_reduce()
|
/third_party/glslang/glslang/MachineIndependent/preprocessor/ |
H A D | Pp.cpp | 383 } binop[] = { member 504 for (op = NUM_ELEMENTS(binop) - 1; op >= 0; op--) { in eval() 505 if (binop[op].token == token) in eval() 508 if (op < 0 || binop[op].precedence <= precedence) in eval() 521 token = eval(token, binop[op].precedence, shortCircuit, res, err, ppToken); in eval() 523 if (binop[op].op == op_div || binop[op].op == op_mod) { in eval() 529 res = binop[op].op(leftSide, res); in eval()
|
/third_party/node/deps/v8/third_party/jinja2/ |
H A D | compiler.py | 1565 def binop(operator, interceptable=True): # noqa: B902 member in CodeGenerator 1601 visit_Add = binop("+") 1602 visit_Sub = binop("-") 1603 visit_Mul = binop("*") 1604 visit_Div = binop("/") 1605 visit_FloorDiv = binop("//") 1606 visit_Pow = binop("**") 1607 visit_Mod = binop("%") 1608 visit_And = binop("and", interceptable=False) 1609 visit_Or = binop("o [all...] |
/third_party/node/tools/inspector_protocol/jinja2/ |
H A D | compiler.py | 1471 def binop(operator, interceptable=True): member in CodeGenerator 1501 visit_Add = binop('+') 1502 visit_Sub = binop('-') 1503 visit_Mul = binop('*') 1504 visit_Div = binop('/') 1505 visit_FloorDiv = binop('//') 1506 visit_Pow = binop('**') 1507 visit_Mod = binop('%') 1508 visit_And = binop('and', interceptable=False) 1509 visit_Or = binop('o [all...] |
/third_party/skia/third_party/externals/jinja2/ |
H A D | compiler.py | 1565 def binop(operator, interceptable=True): # noqa: B902 member in CodeGenerator 1601 visit_Add = binop("+") 1602 visit_Sub = binop("-") 1603 visit_Mul = binop("*") 1604 visit_Div = binop("/") 1605 visit_FloorDiv = binop("//") 1606 visit_Pow = binop("**") 1607 visit_Mod = binop("%") 1608 visit_And = binop("and", interceptable=False) 1609 visit_Or = binop("o [all...] |
/third_party/python/Modules/clinic/ |
H A D | itertoolsmodule.c.h | 508 PyObject *binop, PyObject *initial); 521 PyObject *binop = Py_None; in itertools_accumulate() local 533 binop = fastargs[1]; in itertools_accumulate() 544 return_value = itertools_accumulate_impl(type, iterable, binop, initial); in itertools_accumulate()
|
/third_party/mesa3d/src/microsoft/compiler/ |
H A D | dxil_dump.c | 403 case INSTR_BINOP: dump_instr_binop(d, &instr->binop); break; in dump_instrs() 427 dump_instr_binop(struct dxil_dumper *d, struct dxil_instr_binop *binop) in dump_instr_binop() argument 429 const char *str = binop->opcode < DXIL_BINOP_INSTR_COUNT ? in dump_instr_binop() 430 binop_strings[binop->opcode] : "INVALID"; in dump_instr_binop() 433 dump_instr_print_operands(d, 2, binop->operands); in dump_instr_binop()
|
H A D | dxil_module.c | 2641 instr->binop.opcode = opcode; in dxil_emit_binop() 2642 instr->binop.operands[0] = op0; in dxil_emit_binop() 2643 instr->binop.operands[1] = op1; in dxil_emit_binop() 2644 instr->binop.flags = flags; in dxil_emit_binop() 3030 assert(instr->value.id > instr->binop.operands[0]->id); in emit_binop() 3031 assert(instr->value.id > instr->binop.operands[1]->id); in emit_binop() 3033 if (instr->binop.flags) { in emit_binop() 3036 instr->value.id - instr->binop.operands[0]->id, in emit_binop() 3037 instr->value.id - instr->binop.operands[1]->id, in emit_binop() 3038 instr->binop in emit_binop() [all...] |
H A D | dxil_internal.h | 232 struct dxil_instr_binop binop; member
|
H A D | dxil_dump_decls.h | 59 dump_instr_binop(struct dxil_dumper *d, struct dxil_instr_binop *binop);
|
/third_party/python/Modules/ |
H A D | itertoolsmodule.c | 3609 PyObject *binop; member 3617 func as binop: object = None 3625 PyObject *binop, PyObject *initial) in itertools_accumulate_impl() 3643 if (binop != Py_None) { in itertools_accumulate_impl() 3644 Py_XINCREF(binop); in itertools_accumulate_impl() 3645 lz->binop = binop; in itertools_accumulate_impl() 3658 Py_XDECREF(lz->binop); in accumulate_dealloc() 3668 Py_VISIT(lz->binop); in accumulate_traverse() 3697 if (lz->binop in accumulate_next() 3624 itertools_accumulate_impl(PyTypeObject *type, PyObject *iterable, PyObject *binop, PyObject *initial) itertools_accumulate_impl() argument [all...] |
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | scheck.c | 143 static void binop(Btor *btor, struct instruction *insn) in binop() function 300 binop(btor, insn); in check_function()
|
/third_party/rust/crates/syn/tests/ |
H A D | test_precedence.rs | 211 ExprKind::Binary(binop, left, right) => { in librustc_parenthesize() 212 binop.node == BinOpKind::And in librustc_parenthesize()
|