search for: structty_struct_mydsp_fields

Displaying 1 result from an estimated 1 matches for "structty_struct_mydsp_fields".

2007 Jun 16
0
[LLVMdev] Strategy to compile for LLVM IR (Chris Lattner)
...happy specialized code, but in a nice and > maintainable > form. > > -Chris > > Thanks, I will need also to compile new fields in the result C++ class, thus i need a way to get an access on the class struct field part. I see something like: std::vector<const Type*>StructTy_struct_mydsp_fields; StructTy_struct_mydsp_fields.push_back(StructTy_struct_dsp); StructType* StructTy_struct_mydsp = StructType::get (StructTy_struct_mydsp_fields, /*isPacked=*/false); mod->addTypeName("struct.mydsp", StructTy_struct_mydsp); in the generated llvm2cpp code, i guess it is possib...