Home
last modified time | relevance | path

Searched refs:binop (Results 1 – 25 of 48) sorted by relevance

12

/openbsd/src/gnu/usr.bin/binutils/gdb/
Ddwarf2expr.c599 enum exp_opcode binop; in execute_stack_op() local
614 binop = BINOP_BITWISE_AND; in execute_stack_op()
617 binop = BINOP_DIV; in execute_stack_op()
620 binop = BINOP_SUB; in execute_stack_op()
623 binop = BINOP_MOD; in execute_stack_op()
626 binop = BINOP_MUL; in execute_stack_op()
629 binop = BINOP_BITWISE_IOR; in execute_stack_op()
632 binop = BINOP_ADD; in execute_stack_op()
635 binop = BINOP_LSH; in execute_stack_op()
638 binop = BINOP_RSH; in execute_stack_op()
[all …]
/openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
DMallocOverflowSecurityChecker.cpp83 if (const BinaryOperator *binop = dyn_cast<BinaryOperator>(e)) { in CheckMallocArgument() local
84 BinaryOperatorKind opc = binop->getOpcode(); in CheckMallocArgument()
87 mulop = binop; in CheckMallocArgument()
91 const Expr *lhs = binop->getLHS(); in CheckMallocArgument()
92 const Expr *rhs = binop->getRHS(); in CheckMallocArgument()
/openbsd/src/bin/test/
Dtest.c147 static int binop(void);
189 return (binop() == 0); in main()
198 return !(binop() == 0); in main()
274 return binop(); in primary()
361 binop(void) in binop() function
/openbsd/src/gnu/usr.bin/perl/lib/B/
DDeparse.pm3069 sub binop { subroutine
3097 sub pp_add { maybe_targmy(@_, \&binop, "+", 18, ASSIGN) }
3098 sub pp_multiply { maybe_targmy(@_, \&binop, "*", 19, ASSIGN) }
3099 sub pp_subtract { maybe_targmy(@_, \&binop, "-",18, ASSIGN) }
3100 sub pp_divide { maybe_targmy(@_, \&binop, "/", 19, ASSIGN) }
3101 sub pp_modulo { maybe_targmy(@_, \&binop, "%", 19, ASSIGN) }
3102 sub pp_i_add { maybe_targmy(@_, \&binop, "+", 18, ASSIGN) }
3103 sub pp_i_multiply { maybe_targmy(@_, \&binop, "*", 19, ASSIGN) }
3104 sub pp_i_subtract { maybe_targmy(@_, \&binop, "-", 18, ASSIGN) }
3105 sub pp_i_divide { maybe_targmy(@_, \&binop, "/", 19, ASSIGN) }
[all …]
/openbsd/src/regress/usr.bin/sed/
Ddc.sed38 /|?!*[-+*/%^<>=]/b binop
39 /^|.*|?[dpPfQXZvxkiosStT;:]/b binop
201 :binop
/openbsd/src/gnu/llvm/llvm/docs/tutorial/MyFirstLanguageFrontend/
DLangImpl02.rst373 // Make sure it's a declared binop.
410 a sequence of [binop,primaryexpr] pairs:
446 // If this is a binop, find its precedence.
450 // If this is a binop that binds at least as tightly as the current binop,
464 // Okay, we know this is a binop.
466 getNextToken(); // eat binop
479 In particular, we could have "(a+b) binop unparsed" or "a + (b binop
480 unparsed)". To determine this, we look ahead at "binop" to determine its
491 If the precedence of the binop to the right of "RHS" is lower or equal
493 parentheses associate as "(a+b) binop ...". In our example, the current
[all …]
/openbsd/src/gnu/usr.bin/perl/regen/
DHeaderParser.pm34 %binop, # binary operators and their precedence
73 my @binop= (
88 %binop= map { $_ => 1 } map { split /\s+/, $_ } @binop;
96 foreach my $ix (0 .. $#binop) {
97 my $sym= $binop[$ix];
/openbsd/src/gnu/llvm/clang/tools/clang-fuzzer/
Dcxx_proto.proto55 BinaryOp binop = 3; field
Dcxx_loop_proto.proto58 BinaryOp binop = 2; field
/openbsd/src/gnu/gcc/gcc/
Dtree-ssa-reassoc.c1041 tree binop = TREE_OPERAND (negatedef, 1); local
1044 TREE_OPERAND (binop, 0) = negate_value (TREE_OPERAND (binop, 0),
1047 TREE_OPERAND (binop, 1) = negate_value (TREE_OPERAND (binop, 1),
Dexpr.c3888 optab binop; in optimize_bitfield_assignment_op() local
3969 binop = TREE_CODE (src) == PLUS_EXPR ? add_optab : sub_optab; in optimize_bitfield_assignment_op()
3973 binop = xor_optab; in optimize_bitfield_assignment_op()
3978 result = expand_binop (str_mode, binop, str_rtx, in optimize_bitfield_assignment_op()
4002 binop = TREE_CODE (src) == BIT_IOR_EXPR ? ior_optab : xor_optab; in optimize_bitfield_assignment_op()
4013 result = expand_binop (GET_MODE (str_rtx), binop, str_rtx, in optimize_bitfield_assignment_op()
8008 goto binop; in expand_expr_real_1()
8185 goto binop; in expand_expr_real_1()
8388 goto binop; in expand_expr_real_1()
8393 goto binop; in expand_expr_real_1()
[all …]
/openbsd/src/gnu/usr.bin/gcc/gcc/java/
Dverify.c756 type = int_type_node; goto binop;
770 type = long_type_node; goto binop;
775 type = float_type_node; goto binop;
780 type = double_type_node; goto binop;
787 binop:
Djcf-write.c2163 goto binop;
2166 goto binop;
2169 goto binop;
2173 goto binop;
2176 goto binop;
2177 case LSHIFT_EXPR: jopcode = OPCODE_ishl; goto binop;
2178 case RSHIFT_EXPR: jopcode = OPCODE_ishr; goto binop;
2179 case URSHIFT_EXPR: jopcode = OPCODE_iushr; goto binop;
2181 case BIT_AND_EXPR: jopcode = OPCODE_iand; goto binop;
2183 case BIT_IOR_EXPR: jopcode = OPCODE_ior; goto binop;
[all …]
Dcheck-init.c568 goto binop;
859 binop:
/openbsd/src/gnu/llvm/clang/tools/clang-fuzzer/proto-to-cxx/
Dproto_to_cxx.cpp38 if (x.has_binop()) return os << x.binop(); in operator <<()
Dloop_proto_to_cxx.cpp64 return os << x.binop(); in operator <<()
/openbsd/src/sys/dev/x86emu/
Dx86emu.c1118 uint8_t (*binop)(struct x86emu *, uint8_t, uint8_t)) in common_binop_byte_rm_r()
1129 destval = (*binop)(emu, destval, srcval); in common_binop_byte_rm_r()
1133 *destreg = (*binop)(emu, *destreg, srcval); in common_binop_byte_rm_r()
1139 void (*binop)(struct x86emu *, uint8_t, uint8_t)) in common_binop_ns_byte_rm_r()
1152 (*binop)(emu, destval, srcval); in common_binop_ns_byte_rm_r()
1157 uint16_t (*binop)(struct x86emu *, uint16_t, uint16_t)) in common_binop_word_rm_r()
1167 destval = (*binop)(emu, destval, srcval); in common_binop_word_rm_r()
1171 *destreg = (*binop)(emu, *destreg, srcval); in common_binop_word_rm_r()
1177 uint8_t (*binop)(struct x86emu *, uint8_t, uint8_t)) in common_binop_byte_r_rm()
1190 *destreg = (*binop)(emu, *destreg, srcval); in common_binop_byte_r_rm()
[all …]
/openbsd/src/gnu/llvm/clang/tools/clang-fuzzer/proto-to-llvm/
Dloop_proto_to_llvm.cpp77 return BinopToString(os, x.binop()); in RvalueToString()
/openbsd/src/gnu/usr.bin/gcc/contrib/
Dparanoia.cc205 void binop(int code, const real_c_float&);
227 { binop(PLUS_EXPR, b); return *this; } in operator +=()
229 { binop(MINUS_EXPR, b); return *this; } in operator -=()
231 { binop(MULT_EXPR, b); return *this; } in operator *=()
233 { binop(RDIV_EXPR, b); return *this; } in operator /=()
286 real_c_float::binop (int code, const real_c_float &b) in binop() function in real_c_float
/openbsd/src/gnu/usr.bin/perl/
Dop.c5965 BINOP *binop; in Perl_newBINOP() local
5992 NewOp(1101, binop, 1, BINOP); in Perl_newBINOP()
5994 OpTYPE_set(binop, type); in Perl_newBINOP()
5995 binop->op_first = first; in Perl_newBINOP()
5996 binop->op_flags = (U8)(flags | OPf_KIDS); in Perl_newBINOP()
5999 binop->op_private = (U8)(1 | (flags >> 8)); in Perl_newBINOP()
6002 binop->op_private = (U8)(2 | (flags >> 8)); in Perl_newBINOP()
6007 OpLASTSIB_set(last, (OP*)binop); in Perl_newBINOP()
6009 binop->op_last = OpSIBLING(binop->op_first); in Perl_newBINOP()
6010 if (binop->op_last) in Perl_newBINOP()
[all …]
Dop.h234 struct binop { struct
/openbsd/src/gnu/llvm/llvm/docs/HistoricalNotes/
D2007-OriginalClangReadme.txt135 highlight regions of interesting code (e.g. the LHS and RHS of a binop).
/openbsd/src/gnu/llvm/llvm/include/llvm/Target/GlobalISel/
DCombine.td406 // binop (select cond, K0, K1), K2 ->
407 // select cond, (binop K0, K2), (binop K1, K2)
/openbsd/src/gnu/llvm/llvm/docs/
DAMDGPUOperandSyntax.rst896 expr ::= expr binop expr | primaryexpr ;
900 binop ::= '&&'
/openbsd/src/gnu/usr.bin/perl/ext/XS-APItest/
DAPItest.xs680 BINOP *binop; in THX_mkBINOP() local
681 NewOp(1103, binop, 1, BINOP); in THX_mkBINOP()
682 binop->op_type = (OPCODE)type; in THX_mkBINOP()
683 op_sibling_splice((OP*)binop, NULL, 0, last); in THX_mkBINOP()
684 op_sibling_splice((OP*)binop, NULL, 0, first); in THX_mkBINOP()
685 return (OP *)binop; in THX_mkBINOP()

12