search for: niklasgray

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

2019 Nov 12
2
The best way of generating a good representation for an array with header?
2019 Nov 12
2
The best way of generating a good representation for an array with header?
....org> wrote: > >> I’m considering building in variable arrays by implementing them as a >> stretchy buffer, that is a single allocation with header + elements with >> the pointer passed around pointing to the first element. (Example: >> https://www.gamasutra.com/blogs/NiklasGray/20180109/312683/Minimalist_container_library_in_C_part_1.php >> ) >> >> Is there a good way to represent this in LLVM? I mean both in terms of >> helping the optimizer passes understand how the layout works and to make >> sure the debug info looks ok. >> >&g...
2019 Nov 12
2
The best way of generating a good representation for an array with header?
...> >> I’m considering building in variable arrays by implementing them as a > >> stretchy buffer, that is a single allocation with header + elements with > >> the pointer passed around pointing to the first element. (Example: > >> https://www.gamasutra.com/blogs/NiklasGray/20180109/312683/Minimalist_container_library_in_C_part_1.php <https://www.gamasutra.com/blogs/NiklasGray/20180109/312683/Minimalist_container_library_in_C_part_1.php> > >> ) > >> > >> Is there a good way to represent this in LLVM? I mean both in terms of > >&...