Searched refs:StructDeclStmtNode (Results 1 – 8 of 8) sorted by relevance
31 VariableDeclStmtNode* StructDeclStmtNode::field(const string& name) const { in EXPAND_NODES()40 int StructDeclStmtNode::indexof(const string& name) const { in indexof()
104 StatusTuple lookup_struct_type(StructDeclStmtNode *decl, llvm::StructType **stype) const;106 StructDeclStmtNode **decl = nullptr) const;124 map<StructDeclStmtNode *, llvm::StructType *> structs_;
81 EXPAND(StructDeclStmtNode, struct_decl_stmt_node) \146 StructDeclStmtNode *struct_type_;469 class StructDeclStmtNode : public StmtNode {471 DECLARE(StructDeclStmtNode)477 StructDeclStmtNode(IdentExprNode::Ptr id, FormalList&& stmts = FormalList())590 StructDeclStmtNode *key_type_;591 StructDeclStmtNode *leaf_type_;
36 class StructDeclStmtNode; variable81 typedef Scope<StructDeclStmtNode> StructScope;
158 StructDeclStmtNode *struct_type = proto_scopes_->top_struct()->lookup(n->id_->name_, true); in visit_packet_expr_node()373 StructDeclStmtNode *type; in visit_struct_variable_decl_stmt_node()412 StatusTuple TypeCheck::visit_struct_decl_stmt_node(StructDeclStmtNode *n) { in visit_struct_decl_stmt_node()
963 StructDeclStmtNode *decl; in visit_struct_variable_decl_stmt_node()1031 StatusTuple CodegenLLVM::visit_struct_decl_stmt_node(StructDeclStmtNode *n) { in visit_struct_decl_stmt_node()1122 StatusTuple CodegenLLVM::lookup_struct_type(StructDeclStmtNode *decl, StructType **stype) const { in lookup_struct_type()1132 StructDeclStmtNode **decl) const { in lookup_struct_type()1137 StructDeclStmtNode *type; in lookup_struct_type()
149 auto struct_decl = new StructDeclStmtNode(IdentExprNode::Ptr(type), move(*formals)); in struct_add()
224 StatusTuple Printer::visit_struct_decl_stmt_node(StructDeclStmtNode* n) { in visit_struct_decl_stmt_node()