HomeSort by relevance Sort by last modified time
    Searched defs:binop (Results 1 - 25 of 58) sorted by null

1 2 3

  /prebuilts/go/darwin-x86/test/fixedbugs/
issue9604b.go 81 type binop struct { type
86 var binops = []binop{
87 binop{"+", func(x, y *big.Int) *big.Int { return new(big.Int).Add(x, y) }},
88 binop{"-", func(x, y *big.Int) *big.Int { return new(big.Int).Sub(x, y) }},
89 binop{"*", func(x, y *big.Int) *big.Int { return new(big.Int).Mul(x, y) }},
90 binop{"/", func(x, y *big.Int) *big.Int { return new(big.Int).Quo(x, y) }},
91 binop{"%", func(x, y *big.Int) *big.Int { return new(big.Int).Rem(x, y) }},
92 binop{"&", func(x, y *big.Int) *big.Int { return new(big.Int).And(x, y) }},
93 binop{"|", func(x, y *big.Int) *big.Int { return new(big.Int).Or(x, y) }},
94 binop{"^", func(x, y *big.Int) *big.Int { return new(big.Int).Xor(x, y) }}
    [all...]
  /prebuilts/go/linux-x86/test/fixedbugs/
issue9604b.go 81 type binop struct { type
86 var binops = []binop{
87 binop{"+", func(x, y *big.Int) *big.Int { return new(big.Int).Add(x, y) }},
88 binop{"-", func(x, y *big.Int) *big.Int { return new(big.Int).Sub(x, y) }},
89 binop{"*", func(x, y *big.Int) *big.Int { return new(big.Int).Mul(x, y) }},
90 binop{"/", func(x, y *big.Int) *big.Int { return new(big.Int).Quo(x, y) }},
91 binop{"%", func(x, y *big.Int) *big.Int { return new(big.Int).Rem(x, y) }},
92 binop{"&", func(x, y *big.Int) *big.Int { return new(big.Int).And(x, y) }},
93 binop{"|", func(x, y *big.Int) *big.Int { return new(big.Int).Or(x, y) }},
94 binop{"^", func(x, y *big.Int) *big.Int { return new(big.Int).Xor(x, y) }}
    [all...]
  /external/valgrind/VEX/priv/
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);
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_CmpLE32U, cc_dep1, cc_dep2))
1191 # undef binop macro
    [all...]
guest_arm64_helpers.c 1318 # define binop macro
1727 # undef binop macro
    [all...]
guest_s390_helpers.c 1809 #define binop macro
    [all...]
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_Xor32
1354 # undef binop macro
    [all...]
host_arm_isel.c 188 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) function
917 && (e->Iex.Binop.op == Iop_Add32 || e->Iex.Binop.op == Iop_Sub32)
918 && e->Iex.Binop.arg2->tag == Iex_Const
919 && e->Iex.Binop.arg2->Iex.Const.con->tag == Ico_U32) {
920 Int simm = (Int)e->Iex.Binop.arg2->Iex.Const.con->Ico.U32;
923 if (e->Iex.Binop.op == Iop_Sub32)
925 reg = iselIntExpr_R(env, e->Iex.Binop.arg1);
    [all...]
host_s390_isel.c 301 if (expr->tag == Iex_Binop && expr->Iex.Binop.op == Iop_Add64) {
302 IRExpr *arg1 = expr->Iex.Binop.arg1;
303 IRExpr *arg2 = expr->Iex.Binop.arg2;
924 IRExpr *arg1 = expr->Iex.Binop.arg1;
925 IRExpr *arg2 = expr->Iex.Binop.arg2;
928 switch (expr->Iex.Binop.op) {
1548 IROp unop, binop; local
    [all...]
host_x86_isel.c 96 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) function
904 e->Iex.Binop.op==Iop_PRemC3210F64
925 if (e->Iex.Binop.op == Iop_Sub32 && isZeroU32(e->Iex.Binop.arg1)) {
927 HReg reg = iselIntExpr_R(env, e->Iex.Binop.arg2);
934 switch (e->Iex.Binop.op) {
954 HReg reg = iselIntExpr_R(env, e->Iex.Binop.arg1);
955 X86RMI* rmi = iselIntExpr_RMI(env, e->Iex.Binop.arg2);
    [all...]
  /art/compiler/optimizing/
instruction_simplifier_shared.cc 125 HBinaryOperation* binop = use->AsBinaryOperation(); local
126 HInstruction* binop_left = binop->GetLeft();
127 HInstruction* binop_right = binop->GetRight();
141 binop->GetKind(),
146 binop->GetBlock()->ReplaceAndRemoveInstructionWith(binop, mulacc);
instruction_simplifier.cc 60 bool TryMoveNegOnInputsAfterBinop(HBinaryOperation* binop);
172 bool InstructionSimplifierVisitor::TryMoveNegOnInputsAfterBinop(HBinaryOperation* binop) {
173 DCHECK(binop->IsAdd() || binop->IsSub());
174 DCHECK(binop->GetLeft()->IsNeg() && binop->GetRight()->IsNeg());
175 HNeg* left_neg = binop->GetLeft()->AsNeg();
176 HNeg* right_neg = binop->GetRight()->AsNeg();
191 if (!DataType::IsIntegralType(binop->GetType())) {
194 binop->ReplaceInput(left_neg->GetInput(), 0)
303 HVecBinaryOperation* binop = use->AsVecBinaryOperation(); local
    [all...]
  /external/mesa3d/src/compiler/nir/
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("fdiv", tfloat, "", "src0 / src1"
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/parser/
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/cpython2/Demo/parser/
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/libmojo/third_party/jinja2/
compiler.py 1421 def binop(operator, interceptable=True): member in class:CodeGenerator
    [all...]
  /external/python/cpython3/Tools/parser/
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/valgrind/exp-dhat/
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
    [all...]
  /prebuilts/ndk/r16/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/preprocessor/
Pp.cpp 359 } binop[] = { member in namespace:glslang
477 for (op = NUM_ELEMENTS(binop) - 1; op >= 0; op--) {
478 if (binop[op].token == token)
481 if (op < 0 || binop[op].precedence <= precedence)
494 token = eval(token, binop[op].precedence, shortCircuit, res, err, ppToken);
496 if (binop[op].op == op_div || binop[op].op == op_mod) {
502 res = binop[op].op(leftSide, res);
    [all...]
  /external/v8/src/asmjs/
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->right()->AsLiteral()->raw_value()->AsNumber())
1110 BinaryOperation* binop = expr->key()->AsBinaryOperation(); local
    [all...]
  /external/v8/src/compiler/arm/
instruction-selector-arm.cc 1780 Node* binop = m.left().node(); local
1791 Node* binop = m.right().node(); local
    [all...]
  /external/v8/src/compiler/arm64/
instruction-selector-arm64.cc 2056 Node* binop = m.left().node(); local
2066 Node* binop = m.right().node(); local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
compile.c 2247 binop(struct compiler *c, operator_ty op) function
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
compile.c 2227 binop(struct compiler *c, operator_ty op) function
    [all...]
  /external/python/cpython2/Python/
compile.c 2208 binop(struct compiler *c, operator_ty op) function
    [all...]

Completed in 592 milliseconds

1 2 3