summaryrefslogtreecommitdiffstats
path: root/llvm/tools
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix these error messages to not mention PATH in cases whereDan Gohman2010-10-291-6/+6
| | | | | | | PATH isn't actually searched, and to not mention the executable directory when it isn't actually searched. llvm-svn: 117657
* Delete this obsolete comment.Dan Gohman2010-10-291-4/+0
| | | | llvm-svn: 117655
* tools/llvm-shlib/Makefile: Support for FreeBSD and OpenBSD.NAKAMURA Takumi2010-10-281-1/+4
| | | | | | | | Thanks to Yuri Gribov and Vladimir Kirillov! *BSD(s) have environ(7) in CRT startup and cannot resolve "environ" at linking llvm.so. environ(7) is used inlib/System/Unix/Program.inc. llvm-svn: 117528
* llvm-mc: Teach -as-lex to print the raw token string as well.Daniel Dunbar2010-10-251-42/+49
| | | | llvm-svn: 117296
* Resurrect mcc16, it is useful as an example.Mikhail Glushenkov2010-10-236-1/+491
| | | | llvm-svn: 117198
* Syntax tweak in llvmc: (something [a,b,c]) -> (something a, b, c).Mikhail Glushenkov2010-10-233-51/+54
| | | | llvm-svn: 117196
* lli: On Cygwin-1.5, lli crashes at invoking destructors in atexit handler.NAKAMURA Takumi2010-10-221-0/+11
| | | | llvm-svn: 117095
* Record sysbols created by aliases. Fixes PR8414.Rafael Espindola2010-10-201-0/+9
| | | | llvm-svn: 116910
* Add RegionPass support.Tobias Grosser2010-10-201-0/+38
| | | | | | | A RegionPass is executed like a LoopPass but on the regions detected by the RegionInfo pass instead of the loops detected by the LoopInfo pass. llvm-svn: 116905
* Get rid of static constructors for pass registration. Instead, every pass ↵Owen Anderson2010-10-193-0/+36
| | | | | | | | | | | | | | | | | exposes an initializeMyPassFunction(), which must be called in the pass's constructor. This function uses static dependency declarations to recursively initialize the pass's dependencies. Clients that only create passes through the createFooPass() APIs will require no changes. Clients that want to use the CommandLine options for passes will need to manually call the appropriate initialization functions in PassInitialization.h before parsing commandline arguments. I have tested this with all standard configurations of clang and llvm-gcc on Darwin. It is possible that there are problems with the static dependencies that will only be visible with non-standard options. If you encounter any crash in pass registration/creation, please send the testcase to me directly. llvm-svn: 116820
* Hack around incompatible pointer warnings.Benjamin Kramer2010-10-161-1/+5
| | | | llvm-svn: 116671
* lto: Respect LLVM_VERSION_INFO make variable, since setting CC arguments withDaniel Dunbar2010-10-151-0/+4
| | | | | | spaces gives tests fits and shell escaping is an art best left to jabberwockies. llvm-svn: 116632
* Forward -march correctly.Mikhail Glushenkov2010-10-141-5/+6
| | | | | | Also includes some cosmetic changes. llvm-svn: 116475
* Be more consistent in using ValueToValueMapTy.Rafael Espindola2010-10-134-14/+15
| | | | llvm-svn: 116387
* Per discussion with Sanjiv, remove the PIC16 target from mainline. When/ifChris Lattner2010-10-116-491/+1
| | | | | | | it comes back, it will be largely a rewrite, so keeping the old codebase in tree isn't helping anyone. llvm-svn: 116190
* This file needs ToolOutputFile.h too.Dan Gohman2010-10-071-0/+1
| | | | llvm-svn: 115976
* Move tool_output_file into its own file.Dan Gohman2010-10-0712-11/+12
| | | | llvm-svn: 115973
* Fix Whitespace.Michael J. Spencer2010-10-071-2/+2
| | | | llvm-svn: 115959
* Fix warnings on Windows.Michael J. Spencer2010-10-071-1/+1
| | | | llvm-svn: 115958
* Provide a fast "get me the target triple from the module" API. This canBill Wendling2010-10-061-9/+4
| | | | | | | | drastically reduce the linking time during LTO. Patch by Shantonu Sen! llvm-svn: 115728
* Stop the build if cyclic library dependecies found.Oscar Fuentes2010-10-021-1/+4
| | | | llvm-svn: 115405
* Convert a bunch of uses of 'bytecode' into 'bitcode'. ThisDuncan Sands2010-09-291-1/+1
| | | | | | is not everything, but the remaining cases are less trivial. llvm-svn: 115080
* Add a new scope type "LTO_SYMBOL_SCOPE_DEFAULT_CAN_BE_HIDDEN" for theBill Wendling2010-09-271-8/+8
| | | | | | "linker_private_weak_auto_def" linkage type for LTO. llvm-svn: 114868
* The "linker_private_weak*" linkages should set the LTO_SYMBOL_DEFINITION_WEAKBill Wendling2010-09-271-1/+3
| | | | | | during LTO. llvm-svn: 114850
* Push twines deeper into SourceMgr's error handling methods.Benjamin Kramer2010-09-271-0/+1
| | | | llvm-svn: 114847
* MC/Lexer: Add 'Real' token type for floating point literals.Daniel Dunbar2010-09-241-0/+3
| | | | llvm-svn: 114718
* Fix llvm-extract -delete's lazy loading to materialize the functions thatDan Gohman2010-09-231-7/+34
| | | | | | will not be deleted, rather than the ones that will. llvm-svn: 114614
* llvmc: Support '-emit-llvm -S' with -opt.Mikhail Glushenkov2010-09-221-7/+16
| | | | llvm-svn: 114541
* A more informative output suffix for the opt tool.Mikhail Glushenkov2010-09-221-1/+1
| | | | llvm-svn: 114540
* llvmc: split llvm_gcc_based into llvm_gcc_{pch,comp}_based.Mikhail Glushenkov2010-09-211-20/+26
| | | | llvm-svn: 114434
* llvmc: put linker options in a separate OptList.Mikhail Glushenkov2010-09-211-27/+65
| | | | llvm-svn: 114427
* llvm-mc: Teach -as-lex to print more token kinds.Daniel Dunbar2010-09-161-3/+13
| | | | llvm-svn: 114051
* Revert "CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally."Michael J. Spencer2010-09-1318-67/+65
| | | | | | | | | | This reverts commit r113632 Conflicts: cmake/modules/AddLLVM.cmake llvm-svn: 113819
* Use ParseIRFile to auto-detect LLVM Assembly automatically.Dan Gohman2010-09-131-26/+7
| | | | llvm-svn: 113765
* CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally.Michael J. Spencer2010-09-1018-65/+67
| | | | llvm-svn: 113632
* Don't build redundant libLLVMgold.a.NAKAMURA Takumi2010-09-101-1/+0
| | | | | | | Building archive would be executed due to definition of BUILD_ARCHIVE, even if BUILD_ARCHIVE = "0". llvm-svn: 113578
* Discard metadata produced by LLVM 2.7. The value enumeration it usedDan Gohman2010-09-091-0/+6
| | | | | | | | | | | | | is different from what the code now uses in a two ways: NamedMDNodes were considered Values and included in the numbering, and the function-local metadata counter wasn't reset between functions. The later problem breaks lazy deserialization, so instead of trying to emulate the old numbering, just drop the old metadata. The only in-tree use case is debug info with LTO, where the QOI loss is considered acceptable. llvm-svn: 113557
* Execute all Pass Printers even if -quiet is set.Tobias Grosser2010-09-081-19/+16
| | | | | | | | | | | | Follow the same logic in the LoopPass, ModulePass and CallGraphSCCPass printers, as it was already used in the BasicBlockPass and FunctionPass printers. This is more consistent. The other option would have been to completely disable dumping the analysis information. However, as this information is the only information printed if the -analysis flag is set, calling opt would not do anything at all. llvm-svn: 113360
* Include original pass name in the PassPrinter's name.Tobias Grosser2010-09-081-10/+36
| | | | llvm-svn: 113359
* cleanups: mark stuff static, only tagdecls should be in anon namespaces.Chris Lattner2010-09-051-20/+22
| | | | llvm-svn: 113120
* Quiesce warning about non-virtual d'tor in virtual class.Bill Wendling2010-09-031-2/+2
| | | | llvm-svn: 112991
* add a new "llvm-dis -show-annotations" option, which causes it to printChris Lattner2010-09-021-1/+31
| | | | | | #uses comments, with a testcase. llvm-svn: 112906
* lets get crazy and name the header file the exact class name,Chris Lattner2010-09-021-1/+1
| | | | | | not a scrunched version of it. llvm-svn: 112904
* AsmPrinter has a formatted stream, pass it down through AsmAnnotationWriterChris Lattner2010-09-021-4/+7
| | | | llvm-svn: 112903
* llvmc: .dylib support.Mikhail Glushenkov2010-09-021-1/+2
| | | | llvm-svn: 112818
* Fix compile errors.Nick Lewycky2010-09-021-4/+4
| | | | llvm-svn: 112808
* Make tool_output_file's raw_ostream instance a member variable insteadDan Gohman2010-09-0113-113/+118
| | | | | | | | | | of a base class. This makes it possible to unregister the file from FilesToRemove when the file is done. Also, this eliminates the need for formatted_tool_output_file. llvm-svn: 112706
* Cleanup Whitespace.Michael J. Spencer2010-08-311-4/+4
| | | | llvm-svn: 112587
* Fix llc to run the verifier once, not twice.Dan Gohman2010-08-301-13/+1
| | | | llvm-svn: 112532
* tidy upChris Lattner2010-08-281-1/+2
| | | | llvm-svn: 112385
OpenPOWER on IntegriCloud