Home
last modified time | relevance | path

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

/external/bcc/src/cc/frontends/b/
Dnode.cc31 VariableDeclStmtNode* StructDeclStmtNode::field(const string& name) const { in EXPAND_NODES()
40 int StructDeclStmtNode::indexof(const string& name) const { in indexof()
Dcodegen_llvm.h104 StatusTuple lookup_struct_type(StructDeclStmtNode *decl, llvm::StructType **stype) const;
106 StructDeclStmtNode **decl = nullptr) const;
124 map<StructDeclStmtNode *, llvm::StructType *> structs_;
Dnode.h81 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_;
Dscope.h36 class StructDeclStmtNode; variable
81 typedef Scope<StructDeclStmtNode> StructScope;
Dtype_check.cc158 StructDeclStmtNode *struct_type = proto_scopes_->top_struct()->lookup(n->id_->name_, true); in visit_packet_expr_node()
374 StructDeclStmtNode *type; in visit_struct_variable_decl_stmt_node()
413 StatusTuple TypeCheck::visit_struct_decl_stmt_node(StructDeclStmtNode *n) { in visit_struct_decl_stmt_node()
Dparser.cc149 auto struct_decl = new StructDeclStmtNode(IdentExprNode::Ptr(type), move(*formals)); in struct_add()
Dcodegen_llvm.cc963 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()
Dprinter.cc224 StatusTuple Printer::visit_struct_decl_stmt_node(StructDeclStmtNode* n) { in visit_struct_decl_stmt_node()