Significantly reduce the compiled size of Functions.cpp by turning a big blob of...
authorChris Lattner <sabre@nondot.org>
Wed, 16 May 2012 06:34:44 +0000 (06:34 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 16 May 2012 06:34:44 +0000 (06:34 +0000)
commita98aa6ad1e8e53600b2e322e2ab869e03d436849
tree3763253b07027d54600441838a8f770d07f15c4b
parent7200c5cd30a714112ed6e4e4f1d2cee8bd6c10ec
Significantly reduce the compiled size of Functions.cpp by turning a big blob of tblgen
generated code (for Intrinsic::getType) into a table.  This handles common cases right now,
but I plan to extend it to handle all cases and merge in type verification logic as well
in follow-on patches.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156905 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Function.cpp
utils/TableGen/IntrinsicEmitter.cpp