[LLVMdev] The definition of getTypeSize

Duncan Sands baldrick at free.fr
Thu Nov 1 14:02:15 PDT 2007


> I think rather than worrying about how these functions are being used  
> *now* you should define them in a way that's clear and fix the  
> incorrect uses. To me that means:
> 
> getTypeSizeInBits - actual size
> getABITypeSizeInBits - ABI size when used in a larger structure
> getStorageTypeSizeInBits - size of load / store

Done:

http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20071029/055062.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20071029/055063.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20071029/055064.html

Ciao,

Duncan.



More information about the llvm-dev mailing list