Go to file
Benjamin Kramer 12af4285d1 Emit the LLVM<->DWARF register mapping as a sorted table and use binary search to do the lookup.
This also avoids emitting the information twice, which led to code bloat. On i386-linux-Release+Asserts
with all targets built this change shaves a whopping 1.3 MB off clang. The number is probably exaggerated
by recent inliner changes but the methods were already enormous with the old inline cost computation.

The DWARF reg -> LLVM reg mapping doesn't seem to have holes in it, so it could be a simple lookup table.
I didn't implement that optimization yet to avoid potentially changing functionality.

There is still some duplication both in tablegen and the generated code that should be cleaned up eventually.

llvm-svn: 153837
2012-04-01 14:23:58 +00:00
clang Fixed MacroInfo definition range for function like macros with empty body. 2012-03-31 20:17:27 +00:00
compiler-rt Fix the build on 32 bit hosts. 2012-03-30 21:37:08 +00:00
debuginfo-tests Revert previous patch as the corresponding clang patch was reverted. 2012-01-26 07:01:33 +00:00
libclc Switch to BSD/MIT dual license. 2012-02-22 04:47:39 +00:00
libcxx It appears that the standard accidentally removed the default constructor for error_category. I'm putting it back in. This fixes http://llvm.org/bugs/show_bug.cgi?id=12321. 2012-03-21 16:18:57 +00:00
libcxxabi I would really like to write the handlers in terms of C++11 atomics. This would give us the best performance, portablity, and safety tradeoff. Unfortunately I can not yet do that. So I've put the desired code in comments, and reverted the handler getters to the slower but safer legacy atomic intrinsics. 2012-03-19 16:56:51 +00:00
lld Replace all uses of NULL with nullptr. 2012-03-29 19:39:14 +00:00
lldb Updating Xcode project version numbers for lldb-137 and debugserver-186 2012-04-01 06:36:59 +00:00
llvm Emit the LLVM<->DWARF register mapping as a sorted table and use binary search to do the lookup. 2012-04-01 14:23:58 +00:00
polly Make the "all" target depend on polly-test, so that users can run regression 2012-03-30 09:27:16 +00:00