Home
last modified time | relevance | path

Searched refs:rvalue (Results 1 – 25 of 81) sorted by relevance

1234

/third_party/mesa3d/src/compiler/glsl/
Dopt_constant_folding.cpp57 virtual void handle_rvalue(ir_rvalue **rvalue);
65 ir_constant_fold(ir_rvalue **rvalue) in ir_constant_fold() argument
67 if (*rvalue == NULL || (*rvalue)->ir_type == ir_type_constant) in ir_constant_fold()
75 ir_expression *expr = (*rvalue)->as_expression(); in ir_constant_fold()
84 ir_swizzle *swiz = (*rvalue)->as_swizzle(); in ir_constant_fold()
89 ir_dereference_array *array_ref = (*rvalue)->as_dereference_array(); in ir_constant_fold()
99 ir_dereference_variable *var_ref = (*rvalue)->as_dereference_variable(); in ir_constant_fold()
104 (*rvalue)->constant_expression_value(ralloc_parent(*rvalue)); in ir_constant_fold()
106 *rvalue = constant; in ir_constant_fold()
113 ir_constant_folding_visitor::handle_rvalue(ir_rvalue **rvalue) in handle_rvalue() argument
[all …]
Dopt_constant_propagation.cpp104 void constant_folding(ir_rvalue **rvalue);
105 void constant_propagation(ir_rvalue **rvalue);
109 void handle_rvalue(ir_rvalue **rvalue);
129 ir_constant_propagation_visitor::constant_folding(ir_rvalue **rvalue) in constant_folding() argument
131 if (this->in_assignee || *rvalue == NULL) in constant_folding()
134 if (ir_constant_fold(rvalue)) in constant_folding()
137 ir_dereference_variable *var_ref = (*rvalue)->as_dereference_variable(); in constant_folding()
142 *rvalue = constant; in constant_folding()
149 ir_constant_propagation_visitor::constant_propagation(ir_rvalue **rvalue) { in constant_propagation() argument
151 if (this->in_assignee || !*rvalue) in constant_propagation()
[all …]
Dlower_int64.cpp94 void handle_rvalue(ir_rvalue **rvalue);
347 lower_64bit_visitor::handle_rvalue(ir_rvalue **rvalue) in handle_rvalue() argument
349 if (*rvalue == NULL || (*rvalue)->ir_type != ir_type_expression) in handle_rvalue()
352 ir_expression *const ir = (*rvalue)->as_expression(); in handle_rvalue()
359 *rvalue = handle_op(ir, "__builtin_udiv64", generate_ir::udiv64); in handle_rvalue()
361 *rvalue = handle_op(ir, "__builtin_idiv64", generate_ir::idiv64); in handle_rvalue()
369 *rvalue = handle_op(ir, "__builtin_umod64", generate_ir::umod64); in handle_rvalue()
371 *rvalue = handle_op(ir, "__builtin_imod64", generate_ir::imod64); in handle_rvalue()
Dir_expression_flattening.cpp50 void handle_rvalue(ir_rvalue **rvalue);
66 ir_expression_flattening_visitor::handle_rvalue(ir_rvalue **rvalue) in handle_rvalue() argument
70 ir_rvalue *ir = *rvalue; in handle_rvalue()
83 *rvalue = new(ctx) ir_dereference_variable(var); in handle_rvalue()
Dlower_packing_builtins.cpp56 void handle_rvalue(ir_rvalue **rvalue) in handle_rvalue() argument
58 if (!*rvalue) in handle_rvalue()
61 ir_expression *expr = (*rvalue)->as_expression(); in handle_rvalue()
78 *rvalue = lower_pack_snorm_2x16(op0); in handle_rvalue()
81 *rvalue = lower_pack_snorm_4x8(op0); in handle_rvalue()
84 *rvalue = lower_pack_unorm_2x16(op0); in handle_rvalue()
87 *rvalue = lower_pack_unorm_4x8(op0); in handle_rvalue()
90 *rvalue = lower_pack_half_2x16(op0); in handle_rvalue()
93 *rvalue = lower_unpack_snorm_2x16(op0); in handle_rvalue()
96 *rvalue = lower_unpack_snorm_4x8(op0); in handle_rvalue()
[all …]
Dopt_rebalance_tree.cpp136 void handle_rvalue(ir_rvalue **rvalue);
300 ir_rebalance_visitor::handle_rvalue(ir_rvalue **rvalue) in handle_rvalue() argument
302 if (!*rvalue) in handle_rvalue()
305 ir_expression *expr = (*rvalue)->as_expression(); in handle_rvalue()
320 if (new_rvalue == *rvalue) in handle_rvalue()
325 *rvalue = new_rvalue; in handle_rvalue()
Dlower_precision.cpp47 virtual void handle_rvalue(ir_rvalue **rvalue);
139 virtual void handle_rvalue(ir_rvalue **rvalue);
741 lower_precision_visitor::handle_rvalue(ir_rvalue **rvalue) in handle_rvalue() argument
743 ir_rvalue *ir = *rvalue; in handle_rvalue()
750 *rvalue = convert_precision(false, ir); in handle_rvalue()
836 find_precision_visitor::handle_rvalue(ir_rvalue **rvalue) in handle_rvalue() argument
843 if (*rvalue == NULL) in handle_rvalue()
846 struct set_entry *entry = _mesa_set_search(lowerable_rvalues, *rvalue); in handle_rvalue()
859 if ((*rvalue)->as_dereference()) in handle_rvalue()
864 (*rvalue)->accept(&v); in handle_rvalue()
[all …]
Dlower_named_interface_blocks.cpp120 virtual void handle_rvalue(ir_rvalue **rvalue);
266 flatten_named_interface_blocks_declarations::handle_rvalue(ir_rvalue **rvalue) in handle_rvalue() argument
268 if (*rvalue == NULL) in handle_rvalue()
271 ir_dereference_record *ir = (*rvalue)->as_dereference_record(); in handle_rvalue()
309 *rvalue = process_array_ir(mem_ctx, deref_array, in handle_rvalue()
312 *rvalue = deref_var; in handle_rvalue()
Dopt_tree_grafting.cpp83 bool do_graft(ir_rvalue **rvalue);
119 ir_tree_grafting_visitor::do_graft(ir_rvalue **rvalue) in do_graft() argument
121 if (!*rvalue) in do_graft()
124 ir_dereference_variable *deref = (*rvalue)->as_dereference_variable(); in do_graft()
134 (*rvalue)->fprint(stderr); in do_graft()
139 *rvalue = this->graft_assign->rhs; in do_graft()
Dopt_structure_splitting.cpp197 void handle_rvalue(ir_rvalue **rvalue);
243 ir_structure_splitting_visitor::handle_rvalue(ir_rvalue **rvalue) in handle_rvalue() argument
245 if (!*rvalue) in handle_rvalue()
248 ir_dereference *deref = (*rvalue)->as_dereference(); in handle_rvalue()
254 *rvalue = deref; in handle_rvalue()
Dopt_function_inlining.cpp366 void replace_rvalue(ir_rvalue **rvalue);
382 ir_variable_replacement_visitor::replace_rvalue(ir_rvalue **rvalue) in replace_rvalue() argument
384 if (!*rvalue) in replace_rvalue()
387 ir_dereference *deref = (*rvalue)->as_dereference(); in replace_rvalue()
393 *rvalue = deref; in replace_rvalue()
Dir_reader.cpp560 ir_rvalue *rvalue = read_dereference(list); in read_rvalue() local
561 if (rvalue != NULL || state->error) in read_rvalue()
562 return rvalue; in read_rvalue()
564 rvalue = read_swizzle(list); in read_rvalue()
566 rvalue = read_expression(list); in read_rvalue()
568 rvalue = read_constant(list); in read_rvalue()
570 rvalue = read_texture(list); in read_rvalue()
571 if (rvalue == NULL && !state->error) in read_rvalue()
575 return rvalue; in read_rvalue()
776 ir_rvalue *rvalue = read_rvalue(sub); in read_swizzle() local
[all …]
Dopt_array_splitting.cpp324 void handle_rvalue(ir_rvalue **rvalue);
382 ir_array_splitting_visitor::handle_rvalue(ir_rvalue **rvalue) in handle_rvalue() argument
384 if (!*rvalue) in handle_rvalue()
387 ir_dereference *deref = (*rvalue)->as_dereference(); in handle_rvalue()
393 *rvalue = deref; in handle_rvalue()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DSymbolTable.h353 …void insertBuiltIn(ESymbolLevel level, TOperator op, const char *ext, TType *rvalue, const char *n…
358 bool gvec4 = (rvalue->getBasicType() == EbtGVec4);
359 …insertBuiltIn(level, gvec4 ? new TType(EbtFloat, 4) : rvalue, name, new TType(EbtSampler2D), ptype…
360 …insertBuiltIn(level, gvec4 ? new TType(EbtInt, 4) : rvalue, name, new TType(EbtISampler2D), ptype2…
361 …insertBuiltIn(level, gvec4 ? new TType(EbtUInt, 4) : rvalue, name, new TType(EbtUSampler2D), ptype…
366 bool gvec4 = (rvalue->getBasicType() == EbtGVec4);
367 …insertBuiltIn(level, gvec4 ? new TType(EbtFloat, 4) : rvalue, name, new TType(EbtSampler3D), ptype…
368 …insertBuiltIn(level, gvec4 ? new TType(EbtInt, 4) : rvalue, name, new TType(EbtISampler3D), ptype2…
369 …insertBuiltIn(level, gvec4 ? new TType(EbtUInt, 4) : rvalue, name, new TType(EbtUSampler3D), ptype…
374 bool gvec4 = (rvalue->getBasicType() == EbtGVec4);
[all …]
/third_party/pulseaudio/src/pulsecore/
Dconf-parser.c73 if (pa_proplist_sets(state->proplist, state->lvalue, state->rvalue) < 0) { in proplist_assignment()
74 …to parse a proplist entry: %s = %s", state->filename, state->lineno, state->lvalue, state->rvalue); in proplist_assignment()
139 if (!(state->rvalue = strchr(state->lvalue, '='))) { in parse_line()
144 *state->rvalue = 0; in parse_line()
145 state->rvalue++; in parse_line()
148 state->rvalue = pa_strip(state->rvalue); in parse_line()
305 if (pa_atoi(state->rvalue, &k) < 0) { in pa_config_parse_int()
306 …pa_log("[%s:%u] Failed to parse numeric value: %s", state->filename, state->lineno, state->rvalue); in pa_config_parse_int()
322 if (pa_atou(state->rvalue, &k) < 0) { in pa_config_parse_unsigned()
323 …pa_log("[%s:%u] Failed to parse numeric value: %s", state->filename, state->lineno, state->rvalue); in pa_config_parse_unsigned()
[all …]
/third_party/python/Modules/_ctypes/libffi_osx/x86/
Dx86-ffi_darwin.c51 *(void **) argp = ecif->rvalue; in ffi_prep_args()
188 void ffi_call(ffi_cif *cif, void (*fn)(), void *rvalue, void **avalue) in ffi_call() argument
198 if ((rvalue == NULL) && in ffi_call()
201 ecif.rvalue = alloca(cif->rtype->size); in ffi_call()
204 ecif.rvalue = rvalue; in ffi_call()
210 ffi_call_SYSV(ffi_prep_args, &ecif, cif->bytes, cif->flags, ecif.rvalue, in ffi_call()
216 ecif.rvalue, fn); in ffi_call()
266 ffi_prep_incoming_args_SYSV(char *stack, void **rvalue, void **avalue, in ffi_prep_incoming_args_SYSV() argument
277 *rvalue = *(void **) argp; in ffi_prep_incoming_args_SYSV()
399 ffi_raw_call(ffi_cif *cif, void (*fn)(), void *rvalue, ffi_raw *fake_avalue) in ffi_raw_call() argument
[all …]
Dx86-ffi64.c435 void* rvalue, in ffi_call() argument
455 if (rvalue == NULL && ret_in_memory) in ffi_call()
456 rvalue = alloca (cif->rtype->size); in ffi_call()
468 reg_args->gpr[gprcount++] = (long) rvalue; in ffi_call()
582 cif->flags, rvalue, fn, ssecount); in ffi_call()
623 void* rvalue, in ffi_closure_unix64_inner() argument
648 rvalue = (void *) reg_args->gpr[gprcount++]; in ffi_closure_unix64_inner()
731 closure->fun (cif, rvalue, avalue, closure->user_data); in ffi_closure_unix64_inner()
/third_party/pulseaudio/src/daemon/
Dohos_daemon-conf.c269 if (pa_daemon_conf_set_log_target(c, state->rvalue) < 0) { in parse_log_target()
270 … pa_log(_("[%s:%u] Invalid log target '%s'."), state->filename, state->lineno, state->rvalue); in parse_log_target()
284 if (pa_daemon_conf_set_log_level(c, state->rvalue) < 0) { in parse_log_level()
285 pa_log(_("[%s:%u] Invalid log level '%s'."), state->filename, state->lineno, state->rvalue); in parse_log_level()
299 if (pa_daemon_conf_set_resample_method(c, state->rvalue) < 0) { in parse_resample_method()
300 … pa_log(_("[%s:%u] Invalid resample method '%s'."), state->filename, state->lineno, state->rvalue); in parse_resample_method()
315 if (state->rvalue[strspn(state->rvalue, "\t ")] == 0) { in parse_rlimit()
321 if (pa_atoi(state->rvalue, &k) < 0) { in parse_rlimit()
322 … pa_log(_("[%s:%u] Invalid rlimit '%s'."), state->filename, state->lineno, state->rvalue); in parse_rlimit()
341 if ((f = pa_parse_sample_format(state->rvalue)) < 0) { in parse_sample_format()
[all …]
Ddaemon-conf.c269 if (pa_daemon_conf_set_log_target(c, state->rvalue) < 0) { in parse_log_target()
270 … pa_log(_("[%s:%u] Invalid log target '%s'."), state->filename, state->lineno, state->rvalue); in parse_log_target()
284 if (pa_daemon_conf_set_log_level(c, state->rvalue) < 0) { in parse_log_level()
285 pa_log(_("[%s:%u] Invalid log level '%s'."), state->filename, state->lineno, state->rvalue); in parse_log_level()
299 if (pa_daemon_conf_set_resample_method(c, state->rvalue) < 0) { in parse_resample_method()
300 … pa_log(_("[%s:%u] Invalid resample method '%s'."), state->filename, state->lineno, state->rvalue); in parse_resample_method()
315 if (state->rvalue[strspn(state->rvalue, "\t ")] == 0) { in parse_rlimit()
321 if (pa_atoi(state->rvalue, &k) < 0) { in parse_rlimit()
322 … pa_log(_("[%s:%u] Invalid rlimit '%s'."), state->filename, state->lineno, state->rvalue); in parse_rlimit()
341 if ((f = pa_parse_sample_format(state->rvalue)) < 0) { in parse_sample_format()
[all …]
/third_party/libffi/patch/
Driscv-extend-return-types-smaller-than-ffi_arg-680.patch15 @@ -373,7 +373,32 @@ ffi_call_int (ffi_cif *cif, void (*fn) (void), void *rvalue, void **avalue,
18 if (!return_by_ref && rvalue)
19 - unmarshal(&cb, cif->rtype, 0, rvalue);
32 + rvalue);
39 + rvalue);
44 + unmarshal(&cb, cif->rtype, 0, rvalue);
/third_party/jsframework/runtime/main/extend/mediaquery/
DmediaQuery.ts497 let rvalue: number | string;
500 rvalue = rightValue;
503 rvalue = rightValue.match(/[\d]+\.[\d]+/) ? parseFloat(rightValue) : parseInt(rightValue);
506 rvalue = rightValue;
513 return lvalue >= rvalue;
515 return lvalue > rvalue;
517 return lvalue <= rvalue;
519 return lvalue < rvalue;
521 return lvalue === rvalue;
/third_party/gn/src/base/
Dscoped_generic.h83 ScopedGeneric(ScopedGeneric<T, Traits>&& rvalue) in ScopedGeneric() argument
84 : data_(rvalue.release(), rvalue.get_traits()) {} in ScopedGeneric()
89 ScopedGeneric& operator=(ScopedGeneric<T, Traits>&& rvalue) {
90 reset(rvalue.release());
/third_party/pulseaudio/src/modules/alsa/
Dalsa-mixer.c2149 if (pa_streq(state->rvalue, "ignore")) in element_parse_switch()
2151 else if (pa_streq(state->rvalue, "mute")) in element_parse_switch()
2153 else if (pa_streq(state->rvalue, "off")) in element_parse_switch()
2155 else if (pa_streq(state->rvalue, "on")) in element_parse_switch()
2157 else if (pa_streq(state->rvalue, "select")) in element_parse_switch()
2180 if (pa_streq(state->rvalue, "ignore")) in element_parse_volume()
2182 else if (pa_streq(state->rvalue, "merge")) in element_parse_volume()
2184 else if (pa_streq(state->rvalue, "off")) in element_parse_volume()
2186 else if (pa_streq(state->rvalue, "zero")) in element_parse_volume()
2191 if (pa_atou(state->rvalue, &constant) >= 0) { in element_parse_volume()
[all …]
/third_party/python/Modules/_ctypes/libffi_osx/powerpc/
Dppc-ffi_darwin.c151 *next_arg++ = (unsigned long)(char*)ecif->rvalue; in ffi_prep_args()
584 /*@out@*/ void* rvalue, in ffi_call() argument
594 if ((rvalue == NULL) && in ffi_call()
598 ecif.rvalue = alloca(cif->rtype->size); in ffi_call()
602 ecif.rvalue = rvalue; in ffi_call()
609 cif->flags, ecif.rvalue, fn, ffi_prep_args); in ffi_call()
616 cif->flags, ecif.rvalue, fn, ffi_prep_args); in ffi_call()
816 void* rvalue, in ffi_closure_helper_DARWIN() argument
848 rvalue = (void*)*pgr; in ffi_closure_helper_DARWIN()
1016 (closure->fun)(cif, rvalue, avalue, closure->user_data); in ffi_closure_helper_DARWIN()
/third_party/python/Modules/_ctypes/libffi_osx/include/
Dffi.h204 /*@out@*/ void* rvalue,
230 /*@out@*/ void* rvalue,
316 /*@out@*/ void* rvalue,

1234