search for: bigfields

Displaying 3 results from an estimated 3 matches for "bigfields".

Did you mean: bfields
2005 Dec 20
0
[LLVMdev] Struct Types and GCC compatibility
...> In any case some helpful hints on what the right route is here would > be appreciated. It would be nice to get compatibility with gcc. I think that just letting LLVM do the packing will probably be what you want. The cases where the C front-end needs to manually hack on things are for bigfields, explicit alignment attributes, etc, which I don't think Java has (correct me if I'm wrong)! LLVM uses very simple layout rules, basically inserting padding before each structure element to bring it to its natural alignment. The alignment of a struct is the maximum of the alignment of...
2005 Dec 20
2
[LLVMdev] Struct Types and GCC compatibility
Hi all I'm writing a direct llvm backend for gcjx a new java fronted for gcc. I'm now ready to tackle creating the structures to represnt classes I read the gcc 4.0 patches and it seems that the llvm struct is padded and aligned using the info from the gcc tree. In my case I don't have this information. I'm willing to intially let llvm align and pad the struct but its not clear
2005 Dec 21
1
[LLVMdev] Struct Types and GCC compatibility
...e helpful hints on what the right route is here would > > be appreciated. It would be nice to get compatibility with gcc. > > I think that just letting LLVM do the packing will probably be what you > want. The cases where the C front-end needs to manually hack on things > are for bigfields, explicit alignment attributes, etc, which I don't think > Java has (correct me if I'm wrong)! LLVM uses very simple layout rules, > basically inserting padding before each structure element to bring it to > its natural alignment. The alignment of a struct is the maximum of the &...