summaryrefslogtreecommitdiffstats
path: root/llvm/tools
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Straighten out any triple strings passed on the command line beforeDuncan Sands2010-08-284-4/+6
| | | | | | they hit the rest of the system. llvm-svn: 112344
* Fix the msvs 2010 build.Michael J. Spencer2010-08-271-2/+8
| | | | | | | | | | | | | | The Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 implements parts of C++0x based on the draft standard. An old version of the draft had a bug that makes std::pair<T1*, T2*>(something, 0) fail to compile. This is because the template<class U, class V> pair(U&& x, V&& y) constructor is selected, even though it later fails to implicitly convert U and V to frist_type and second_type. This has been fixed in n3090, but it seems that Microsoft is not going to update msvc. llvm-svn: 112257
* Fix prototypes.Devang Patel2010-08-261-1/+1
| | | | llvm-svn: 112200
* Updated CMake library dependencies. Removed unnecessary component nameOscar Fuentes2010-08-261-1/+1
| | | | | | from llvm-link/CMakeLists.txt llvm-svn: 112153
* Rewrite ExtractGV, removing a bunch of stuff that didn't fully work,Dan Gohman2010-08-261-5/+1
| | | | | | and was over-complicated, and replacing it with a simple implementation. llvm-svn: 112120
* Convert llvm-extract to use lazy loading. This makes it substantiallyDan Gohman2010-08-251-1/+14
| | | | | | faster on large modules. llvm-svn: 112110
* lto_codegen_set_gcc_path was removed.Dan Gohman2010-08-251-1/+0
| | | | llvm-svn: 112069
* Fix a few missing entries in lto.exports.Dan Gohman2010-08-251-0/+3
| | | | llvm-svn: 112068
* Apparently this is needed for llvm-link to link.Eric Christopher2010-08-251-1/+1
| | | | | | Untested. llvm-svn: 112029
* - Add the LinkerPrivateWeakDefAutoLinkage to the Ada bindings.Bill Wendling2010-08-241-2/+5
| | | | | | - Support the LinkerWeak*Linkage types in llvm-nm and in LinkModules.cpp. llvm-svn: 111952
* Apply "Win32's Hybrid path separator in argv[0] should be accepted to bugpoint",Chris Lattner2010-08-241-10/+3
| | | | | | patch by NAKAMURA Takumi! llvm-svn: 111929
* Check in a couple of changes that I apparently never committed:John McCall2010-08-244-4/+36
| | | | | | | | | - teach DifferenceEngine to unify successors of calls and invokes in certain circumstances - basic blocks actually don't have their own numbering; did that change? - add llvm-diff to the Makefile and CMake build systems llvm-svn: 111909
* llvmc: Make syntax more consistent.Mikhail Glushenkov2010-08-234-90/+95
| | | | | | CompilationGraph and LanguageMap definitions do not use special syntax anymore. llvm-svn: 111862
* llvmc: Do not mention plugins in the code.Mikhail Glushenkov2010-08-231-1/+1
| | | | llvm-svn: 111826
* Convert tools to use tool_output_file, and introduce errorDan Gohman2010-08-206-24/+68
| | | | | | checking to places which previously lacked it. llvm-svn: 111651
OpenPOWER on IntegriCloud