Searched refs:static_expression (Results 1 – 6 of 6) sorted by relevance
3395 static_expression = args[1]; in handle()3403 …if (args[2] == variable_id && static_expression == 0) // Tried to read from variable before it was… in handle()3497 …if (static_expression_handler.write_count != 1 || static_expression_handler.static_expression == 0) in find_function_local_luts()3501 if (ir.ids[static_expression_handler.static_expression].get_type() != TypeConstant) in find_function_local_luts()3505 static_constant_expression = static_expression_handler.static_expression; in find_function_local_luts()3509 var.static_expression = static_constant_expression; in find_function_local_luts()
3247 …bool statically_assigned = var.statically_assigned && var.static_expression != ID(0) && var.remapp… in variable_is_lut()3251 auto *constant = maybe_get<SPIRConstant>(var.static_expression); in variable_is_lut()3590 …!var.initializer && !var.static_expression && type_can_zero_initialize(get_variable_data_type(var)… in emit_resources()4616 return to_expression(var.static_expression); in to_expression()10160 var->static_expression = ops[1]; in emit_instruction()10162 var->static_expression = ops[1]; in emit_instruction()10163 else if (var && var->remapped_variable && var->static_expression) in emit_instruction()13128 if (variable.loop_variable && variable.static_expression) in variable_decl()13130 uint32_t expr = variable.static_expression; in variable_decl()13132 res += join(" = ", to_expression(variable.static_expression)); in variable_decl()[all …]
1009 uint32_t static_expression = 0; member
1047 ID static_expression = 0; member
1539 …!var.initializer && !var.static_expression && type_can_zero_initialize(get_variable_data_type(var)… in emit_resources()
8556 ir.ids[var->static_expression].get_type() == TypeConstant) in emit_array_copy()