Home
last modified time | relevance | path

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

/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()
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()
Dscope.h156 VarScope* current_var() const { return current_var_scope_; } in current_var() function
Dtype_check.cc88 n->decl_ = scopes_->current_var()->lookup(n->name_, SCOPE_GLOBAL); in visit_ident_expr_node()
433 scopes_->current_var()->add("$" + name, offset_var.get()); in visit_state_decl_stmt_node()
571 scopes_->current_var()->add("parsed_bytes", parsed_bytes.get()); in visit()
/external/mesa3d/src/compiler/glsl/
Dlink_uniforms.cpp258 hidden_map(hidden_map), current_var(NULL), in count_uniform_size()
274 this->current_var = var; in process()
341 } else if (type->contains_sampler() && !current_var->data.bindless) { in visit_field()
345 } else if (type->contains_image() && !current_var->data.bindless) { in visit_field()
372 if (this->current_var->data.how_declared == ir_var_hidden) { in visit_field()
394 ir_variable *current_var; member in __anonfae85d590111::count_uniform_size
503 current_var = var; in set_and_process()
564 this->explicit_location = current_var->data.location; in set_and_process()
565 current_var->data.location = -1; in set_and_process()
651 if (current_var->data.bindless) { in handle_samplers()
[all …]