- Jan 02, 2009
-
-
Nuno Lopes authored
llvm-svn: 61572
-
Duncan Sands authored
the argument to be stored to an alloca by tracking uses of the alloca. This occurs 4 times (out of 7121, 0.05%) in MultiSource/Applications, so may not be worth it. On the other hand, it is easy to do and fairly cheap. The functions it helps are: W_addcom and W_addlit in spiff; process_args (argv) in d (make_dparser); ercPixConcealIMB in JM/ldecod. llvm-svn: 61570
-
Duncan Sands authored
change. llvm-svn: 61569
-
Chris Lattner authored
llvm-svn: 61566
-
Chris Lattner authored
llvm-svn: 61564
-
Chris Lattner authored
llvm-svn: 61563
-
Chris Lattner authored
llvm-svn: 61562
-
Chris Lattner authored
llvm-svn: 61561
-
Chris Lattner authored
llvm-svn: 61560
-
Chris Lattner authored
llvm-svn: 61559
-
Chris Lattner authored
and clean recursive descent parser. This change has a couple of ramifications: 1. The parser code is about 400 lines shorter (in what we maintain, not including what is autogenerated). 2. The code should be significantly faster than the old code because we don't have to work around bison's poor handling of datatypes with ctors/dtors. This also makes the code much more resistant to memory leaks. 3. We now get caret diagnostics from the .ll parser, woo. 4. The actual diagnostics emited from the parser are completely different so a bunch of testcases had to be updated. 5. I now disallow "%ty = type opaque %ty = type i32". There was no good reason to support this, it was just an accident of the old implementation. I have no reason to think that anyone is actually using this. 6. The syntax for sticking a global variable has changed to make it unambiguous. I don't think anyone is depending on this since only clang supports this and it is not solid yet, so I'm not worried about anything breaking. 7. This gets rid of the last use of bison, and along with it the .cvs files. I'll prune this from the makefiles as a subsequent commit. There are a few minor cleanups that can be done after this commit (suggestions welcome!) but this passes dejagnu testing and is ready for its time in the limelight. llvm-svn: 61558
-
Evan Cheng authored
Do not isel load folding bt instructions for pentium m, core, core2, and AMD processors. These are significantly slower than a load followed by a bt of a register. llvm-svn: 61557
-
Evan Cheng authored
llvm-svn: 61556
-
Evan Cheng authored
Use movaps / movd to extract vector element 0 even with sse4.1. It's still cheaper than pextrw especially if the value is in memory. llvm-svn: 61555
-
Nick Lewycky authored
llvm-svn: 61554
-
Nick Lewycky authored
reason. Two functions which mutually require each other to be nocapture are not currently supported. llvm-svn: 61553
-
Nick Lewycky authored
functions that don't write can't leak a pointer except through the return value, so a void readonly function is implicitly nocapture. Test these, and add a test that verifies that f1 calling f2 with an otherwise dead pointer gets both of them marked nocapture. llvm-svn: 61552
-
Bill Wendling authored
llvm-svn: 61551
-
Chris Lattner authored
llvm-svn: 61550
-
Duncan Sands authored
might one day fall into. llvm-svn: 61549
-
- Jan 01, 2009
-
-
Duncan Sands authored
leading comments. llvm-svn: 61548
-
Duncan Sands authored
and BRCOND conditions. Reorder a few methods while there. llvm-svn: 61547
-
Misha Brukman authored
otherwise, some unlucky souls start looking for a 'dejagnu' binary... * Properly capitalized LLVM. llvm-svn: 61546
-
Duncan Sands authored
llvm-svn: 61545
-
Duncan Sands authored
promote from i1 all the way up to the canonical SetCC type. In order to discover an appropriate type to use, pass MVT::Other to getSetCCResultType. In order to be able to do this, change getSetCCResultType to take a type as an argument, not a value (this is also more logical). llvm-svn: 61542
-
Misha Brukman authored
* Added the first LLVM unittest -- DenseMap. * Updated mkpatch utility to include llvm/unittests dir * Added top-level target "unittests" to run all unittests llvm-svn: 61541
-
Misha Brukman authored
* Removed gtest_main.cc: we have our own main() elsewhere * Simplified the Makefile as we don't need SOURCES * Moved the internal header to gtest/internal/ * Simplified the Makefile to remove -I param to CPP.Flags * Updated README.LLVM with all the steps I took to massage GTest to work in LLVM so far llvm-svn: 61540
-
Misha Brukman authored
Makefile with it, without resorting to the use of VPATH. Also added Makefiles at every level of the directory tree to properly recurse to Google Test and build it as a library (original Makefiles by Talin). llvm-svn: 61539
-
Bill Wendling authored
llvm-svn: 61538
-
Bill Wendling authored
xor (or (icmp, icmp), true) -> and(icmp, icmp) This is possible because of De Morgan's law. llvm-svn: 61537
-
Bill Wendling authored
there's nothing in the vector. Pacify them. llvm-svn: 61536
-
- Dec 31, 2008
-
-
Duncan Sands authored
calculating nocapture attributes. llvm-svn: 61535
-
Bill Wendling authored
llvm-svn: 61533
-
Duncan Sands authored
llvm-svn: 61532
-
Misha Brukman authored
llvm-svn: 61531
-
Misha Brukman authored
llvm-svn: 61530
-
Misha Brukman authored
llvm-svn: 61529
-
Misha Brukman authored
llvm-svn: 61528
-
Misha Brukman authored
llvm-svn: 61527
-
Misha Brukman authored
Added a README.LLVM file to indicate which files and directories were removed from the original source tarball. llvm-svn: 61526
-