Searched refs:as_constant (Results 1 – 17 of 17) sorted by relevance
77 if (!expr->operands[i]->as_constant()) in handle_rvalue()101 ir_constant *const_val = ir->condition->as_constant(); in visit_enter()
72 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()
217 ir_constant *limit = cond->operands[1]->as_constant(); in visit_leave()222 limit = cond->operands[0]->as_constant(); in visit_leave()
185 if (entry && !ir->array_index->as_constant()) in visit_enter()295 ir_constant *constant = deref_array->array_index->as_constant(); in split_deref()
170 && (ir->array_index->as_constant() == NULL)) { in visit_enter()382 if (deref == NULL || deref->array_index->as_constant() in needs_lowering()
128 ir_constant *index = ir->array_index->as_constant(); in visit_enter()
525 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()
119 ir_constant *const_index = deref_array->array_index->as_constant(); in handle_rvalue()
609 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()
131 virtual class ir_constant * as_constant() { return NULL; } in as_constant() function1721 virtual ir_constant *as_constant() in as_constant() function
468 if (inc->as_constant() == NULL) { in get_basic_induction_increment()
441 ir_constant *constant = ir->rhs->as_constant(); in add_constant()
427 assert(ir->operands[0]->as_constant()); in visit_leave()
71 ir_constant *index = ir->array_index->as_constant(); in visit_leave()
996 const ir_constant *const c = op->as_constant(); in emit_swz()
168 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()
1325 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()