summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add more paranoid assertions :)Chris Lattner2004-10-311-0/+12
| | | | llvm-svn: 17367
* Internalize variable names to prevent recursive assignment. Cleanup docs.Reid Spencer2004-10-301-12/+10
| | | | llvm-svn: 17359
* Fix some more problems where we called getOffset before getNode()Chris Lattner2004-10-301-2/+4
| | | | llvm-svn: 17358
* Fix three bugs:Chris Lattner2004-10-301-9/+12
| | | | | | | | | | | | | | | | 1. Calls to external global VARIABLES should not be treated as a call to an external function 2. Efficiently deleting an element from a vector by using std::swap with the back, then pop_back is NOT a good way to keep the vector sorted. 3. Our hope of having stuff get deleted by making them redundant just won't work. In particular, if we have three calls in sequence that should be merged: A, B, C first we unify B into A. To be sure that they appeared identical (so B would be erased) we set B = A. On the next step, we unified C into A and set C = A. Unfortunately, this is no guarantee that C = B, so we would fail to delete the dead call. Switch to a more explicit scheme. llvm-svn: 17357
* Fix more undefined behaviorChris Lattner2004-10-301-10/+13
| | | | llvm-svn: 17356
* * Add a methodChris Lattner2004-10-301-16/+28
| | | | | | | | | * change some uses of NH.getNode() in a bool context to use !NH.isNull() * Fix a bunch of places where we depended on the (undefined) order of evaluation of arguments to function calls to ensure that getNode() was called before getOffset(). In practice, this was NOT happening. llvm-svn: 17354
* Fixed bug with infinite epilogues.Tanya Lattner2004-10-304-105/+187
| | | | | | Fixed issue with generating the partial order. It now adds the nodes not in recurrences in sets for each connected component. llvm-svn: 17351
* * Fix compilation on AIX: GCC's fixincludes eliminates isinf() declarationMisha Brukman2004-10-291-5/+7
| | | | | | * Move file comment to the top of the header where it belongs llvm-svn: 17349
* Change name of target lib to conform to new naming scheme.Brian Gaeke2004-10-291-1/+1
| | | | llvm-svn: 17347
* Remove dependency on MRegisterInfo::getRegClassBrian Gaeke2004-10-291-2/+15
| | | | llvm-svn: 17346
* The Alpha (tm) intrinsics have never been used anywhereMisha Brukman2004-10-292-47/+0
| | | | llvm-svn: 17340
* When emitting debug msgs for function stubs, don't truncate theBrian Gaeke2004-10-291-1/+1
| | | | | | | printed pointer value if sizeof(unsigned) != pointer size. Instead, use uintptr_t. llvm-svn: 17338
* Gep indices must be of int, uint, long or ulong type.Alkis Evlogimenos2004-10-281-1/+1
| | | | llvm-svn: 17313
* Fix library name.Reid Spencer2004-10-282-2/+2
| | | | llvm-svn: 17307
* Fix library name.Alkis Evlogimenos2004-10-282-2/+2
| | | | llvm-svn: 17306
* Fix library name.Reid Spencer2004-10-281-1/+1
| | | | llvm-svn: 17305
* Fix name of libraryReid Spencer2004-10-281-1/+1
| | | | llvm-svn: 17304
* Make sure that the yacc and lex output are specified as BUILT_SOURCES.Reid Spencer2004-10-281-8/+7
| | | | | | | | Correct the dependency of the Lexer.o file on the constructed llvmAsmParser.h header file. It is not the Lexer.cpp file that depends on the header, its the output of compiling Lexer.cpp, Lexer.o llvm-svn: 17289
* Change Library Names Not To Conflict With Others When InstalledReid Spencer2004-10-2727-27/+26
| | | | llvm-svn: 17286
* Changes to support rand48 testsReid Spencer2004-10-271-0/+15
| | | | llvm-svn: 17284
* Convert 'struct' to 'class' in various places to adhere to the coding standardsChris Lattner2004-10-276-8/+12
| | | | | | and work better with VC++. Patch contributed by Morten Ofstad! llvm-svn: 17281
* Move destructor out of line to avoid vtable emission in every file that ↵Nate Begeman2004-10-271-0/+2
| | | | | | includes the header. Thanks to sabre. llvm-svn: 17278
* Hrm, this code was severely botched. As it turns out, this patch:Chris Lattner2004-10-271-0/+4
| | | | | | | | | | | http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20041018/019708.html exposed ANOTHER latent bug in this xform, which caused Prolangs-C/bison to fill the zion nightly tester disk up and make the tester barf. This is obviously not a good thing, so lets fix this bug shall we? :) llvm-svn: 17276
* Fix the build by eliminating some more dead code. That'll learn me not to ↵Nate Begeman2004-10-271-20/+0
| | | | | | listen to Reid llvm-svn: 17275
* Initialize with the correct constant typeChris Lattner2004-10-271-2/+3
| | | | llvm-svn: 17270
* Plug a memory leak in the asmparser. It turns out that we were leakingChris Lattner2004-10-261-1/+1
| | | | | | | the strings for basic block labels in some cases. This amounted to about 120K of memory for namd, a medium sized program. llvm-svn: 17262
* add support for UndefValueChris Lattner2004-10-261-1/+1
| | | | llvm-svn: 17260
* Move method bodies that depend on <algorithm> from MBB.h to MBB.cppChris Lattner2004-10-261-14/+38
| | | | llvm-svn: 17253
* Clean up the MachineBasicBlock.h file, percolating #includes into this file.Chris Lattner2004-10-262-0/+2
| | | | | | Patch contributed by Morten Ofstad llvm-svn: 17251
* Remove include of MRegisterInfo.h, since it is already included byNate Begeman2004-10-261-2/+0
| | | | | | SkeletonGenRegisterInfo.h.inc llvm-svn: 17245
* Remove file that is no longer used, and move include of MRegisterInfo.hNate Begeman2004-10-263-55/+1
| | | | | | | from PowerPCFrameInfo.h to PowerPCAsmPrinter.cpp where it is actually needed. llvm-svn: 17244
* Eliminate usage of MRegisterInfo::getRegClass(physreg)Nate Begeman2004-10-262-9/+18
| | | | llvm-svn: 17240
* Fix the interpreter crash that Michael McCracken foundChris Lattner2004-10-261-0/+1
| | | | llvm-svn: 17239
* Reduce usage of MRegisterInfo::getRegClassChris Lattner2004-10-261-5/+6
| | | | llvm-svn: 17238
* Update to-do listNate Begeman2004-10-261-1/+2
| | | | llvm-svn: 17235
* Fix treecc. Also fix a latent bug in emitBinaryConstOperation that wouldNate Begeman2004-10-261-64/+46
| | | | | | allow and const, 0 to be incorrectly codegen'd into a rlwinm instruction. llvm-svn: 17234
* Add EXTRA_DIST for additional files to be distributed.Reid Spencer2004-10-261-0/+2
| | | | llvm-svn: 17233
* Disable the JIT until it can sorta kinda work.Chris Lattner2004-10-251-0/+1
| | | | llvm-svn: 17230
* Remove dead assertChris Lattner2004-10-251-3/+0
| | | | llvm-svn: 17221
* Patch to support MSVC, contributed by Morten OfstadChris Lattner2004-10-251-0/+3
| | | | llvm-svn: 17220
* Patch to support MSVC, contributed by Morten OfstadChris Lattner2004-10-251-0/+3
| | | | llvm-svn: 17219
* Fix compatibility with MSVC, patch by Morten OfstadChris Lattner2004-10-251-0/+1
| | | | llvm-svn: 17218
* Do not use variable sized arrays in C++, they are non-portable. PatchChris Lattner2004-10-251-5/+5
| | | | | | contributed by Morten Ofstad llvm-svn: 17217
* Removed dead method, printPHICopiesForSuccessors().John Criswell2004-10-251-21/+0
| | | | llvm-svn: 17216
* Patch to support MSVC better, contributed by Morten OfstadChris Lattner2004-10-251-1/+1
| | | | llvm-svn: 17215
* Patch to support MSVC, contributed by Morten OfstadChris Lattner2004-10-251-1/+1
| | | | llvm-svn: 17214
* Modified switch generation so that only the phi values associated with theJohn Criswell2004-10-251-1/+2
| | | | | | destination basic block are copied. llvm-svn: 17212
* Implement more complete and correct codegen for bitfield inserts, as testedNate Begeman2004-10-241-89/+236
| | | | | | | by the recently committed rlwimi.ll test file. Also commit initial code for bitfield extract, although it is turned off until fully debugged. llvm-svn: 17207
* Fix the previous bug the correct way. This fixes ptrdist/bcChris Lattner2004-10-241-2/+2
| | | | llvm-svn: 17201
* Make this actually work.Alkis Evlogimenos2004-10-241-2/+2
| | | | llvm-svn: 17199
OpenPOWER on IntegriCloud