[LLVMdev] The definition of getTypeSize

Duncan Sands baldrick at free.fr
Tue Oct 9 01:26:05 PDT 2007


Hi Evan,

> 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

I agree and will try to do something later this week.

Ciao,

Duncan.

PS: getStorageTypeSizeInBits -> getTypeStorageSizeInBits



More information about the llvm-dev mailing list