Home
last modified time | relevance | path

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

/external/mesa3d/src/glsl/
Dopt_constant_folding.cpp77 if (!expr->operands[i]->as_constant()) in handle_rvalue()
101 ir_constant *const_val = ir->condition->as_constant(); in visit_enter()
Dlower_vector.cpp72 const ir_constant *const c = op->as_constant(); in is_extended_swizzle()
162 const ir_constant *const c = expr->operands[i]->as_constant(); in handle_rvalue()
Dloop_controls.cpp217 ir_constant *limit = cond->operands[1]->as_constant(); in visit_leave()
222 limit = cond->operands[0]->as_constant(); in visit_leave()
Dopt_array_splitting.cpp185 if (entry && !ir->array_index->as_constant()) in visit_enter()
295 ir_constant *constant = deref_array->array_index->as_constant(); in split_deref()
Dlower_variable_index_to_cond_assign.cpp170 && (ir->array_index->as_constant() == NULL)) { in visit_enter()
382 if (deref == NULL || deref->array_index->as_constant() in needs_lowering()
Dir_set_program_inouts.cpp128 ir_constant *index = ir->array_index->as_constant(); in visit_enter()
Dast_function.cpp525 ir_constant *constant = src->as_constant(); in dereference_component()
682 ir_constant *constant = ((ir_instruction *) node)->as_constant(); in constant_record_constructor()
766 const ir_constant *const c = param->as_constant(); in emit_inline_vector_constructor()
824 const ir_constant *const c = param->as_constant(); in emit_inline_vector_constructor()
Dlower_ubo_reference.cpp119 ir_constant *const_index = deref_array->array_index->as_constant(); in handle_rvalue()
Dir.cpp609 assert(value->as_constant() != NULL); in ir_constant()
700 assert(value->as_constant() != NULL); in ir_constant()
1649 ir_constant *constant = ir->as_constant(); in steal_memory()
Dir.h131 virtual class ir_constant * as_constant() { return NULL; } in as_constant() function
1721 virtual ir_constant *as_constant() in as_constant() function
Dloop_analysis.cpp468 if (inc->as_constant() == NULL) { in get_basic_induction_increment()
Dopt_constant_propagation.cpp441 ir_constant *constant = ir->rhs->as_constant(); in add_constant()
Dir_validate.cpp427 assert(ir->operands[0]->as_constant()); in visit_leave()
/external/mesa3d/src/mesa/program/
Dsampler.cpp71 ir_constant *index = ir->array_index->as_constant(); in visit_leave()
Dir_to_mesa.cpp996 const ir_constant *const c = op->as_constant(); in emit_swz()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs_visitor.cpp168 index = ir->array_index->as_constant(); in visit()
233 if (nonmul->as_constant() || in try_emit_mad()
234 mul->operands[0]->as_constant() || in try_emit_mad()
235 mul->operands[1]->as_constant()) in try_emit_mad()
584 ir_constant *uniform_block = ir->operands[0]->as_constant(); in visit()
585 ir_constant *offset = ir->operands[1]->as_constant(); in visit()
935 ir_constant *offset = ir->offset->as_constant(); in emit_texture_gen5()
1107 ir_constant *offset = ir->offset->as_constant(); in emit_texture_gen7()
1347 inst->texture_offset = brw_texture_offset(ir->offset->as_constant()); in visit()
Dbrw_vec4_visitor.cpp1325 ir_constant *uniform_block = ir->operands[0]->as_constant(); in visit()
1326 ir_constant *const_offset_ir = ir->operands[1]->as_constant(); in visit()
1912 inst->texture_offset = brw_texture_offset(ir->offset->as_constant()); in visit()
1935 ir_constant *offset = ir->offset->as_constant(); in visit()