LLVM backend for 6502
Go to file
Chris Lattner 785672534d Extend jump threading to support much more general threading
predicates.  This allows us to jump thread things like:

_ZN12StringSwitchI5ColorE4CaseILj7EEERS1_RAT__KcRKS0_.exit119:
  %tmp1.i24166 = phi i8 [ 1, %bb5.i117 ], [ %tmp1.i24165, %_Z....exit ], [ %tmp1.i24165, %bb4.i114 ] 
  %toBoolnot.i87 = icmp eq i8 %tmp1.i24166, 0     ; <i1> [#uses=1]
  %tmp4.i90 = icmp eq i32 %tmp2.i, 6              ; <i1> [#uses=1]
  %or.cond173 = and i1 %toBoolnot.i87, %tmp4.i90  ; <i1> [#uses=1]
  br i1 %or.cond173, label %bb4.i96, label %_ZN12...

Where it is "obvious" that when coming from %bb5.i117 that the 'and' is always 
false.  This triggers a surprisingly high number of times in the testsuite, 
and gets us closer to generating good code for doug's strswitch testcase.

This also make a bunch of other code in jump threading redundant, I'll rip
out in the next patch.  This survived an enable-checking llvm-gcc bootstrap.




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86264 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-06 18:15:14 +00:00
autoconf configure: Add --with-optimize-option, for setting the default value of 2009-11-04 04:32:50 +00:00
bindings Expose the rest of the attribute settings. 2009-09-28 04:42:47 +00:00
cmake CMake: Detect dotty. 2009-11-05 19:03:26 +00:00
docs lit: Add --param NAME=VALUE option, for test suite specific use (to communicate 2009-11-05 16:27:33 +00:00
examples Revert r86077 because it caused crashes in 179.art and 175.vpr on ARM 2009-11-06 01:33:24 +00:00
include Pass StringRef by value. 2009-11-06 10:58:06 +00:00
lib Extend jump threading to support much more general threading 2009-11-06 18:15:14 +00:00
projects Move DataTypes.h to include/llvm/System, update all users. This breaks the last 2009-10-26 01:35:46 +00:00
runtime OptimalEdgeProfiling: Creation of profiles. 2009-09-01 19:03:44 +00:00
test Extend jump threading to support much more general threading 2009-11-06 18:15:14 +00:00
tools Make opt default to not adding a target data string and update tests that depend on target data to supply it within the test 2009-11-03 15:29:06 +00:00
unittests Fix the ModuleDeletion test on PPC and ARM. 2009-10-28 00:28:31 +00:00
utils clang++ points out that this is pointless. 2009-11-06 06:33:01 +00:00
website
win32 Revert the ConstantInt constructors back to their 2.5 forms where possible, thanks to contexts-on-types. More to come. 2009-07-24 23:12:02 +00:00
Xcode Remove the IA-64 backend. 2009-07-24 00:30:09 +00:00
build-for-llvm-top.sh
CMakeLists.txt CMake: install .def files from source `include/llvm' directory. 2009-10-30 11:42:08 +00:00
configure configure: Add --with-optimize-option, for setting the default value of 2009-11-04 04:32:50 +00:00
CREDITS.TXT Add myself to the blame list. 2009-08-20 15:20:15 +00:00
LICENSE.TXT Add regular expression matching support, based on OpenBSD regexec()/regcomp() 2009-08-30 08:24:09 +00:00
llvm.spec.in
Makefile When cross-building, the CFLAGS and CXXFLAGS are for the target, and don't 2009-10-30 19:53:38 +00:00
Makefile.common
Makefile.config.in configure: Add --with-optimize-option, for setting the default value of 2009-11-04 04:32:50 +00:00
Makefile.rules configure: Add --with-optimize-option, for setting the default value of 2009-11-04 04:32:50 +00:00
ModuleInfo.txt
README.txt First test commit 2009-10-05 22:29:11 +00:00

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for the Low Level
Virtual Machine, a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the HTML documentation provided in docs/index.html for further
assistance with LLVM.