summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint
Commit message (Collapse)AuthorAgeFilesLines
...
* Move the space in overview output for commands out of each of theDan Gohman2007-10-081-1/+1
| | | | | | commands and into the common code. llvm-svn: 42752
* New CallInst interface to address GLIBCXX_DEBUG errors caused byDavid Greene2007-08-011-5/+5
| | | | | | | | indexing an empty std::vector. Updates to all clients. llvm-svn: 40660
* Pretty straightforward replacement of "bytecode" by "bitcode"Gabor Greif2007-07-049-136/+136
| | | | | | performed on tools/ first, in order not to cause lethal damage llvm-svn: 37877
* Fix bugpoint to run -llc-safe with -Xlinker.Lauro Ramos Venancio2007-06-062-1/+3
| | | | llvm-svn: 37483
* use the new MemoryBuffer interfaces to simplify error reporting in clients.Chris Lattner2007-05-061-4/+5
| | | | llvm-svn: 36900
* Fix a buggy conversion from bytecode to bitcodeChris Lattner2007-05-061-1/+1
| | | | llvm-svn: 36883
* switch tools to bitcode from bytecodeChris Lattner2007-05-063-28/+11
| | | | llvm-svn: 36872
* add bitcode supportChris Lattner2007-05-064-4/+18
| | | | llvm-svn: 36849
* Added -rsh-host and -rsh-user to support remote execution.Evan Cheng2007-05-032-6/+44
| | | | llvm-svn: 36685
* Drop 'const'Devang Patel2007-05-032-6/+6
| | | | llvm-svn: 36662
* Use 'static const char' instead of 'static const int'.Devang Patel2007-05-022-6/+6
| | | | | | | Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. llvm-svn: 36652
* Do not use typeinfo to identify pass in pass manager.Devang Patel2007-05-012-1/+15
| | | | llvm-svn: 36632
* remove use of deprecated apisChris Lattner2007-02-191-2/+1
| | | | llvm-svn: 34418
* Add possibility to set memory limit for binaries run via libSystem. ThisAnton Korobeynikov2007-02-167-25/+46
| | | | | | is especially needed for bugpoint. This partly implements PR688 llvm-svn: 34349
* eliminate use of vector-related ctorsChris Lattner2007-02-131-4/+7
| | | | llvm-svn: 34226
* push bytecode decompressor out through APIs. Now the bytecode readerChris Lattner2007-02-071-1/+3
| | | | | | | | | | | | | | | | | | | | api's look like this: ModuleProvider *getBytecodeModuleProvider( const std::string &Filename, ///< Name of file to be read BCDecompressor_t *BCDC = Compressor::decompressToNewBuffer, std::string* ErrMsg = 0, ///< Optional error message holder BytecodeHandler* H = 0 ///< Optional handler for reader events ); This is ugly, but allows a client to say: getBytecodeModuleProvider("foo", 0); If they do this, there is no dependency on the compression libraries, saving codesize. llvm-svn: 34012
* For PR411:Reid Spencer2007-02-052-3/+3
| | | | | | | | Adjust to changes in Module interface: getMainFunction() -> getFunction("main") getNamedFunction(X) -> getFunction(X) llvm-svn: 33922
* For PR411:Reid Spencer2007-02-053-17/+21
| | | | | | | | | | This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be unique. The patch addresses the necessary changes to deal with this and removes code no longer needed as a result. This completes the bulk of the changes for this PR. Some cleanup patches will follow. llvm-svn: 33918
* For PR1072:Reid Spencer2007-02-031-1/+1
| | | | | | | Removing -raise has neglible positive or negative side effects so we are opting to remove it. See the PR for comparison details. llvm-svn: 33844
* For PR1136: Rename GlobalVariable::isExternal as isDeclaration to avoidReid Spencer2007-01-303-12/+12
| | | | | | confusion with external linkage types. llvm-svn: 33663
* default to emiting an uncompressed .bc fileChris Lattner2007-01-211-1/+1
| | | | llvm-svn: 33420
* relax typeChris Lattner2007-01-071-1/+1
| | | | llvm-svn: 32990
* For PR411:Reid Spencer2007-01-061-1/+1
| | | | | | | | | Take an incremental step towards type plane elimination. This change separates types from values in the symbol tables by finally making use of the TypeSymbolTable class. This yields more natural interfaces for dealing with types and unclutters the SymbolTable class. llvm-svn: 32956
* A bit more debugging printf's.Evan Cheng2007-01-031-0/+10
| | | | llvm-svn: 32832
* For PR950:Reid Spencer2006-12-312-4/+4
| | | | | | Convert signed integer types to signless. llvm-svn: 32790
* For PR950:Reid Spencer2006-12-231-2/+2
| | | | | | | | This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The SetCondInst instruction has been removed and been replaced with ICmpInst and FCmpInst. llvm-svn: 32751
* Remove DSA.John Criswell2006-12-131-1/+1
| | | | llvm-svn: 32542
* Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, areBill Wendling2006-12-071-26/+25
| | | | | | now cerr, cout, and NullStream resp. llvm-svn: 32298
* make all llvm tools call llvm_shutdown when they exit, static'ify some stuff.Chris Lattner2006-12-061-0/+2
| | | | | | With this change, I can now move -stats to print when llvm_shutdown is called. llvm-svn: 32250
* Replacing std::iostreams with llvm iostreams. Some of these changes involveBill Wendling2006-11-291-21/+25
| | | | | | | 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
* 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-272-4/+4
| | | | | | | | | | 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
* Need <iostream> for the time being.Bill Wendling2006-11-171-0/+1
| | | | llvm-svn: 31821
* Minor style fixes from review.Reid Spencer2006-11-111-3/+2
| | | | llvm-svn: 31685
* Add a -disable-loop-extraction option to bugpoint.Reid Spencer2006-11-111-2/+9
| | | | llvm-svn: 31683
* 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
* Unbreak VC++ build.Jeff Cohen2006-11-051-1/+1
| | | | llvm-svn: 31464
* For PR786:Reid Spencer2006-11-022-2/+1
| | | | | | | | | | 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
* 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
* 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
* For PR950:Reid Spencer2006-10-201-3/+3
| | | | | | | | 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
* Remove a dead var noticed by YorionChris Lattner2006-10-091-1/+0
| | | | llvm-svn: 30841
* 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
* 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
* Change DisambiguateGlobalSymbols to not rename asm globals, which breaksChris Lattner2006-09-071-0/+1
| | | | | | bugpoint on leopard. llvm-svn: 30150
OpenPOWER on IntegriCloud