Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniforms.c622 nir_variable *current_var; member
649 (glsl_contains_opaque(type) && !state->current_var->data.bindless)) in add_parameter()
692 param->MainUniformStorageIndex = state->current_var->data.location; in add_parameter()
743 unsigned *next_index = state->current_var->data.bindless ? in update_uniforms_shader_info()
749 if (state->current_var->data.bindless) { in update_uniforms_shader_info()
794 state->current_var->data.access; in update_uniforms_shader_info()
803 if (state->current_var->data.bindless) { in update_uniforms_shader_info()
943 state->current_var->name); in find_and_update_named_uniform_storage()
1122 glsl_get_internal_ifc_packing(state->current_var->interface_type, in enter_record()
1145 glsl_get_internal_ifc_packing(state->current_var->interface_type, in leave_record()
[all …]
Dlink_uniforms.cpp481 hidden_map(hidden_map), current_var(NULL), in count_uniform_size()
497 this->current_var = var; in process()
564 } else if (type->contains_sampler() && !current_var->data.bindless) { in visit_field()
568 } else if (type->contains_image() && !current_var->data.bindless) { in visit_field()
595 if (this->current_var->data.how_declared == ir_var_hidden) { in visit_field()
617 ir_variable *current_var; member in __anonbb18f2370111::count_uniform_size
728 current_var = var; in set_and_process()
809 this->explicit_location = current_var->data.location; in set_and_process()
810 current_var->data.location = -1; in set_and_process()
896 if (current_var->data.bindless) { in handle_samplers()
[all …]
/external/bcc/src/cc/frontends/b/
Dparser.cc31 if (scopes_->current_var()->lookup(decl->id_->name_, SCOPE_LOCAL) == NULL) { in variable_exists()
43 decl->scope_id_ = string("v") + std::to_string(scopes_->current_var()->id_) + string("_"); in variable_add()
44 scopes_->current_var()->add(decl->id_->name_, decl); in variable_add()
56 decl->scope_id_ = string("v") + std::to_string(scopes_->current_var()->id_) + string("_"); in variable_add()
57 scopes_->current_var()->add(decl->id_->name_, decl); in variable_add()
82 decl->scope_id_ = string("v") + std::to_string(scopes_->current_var()->id_) + string("_"); in variable_add()
83 scopes_->current_var()->add(decl->id_->name_, decl); in variable_add()
199 auto cur_scope = scopes_->current_var(); in func_add()
Dscope.h156 VarScope* current_var() const { return current_var_scope_; } in current_var() function
Dcodegen_llvm.cc363 TRY2(lookup_var(n, "skb", scopes_->current_var(), &skb_decl, &skb_mem)); in visit_packet_expr_node()
364 TRY2(lookup_var(n, "$" + n->id_->name_, scopes_->current_var(), &offset_decl, &offset_mem)); in visit_packet_expr_node()
741 TRY2(lookup_var(n, "skb", scopes_->current_var(), &skb_decl, &skb_mem)); in emit_incr_cksum()
894 auto result_decl = scopes_->current_var()->lookup("_result", false); in visit_match_decl_stmt_node()
923 auto result_decl = scopes_->current_var()->lookup("_result", false); in visit_miss_decl_stmt_node()
1216 for (auto it = scopes_->current_var()->obegin(); it != scopes_->current_var()->oend(); ++it) in visit_func_decl_stmt_node()
Dtype_check.cc88 n->decl_ = scopes_->current_var()->lookup(n->name_, SCOPE_GLOBAL); in visit_ident_expr_node()
434 scopes_->current_var()->add("$" + name, offset_var.get()); in visit_state_decl_stmt_node()
572 scopes_->current_var()->add("parsed_bytes", parsed_bytes.get()); in visit()
/external/llvm-project/lldb/source/Host/windows/
DHost.cpp290 std::string current_var; in GetEnvironment() local
292 if (!llvm::convertWideToUTF8(environment_block, current_var)) { in GetEnvironment()
296 if (current_var[0] != '=') in GetEnvironment()
297 env.insert(current_var); in GetEnvironment()
/external/pigweed/pw_arduino_build/py/pw_arduino_build/
Dbuilder.py423 current_var = current_var_match.strip("{}")
426 if current_var in variable_lookup_source:
427 replacement = variable_lookup_source.get(current_var, "")