search for: aegik

Displaying 4 results from an estimated 4 matches for "aegik".

Did you mean: aegis
2019 Dec 16
3
Using "opaque pointers" right now?
...015 about opaque pointers. Aside from using the new methods (e.g. LLVMBuildGEP2), is there any other way to perpare for this change? And also - is it possible to use something like opaque pointers (that is using a single pointer type) even before the switch has been flipped in LLVM? Christoffer AEGIK / www.aegik.se
2019 Nov 12
2
The best way of generating a good representation for an array with header?
The advantages: 1. A pointer to the struct offset can be converted to a pointer without any cost. 2. A nullpointer to a stretchy buffer can be treated as a zero length array. Consequently no actual struct allocation is needed to represent a zero length array. 3. A reference to the array is the same size as to a pointer. 4. It can be converted to and back from an pointer without losing any
2019 Nov 12
2
The best way of generating a good representation for an array with header?
2019 Dec 17
2
Using "opaque pointers" right now?
> pointers. If you're writing a front-end this probably means you need > to keep your AST's representation of element types alongside LLVM > pointer Values in your own data-structures Yeah, that’s no problem - the type is needed for signed/unsigned integer distinctions anyway. There’s no getting around having one’s own type hierarchy. >> And also - is it possible to use