summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Remove autoconf supportChris Bieneman2016-01-261-17/+0
| | | | | | | | | | | | | | | | Summary: This patch is provided in preparation for removing autoconf on 1/26. The proposal to remove autoconf on 1/26 was discussed on the llvm-dev thread here: http://lists.llvm.org/pipermail/llvm-dev/2016-January/093875.html "I felt a great disturbance in the [build system], as if millions of [makefiles] suddenly cried out in terror and were suddenly silenced. I fear something [amazing] has happened." - Obi Wan Kenobi Reviewers: chandlerc, grosbach, bob.wilson, tstellarAMD, echristo, whitequark Subscribers: chfast, simoncook, emaste, jholewinski, tberghammer, jfb, danalbert, srhines, arsenm, dschuff, jyknight, dsanders, joker.eph, llvm-commits Differential Revision: http://reviews.llvm.org/D16471 llvm-svn: 258861
* LibDriver, llvm-lib: introduce.Peter Collingbourne2015-06-091-1/+1
| | | | | | | | | | llvm-lib is intended to be a lib.exe compatible utility that also understands bitcode. The implementation lives in a library so that lld can use it to implement /lib. Differential Revision: http://reviews.llvm.org/D10297 llvm-svn: 239434
* [PM] Create a separate library for high-level pass management code.Chandler Carruth2015-03-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will provide the analogous replacements for the PassManagerBuilder and other code long term. This code is extracted from the opt tool currently, and I plan to extend it as I build up support for using the new pass manager in Clang and other places. Mailing this out for review in part to let folks comment on the terrible names here. A brief word about why I chose the names I did. The library is called "Passes" to try and make it clear that it is a high-level utility and where *all* of the passes come together and are registered in a common library. I didn't want it to be *limited* to a registry though, the registry is just one component. The class is a "PassBuilder" but this name I'm less happy with. It doesn't build passes in any traditional sense and isn't a Builder-style API at all. The class is a PassRegisterer or PassAdder, but neither of those really make a lot of sense. This class is responsible for constructing passes for registry in an analysis manager or for population of a pass pipeline. If anyone has a better name, I would love to hear it. The other candidate I looked at was PassRegistrar, but that doesn't really fit either. There is no register of all the passes in use, and so I think continuing the "registry" analog outside of the registry of pass *names* and *types* is a mistake. The objects themselves are just objects with the new pass manager. Differential Revision: http://reviews.llvm.org/D8054 llvm-svn: 231556
* Move DebugInfo to DebugInfo/DWARF.Zachary Turner2015-01-301-2/+2
| | | | | | | | | | | | | In preparation for adding PDB support to LLVM, this moves the DWARF parsing code to its own subdirectory under DebugInfo, and renames LLVMDebugInfo to LLVMDebugInfoDWARF. This is purely a mechanical / build system change. Differential Revision: http://reviews.llvm.org/D7269 Reviewed by: Eric Christopher llvm-svn: 227586
* ProfileData: Introduce the InstrProfReader interface and a text readerJustin Bogner2014-03-211-1/+1
| | | | | | | | | | This introduces the ProfileData library and updates llvm-profdata to use this library for reading profiles. InstrProfReader is an abstract base class that will be subclassed for both the raw instrprof data from compiler-rt and the efficient instrprof format that will be used for PGO. llvm-svn: 204482
* Back out Profile library and dependent commitsJustin Bogner2014-03-121-1/+1
| | | | | | | | | Chandler voiced some concern with checking this in without some discussion first. Reverting for now. This reverts r203703, r203704, r203708, and 203709. llvm-svn: 203723
* Profile: Add a library for the instrumentation based profiling formatJustin Bogner2014-03-121-1/+1
| | | | | | | | | | | This provides a library to work with the instrumentation based profiling format that is used by clang's -fprofile-instr-* options and by the llvm-profdata tool. This is a binary format, rather than the textual one that's currently in use. The tests are in the subsequent commits that use this. llvm-svn: 203703
* Introduce line editor library.Peter Collingbourne2014-01-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This library will be used by clang-query. I can imagine LLDB becoming another client of this library, so I think LLVM is a sensible place for it to live. It wraps libedit, and adds tab completion support. The code is loosely based on the line editor bits in LLDB, with a few improvements: - Polymorphism for retrieving the list of tab completions, based on the concept pattern from the new pass manager. - Tab completion doesn't corrupt terminal output if the input covers multiple lines. Unfortunately this can only be done in a truly horrible way, as far as I can tell. But since the alternative is to implement our own line editor (which I don't think LLVM should be in the business of doing, at least for now) I think it may be acceptable. - Includes a fallback for the case where the user doesn't have libedit installed. Note that this uses C stdio, mainly because libedit also uses C stdio. Differential Revision: http://llvm-reviews.chandlerc.com/D2200 llvm-svn: 200595
* Reformat Makefile. No other changes.Bill Wendling2013-10-301-4/+3
| | | | llvm-svn: 193675
* Move LTO support library to a component, allowing it to be testedPeter Collingbourne2013-09-241-1/+1
| | | | | | more reliably across platforms. Patch by Tom Roeder! llvm-svn: 191343
* Move lib/Archive to tools/llvm-ar.Rafael Espindola2013-06-171-1/+1
| | | | | | | llvm-ar is the only tool that needs to write archive files. Every other tool should be able to use the lib/Object interface. llvm-svn: 184083
* Split out the IRReader header and the utility functions it provides intoChandler Carruth2013-03-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | its own library. These functions are bridging between the bitcode reader and the ll parser which are in different libraries. Previously we didn't have any good library to do this, and instead played fast and loose with a "header only" set of interfaces in the Support library. This really doesn't work well as evidenced by the recent attempt to add timing logic to the these routines. As part of this, make them normal functions rather than weird inline functions, and sink the implementation into the library. Also clean up the header to be nice and minimal. This requires updating lots of build system dependencies to specify that the IRReader library is needed, and several source files to not implicitly rely upon the header file to transitively include all manner of other headers. If you are using IRReader.h, this commit will break you (the header moved) and you'll need to also update your library usage to include 'irreader'. I will commit the corresponding change to Clang momentarily. llvm-svn: 177971
* Rename VMCore directory to IR.Chandler Carruth2013-01-021-1/+1
| | | | | | | | | | | | | | | | | | Aside from moving the actual files, this patch only updates the build system and the source file comments under lib/... that are relevant. I'll be updating other docs and other files in smaller subsequnet commits. While I've tried to test this, but it is entirely possible that there will still be some build system fallout. Also, note that I've not changed the library name itself: libLLVMCore.a is still the library name. I'd be interested in others' opinions about whether we should rename this as well (I think we should, just not sure what it might break) llvm-svn: 171359
* Copy clang/Driver/<Option parsing stuff> to llvm.Michael J. Spencer2012-12-051-1/+1
| | | | llvm-svn: 169344
* Remove more of llvmc and dependencies.Eric Christopher2011-09-201-1/+1
| | | | llvm-svn: 140121
* Sketch out a DWARF parser.Benjamin Kramer2011-09-131-1/+1
| | | | | | | | | | This introduces a new library to LLVM: libDebugInfo. It will provide debug information parsing to LLVM. Much of the design and some of the code is taken from the LLDB project. It also contains an llvm-dwarfdump tool that can dump the abbrevs and DIEs from an object file. It can be used to write tests for DWARF input and output easily. llvm-svn: 139627
* Add LLVMObject Library.Michael J. Spencer2010-11-151-1/+1
| | | | llvm-svn: 119107
* remove llvm-db: it is completely broken and if anyone wants to do a debugger,Chris Lattner2009-10-051-1/+1
| | | | | | they should not base it on llvm-db (which not following almost any "best practices"). llvm-svn: 83288
* LLVMC doesn't need ENABLE_PIC to build now.Mikhail Glushenkov2009-07-041-7/+1
| | | | llvm-svn: 74783
* Don't build LLVMC when configured with --disable-pic (it needs requires sharedDaniel Dunbar2009-06-291-2/+10
| | | | | | module support to build). llvm-svn: 74456
* Start flushing out MCContext.Daniel Dunbar2009-06-231-1/+1
| | | | | | - Lives inside new library lib/MC (LLVMMC.a) llvm-svn: 74013
* Reorganize llvmc code.Mikhail Glushenkov2009-03-021-1/+1
| | | | | | | | | | Move the code from 'llvmc/driver' into a new CompilerDriver library, and change the build system accordingly. Makes it easier for projects using LLVM to build their own llvmc-based drivers. Tested with objdir != srcdir. llvm-svn: 65821
* Removed trailing whitespace from Makefiles.Misha Brukman2009-01-091-3/+3
| | | | llvm-svn: 61991
* remove attribution from lib Makefiles.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45415
* build lib/Archive instead of lib/BytecodeChris Lattner2007-05-061-1/+1
| | | | llvm-svn: 36887
* build the bitcode dirChris Lattner2007-04-221-2/+2
| | | | llvm-svn: 36332
* Changes to support making the shift instructions be true BinaryOperators.Reid Spencer2007-02-021-1/+1
| | | | | | | | | | | | This feature is needed in order to support shifts of more than 255 bits on large integer types. This changes the syntax for llvm assembly to make shl, ashr and lshr instructions look like a binary operator: shl i32 %X, 1 instead of shl i32 %X, i8 1 Additionally, this should help a few passes perform additional optimizations. llvm-svn: 33776
* Make some changes suggested by Chris:Reid Spencer2006-05-171-2/+2
| | | | | | | | | 1. Remove the LLVM_DO_NOT_BUILD feature (not needed any more) 2. Ensure that lib/VMCore gets built first. This needs to be done because VMCore now uses tblgen to generate the Intrinsics header which are needed in other libraries. In parallel builds, this can cause problems. llvm-svn: 28374
* Use DIRS here instead of PARALLEL_DIRS, as VMCore has to be built before theChris Lattner2006-05-171-2/+2
| | | | | | other dirs (for Intrinsics.gen). :( llvm-svn: 28372
* Add the Linker libraryReid Spencer2004-11-141-1/+1
| | | | llvm-svn: 17763
* Wrap long lineMisha Brukman2004-09-151-1/+2
| | | | llvm-svn: 16352
* CBackend is no longer hereChris Lattner2004-02-131-1/+1
| | | | llvm-svn: 11416
* Add new dirChris Lattner2004-01-051-1/+1
| | | | llvm-svn: 10686
* Added LLVM copyright notice to Makefiles.John Criswell2003-10-201-0/+8
| | | | llvm-svn: 9312
* Removed Support directory. It now lives in llvm/support/lib.John Criswell2003-09-291-1/+1
| | | | llvm-svn: 8739
* Add ExecutionEngine directory.Brian Gaeke2003-09-051-1/+1
| | | | llvm-svn: 8371
* Reoptimizer has moved to reopt cvs module.Brian Gaeke2003-08-211-2/+0
| | | | llvm-svn: 8018
* Merged in autoconf branch. This provides configuration via the autoconfJohn Criswell2003-06-301-1/+3
| | | | | | system. llvm-svn: 7014
* Compile sub-directories in parallel, because they don't have interdependenciesChris Lattner2002-09-181-1/+1
| | | | llvm-svn: 3808
* added Reoptimizer in Makefile DIRSAnand Shukla2002-08-271-1/+2
| | | | llvm-svn: 3515
* *** empty log message ***Sumant Kowshik2002-05-081-1/+1
| | | | llvm-svn: 2552
* Moved assembly writer library into its own top level directory.Chris Lattner2002-04-081-1/+1
| | | | llvm-svn: 2162
* Move stuff out of the Optimizations directories into the appropriate TransformsChris Lattner2002-01-211-1/+1
| | | | | | directories. Eliminate the opt namespace. llvm-svn: 1520
* Compile the transforms directoryChris Lattner2001-10-131-1/+1
| | | | llvm-svn: 776
* Move the sparc target to a new lib/Target directoryChris Lattner2001-09-141-1/+1
| | | | llvm-svn: 562
* Make sure we build all of the code!Chris Lattner2001-07-211-1/+1
| | | | llvm-svn: 254
* Moved LLC subdir to the tools top level directoryChris Lattner2001-07-211-1/+1
| | | | llvm-svn: 248
* Added CodeGen, LLC, and Support.Vikram S. Adve2001-07-211-1/+1
| | | | llvm-svn: 229
* Initial revisionChris Lattner2001-06-061-0/+5
llvm-svn: 2
OpenPOWER on IntegriCloud