aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-12-09 01:06:52 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-12-09 01:06:52 +0000
commite6dc3c899ef0dcce9ccb1117542f435d5a70d089 (patch)
tree363e8f354417186e4dcf77df0aceb3c7c8739cd7 /llvm/lib/Support/CommandLine.cpp
parenteb369f84ec149771411a7b74c62ce249cdc7ebfa (diff)
downloadllvm-e6dc3c899ef0dcce9ccb1117542f435d5a70d089.zip
llvm-e6dc3c899ef0dcce9ccb1117542f435d5a70d089.tar.gz
llvm-e6dc3c899ef0dcce9ccb1117542f435d5a70d089.tar.bz2
IntervalMap iterators are heavyweight, so avoid copying them around and use
references instead. Similarly, IntervalMap::begin() is almost as expensive as find(), so use find(x) instead of begin().advanceTo(x); This makes RegAllocBasic run another 5% faster. llvm-svn: 121344
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions