Displaying 2 results from an estimated 2 matches for "8f406521".
2009 Oct 17
0
[LLVMdev] getIntrinsicID() optimization
...However, 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/20091017/8f406521/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