search for: lookupintrinsicid

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

2014 Dec 23
3
[LLVMdev] [RFC] Stripping unusable intrinsics
...biggest benefits are an 11% reduction in size for libLLVMCore, which is mostly due to Function.cpp.o reducing in size by 300KB (almost 39%). The biggest thing in there that would contribute to actual code size is the almost 28,000 line switch statement that provides the implementation for Function::lookupIntrinsicID. > > That makes sense. It sounds like there is a better design here: we should move to a model where intrinsic tables are registered by any targets that are activated. That would allow the intrinsic tables (including these switch/lookup mapping tables) to be in the target that uses them. &...
2014 Dec 22
2
[LLVMdev] [RFC] Stripping unusable intrinsics
...biggest benefits are an 11% reduction in size for libLLVMCore, which is mostly due to Function.cpp.o reducing in size by 300KB (almost 39%). The biggest thing in there that would contribute to actual code size is the almost 28,000 line switch statement that provides the implementation for Function::lookupIntrinsicID. I’ve attached a CSV file with the file size highlights for anyone who is interested. -Chris > On Dec 22, 2014, at 1:39 PM, Chris Bieneman <beanz at apple.com> wrote: > > A binary search on a table would be possible, but we’d need to generate a table that was sorted. Today the...
2014 Dec 22
2
[LLVMdev] [RFC] Stripping unusable intrinsics
On Mon, Dec 22, 2014 at 12:55 PM, Chris Bieneman <beanz at apple.com> wrote: > > On Dec 22, 2014, at 12:02 PM, Chandler Carruth <chandlerc at google.com> > wrote: > > > On Fri, Dec 19, 2014 at 3:39 PM, Chris Bieneman <beanz at apple.com> wrote: > >> More diffs to enjoy. >> >> I’ve updated my tablegen patches to work with the