Home
last modified time | relevance | path

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

/external/bcc/src/cc/frontends/b/
Dcodegen_llvm.cc1101 StructType *decl_struct = mod_->getTypeByName("_struct." + n->id_->name_); in visit_table_decl_stmt_node() local
1102 if (!decl_struct) in visit_table_decl_stmt_node()
1103 decl_struct = StructType::create(ctx(), "_struct." + n->id_->name_); in visit_table_decl_stmt_node()
1104 if (decl_struct->isOpaque()) in visit_table_decl_stmt_node()
1105 decl_struct->setBody(vector<Type *>({key_stype, leaf_stype}), /*isPacked=*/false); in visit_table_decl_stmt_node()
1106 GlobalVariable *decl_gvar = new GlobalVariable(*mod_, decl_struct, false, in visit_table_decl_stmt_node()