- Jan 14, 2004
-
-
Alkis Evlogimenos authored
llvm-svn: 10847
-
Chris Lattner authored
of C++ programs in Shootout-C++, including lists1 and moments, etc llvm-svn: 10845
-
Brian Gaeke authored
because that makes it abort. Also, fix a typo in a comment. This checkin brought to you by the "It only takes about 30 seconds to run ENABLE_LLI tests on Shootout on zion, even if they all dump core" fund. llvm-svn: 10844
-
Chris Lattner authored
llvm-svn: 10842
-
Chris Lattner authored
dominates the normal destination, not the exceptional dest (ie, the result of a call is undefined on an exception) llvm-svn: 10841
-
Chris Lattner authored
llvm-svn: 10838
-
Chris Lattner authored
Since this really only makes sense for these two, change hte instance variable to reflect whether we are writing a bytecode file or not. This makes it reasonable to add bcwriter specific stuff to it as necessary. llvm-svn: 10837
-
Alkis Evlogimenos authored
LiveIntervals::Interval::liveAt. Both were considering the live ranges closed in the end, when they are actually open. llvm-svn: 10835
-
Alkis Evlogimenos authored
llvm-svn: 10834
-
- Jan 13, 2004
-
-
Alkis Evlogimenos authored
be dead at the defining instruction but can only be killed in subsequent ones. llvm-svn: 10833
-
Alkis Evlogimenos authored
LiveVariables. llvm-svn: 10830
-
Alkis Evlogimenos authored
llvm-svn: 10824
-
Chris Lattner authored
Using the SlotCalculator is total overkill for this file, a simple map will suffice. Why doesn't this use the NameMangler interface? llvm-svn: 10823
-
Alkis Evlogimenos authored
ranges, i.e. [a,b) llvm-svn: 10822
-
Alkis Evlogimenos authored
of a physical register is always dominated by a def). llvm-svn: 10821
-
Alkis Evlogimenos authored
llvm-svn: 10820
-
Alkis Evlogimenos authored
overlap before adding their spill weight. llvm-svn: 10819
-
Brian Gaeke authored
Make addPassesToEmitAssembly() look slightly more like addPassesToJITCompile(). llvm-svn: 10818
-
Alkis Evlogimenos authored
when an implicitely defined register is later used by an alias. For example: call foo %reg1024 = mov %AL The call implicitely defines EAX but only AL is used. Before this fix no information was available on AL. Now EAX and all its aliases except AL get defined and die at the call instruction whereas AL lives to be killed by the assignment. llvm-svn: 10813
-
Chris Lattner authored
testcase test/Regression/Assembler/ConstantExprFold.llx Note that these kinds of things only rarely show up in source code, but are exceedingly common in the intermediate stages of algorithms like SCCP. By folding things (especially relational operators) that use symbolic constants, we are able to speculatively fold more conditional branches, which can lead to some big simplifications. It would be easy to add a lot more special cases here, so if you notice SCCP missing anything "obvious", you know what to make smarter. :) llvm-svn: 10812
-
Chris Lattner authored
llvm-svn: 10810
-
- Jan 12, 2004
-
-
Chris Lattner authored
llvm-svn: 10808
-
Chris Lattner authored
Move a bunch of (now) private stuff from ConstantFolding.h into ConstantFolding.cpp. This _finally_ gets us to a place where we have a sane constant folder. The rules are: 1. LLVM clients now use ConstantExpr::get* methods to fold constants. If they cannot be folded, a constantexpr is created, so these methods always return valid Constant*'s. 2. The implementation of ConstantExpr::get* uses the functions exposed by ConstantFolding.h to try to fold constants. If they cannot be folded, they should return a null pointer. 3. The implementation of ConstantFolding can do whatever it wants, and only has one client (Constants.cpp) This cuts down on the wierd dependencies, and eliminates the two interfaces. The old constanthandling interface was especially bad for clients to use because almost none of them took the failure condition into consideration, thus leading to obscure problems. llvm-svn: 10807
-
Chris Lattner authored
this whole refactoring: allow constant folding methods to return something other than predefined classes, allow them to return generic Constant*'s. llvm-svn: 10806
-
Chris Lattner authored
llvm-svn: 10805
-
Chris Lattner authored
llvm-svn: 10804
-
Chris Lattner authored
llvm-svn: 10802
-
Chris Lattner authored
llvm-svn: 10801
-
Chris Lattner authored
llvm-svn: 10800
-
Chris Lattner authored
llvm-svn: 10799
-
Chris Lattner authored
llvm-svn: 10798
-
Chris Lattner authored
llvm-svn: 10796
-
Chris Lattner authored
llvm-svn: 10795
-
Chris Lattner authored
llvm-svn: 10794
-
Chris Lattner authored
llvm-svn: 10793
-
Chris Lattner authored
llvm-svn: 10792
-
Chris Lattner authored
llvm-svn: 10791
-
Chris Lattner authored
llvm-svn: 10790
-
Chris Lattner authored
llvm-svn: 10789
-
Chris Lattner authored
llvm-svn: 10788
-