summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Add an assertion to make sure we are at least getting argv[0] right.Brian Gaeke2003-12-121-1/+2
| | | | | | Use a clearer error message when we fail to load a program. llvm-svn: 10414
* Update release notes for PR86 and C++ supportChris Lattner2003-12-111-7/+8
| | | | llvm-svn: 10413
* Factor out some duplicated code, implement the rest of the cases inChris Lattner2003-12-111-43/+40
| | | | | | BasicAA/2003-12-11-ConstExprGEP.ll llvm-svn: 10412
* Rename variable to avoid confusing it with the global GChris Lattner2003-12-111-1/+1
| | | | llvm-svn: 10411
* Fix PR86. This makes basicaa _SIGNIFICANLY_ more aggressive with ↵Chris Lattner2003-12-111-121/+251
| | | | | | getelementptr's llvm-svn: 10410
* Fix LICM/2003-12-11-SinkingToPHI.ll, and quite possibly all of the other ↵Chris Lattner2003-12-111-2/+11
| | | | | | known problems in the universe. llvm-svn: 10409
* New testcase that LICM is breaking crafty onChris Lattner2003-12-111-0/+20
| | | | llvm-svn: 10408
* Finegrainify namespacificationChris Lattner2003-12-111-5/+23
| | | | | | Add new -print-cfg-only pass llvm-svn: 10407
* verifyFunction depends on dominator info, which levelraise does not declareChris Lattner2003-12-111-5/+0
| | | | | | | | | that it needs. This is pretty scary code! This fixes Regression.Transforms.LevelRaise.2002-07-16-SourceAndDestCrash Regression.Transforms.LevelRaise.2002-07-31-AssertionFailure llvm-svn: 10406
* Fix test that was failing because we were optimizing the program better than ↵Chris Lattner2003-12-111-2/+2
| | | | | | expected :) llvm-svn: 10404
* New testcase for PR86Chris Lattner2003-12-111-0/+17
| | | | llvm-svn: 10403
* Run tailcall elimination in a more logical placeChris Lattner2003-12-111-1/+1
| | | | llvm-svn: 10402
* Fix a glaring bugChris Lattner2003-12-111-0/+1
| | | | llvm-svn: 10400
* Realize the gep P, <zeros> must aliases P.Chris Lattner2003-12-111-1/+11
| | | | | | This is a partial fix for PR 86 llvm-svn: 10399
* With Brian's change to AA.h we can now clean out this uglynessChris Lattner2003-12-111-1/+1
| | | | llvm-svn: 10398
* IncludeFile hack to pull in BasicValueNumbering whenever ValueNumbering.hBrian Gaeke2003-12-112-0/+7
| | | | | | is included. llvm-svn: 10397
* IncludeFile hack to pull in BasicAliasAnalysis whenever AliasAnalysis.hBrian Gaeke2003-12-111-0/+9
| | | | | | is included. llvm-svn: 10396
* Separate out target for cleaning up qmtest garbage.Brian Gaeke2003-12-111-1/+3
| | | | llvm-svn: 10395
* Add more fixed bugs. Keep llvm core section sorted by pr#. (Is that ok?)Brian Gaeke2003-12-111-1/+5
| | | | llvm-svn: 10394
* Stop laughing MishaChris Lattner2003-12-111-1/+1
| | | | llvm-svn: 10393
* In getObjectType(), doxygenify comment, and take a pointer to theBrian Gaeke2003-12-111-50/+43
| | | | | | | | | | | | | beginning of the archive member data as an argument. Get rid of ParseLongFilenameSection(), which is dead. In ReadArchiveBuffer(), implement support for 4.4BSD/MacOSX long filenames. This is kind of invasive, because they prepend the long filename to the archive member data, and then lie about the size. So we have to keep track of the real size. llvm-svn: 10392
* Turn off "attribute weak" to pacify Mac OS X's system compiler, which prints aBrian Gaeke2003-12-111-4/+25
| | | | | | warning whenever it sees it. llvm-svn: 10391
* Fix typo in comment. Add prototype for getConstantExprValue().Brian Gaeke2003-12-111-1/+3
| | | | llvm-svn: 10390
* Add support for --debug-only=interpreter, to print out instrs beforeBrian Gaeke2003-12-111-40/+144
| | | | | | | | | | | | | | | | | | interpreting them. Move support for getting the value of a ConstantExpr into getConstantExprValue(), and add support for the rest of the different kinds of ConstantExprs. (I don't think I like ConstantExprs!) This requires separate procedures executeShlInst() and executeShrInst(). Reduce the number of references to TheEE. Get rid of an old comment mentioning annotations. Fix exitCalled(), which was crashing the Interpreter. This was a leftover from the return-value code refactoring. llvm-svn: 10389
* This appears to fix Bug 172 and does not break any other feature tests orJohn Criswell2003-12-101-0/+6
| | | | | | regression tests. llvm-svn: 10388
* Fix bug: LICM/sink_multiple_exits.llChris Lattner2003-12-101-1/+1
| | | | | | Thanks for pointing this out John :) llvm-svn: 10387
* Don't allow dead instructions to stop sinking early.Chris Lattner2003-12-101-10/+9
| | | | llvm-svn: 10386
* Fix bug: IndVarsSimplify/2003-12-10-RemoveInstrCrash.llxChris Lattner2003-12-101-0/+5
| | | | llvm-svn: 10385
* A new testcase, reduced by bugpointChris Lattner2003-12-101-0/+17
| | | | llvm-svn: 10384
* Finegrainify namespacificationChris Lattner2003-12-101-11/+11
| | | | | | Fix bug: LowerInvoke/2003-12-10-Crash.llx llvm-svn: 10382
* new testcaseChris Lattner2003-12-101-0/+24
| | | | llvm-svn: 10381
* Fixed a comma error.John Criswell2003-12-101-3/+3
| | | | | | | Added the --disable-threads option to GCC configure (to avoid pthread errors when building code with LLVM). llvm-svn: 10380
* Support 'make install' for LLVM include files.Brian Gaeke2003-12-101-0/+10
| | | | llvm-svn: 10378
* Upon Chris's suggestion, moved the #ifdef's to the generated C code.John Criswell2003-12-101-8/+5
| | | | | | This makes LLVM and the generated C code more portable. llvm-svn: 10377
* Finegrainify namespacificationChris Lattner2003-12-101-8/+27
| | | | | | | Reorder #includes Implement: IndVarsSimplify/2003-12-10-IndVarDeadCode.ll llvm-svn: 10376
* Fixed the CBE on Solaris/Sparc. We need to define the return value ofJohn Criswell2003-12-101-1/+8
| | | | | | | | the write() system call because it returns 64 bits on Solaris 64 bit, and an implicit return value of int says it returns 32 bits. Admittedly, this is a bit of a hack. llvm-svn: 10375
* New testcaseChris Lattner2003-12-101-0/+23
| | | | llvm-svn: 10374
* Finegrainify namespacificationChris Lattner2003-12-101-22/+21
| | | | | | Fix bug: LoopSimplify/2003-12-10-ExitBlocksProblem.ll llvm-svn: 10373
* New testcase which caused a bunch of tests to break last night with moreChris Lattner2003-12-101-0/+42
| | | | | | aggressive LICM llvm-svn: 10372
* Simplify codeChris Lattner2003-12-101-6/+1
| | | | llvm-svn: 10371
* Avoid performing two identical lookups when one will sufficeChris Lattner2003-12-101-3/+1
| | | | llvm-svn: 10370
* Make LICM itself a bit more efficient, and make the generated code more ↵Chris Lattner2003-12-101-21/+26
| | | | | | efficient too: don't insert a store in every exit block, because a particular block may be exited to more than once by a loop llvm-svn: 10369
* Removed the pthread_once() function because it doesn't actually doJohn Criswell2003-12-101-7/+0
| | | | | | | | what it's supposed to do. Just leave this library as a dummy library for now until we have time to port a real pthread library (or get glibc working). llvm-svn: 10368
* Finegrainify namespacificationChris Lattner2003-12-101-4/+1
| | | | llvm-svn: 10367
* Finegrainify namespacificationChris Lattner2003-12-101-10/+8
| | | | | | Provide a context module to WriteAsOperand llvm-svn: 10366
* Added the --host= option to the Sparc configuration directions.John Criswell2003-12-101-1/+1
| | | | llvm-svn: 10364
* Dummy implementation of the pthread library.John Criswell2003-12-102-0/+22
| | | | | | This is needed since libstdc++ uses pthread_once(). llvm-svn: 10360
* Make 'opt -o -' work correctly instead of creating a file named './-'Chris Lattner2003-12-101-2/+2
| | | | llvm-svn: 10359
* Implement instruction sinking out of loops. This still can do a little bitChris Lattner2003-12-101-61/+246
| | | | | | | better job, but this is the majority of the work. This implements LICM/sink*.ll llvm-svn: 10358
* new testcase, checking to ensure we handle yet-another spiffy case correctlyChris Lattner2003-12-101-0/+25
| | | | llvm-svn: 10357
OpenPOWER on IntegriCloud