aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a --check-graph option to llvmc.Mikhail Glushenkov2009-01-093-4/+155
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61989 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: replace `rm' with portable invocations of cmake.Oscar Fuentes2009-01-071-4/+4
| | | | | | | Based on a bug report by Yonggang Luo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61875 91177308-0d34-0410-b5e6-96231b3b80d8
* make llvm-ld smart enough to link against native libraries that are Chris Lattner2009-01-051-2/+18
| | | | | | | | not in system library directories by checking -L paths as well. Patch by Axel Naumann! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61730 91177308-0d34-0410-b5e6-96231b3b80d8
* Setting BUILD_ARCHIVE to 0 has the same effect as defining it to 1.Bill Wendling2009-01-031-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61599 91177308-0d34-0410-b5e6-96231b3b80d8
* Reimplement the old and horrible bison parser for .ll files with a niceChris Lattner2009-01-022-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and clean recursive descent parser. This change has a couple of ramifications: 1. The parser code is about 400 lines shorter (in what we maintain, not including what is autogenerated). 2. The code should be significantly faster than the old code because we don't have to work around bison's poor handling of datatypes with ctors/dtors. This also makes the code much more resistant to memory leaks. 3. We now get caret diagnostics from the .ll parser, woo. 4. The actual diagnostics emited from the parser are completely different so a bunch of testcases had to be updated. 5. I now disallow "%ty = type opaque %ty = type i32". There was no good reason to support this, it was just an accident of the old implementation. I have no reason to think that anyone is actually using this. 6. The syntax for sticking a global variable has changed to make it unambiguous. I don't think anyone is depending on this since only clang supports this and it is not solid yet, so I'm not worried about anything breaking. 7. This gets rid of the last use of bison, and along with it the .cvs files. I'll prune this from the makefiles as a subsequent commit. There are a few minor cleanups that can be done after this commit (suggestions welcome!) but this passes dejagnu testing and is ready for its time in the limelight. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61558 91177308-0d34-0410-b5e6-96231b3b80d8
* Add spacing between type and variable name.Misha Brukman2008-12-311-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61530 91177308-0d34-0410-b5e6-96231b3b80d8
* Comment headers should extend to 80 chars.Misha Brukman2008-12-311-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61529 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix spacing to be uniform for parameters.Misha Brukman2008-12-311-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61528 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename AddReadAttrs to FunctionAttrs, and teach it howDuncan Sands2008-12-311-2/+2
| | | | | | | | | to work out (in a very simplistic way) which function arguments (pointer arguments only) are only dereferenced and so do not escape. Mark such arguments 'nocapture'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61525 91177308-0d34-0410-b5e6-96231b3b80d8
* Some enhancements for the 'case' expression.Mikhail Glushenkov2008-12-171-1/+8
| | | | | | Add (error) and (empty). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61117 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a comment to the auto-generated docs.Mikhail Glushenkov2008-12-132-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60985 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge llvm-rst.css and llvm.css.Mikhail Glushenkov2008-12-132-102/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60984 91177308-0d34-0410-b5e6-96231b3b80d8
* Some more documentation tweaks.Mikhail Glushenkov2008-12-131-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60970 91177308-0d34-0410-b5e6-96231b3b80d8
* More cosmetic tweaks for llvmc docs.Mikhail Glushenkov2008-12-134-43/+64
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60969 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix W3C validator errors.Mikhail Glushenkov2008-12-111-5/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60912 91177308-0d34-0410-b5e6-96231b3b80d8
* Use correct file for the llvmc tutorial.Mikhail Glushenkov2008-12-111-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60910 91177308-0d34-0410-b5e6-96231b3b80d8
* Update the auto-generated llvmc documentation.Mikhail Glushenkov2008-12-115-17/+45
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60909 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a '-Wo,' option that passes options to opt.Mikhail Glushenkov2008-12-111-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60902 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge Base.td and Tools.td.Mikhail Glushenkov2008-12-112-5/+138
| | | | | | | | This stuff is not used outside Base.td, and with the conversion of the compilation graph to string-based format became much less (if at all) useful. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60873 91177308-0d34-0410-b5e6-96231b3b80d8
* Support -emit-llvm properly (with -S and -c).Mikhail Glushenkov2008-12-091-5/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60764 91177308-0d34-0410-b5e6-96231b3b80d8
* Generalize bugpoint's concept of a "safe" backend, and add optionsDan Gohman2008-12-084-59/+123
| | | | | | | | | | | | | | | to allow the "safe" backend to be run with a different path, and/or with different command-line options. This enables the following use cases: - bugpoint llc against an llc command from a different build - bugpoint llc against the same llc with different command-line options - and more... Also, document the existing "custom" interpreter options. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60681 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Added Tool.cpp to tools/llvmc/driver.Oscar Fuentes2008-12-071-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60670 91177308-0d34-0410-b5e6-96231b3b80d8
* Describe recent changes in the documentation.Mikhail Glushenkov2008-12-071-173/+243
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60668 91177308-0d34-0410-b5e6-96231b3b80d8
* Make 'extern' an option property.Mikhail Glushenkov2008-12-071-11/+11
| | | | | | Makes (forward) work better. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60667 91177308-0d34-0410-b5e6-96231b3b80d8
* Plugin updates: support more options.Mikhail Glushenkov2008-12-071-22/+57
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60666 91177308-0d34-0410-b5e6-96231b3b80d8
* Join tools couldn't be used in the middle of the toolchain.Mikhail Glushenkov2008-12-071-5/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60665 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable the Clang plugin by default.Mikhail Glushenkov2008-12-071-1/+1
| | | | | | | This will eventually replace `ccc`. The command `llvmc -clang` now uses the Clang toolchain instead of `llvm-gcc`. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60661 91177308-0d34-0410-b5e6-96231b3b80d8
* Update plugins to use (actions).Mikhail Glushenkov2008-12-072-9/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60660 91177308-0d34-0410-b5e6-96231b3b80d8
* Use (actions) instead of option properties, support external options.Mikhail Glushenkov2008-12-072-67/+89
| | | | | | | Also includes a major refactoring. See documentation for more information. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60656 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable LoopIndexSplit pass.Devang Patel2008-12-041-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60555 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove warning about declaration does not declare anything. This class wasNick Lewycky2008-11-301-1/+0
| | | | | | | already declared in the other headers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60261 91177308-0d34-0410-b5e6-96231b3b80d8
* Add protected visibility to libLTO.Nick Lewycky2008-11-291-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60257 91177308-0d34-0410-b5e6-96231b3b80d8
* Scrap some boilerplate.Mikhail Glushenkov2008-11-281-35/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60200 91177308-0d34-0410-b5e6-96231b3b80d8
* Add 'hidden' and 'really_hidden' option properties.Mikhail Glushenkov2008-11-281-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60198 91177308-0d34-0410-b5e6-96231b3b80d8
* Documentation: clarify what is meant by 'multiple edges'.Mikhail Glushenkov2008-11-281-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60197 91177308-0d34-0410-b5e6-96231b3b80d8
* Disallow multiple edges.Mikhail Glushenkov2008-11-262-3/+25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60127 91177308-0d34-0410-b5e6-96231b3b80d8
* Disable -loop-index-split for now.Devang Patel2008-11-261-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60087 91177308-0d34-0410-b5e6-96231b3b80d8
* Adjust indent.Zhongxing Xu2008-11-261-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60081 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: llvmc2 is now known as llvmc.Oscar Fuentes2008-11-252-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60052 91177308-0d34-0410-b5e6-96231b3b80d8
* Since the old llvmc was removed, rename llvmc2 to llvmc.Mikhail Glushenkov2008-11-2528-41/+44
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60048 91177308-0d34-0410-b5e6-96231b3b80d8
* docs: Add author info + fix incorrect code example.Mikhail Glushenkov2008-11-252-5/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60046 91177308-0d34-0410-b5e6-96231b3b80d8
* Small documentation update.Mikhail Glushenkov2008-11-252-6/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60045 91177308-0d34-0410-b5e6-96231b3b80d8
* Document the plugin priority feature.Mikhail Glushenkov2008-11-251-12/+26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60044 91177308-0d34-0410-b5e6-96231b3b80d8
* ignore the -m elf_i386 directive used in the linux kernelAndrew Lenharth2008-11-191-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59642 91177308-0d34-0410-b5e6-96231b3b80d8
* Support dependencies between plugins by priority-sorting.Mikhail Glushenkov2008-11-171-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59449 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a layer of indirection to make plugins more flexible.Mikhail Glushenkov2008-11-175-44/+47
| | | | | | | Use strings instead of TableGen defs in the compilation graph definition. Makes it easier for the plugins to modify an existing graph. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59447 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Removed some cruft.Oscar Fuentes2008-11-151-8/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59376 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Recursively invokes cmake using the right directories.Oscar Fuentes2008-11-151-1/+1
| | | | | | | | | | LLVM_MAIN_SRC_DIR and LLVM_BINARY_DIR are not the cmake top level directories when LLVM is embedded on the build of other project. Fixes PR #3072. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59374 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Remove unused tablegenning code from tools/llvmc2/driver.Oscar Fuentes2008-11-141-22/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59333 91177308-0d34-0410-b5e6-96231b3b80d8
* Add Binary flag to raw_fd_ostream constructor.Daniel Dunbar2008-11-132-3/+6
| | | | | | | Document raw_fd_ostream's treatment of "-". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59219 91177308-0d34-0410-b5e6-96231b3b80d8