Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/glsl/
Dopt_constant_variable.cpp46 ir_constant *constval; member
101 ir_constant *constval; in visit_enter() local
137 constval = ir->rhs->constant_expression_value(ralloc_parent(ir)); in visit_enter()
138 if (!constval) in visit_enter()
145 entry->constval = constval; in visit_enter()
207 if (entry->assignment_count == 1 && entry->constval && entry->our_scope) { in do_constant_variable()
208 entry->var->constant_value = entry->constval; in do_constant_variable()