Home
last modified time | relevance | path

Searched refs:const_val (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/compiler/glsl/
Dopt_constant_folding.cpp125 ir_constant *const_val = ir->condition->as_constant(); in visit_enter() local
129 if (const_val) { in visit_enter()
130 if (const_val->value.b[0]) in visit_enter()
151 ir_constant *const_val = ir->condition->as_constant(); in visit_enter() local
155 if (const_val) { in visit_enter()
156 if (const_val->value.b[0]) in visit_enter()
192 ir_constant *const_val = ir->constant_expression_value(); in visit_enter() local
194 if (const_val != NULL) { in visit_enter()
196 new(ralloc_parent(ir)) ir_assignment(ir->return_deref, const_val); in visit_enter()
Dlower_distance.cpp244 int const_val = old_index_constant->get_int_component(0) + offset; in create_indices() local
245 array_index = new(ctx) ir_constant(const_val / 4); in create_indices()
246 swizzle_index = new(ctx) ir_constant(const_val % 4); in create_indices()
/external/mesa3d/src/compiler/nir/
Dnir_search.c181 nir_search_constant *const_val = nir_search_value_as_constant(value); in match_value() local
192 switch (const_val->type) { in match_value()
207 if (val != const_val->data.d) in match_value()
219 (uint32_t)const_val->data.u) in match_value()
226 if (load->value.u64[new_swizzle[i]] != const_val->data.u) in match_value()
/external/libpcap/
Doptimize.c127 bpf_int32 const_val; member
576 opt_state->vmap[val].const_val = v0; in F()
609 a = opt_state->vmap[v0].const_val; in fold_op()
610 b = opt_state->vmap[v1].const_val; in fold_op()
836 b->s.k += opt_state->vmap[val].const_val; in opt_peep()
898 bpf_int32 v = opt_state->vmap[val].const_val; in opt_peep()
908 bpf_int32 v = opt_state->vmap[val].const_val; in opt_peep()
967 s->k += opt_state->vmap[v].const_val; in opt_stmt()
999 s->k = -opt_state->vmap[val[A_ATOM]].const_val; in opt_stmt()
1061 s->k = opt_state->vmap[val[X_ATOM]].const_val; in opt_stmt()
[all …]