summaryrefslogtreecommitdiffstats
path: root/include/llvm/Support
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-09-27 06:09:08 +0000
committerChris Lattner <sabre@nondot.org>2005-09-27 06:09:08 +0000
commitdf0ef1d0fe336de8ffca08e222cf22ada276a7da (patch)
tree18bb85a5b8647afe78d6adcfabcf45b61dc171d2 /include/llvm/Support
parent225e8dd2f512e3e6840ba7cb1570fdc4d56a853f (diff)
downloadexternal_llvm-df0ef1d0fe336de8ffca08e222cf22ada276a7da.zip
external_llvm-df0ef1d0fe336de8ffca08e222cf22ada276a7da.tar.gz
external_llvm-df0ef1d0fe336de8ffca08e222cf22ada276a7da.tar.bz2
Split SimpleConstantVal up into its components, so each Constant subclass getsa different enum value. This allows 'classof' for these to be really simple,not needing to call getType() anymore.
This speeds up isa/dyncast/etc for constants, and also makes them smaller. For example, the text section of a release build of InstCombine.cpp shrinks from 230037 bytes to 216363 bytes, a 6% reduction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23467 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support')
0 files changed, 0 insertions, 0 deletions