commit | f846f16c92590379e900d01812e828e83b759cee | [log] [tgz] |
---|---|---|
author | Michael Ilseman <milseman@apple.com> | Wed Dec 19 23:17:20 2012 +0000 |
committer | Michael Ilseman <milseman@apple.com> | Wed Dec 19 23:17:20 2012 +0000 |
tree | 44b01d6f2d2da35339c228a018261d963da819d1 | |
parent | 18e7211068c9d2c6204512f9c468ee179818a4b6 [diff] |
Refactor isIntrinsic() to be quicker, and change classof() (and thus, isa<IntrinsicInst>()) to use it. This decreases the number of occurrences of the slow-path string matching performed by getIntrinsicID(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170602 91177308-0d34-0410-b5e6-96231b3b80d8