Refactor isIntrinsic() to be quicker, and change classof() (and thus, isa<IntrinsicIn...
authorMichael Ilseman <milseman@apple.com>
Wed, 19 Dec 2012 23:17:20 +0000 (23:17 +0000)
committerMichael Ilseman <milseman@apple.com>
Wed, 19 Dec 2012 23:17:20 +0000 (23:17 +0000)
commitf846f16c92590379e900d01812e828e83b759cee
tree44b01d6f2d2da35339c228a018261d963da819d1
parent18e7211068c9d2c6204512f9c468ee179818a4b6
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
include/llvm/Function.h
include/llvm/IntrinsicInst.h
lib/VMCore/Function.cpp