Home
last modified time | relevance | path

Searched refs:unop (Results 1 - 22 of 22) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
H A Dnir_opcodes.py164 def unop(name, ty, const_expr): function
194 unop("mov", tuint, "src0")
196 unop("ineg", tint, "-src0")
197 unop("fneg", tfloat, "-src0")
198 unop("inot", tint, "~src0") # invert every bit of the integer
214 unop("fsign", tfloat, ("bit_size == 64 ? " +
217 unop("isign", tint, "(src0 == 0) ? 0 : ((src0 > 0) ? 1 : -1)")
218 unop("iabs", tint, "(src0 < 0) ? -src0 : src0")
219 unop("fabs", tfloat, "fabs(src0)")
220 unop("fsa
[all...]
/third_party/ltp/tools/sparse/sparse-src/
H A Dexpression.c515 token = parens_expression(token, &expr->unop, "in expression"); in primary_expression()
565 deref->unop = add; in postfix_expression()
578 post->unop = expr; in postfix_expression()
587 inner->unop = expr; in postfix_expression()
694 struct expression *unop; in unary_expression() local
698 next = cast_expression(token->next, &unop); in unary_expression()
699 if (!unop) { in unary_expression()
706 unary->unop = unop; in unary_expression()
712 struct expression *unop; in unary_expression() local
[all...]
H A Ddissect.c323 return expr->unop; in peek_preop()
325 expr = expr->unop; in peek_preop()
413 struct expression *unop = expr->unop; in do_expression() local
422 ret = do_expression(mode, unop); in do_expression()
425 if ((expr = peek_preop(unop, '*'))) in do_expression()
427 ret = alloc_symbol(unop->pos, SYM_PTR); in do_expression()
429 do_expression(u_addr(mode), unop); in do_expression()
432 if ((expr = peek_preop(unop, '&'))) in do_expression()
441 ret = do_expression(mode, unop); in do_expression()
[all...]
H A Dexpand.c603 return expand_expression(expr->unop); in expand_addressof()
702 struct expression *unop = expr->unop; in expand_dereference() local
705 expand_expression(unop); in expand_dereference()
716 warning(unop->pos, "dereference of noderef expression"); in expand_dereference()
722 while (unop->type == EXPR_BINOP && unop->op == '+') { in expand_dereference()
723 struct expression *right = unop->right; in expand_dereference()
727 unop = unop in expand_dereference()
[all...]
H A Devaluate.c104 expr->unop = addr; in evaluate_symbol_expression()
148 expr->unop = addr; in evaluate_string()
403 if (!valid_expr_type(expr->unop)) in bad_expr_type()
406 info(expr->pos, " %s", show_typename(expr->unop->ctype)); in bad_expr_type()
1582 mark_assigned(left->unop); in evaluate_assign_to()
1727 e1->unop = e0; in degenerate()
1753 expr->unop = e4; in degenerate()
1764 *expr = *expr->unop; in degenerate()
1776 struct expression *op = expr->unop; in evaluate_addressof()
1786 *expr = *op->unop; in evaluate_addressof()
[all...]
H A Dinline.c107 struct expression *unop = copy_expression(expr->unop); in copy_expression() local
108 if (expr->unop == unop) in copy_expression()
111 expr->unop = unop; in copy_expression()
H A Dcompile-i386.c1508 struct storage *addr = x86_address_gen(expr->unop); in emit_inc_dec()
1518 emit_copy(new, addr, expr->unop->ctype); in emit_inc_dec()
1673 struct storage *target = x86_expression(expr->unop); in emit_regular_preop()
1682 emit_move(target, REG_EAX, expr->unop->ctype, NULL); in emit_regular_preop()
1685 emit_move(REG_EDX, new, expr->unop->ctype, NULL); in emit_regular_preop()
1693 emit_move(target, REG_EAX, expr->unop->ctype, NULL); in emit_regular_preop()
1695 emit_move(REG_EAX, new, expr->unop->ctype, NULL); in emit_regular_preop()
2103 if (fn->unop->type == EXPR_SYMBOL) { in x86_call_expression()
2104 struct symbol *sym = fn->unop->symbol; in x86_call_expression()
2143 addr = x86_expression(expr->unop); in x86_address_gen()
[all...]
H A Dshow-parse.c769 if (fn->unop->type == EXPR_SYMBOL) { in show_call_expression()
770 struct symbol *sym = fn->unop->symbol; in show_call_expression()
828 int target = show_expression(expr->unop); in show_regular_preop()
850 return show_expression(expr->unop); in show_address_gen()
921 int addr = show_address_gen(expr->unop); in show_inc_dec()
926 retval = show_load_gen(bits, expr->unop, addr); in show_inc_dec()
931 show_store_gen(bits, new, expr->unop, addr); in show_inc_dec()
H A Dexpression.h183 struct /* unop */ {
184 struct expression *unop; member
H A Dscheck.c155 static void unop(Btor *btor, struct instruction *insn) in unop() function
306 unop(btor, insn); in check_function()
H A Dast-inspect.c211 ast_append_child(node, "unop:", expr->unop, inspect_expression); in inspect_expression()
H A Dsymbol.c369 expr = expr->unop; in is_wstring_expr()
412 e = e->unop; in count_array_initializer()
435 e = e->unop; in count_array_initializer()
H A Dlinearize.c960 return linearize_simple_address(ep, expr->unop, ad); in linearize_address_gen()
1152 if (!linearize_address_gen(ep, expr->unop, &ad)) in linearize_inc_dec()
1205 pseudo_t pre = linearize_expression(ep, expr->unop); in linearize_regular_preop()
1212 return add_cmp_op(ep, ctype, OP_SET_EQ, expr->unop->ctype, pre, zero); in linearize_regular_preop()
1525 fn = fn->unop; in linearize_call_expression()
1802 return linearize_cond_branch(ep, expr->unop, bb_false, bb_true); in linearize_cond_branch()
H A Dbuiltin.c549 arg = arg->unop; in expand_object_size()
/third_party/glslang/glslang/MachineIndependent/preprocessor/
H A DPp.cpp406 } unop[] = { member
479 int op = NUM_ELEMENTS(unop) - 1; in eval()
481 if (unop[op].token == token) in eval()
487 res = unop[op].op(res); in eval()
/third_party/node/deps/openssl/openssl/crypto/modes/asm/
H A Dghash-alpha.pl176 unop
/third_party/node/deps/openssl/openssl/crypto/bn/asm/
H A Dalpha-mont.pl149 unop
/third_party/openssl/crypto/modes/asm/
H A Dghash-alpha.pl176 unop
/third_party/openssl/crypto/bn/asm/
H A Dalpha-mont.pl149 unop
/third_party/python/Lib/
H A Dast.py1353 unop = {"Invert": "~", "Not": "not", "UAdd": "+", "USub": "-"} variable in _Unparser
1362 operator = self.unop[node.op.__class__.__name__]
/third_party/mesa3d/src/compiler/glsl/
H A Dbuiltin_functions.cpp1075 ir_function_signature *unop(builtin_available_predicate avail,
5757 builtin_builder::unop(builtin_available_predicate avail, in unop() function in builtin_builder
5772 return unop(&AVAIL, OPCODE, type, type); \
5779 return unop(avail, OPCODE, type, type); \
7626 return unop(gpu_shader5_or_es31_or_integer_functions, ir_unop_bit_count, in _bitCount()
7633 return unop(gpu_shader5_or_es31_or_integer_functions, ir_unop_find_lsb, in _findLSB()
7640 return unop(gpu_shader5_or_es31_or_integer_functions, ir_unop_find_msb, in _findMSB()
7648 return unop(avail, ir_unop_clz, in _countLeadingZeros()
/third_party/node/deps/v8/src/execution/arm/
H A Dsimulator-arm.cc3935 void Unop(Simulator* simulator, int Vd, int Vm, std::function<T(T)> unop) { in Unop() argument
3940 src[i] = unop(src[i]); in Unop()

Completed in 64 milliseconds