search for: constantsize

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

Did you mean: constantize
2008 May 22
2
[LLVMdev] How to handle size_t in front ends?
...lue is not known until code generation time or at least until the compilation target is fully known. These "late bound constants" could then be used to implement "sizeof(type)" and other constants whose value is different on different targets. On the C++ side, you would have ConstantSize(Type) which would be usable anywhere that you could use ConstantInt, except that you can't actually inspect the integer value of the constant or use it in expressions. That part is fairly simple; It gets more complicated if you want to try defining operators such as sizeof(A) + sizeof(B); T...
2008 May 21
0
[LLVMdev] How to handle size_t in front ends?
On Wed, 21 May 2008, Talin wrote: > On a related topic: The source-level debugging descriptors require you > to know up front what the sizeof pointer types are. Is there any hope of > the frontend remaining blissfully unaware of platform details? I really don't know how to do this. The current debug info stuff depends on emitting size info into the IR. At this point, I don't
2008 May 21
2
[LLVMdev] How to handle size_t in front ends?
On a related topic: The source-level debugging descriptors require you to know up front what the sizeof pointer types are. Is there any hope of the frontend remaining blissfully unaware of platform details? Chris Lattner wrote: > On May 6, 2008, at 11:12 PM, Talin wrote: > > >> For the most part, it appears that writing a front end can be almost >> entirely