aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix another bug in Prolangs-C++/objectsChris Lattner2004-10-311-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17372 91177308-0d34-0410-b5e6-96231b3b80d8
* Only call getNodeForValue on pointer arguments! this fixes a problem runningChris Lattner2004-10-311-5/+11
| | | | | | | on Prolangs-C++/objects git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17368 91177308-0d34-0410-b5e6-96231b3b80d8
* Add more paranoid assertions :)Chris Lattner2004-10-311-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17367 91177308-0d34-0410-b5e6-96231b3b80d8
* Internalize variable names to prevent recursive assignment. Cleanup docs.Reid Spencer2004-10-301-12/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17359 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix some more problems where we called getOffset before getNode()Chris Lattner2004-10-301-2/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17358 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17357 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix more undefined behaviorChris Lattner2004-10-301-10/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17356 91177308-0d34-0410-b5e6-96231b3b80d8
* * 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17354 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17351 91177308-0d34-0410-b5e6-96231b3b80d8
* * 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17349 91177308-0d34-0410-b5e6-96231b3b80d8
* Change name of target lib to conform to new naming scheme.Brian Gaeke2004-10-292-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17347 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove dependency on MRegisterInfo::getRegClassBrian Gaeke2004-10-292-4/+30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17346 91177308-0d34-0410-b5e6-96231b3b80d8
* The Alpha (tm) intrinsics have never been used anywhereMisha Brukman2004-10-292-47/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17340 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17338 91177308-0d34-0410-b5e6-96231b3b80d8
* Gep indices must be of int, uint, long or ulong type.Alkis Evlogimenos2004-10-281-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17313 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix library name.Reid Spencer2004-10-282-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17307 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix library name.Alkis Evlogimenos2004-10-282-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17306 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix library name.Reid Spencer2004-10-281-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17305 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix name of libraryReid Spencer2004-10-281-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17304 91177308-0d34-0410-b5e6-96231b3b80d8
* 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17289 91177308-0d34-0410-b5e6-96231b3b80d8
* Change Library Names Not To Conflict With Others When InstalledReid Spencer2004-10-2728-28/+26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17286 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes to support rand48 testsReid Spencer2004-10-271-0/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17284 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert 'struct' to 'class' in various places to adhere to the coding standardsChris Lattner2004-10-277-9/+13
| | | | | | | and work better with VC++. Patch contributed by Morten Ofstad! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17281 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17278 91177308-0d34-0410-b5e6-96231b3b80d8
* 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? :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17276 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the build by eliminating some more dead code. That'll learn me not to ↵Nate Begeman2004-10-271-20/+0
| | | | | | listen to Reid git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17275 91177308-0d34-0410-b5e6-96231b3b80d8
* Initialize with the correct constant typeChris Lattner2004-10-271-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17270 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17262 91177308-0d34-0410-b5e6-96231b3b80d8
* add support for UndefValueChris Lattner2004-10-261-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17260 91177308-0d34-0410-b5e6-96231b3b80d8
* Move method bodies that depend on <algorithm> from MBB.h to MBB.cppChris Lattner2004-10-261-14/+38
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17253 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean up the MachineBasicBlock.h file, percolating #includes into this file.Chris Lattner2004-10-262-0/+2
| | | | | | | Patch contributed by Morten Ofstad git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17251 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove include of MRegisterInfo.h, since it is already included byNate Begeman2004-10-261-2/+0
| | | | | | | SkeletonGenRegisterInfo.h.inc git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17245 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17244 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate usage of MRegisterInfo::getRegClass(physreg)Nate Begeman2004-10-262-9/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17240 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the interpreter crash that Michael McCracken foundChris Lattner2004-10-261-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17239 91177308-0d34-0410-b5e6-96231b3b80d8
* Reduce usage of MRegisterInfo::getRegClassChris Lattner2004-10-261-5/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17238 91177308-0d34-0410-b5e6-96231b3b80d8
* Update to-do listNate Begeman2004-10-261-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17235 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17234 91177308-0d34-0410-b5e6-96231b3b80d8
* Add EXTRA_DIST for additional files to be distributed.Reid Spencer2004-10-261-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17233 91177308-0d34-0410-b5e6-96231b3b80d8
* Disable the JIT until it can sorta kinda work.Chris Lattner2004-10-251-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17230 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove dead assertChris Lattner2004-10-251-3/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17221 91177308-0d34-0410-b5e6-96231b3b80d8
* Patch to support MSVC, contributed by Morten OfstadChris Lattner2004-10-251-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17220 91177308-0d34-0410-b5e6-96231b3b80d8
* Patch to support MSVC, contributed by Morten OfstadChris Lattner2004-10-251-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17219 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix compatibility with MSVC, patch by Morten OfstadChris Lattner2004-10-251-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17218 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not use variable sized arrays in C++, they are non-portable. PatchChris Lattner2004-10-251-5/+5
| | | | | | | contributed by Morten Ofstad git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17217 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed dead method, printPHICopiesForSuccessors().John Criswell2004-10-252-42/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17216 91177308-0d34-0410-b5e6-96231b3b80d8
* Patch to support MSVC better, contributed by Morten OfstadChris Lattner2004-10-251-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17215 91177308-0d34-0410-b5e6-96231b3b80d8
* Patch to support MSVC, contributed by Morten OfstadChris Lattner2004-10-251-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17214 91177308-0d34-0410-b5e6-96231b3b80d8
* Modified switch generation so that only the phi values associated with theJohn Criswell2004-10-252-2/+4
| | | | | | | destination basic block are copied. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17212 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17207 91177308-0d34-0410-b5e6-96231b3b80d8