llvm with tablegen backend for capstone disassembler
Go to file
Chandler Carruth 5543fbc9b2 Stop calling the flat out insane ARM target parsing code unless the
architecture string is something quite weird. Similarly delay calling
the BPF parsing code, although that is more reasonable.

To understand why I was motivated to make this change, it cuts the time
for running the ADT TripleTest unittests by a factor of two in
non-optimized builds (the developer default) and reduces my 'check-llvm'
time by a full 15 seconds. The implementation of parseARMArch is *that*
slow. I tried to fix it in the prior series of commits, but frankly,
I have no idea how to finish fixing it. The entire premise of the
function (to allow 'v7a-unknown-linux' or some such to parse as an
'arm-unknown-linux' triple) seems completely insane to me, but I'll let
the ARM folks sort that out. At least it is now out of the critical path
of every developer working on LLVM. It also will likely make some other
folks' code significantly faster as I've heard reports of 2% of time
spent in triple parsing even in optimized builds!

I'm not done making this code faster, but I am done trying to improve
the ARM target parsing code.

llvm-svn: 246378
2015-08-30 09:54:34 +00:00
clang Update for several APIs in LLVM that now use StringRefs rather than 2015-08-30 07:51:18 +00:00
clang-tools-extra Updated to make use of the AST matcher instead of a custom matcher; NFC. 2015-08-28 19:40:30 +00:00
compiler-rt [compiler-rt] [tsan] Enable TSan for AArch64/42-bit VMA 2015-08-28 20:40:50 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Update mailing list reference. 2015-08-24 22:43:24 +00:00
libcxx Fix most GCC warnings during build. Only -Wattribute left. 2015-08-28 07:02:42 +00:00
libcxxabi Fix or disable C++11 tests in C++03 mode 2015-08-20 01:22:17 +00:00
libunwind [libunwind] Remove unused includes. 2015-08-27 06:58:31 +00:00
lld [ELFv2] Implement R_X86_64_32 relocation. 2015-08-29 13:15:42 +00:00
lldb Differential Review: http://reviews.llvm.org/D12363 2015-08-28 14:42:03 +00:00
llgo Update to new lists.llvm.org 2015-08-05 04:03:05 +00:00
llvm Stop calling the flat out insane ARM target parsing code unless the 2015-08-30 09:54:34 +00:00
openmp Add kmp_config.h.cmake 2015-08-28 19:24:39 +00:00
polly Remove some code duplication when creating Allocas [NFC] 2015-08-29 18:12:03 +00:00