aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Silence some -pedantic warnings.Chris Lattner2006-06-011-4/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28629 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide support for detecting if the Win32 imaghlp and psapi librariesReid Spencer2006-06-013-0/+318
| | | | | | | | | are available. These libraries are used in lib/System and should be included on the link line or if not available generate an error when building lib/System. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28628 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a typoChris Lattner2006-06-011-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28627 91177308-0d34-0410-b5e6-96231b3b80d8
* Make a shorthand target for running the llvm2cpp test suite. This testReid Spencer2006-06-011-0/+2
| | | | | | | | | suite is disabled by default because of the length of time it takes to run. To enable it certain command line fu must be used. This patch just encodes the command line fu as the magical "check-llvm2cpp" target. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28626 91177308-0d34-0410-b5e6-96231b3b80d8
* Restore default arguments for llvm2cpp back to health by declaring anReid Spencer2006-06-011-1/+1
| | | | | | | emitted variable to actually have a type (picky, picky, picky!) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28625 91177308-0d34-0410-b5e6-96231b3b80d8
* No, libLLVMbzip2 does not have a .a suffix.Reid Spencer2006-06-011-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28624 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix gcc command line options after LLVMCore and LLVMbzip2 became archiveReid Spencer2006-06-011-1/+1
| | | | | | | libraries. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28623 91177308-0d34-0410-b5e6-96231b3b80d8
* Favor C++ casts over C casts in C++ code.Reid Spencer2006-06-011-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28622 91177308-0d34-0410-b5e6-96231b3b80d8
* Change from using a stub function to a stub variable for passing to theReid Spencer2006-06-0115-23/+22
| | | | | | | | IncludeFile hack to ensure linkage of analysis passes. This works around some -pedantic warnings about assigning an object to a function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28621 91177308-0d34-0410-b5e6-96231b3b80d8
* Prevent the -pedantic option from causing Mac OS/X build problems:Reid Spencer2006-06-011-0/+3
| | | | | | | LiveIntervalAnalysis.cpp:218: error: floating constant exceeds range of 'double' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28620 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove a FIXME that was fixed with my last patch.Owen Anderson2006-06-011-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28619 91177308-0d34-0410-b5e6-96231b3b80d8
* More cleanups. Also, add a special case for updating PHI nodes, andOwen Anderson2006-06-011-21/+33
| | | | | | | | reimplement getValueDominatingFunction to walk the DominanceTree rather than just searching blindly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28618 91177308-0d34-0410-b5e6-96231b3b80d8
* TyposEvan Cheng2006-06-011-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28617 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR786:Reid Spencer2006-06-011-0/+3
| | | | | | | Don't warn about -pedantic errors. Add a note to the PR instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28616 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bug where incorrect C++ was being emitted.Reid Spencer2006-06-011-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28615 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR786:Reid Spencer2006-06-016-2/+12
| | | | | | | | | | Turn -pedantic and -Wno-long-long compile flags on by default. In a few places, avoid the warnings by removing these options in the local makefile. One notable exception: lib/Target/CBackend/Writer.cpp. These warnings are left on as a reminder to developers to clean them up. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28614 91177308-0d34-0410-b5e6-96231b3b80d8
* Build llvm-config into the ToolDir not in the local directory. This makesReid Spencer2006-06-011-6/+6
| | | | | | | | it more likely to be in a developer's path and consistent with all the other tools. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28613 91177308-0d34-0410-b5e6-96231b3b80d8
* Put an innocuous statement in this file to quelch warnings about compilingReid Spencer2006-06-011-0/+1
| | | | | | | an empty file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28612 91177308-0d34-0410-b5e6-96231b3b80d8
* Oops, llc needs libTarget.a not Target.oReid Spencer2006-06-011-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28611 91177308-0d34-0410-b5e6-96231b3b80d8
* Use archive libraries instead of object files for VMCore, BCReader,Reid Spencer2006-06-0133-54/+61
| | | | | | | | BCWriter, and bzip2 libraries. Adjust the various makefiles to accommodate these changes. This was done to speed up link times. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28610 91177308-0d34-0410-b5e6-96231b3b80d8
* Support correct build:Reid Spencer2006-06-012-2/+8
| | | | | | | | | 1. Capture the ENABLE_THREADS configure variable in Makefile.config 2. Use ENABLE_THREADS to avoid building ParallelJIT if threads are not present. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28609 91177308-0d34-0410-b5e6-96231b3b80d8
* Tighten this script up a bit.Reid Spencer2006-06-011-15/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28608 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove a warningEvan Cheng2006-06-011-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28607 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename ASM modifier trunc8, trunc16 to subreg8, subreg16.Evan Cheng2006-05-313-7/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28606 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix casting so there's no warning on Alpha.Reid Spencer2006-05-312-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28605 91177308-0d34-0410-b5e6-96231b3b80d8
* Add my most recent work.Owen Anderson2006-05-311-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28604 91177308-0d34-0410-b5e6-96231b3b80d8
* Sign extenderEvan Cheng2006-05-311-8/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28603 91177308-0d34-0410-b5e6-96231b3b80d8
* Squelch this warning:Reid Spencer2006-05-311-0/+4
| | | | | | | | /bzlib.c:126: warning: string length `1056' is greater than the length `509' ISO C89 compilers are required to support git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28602 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix utostr once and for all, by making there only be one function namedChris Lattner2006-05-311-17/+14
| | | | | | | | utostr. To keep the efficiency in the 32-bit case, make it check to see if the value is 32-bits and if so switch over to the faster 32-bit case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28601 91177308-0d34-0410-b5e6-96231b3b80d8
* Swap the order of operands created here. For +&|^, the order doesn't matter,Chris Lattner2006-05-311-2/+3
| | | | | | | | but for sub, it really does! Fix fixes a miscompilation of fibheap_cut in llvmgcc4. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28600 91177308-0d34-0410-b5e6-96231b3b80d8
* Extract a huge loop into a helper method. Fix a few iterator-invalidation bugs.Owen Anderson2006-05-311-86/+113
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28599 91177308-0d34-0410-b5e6-96231b3b80d8
* 4 billion names is enough for anyone. And really fix the build on alpha ↵Andrew Lenharth2006-05-313-3/+4
| | | | | | this time git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28598 91177308-0d34-0410-b5e6-96231b3b80d8
* fix utostrAndrew Lenharth2006-05-311-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28597 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix build breakage on alpha, without causing it on x86. as a bonus, all ↵Andrew Lenharth2006-05-314-16/+5
| | | | | | platforms can invent the same number of unique names now git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28596 91177308-0d34-0410-b5e6-96231b3b80d8
* revert for nowAndrew Lenharth2006-05-311-2/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28595 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename instructions for consistency sake.Evan Cheng2006-05-312-92/+102
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28594 91177308-0d34-0410-b5e6-96231b3b80d8
* make 64-bit safe and fix the build on alphaAndrew Lenharth2006-05-311-13/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28593 91177308-0d34-0410-b5e6-96231b3b80d8
* commuteInstruction() does not always create a new MI!Evan Cheng2006-05-311-2/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28592 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a brief description for the tblgen program. More detail is needed butReid Spencer2006-05-311-0/+119
| | | | | | | | the current author is not the person to provide it. Now that the file exists, perhaps others will chime in and embellish. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28591 91177308-0d34-0410-b5e6-96231b3b80d8
* Update the documentation for llvm2cpp after the -gen-* options were added.Reid Spencer2006-05-311-14/+108
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28590 91177308-0d34-0410-b5e6-96231b3b80d8
* Major reorganization and extension of the code. The diff on this will be aReid Spencer2006-05-311-487/+698
| | | | | | | | | | mess as functions were moved around into a better ordering. The code was extended to provide various -gen-* options to better control what the generated output should be. Currently it is possible to generate entire modules (three different ways), functions, global variables, and types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28589 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the getNamedFunction and getNamedGlobal methods be const. They don'tReid Spencer2006-05-312-10/+10
| | | | | | | change the module in any way and we should enforce that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28588 91177308-0d34-0410-b5e6-96231b3b80d8
* Clarify type naming.Vladimir Prus2006-05-311-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28587 91177308-0d34-0410-b5e6-96231b3b80d8
* Improve InstVisitor docs.Vladimir Prus2006-05-311-40/+46
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28586 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate a memory leak.Evan Cheng2006-05-311-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28585 91177308-0d34-0410-b5e6-96231b3b80d8
* visitVBinOp: Can't fold divide by zero!Evan Cheng2006-05-311-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28584 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't generate module definitions when the -fragment option is given.Reid Spencer2006-05-311-51/+59
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28583 91177308-0d34-0410-b5e6-96231b3b80d8
* Select vector_shuffle v1, undef <2, 3, ?, ?> to MOVHLPS.Evan Cheng2006-05-311-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28582 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove dead code.Evan Cheng2006-05-311-3/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28581 91177308-0d34-0410-b5e6-96231b3b80d8
* Update vector extract test cases.Evan Cheng2006-05-311-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28580 91177308-0d34-0410-b5e6-96231b3b80d8