summaryrefslogtreecommitdiffstats
path: root/llvm/tools
Commit message (Collapse)AuthorAgeFilesLines
* Replacing std::iostreams with llvm iostreams. Some of these changes involveBill Wendling2006-11-2910-116/+134
| | | | | | | adding a temporary wrapper around the ostream to make it friendly to functions expecting an LLVM stream. This should be fixed in the future. llvm-svn: 31990
* Convert to using llvm streams instead of iostreams.Bill Wendling2006-11-282-25/+28
| | | | llvm-svn: 31989
* Add an -append-exit-code option to bugpoint. This will cause bugpoint toReid Spencer2006-11-281-0/+11
| | | | | | | | append "exit <retcode>" to the end of the output file. This is used by the nightly tester to make bugpoint match the output generated by the RunSafely.sh script so it doesn't find false positives. llvm-svn: 31960
* For PR950:Reid Spencer2006-11-273-8/+34
| | | | | | | | | | The long awaited CAST patch. This introduces 12 new instructions into LLVM to replace the cast instruction. Corresponding changes throughout LLVM are provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the exception of 175.vpr which fails only on a slight floating point output difference. llvm-svn: 31931
* Update to new predicate simplifier VRP design. Fixes PR966 and PR967.Nick Lewycky2006-11-222-2/+0
| | | | | | | | Remove predicate simplifier from default gcc3 pipeline. New design is too slow to enable by default. Add new testcases for problems encountered in development. llvm-svn: 31895
* Added the --disable-compression option which controls whether theJohn Criswell2006-11-211-1/+5
| | | | | | generated bytecode uses compression. llvm-svn: 31891
* Need <iostream> for the time being.Bill Wendling2006-11-172-0/+2
| | | | llvm-svn: 31821
* Need iostream to be included for the time being.Bill Wendling2006-11-171-0/+1
| | | | llvm-svn: 31820
* Minor style fixes from review.Reid Spencer2006-11-112-6/+5
| | | | llvm-svn: 31685
* Add a -disable-loop-extraction option to bugpoint.Reid Spencer2006-11-111-2/+9
| | | | llvm-svn: 31683
* For PR998:Reid Spencer2006-11-111-12/+18
| | | | | | | | Fix an infinite loop in the Linker and a few other assorted link problems. Patch contributed by Scott Michel. Thanks, Scott! llvm-svn: 31680
* completely revert patrick's enhancement to bugpoint. Though it makes bugpointChris Lattner2006-11-091-123/+15
| | | | | | | | | speed up, it sometimes makes it crash on complex bc files, which isn't very nice. With this, bugpoint can reduce the 176.gcc failure. llvm-svn: 31589
* add a new bugpoint mode -llc-safe. This uses LLC for both halves of aChris Lattner2006-11-091-3/+9
| | | | | | | | miscompilation. This is useful for working around GCC+CBE bugs or for handling programs that CBE doesn't support (e.g. inline asm) when searching for optimizer bugs. llvm-svn: 31588
* For PR950:Reid Spencer2006-11-081-3/+6
| | | | | | | | This patch converts the old SHR instruction into two instructions, AShr (Arithmetic) and LShr (Logical). The Shr instructions now are not dependent on the sign of their operands. llvm-svn: 31542
* Fix a problem in the the last patch that subverts error message printing.Reid Spencer2006-11-051-1/+1
| | | | llvm-svn: 31466
* Unbreak VC++ build.Jeff Cohen2006-11-052-2/+2
| | | | llvm-svn: 31464
* Make llvm2cpp -pedantic clean.Reid Spencer2006-11-031-1/+1
| | | | llvm-svn: 31389
* For PR786:Reid Spencer2006-11-027-16/+4
| | | | | | | | | | Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions (I didn't want to delete code without review) and unused variables in generated code. Maintainers should clean up the remaining issues when they see them. All changes pass DejaGnu tests and Olden. llvm-svn: 31380
* For PR950:Reid Spencer2006-11-021-3/+9
| | | | | | Replace the REM instruction with UREM, SREM and FREM. llvm-svn: 31369
* Forgot a }Bill Wendling2006-10-271-0/+1
| | | | llvm-svn: 31226
* Re-added the part where it tries to remove all global variables first.Bill Wendling2006-10-271-12/+37
| | | | llvm-svn: 31225
* Save temp. bc files when saveTemps flag is true. Use final output fileDevang Patel2006-10-261-11/+24
| | | | | | | | name supplied by linker to construct temp bc file names. Remove tabs. llvm-svn: 31205
* For PR950:Reid Spencer2006-10-261-3/+9
| | | | | | | | Make necessary changes to support DIV -> [SUF]Div. This changes llvm to have three division instructions: signed, unsigned, floating point. The bytecode and assembler are bacwards compatible, however. llvm-svn: 31195
* Fix for PR960. Improves bugpoint so that it removes global variableBill Wendling2006-10-253-23/+110
| | | | | | | initializers as well. This is only a first pass. It can be slow because it clones the module for each pass. An obvious improvement is not to do that. llvm-svn: 31182
* Supply alignment info to linker through LLVMSymbol.Devang Patel2006-10-251-6/+12
| | | | llvm-svn: 31181
* Instead of hard coding global prefix, use TargetAsmInfo.Devang Patel2006-10-241-31/+55
| | | | | | Add LTO destructor. llvm-svn: 31168
* Fix typo. Add more comment. Avoid extra hash_map search.Devang Patel2006-10-231-6/+8
| | | | llvm-svn: 31144
* Add removeModule().Devang Patel2006-10-231-0/+12
| | | | llvm-svn: 31142
* For PR950:Reid Spencer2006-10-202-9/+8
| | | | | | | | This patch implements the first increment for the Signless Types feature. All changes pertain to removing the ConstantSInt and ConstantUInt classes in favor of just using ConstantInt. llvm-svn: 31063
* Make the bugpoint reduction heuristics more effective. Patch submitted byChris Lattner2006-10-101-2/+58
| | | | | | Domagoj Babic, thanks! llvm-svn: 30863
* Use FindProgramByName instead of FindExecutable.Devang Patel2006-10-091-1/+1
| | | | llvm-svn: 30846
* Do error checking.Devang Patel2006-10-091-1/+8
| | | | llvm-svn: 30842
* Remove a dead var noticed by YorionChris Lattner2006-10-091-1/+0
| | | | llvm-svn: 30841
* Use GetTemporaryDirectory. Fix http://llvm.org/bugs/show_bug.cgi?id=894Devang Patel2006-10-091-2/+15
| | | | llvm-svn: 30838
* simplify codeChris Lattner2006-09-281-2/+1
| | | | llvm-svn: 30661
* Enable 'predsimplify' optimization.Nick Lewycky2006-09-242-0/+2
| | | | llvm-svn: 30589
* Use abstract class to facilitate dlopen() interface.Devang Patel2006-09-211-5/+5
| | | | llvm-svn: 30569
* comment out debug codeChris Lattner2006-09-151-6/+6
| | | | llvm-svn: 30401
* Add a new -cbe-bug mode, which works just like -run-llc, except that it usesChris Lattner2006-09-154-41/+61
| | | | | | LLC as the reference compiler to reduce testcases for bugs in GCC. llvm-svn: 30400
* Adding dllimport, dllexport and external weak linkage types.Anton Korobeynikov2006-09-141-0/+6
| | | | | | | | | DLL* linkages got full (I hope) codegeneration support in C & both x86 assembler backends. External weak linkage added for future use, we don't provide any codegeneration, etc. support for it. llvm-svn: 30374
* add a new (hidden) -disable-core-files optionChris Lattner2006-09-141-0/+9
| | | | llvm-svn: 30318
* Add comment.Devang Patel2006-09-141-0/+3
| | | | llvm-svn: 30315
* Fix --enable-valgrind. Add room for the new arguments, and don't keepNick Lewycky2006-09-141-3/+4
| | | | | | a pointer to a temporary. llvm-svn: 30312
* Add --enable-valgrind option to run optimizations through valgrind toNick Lewycky2006-09-141-3/+16
| | | | | | pick up on memory errors. llvm-svn: 30311
* GlobalValue with InternalLinkage may have operands with ExternalLinkageDevang Patel2006-09-141-1/+1
| | | | | | type. Do not ignore these operands while finding external references. llvm-svn: 30310
* Move ipsccp pass earlier to clean up obvious bogositiesChris Lattner2006-09-091-3/+5
| | | | llvm-svn: 30232
* ok this really works :)Chris Lattner2006-09-081-1/+2
| | | | llvm-svn: 30195
* Remove redundant include.Devang Patel2006-09-081-1/+0
| | | | llvm-svn: 30194
* Need to include Makefile.config to get the value of $(OS). Add a comment.Chris Lattner2006-09-081-0/+4
| | | | llvm-svn: 30193
* Enabling LTO building on Darwin only right now. This probably should beAnton Korobeynikov2006-09-081-2/+4
| | | | | | removed after 'PIC vs non-PIC' problem solution llvm-svn: 30192
OpenPOWER on IntegriCloud