Home
last modified time | relevance | path

Searched refs:sub_decl_ (Results 1 – 3 of 3) sorted by relevance

/external/bcc/src/cc/frontends/b/
Dtype_check.cc123 n->sub_decl_ = n->struct_type_->field(n->sub_name_); in visit_ident_expr_node()
125 if (!n->sub_decl_) in visit_ident_expr_node()
127 if (n->sub_decl_->storage_type_ != VariableDeclStmtNode::INTEGER) in visit_ident_expr_node()
131 n->bit_width_ = n->sub_decl_->bit_width_; in visit_ident_expr_node()
353 n->sub_decl_ = n->table_->leaf_type_->field(n->sub_->name_); in visit_table_index_expr_node()
354 if (!n->sub_decl_) in visit_table_index_expr_node()
Dnode.h172 VariableDeclStmtNode *sub_decl_; variable
178 sub_decl_ = other.sub_decl_; in IdentExprNode()
364 VariableDeclStmtNode *sub_decl_; variable
366 : id_(move(id)), index_(move(index)), table_(nullptr), sub_decl_(nullptr) in TableIndexExprNode()
Dcodegen_llvm.cc271 vector<Value *> indices({B.getInt32(0), B.getInt32(n->sub_decl_->slot_)}); in visit_ident_expr_node()
287 vector<Value *> indices({const_int(0), const_int(n->sub_decl_->slot_, 32)}); in visit_ident_expr_node()
843 if (n->sub_decl_) { in visit_table_index_expr_node()
844 Type *ptr_type = PointerType::getUnqual(B.getIntNTy(n->sub_decl_->bit_width_)); in visit_table_index_expr_node()
861 vector<Value *> indices({B.getInt32(0), B.getInt32(n->sub_decl_->slot_)}); in visit_table_index_expr_node()
867 vector<Value *> indices({B.getInt32(0), B.getInt32(n->sub_decl_->slot_)}); in visit_table_index_expr_node()