search for: aad14a53

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

2009 Oct 17
0
[LLVMdev] getIntrinsicID() optimization
On Oct 16, 2009, at 5:50 AM, Nicolas Capens wrote: > Hi all, > > While profiling I discovered that the Function::getIntrinsicID() > method is called a lot, and every time it uses string comparison to > recompute the ID number. As far as I know the name of an intrinsic > function doesn’t change, so the ID could be determined just once at > Function construction time.
2009 Oct 17
1
[LLVMdev] getIntrinsicID() optimization
...wever, this would be a great thing to have. Instead of adding a new field, is there space in the "SubClassData" field in Value? -Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091018/aad14a53/attachment.html>
2009 Oct 16
2
[LLVMdev] getIntrinsicID() optimization
Hi all, While profiling I discovered that the Function::getIntrinsicID() method is called a lot, and every time it uses string comparison to recompute the ID number. As far as I know the name of an intrinsic function doesn't change, so the ID could be determined just once at Function construction time. I've attached a patch that does this and it appears to work for the code I