summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Wrap to 80 colsChris Lattner2006-06-091-4/+5
| | | | llvm-svn: 28743
* After telling GCC to type of the input file with -x asm/-x c, switch back toChris Lattner2006-06-091-0/+2
| | | | | | -x none, to not foul up autodetection of .a file or .dylibs. llvm-svn: 28741
* Don't pull in environ, not always safe. Global variables are bad anyway.Evan Cheng2006-06-091-8/+4
| | | | | | | Use execve when explicit environment variables ptr is available. Otherwise just use execv. llvm-svn: 28740
* Add LCSSA as a requirement for LoopUnswitch, and assert that LoopUnswitch ↵Owen Anderson2006-06-091-0/+4
| | | | | | | | preserves LCSSA. llvm-svn: 28739
* Make Loop able to verify that it is in LCSSA-form, and have the LCSSA pass ↵Owen Anderson2006-06-093-2/+23
| | | | | | | | assert on this. llvm-svn: 28738
* Comments to appease sabre.Evan Cheng2006-06-091-1/+7
| | | | llvm-svn: 28737
* Minor compilation speed improvement.Evan Cheng2006-06-091-2/+2
| | | | llvm-svn: 28736
* RewriteExpr, either the new PHI node of induction variable or theEvan Cheng2006-06-091-0/+3
| | | | | | | | post-increment value, should be first cast to the appropriated type (to the type of the common expr). Otherwise, the rewrite of a use based on (common + iv) may end up with an incorrect type. llvm-svn: 28735
* Update some comments, and expose LCSSAID in preparation for having other passesOwen Anderson2006-06-082-1/+9
| | | | | | require LCSSA. llvm-svn: 28734
* Fix X86/inline-asm.ll:test2, a case where an input value was implicitlyChris Lattner2006-06-081-3/+6
| | | | | | truncated. llvm-svn: 28733
* Add new testcaseChris Lattner2006-06-081-1/+7
| | | | llvm-svn: 28732
* Fix Regression/CodeGen/X86/inline-asm.ll, a case where inline asm causesChris Lattner2006-06-081-6/+13
| | | | | | implement extension of a register. llvm-svn: 28731
* New testcase, using "AX" as i32.Chris Lattner2006-06-081-0/+8
| | | | llvm-svn: 28730
* Squelch a warning about signed/unsigned.Reid Spencer2006-06-081-1/+1
| | | | llvm-svn: 28729
* Add support for "m" inline asm constraints.Chris Lattner2006-06-081-1/+29
| | | | llvm-svn: 28728
* Fix an assert-on-inline-inline-asm bug.Chris Lattner2006-06-081-12/+18
| | | | llvm-svn: 28727
* For PR804:Reid Spencer2006-06-082-2/+2
| | | | | | | | Change the file size field of StatusInfo to be uint64_t instead of size_t so that we know it is always 64 bits. This prevents some overflow on systems where size_t is 32 bits when it ought to be 64. llvm-svn: 28726
* Remove dead code.Vladimir Prus2006-06-081-1/+1
| | | | llvm-svn: 28725
* New method BasicBlock::getFirstNonPHI.Vladimir Prus2006-06-082-1/+19
| | | | llvm-svn: 28724
* This no longer needs plugins, this it doesn't need all of VMCore.Chris Lattner2006-06-081-2/+0
| | | | llvm-svn: 28723
* For PR787:Reid Spencer2006-06-075-0/+34
| | | | | | | | | | | | Provide new llvm::sys::Program facilities for converting the stdout and stdin to binary mode. There is no standard way to do this and the available mechanisms are platform specific. Adjust the bytecode reader and writer to use these methods when their input is stdin or output is stdout. THis avoids the problem with \n writing CRLF to a bytecode file on windows. Patch Contributed by Michael Smith. llvm-svn: 28722
* Shorten a value description so --help out isn't so wide.Reid Spencer2006-06-071-1/+1
| | | | llvm-svn: 28721
* Make sure this tool links in all of libVMCore.a because it can --loadReid Spencer2006-06-071-0/+1
| | | | | | shared objects. llvm-svn: 28720
* For PR780:Reid Spencer2006-06-0710-2/+39
| | | | | | | | | 1. Add #includes to LinkAllVMCore.h to get Mangler.o and InlineAsm.o 2. Make Mangler.h and InlineAsm.h use the macros to ensure linkage 3. Make each of the tools with --load options include LinkAllVMCore.h This should be the last set of changes for this bug and 800. llvm-svn: 28719
* Add a virtual dtor to the InlineAsm class so that the principle method ofChris Lattner2006-06-072-0/+7
| | | | | | the class can be defined in InlineAsm.cpp llvm-svn: 28718
* Fix a bug where the types for inlineasm nodes were not properly entered intoChris Lattner2006-06-071-2/+2
| | | | | | | the compaction table for a function. This broke compilation of hexxagon on darwin/x86 with recent changes. llvm-svn: 28717
* Previous version of this file wasn't supposed to be committed. This versionReid Spencer2006-06-071-30/+12
| | | | | | attempts to get all of libVMCore.a through the least number of declarations. llvm-svn: 28716
* For PR780:Reid Spencer2006-06-0719-78/+57
| | | | | | | | | | 1. Fix the macros in IncludeFile.h to put everything in the llvm namespace 2. Replace the previous explicit mechanism in all the .h and .cpp files with the macros in IncludeFile.h This gets us a consistent mechanism throughout LLVM for ensuring linkage. Next step is to make sure its used in enough places. llvm-svn: 28715
* Fix a spello in a comment.Reid Spencer2006-06-071-1/+1
| | | | llvm-svn: 28714
* For PR780:Reid Spencer2006-06-072-16/+62
| | | | | | | | | This change was suggested by Chris so that we can select an alternate (or even no-op) implementation of the link assurance. I'm committing this for your review, Chris. If the names and definitions are okay, I'll adjust all the .h and .cpp files in a later patch. llvm-svn: 28712
* For PR780:Reid Spencer2006-06-0711-15/+195
| | | | | | | | | Break the "IncludeFile" mechanism into its own header file and adjust other files accordingly. Use this facility for the IntrinsicInst problem which was the subject of PR800. More to follow on this. llvm-svn: 28709
* Add -extraflags FLAGS to pass extra compilation options.Evan Cheng2006-06-071-1/+6
| | | | llvm-svn: 28707
* Remove useless noop argumentChris Lattner2006-06-071-2/+0
| | | | llvm-svn: 28706
* Fix a bug in the following scenario.Chris Lattner2006-06-061-1/+2
| | | | | | | | | | | 1. llvm is built with objroot = OBJ and installed. 2. OBJ is deleted or install tree is shipped. 3. llvm-config is run. In this scenario, llvm-config shouldn't emit an error message at #3, it should just know it's not running in the objdir :) llvm-svn: 28704
* Added X86FunctionInfo subclass of MachineFunction to record whether theEvan Cheng2006-06-063-7/+41
| | | | | | | function that is being lowered is forced to use FP. Currently this is only true for main() / Cygwin. llvm-svn: 28703
* document --libfilesChris Lattner2006-06-061-0/+6
| | | | llvm-svn: 28702
* Add a new --libfiles option, for getting fully-qualified pathnames to libraries.Chris Lattner2006-06-061-7/+19
| | | | | | | This can be used for tools that want makefile rules to depend on the libraries (e.g. so the tool is relinked when a library changes). llvm-svn: 28701
* Move toolrunner out of libsupport into the bugpoint toolChris Lattner2006-06-062-714/+0
| | | | llvm-svn: 28700
* Move ToolRunner.(cpp|h) into the bugpoint directoryChris Lattner2006-06-066-4/+717
| | | | llvm-svn: 28699
* Fix a bug in a recent patch. This fixes UnitTests/Vector/Altivec/casts.c onChris Lattner2006-06-061-1/+1
| | | | | | PPC/altivec llvm-svn: 28698
* Now that PR633 is implemented, the CBE can know to emit _setjmp/_longjmpChris Lattner2006-06-061-0/+6
| | | | | | | when available. This speeds up hexxagon from 18.61s to 16.61s with the CBE on PPC Mac OS (for reference, LLC is 15.48s and GCC is 23.35s). llvm-svn: 28697
* Add PowerPC intrinsics to support dcbz[l]Chris Lattner2006-06-063-0/+34
| | | | llvm-svn: 28696
* Make the llvm-config library dependency database depend on all of the libraries.Chris Lattner2006-06-061-6/+4
| | | | llvm-svn: 28695
* Fix some formatting, and use inLoop() when appropriate.Owen Anderson2006-06-061-3/+3
| | | | llvm-svn: 28694
* Stop a memory leak, and update some comments.Owen Anderson2006-06-061-10/+10
| | | | llvm-svn: 28693
* Add the -Xlinker option to bugpoint which allows an option to be passedReid Spencer2006-06-063-14/+58
| | | | | | | | | through to gcc when its being used as a linker. This allows -L and -l (and any other) options to be added so that non-complete bytecode files can be processed with bugpoint. The -Xlinker option can be added as many times as needed. llvm-svn: 28692
* add R0 to liveoutRafael Espindola2006-06-051-3/+13
| | | | | | | expand "ret null" (implements test/Regression/CodeGen/ARM/ret_void.ll) note that a Flag link is missing between the copy and the branch llvm-svn: 28691
* Document the cl::SetVersionPrinter function.Reid Spencer2006-06-051-0/+23
| | | | llvm-svn: 28690
* For PR778:Reid Spencer2006-06-056-46/+82
| | | | | | | Move file-scoped documentation to class-scoped so it is more readily accessible. llvm-svn: 28689
* For PR798:Reid Spencer2006-06-051-13/+56
| | | | | | Provide GraphViz support for MingW32. Patch provided by Anton Korobeynikov llvm-svn: 28688
OpenPOWER on IntegriCloud