aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CGExprComplex.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-04-12 23:03:26 +0000
committerDan Gohman <gohman@apple.com>2010-04-12 23:03:26 +0000
commit11862a6ed3447d73d952962b8684d17caf5ec2bd (patch)
treebd9155b6843661a3411fbfd198f35ccd00296308 /clang/lib/CodeGen/CGExprComplex.cpp
parentcaaf445a01be7d870d5a855ed754ceca72540719 (diff)
downloadllvm-11862a6ed3447d73d952962b8684d17caf5ec2bd.zip
llvm-11862a6ed3447d73d952962b8684d17caf5ec2bd.tar.gz
llvm-11862a6ed3447d73d952962b8684d17caf5ec2bd.tar.bz2
Add fast paths to ScalarEvolution::getSizeOf and getOffsetOf, as
they're used a lot by getNodeForGEP, which can be called a lot. This speeds up -iv-users by around 15% on several testcases. llvm-svn: 101083
Diffstat (limited to 'clang/lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions