Home
last modified time | relevance | path

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

/external/mesa3d/src/glsl/
Dopt_constant_folding.cpp101 ir_constant *const_val = ir->condition->as_constant(); in visit_enter() local
105 if (const_val) { in visit_enter()
106 if (const_val->value.b[0]) in visit_enter()
142 ir_constant *const_val = ir->constant_expression_value(); in visit_enter() local
144 if (const_val != NULL) { in visit_enter()
146 new(ralloc_parent(ir)) ir_assignment(ir->return_deref, const_val); in visit_enter()
Dlower_clip_distance.cpp145 int const_val = old_index_constant->get_int_component(0); in create_indices() local
146 array_index = new(ctx) ir_constant(const_val / 4); in create_indices()
147 swizzle_index = new(ctx) ir_constant(const_val % 4); in create_indices()
/external/libpcap/
Doptimize.c521 bpf_int32 const_val; member
555 vmap[val].const_val = v0; in F()
587 a = vmap[v0].const_val; in fold_op()
588 b = vmap[v1].const_val; in fold_op()
814 b->s.k += vmap[val].const_val; in opt_peep()
876 bpf_int32 v = vmap[val].const_val; in opt_peep()
886 bpf_int32 v = vmap[val].const_val; in opt_peep()
944 s->k += vmap[v].const_val; in opt_stmt()
976 s->k = -vmap[val[A_ATOM]].const_val; in opt_stmt()
1038 s->k = vmap[val[X_ATOM]].const_val; in opt_stmt()
[all …]