Searched refs:VariableDeclStmtNode (Results 1 – 9 of 9) sorted by relevance
/external/bcc/src/cc/frontends/b/ |
D | parser.h | 42 VariableDeclStmtNode * variable_add(vector<int> *types, VariableDeclStmtNode *decl); 43 …VariableDeclStmtNode * variable_add(vector<int> *types, VariableDeclStmtNode *decl, ExprNode *init… 52 bool variable_exists(VariableDeclStmtNode *decl) const;
|
D | node.h | 171 VariableDeclStmtNode *decl_; 172 VariableDeclStmtNode *sub_decl_; 364 VariableDeclStmtNode *sub_decl_; 429 class VariableDeclStmtNode : public StmtNode { 431 typedef unique_ptr<VariableDeclStmtNode> Ptr; 442 …explicit VariableDeclStmtNode(IdentExprNode::Ptr id, storage_type t, size_t bit_width = 0, size_t … 449 typedef vector<VariableDeclStmtNode::Ptr> FormalList; 451 class StructVariableDeclStmtNode : public VariableDeclStmtNode { 457 VariableDeclStmtNode::storage_type t = VariableDeclStmtNode::STRUCT) 458 : VariableDeclStmtNode(move(id), t), struct_id_(move(struct_id)) {} in VariableDeclStmtNode() function [all …]
|
D | parser.cc | 30 bool Parser::variable_exists(VariableDeclStmtNode *decl) const { in variable_exists() 37 VariableDeclStmtNode *Parser::variable_add(vector<int> *types, VariableDeclStmtNode *decl) { in variable_add() 48 VariableDeclStmtNode *Parser::variable_add(vector<int> *types, VariableDeclStmtNode *decl, ExprNode… in variable_add()
|
D | codegen_llvm.h | 103 VariableDeclStmtNode **decl, llvm::Value **mem) const; 105 StatusTuple lookup_struct_type(VariableDeclStmtNode *n, llvm::StructType **stype, 123 map<VariableDeclStmtNode *, llvm::Value *> vars_;
|
D | scope.h | 34 class VariableDeclStmtNode; variable 83 typedef Scope<VariableDeclStmtNode> VarScope;
|
D | node.cc | 31 VariableDeclStmtNode* StructDeclStmtNode::field(const string& name) const { in EXPAND_NODES()
|
D | type_check.cc | 94 if (n->decl_->storage_type_ == VariableDeclStmtNode::INTEGER) { in visit_ident_expr_node() 112 if (n->decl_->storage_type_ == VariableDeclStmtNode::INTEGER) in visit_ident_expr_node() 127 if (n->sub_decl_->storage_type_ != VariableDeclStmtNode::INTEGER) in visit_ident_expr_node() 165 VariableDeclStmtNode *sub_decl = struct_type->field(n->id_->sub_name_); in visit_packet_expr_node() 263 VariableDeclStmtNode::STRUCT_REFERENCE); in check_lookup_method() 532 VariableDeclStmtNode *var = it->get(); in visit_func_decl_stmt_node()
|
D | parser.yy | 67 VariableDeclStmtNode *decl; 228 { $$ = new FormalList; $$->push_back(VariableDeclStmtNode::Ptr($2)); } 230 { $1->push_back(VariableDeclStmtNode::Ptr($3)); } 292 …{ $$ = new FormalList; $$->push_back(VariableDeclStmtNode::Ptr(parser.variable_add(nullptr, $2)));… 294 { $1->push_back(VariableDeclStmtNode::Ptr(parser.variable_add(nullptr, $4))); } 347 VariableDeclStmtNode::STRUCT_REFERENCE);
|
D | codegen_llvm.cc | 350 VariableDeclStmtNode **decl, Value **mem) const { in lookup_var() 361 VariableDeclStmtNode *offset_decl, *skb_decl; in visit_packet_expr_node() 739 VariableDeclStmtNode *skb_decl; in emit_incr_cksum() 1131 StatusTuple CodegenLLVM::lookup_struct_type(VariableDeclStmtNode *n, StructType **stype, in lookup_struct_type() 1159 VariableDeclStmtNode *formal = it->get(); in visit_func_decl_stmt_node()
|