Displaying 3 results from an estimated 3 matches for "arm_neon_vabals".
2009 Oct 17
0
[LLVMdev] getIntrinsicID() optimization, mark 2
...;& !memcmp(Name, "llvm.alpha.umulh", 16)) return
Intrinsic::alpha_umulh;
if (Len > 15 && !memcmp(Name, "llvm.annotation.", 16)) return
Intrinsic::annotation;
if (Len > 20 && !memcmp(Name, "llvm.arm.neon.vabals.", 21)) return
Intrinsic::arm_neon_vabals;
...
There has to be a more efficient way to do this. If nothing else, the
first 6 characters of that memcmp are always equal, and for groups of
intrinsics like llvm.arm.neon.v*, a trie-like search would be better.
llvm/ADT/Trie.h doesn't quite do what this needs (no prefix
searching), and it...
2009 Oct 17
2
[LLVMdev] getIntrinsicID() optimization, mark 2
Any takers? This patch improves on the previous one by making
getIntrinsicID() inline.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091017/9406e0ad/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FastIntrinsicID-2.patch
Type:
2009 Oct 17
1
[LLVMdev] getIntrinsicID() optimization, mark 2
...;& !memcmp(Name, "llvm.alpha.umulh", 16)) return
Intrinsic::alpha_umulh;
if (Len > 15 && !memcmp(Name, "llvm.annotation.", 16)) return
Intrinsic::annotation;
if (Len > 20 && !memcmp(Name, "llvm.arm.neon.vabals.", 21)) return
Intrinsic::arm_neon_vabals;
...
There has to be a more efficient way to do this. If nothing else, the
first 6 characters of that memcmp are always equal, and for groups of
intrinsics like llvm.arm.neon.v*, a trie-like search would be better.
llvm/ADT/Trie.h doesn't quite do what this needs (no prefix
searching), and it...