aboutsummaryrefslogtreecommitdiffstats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* Add new keywords to the vim syntax highlighting.Dan Gohman2009-07-221-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76812 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new optimization keywords to the polygen grammar.Dan Gohman2009-07-221-2/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76811 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of the Pass+Context magic.Owen Anderson2009-07-221-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76702 91177308-0d34-0410-b5e6-96231b3b80d8
* Make a bunch of changes suggested by Chris and others to improveDavid Greene2009-07-211-78/+146
| | | | | | | efficiency. Fix a few formatting bugs along the way. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76601 91177308-0d34-0410-b5e6-96231b3b80d8
* Use string comparison instead of numeric comparison when comparing digests.Ted Kremenek2009-07-211-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76594 91177308-0d34-0410-b5e6-96231b3b80d8
* Re-apply 75490, 75806 and 76177 with fixes and tests. Efficiency comesDavid Greene2009-07-201-16/+140
| | | | | | | next. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76486 91177308-0d34-0410-b5e6-96231b3b80d8
* Restore AsmWriterEmitter.cpp back to 74742. The recent changes broke Thumb.Evan Cheng2009-07-201-16/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76398 91177308-0d34-0410-b5e6-96231b3b80d8
* Require a remote command to exit with the exit status of the test program or ↵Viktor Kutuzov2009-07-181-12/+9
| | | | | | with 255 if an error occurred. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76323 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert 76177 for now. It's messing up ARM asm printing. Also this ↵Evan Cheng2009-07-181-123/+12
| | | | | | significant debate about its efficiency. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76279 91177308-0d34-0410-b5e6-96231b3b80d8
* tblgen/AsmMatcher: Emit simple matcher for register names.Daniel Dunbar2009-07-171-3/+30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76212 91177308-0d34-0410-b5e6-96231b3b80d8
* Add logic to align instruction operands to columns for pretty-printing.David Greene2009-07-171-12/+123
| | | | | | | | No target uses this currently. This patch only adds the mechanism so that local installations can choose to enable this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76177 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the private keyword to the polygen grammar.Dan Gohman2009-07-171-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76135 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the private keyword to the VIM syntax highlighting.Dan Gohman2009-07-171-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76134 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new flags '-test-cflags' and '-test-cxxflags' to pass in flags directly ↵Bill Wendling2009-07-161-2/+12
| | | | | | to the llvm testsuite. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76122 91177308-0d34-0410-b5e6-96231b3b80d8
* In an Apple-style build, compile with llvm-gcc/llvm-g++ if available.Stuart Hastings2009-07-161-2/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76080 91177308-0d34-0410-b5e6-96231b3b80d8
* Update llvm{do,grep} to also search cmake / .cmake filesDaniel Dunbar2009-07-162-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75867 91177308-0d34-0410-b5e6-96231b3b80d8
* Add script 'UpdateCMakeLists.pl'. This script can be used (manually) to updateTed Kremenek2009-07-151-0/+118
| | | | | | | | | | | | the list of files in the CMakeLists.txt files. It works by scanning (starting from the working directory from which it is run) all subdirectories containing CMakeLists.txt files. It then updates the list of C and C++ files in the 'add_llvm_library' and 'add_clang_library' lists. Sources file lists are emitted in lexical order. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75833 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of postInstructionAction and call EmitComments directly.David Greene2009-07-151-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75806 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a Force option to raw_fd_ostream to specify whether openingDan Gohman2009-07-151-1/+2
| | | | | | | | | an existing file is considered an error. Convert several tools to use raw_fd_ostream instead of std::ostream, and to use this new option instead of doing a manual check. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75801 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the v3i32 and v3f32 value types: they are notDuncan Sands2009-07-151-2/+0
| | | | | | | native for any supported targets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75785 91177308-0d34-0410-b5e6-96231b3b80d8
* Helper script to use bugpoint with a remote target.Viktor Kutuzov2009-07-141-0/+108
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75669 91177308-0d34-0410-b5e6-96231b3b80d8
* Use http instead https for anonymous readonly check out.Evan Cheng2009-07-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75621 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert 75308.Bob Wilson2009-07-141-17/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75565 91177308-0d34-0410-b5e6-96231b3b80d8
* NewNightlyTest.pl - Add -configure-args option.Daniel Dunbar2009-07-131-0/+2
| | | | | | | - For adding arbitrary arguments to pass to configure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75535 91177308-0d34-0410-b5e6-96231b3b80d8
* NewNightlyTest.pl - Add -noremoveatend option.Daniel Dunbar2009-07-131-1/+2
| | | | | | | | | - Like -noremove, except the build directory is still purged prior to building but isn't removed at the end of the test run (so the build products can be examined if need be). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75527 91177308-0d34-0410-b5e6-96231b3b80d8
* Add infrastructure to allow post instruction printing action triggers.David Greene2009-07-131-7/+16
| | | | | | | | | | | | We'll eventually use this to print comments in asm files and do other fun things. This adds interfaces to the AsmPrinter and changes TableGen to invoke the postInstructionAction when appropriate. It also add parameters to TargetAsmInfo to control comment layout. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75490 91177308-0d34-0410-b5e6-96231b3b80d8
* Tweak comment.Daniel Dunbar2009-07-111-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75391 91177308-0d34-0410-b5e6-96231b3b80d8
* Update CMakeLists.txtDaniel Dunbar2009-07-111-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75389 91177308-0d34-0410-b5e6-96231b3b80d8
* Stub out assembly matcher (.s -> MCInst) tblgen backend.Daniel Dunbar2009-07-113-1/+64
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75378 91177308-0d34-0410-b5e6-96231b3b80d8
* improve filecheck's "scanning from here" caret position.Chris Lattner2009-07-111-0/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75371 91177308-0d34-0410-b5e6-96231b3b80d8
* make filecheck default to canonicalizing horizontal whitespaceChris Lattner2009-07-111-0/+66
| | | | | | | away. This way you can write a space and it matches arbitrary spaces and tabs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75370 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new vector types for 192-bit, 348-bit and 512-bit sizes.Bob Wilson2009-07-101-2/+17
| | | | | | | | These are needed to represent ARM Neon struct datatypes containing 2, 3 or 4 separate vectors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75308 91177308-0d34-0410-b5e6-96231b3b80d8
* Refactor TableGen's llvm::getName to share code with llvm::getEnumName,Bob Wilson2009-07-101-41/+4
| | | | | | | since names are the same for almost all the types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75302 91177308-0d34-0410-b5e6-96231b3b80d8
* Thread LLVMContext through MVT and related parts of SDISel.Owen Anderson2009-07-091-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75153 91177308-0d34-0410-b5e6-96231b3b80d8
* * Install crosstool in /usr/local/crosstoolMisha Brukman2009-07-091-18/+8
| | | | | | | | | | * Updated LLVM and LLVM-GCC to newer revisions * Allow separate revisions per SVN module * Allow user to override MAKE_OPTS * Removed unused function verifyNotDir() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75134 91177308-0d34-0410-b5e6-96231b3b80d8
* stop on the first file mismatch.Chris Lattner2009-07-091-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75076 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert more abort() calls to llvm_report_error().Torok Edwin2009-07-082-10/+11
| | | | | | | Also remove trailing semicolon. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75027 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new little "FileCheck" utility for regression testing.Chris Lattner2009-07-085-8/+211
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75022 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the vicmp and vfcmp instructions. Because we never had a release withNick Lewycky2009-07-081-4/+0
| | | | | | | | these instructions, no autoupgrade or backwards compatibility support is provided. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74991 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an 'init' option property.Mikhail Glushenkov2009-07-071-2/+23
| | | | | | | Makes possible to provide default values for options defined in plugins (same as cl::init). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74905 91177308-0d34-0410-b5e6-96231b3b80d8
* Refactoring.Mikhail Glushenkov2009-07-071-18/+28
| | | | | | | Make isList(), isSwitch() and isParameter() member functions of OptionDescription. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74904 91177308-0d34-0410-b5e6-96231b3b80d8
* Comment fix.Mikhail Glushenkov2009-07-071-3/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74903 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new ValueType for metadata.Devang Patel2009-07-062-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74882 91177308-0d34-0410-b5e6-96231b3b80d8
* * Allow skipping parts of the installation to be able to do it in parts if oneMisha Brukman2009-07-061-10/+17
| | | | | | | | | | phase fails and the user wants to reinstall one of the components. * Fixed LLVM-GCC configuration flags: s/--with-gnu-{as,ld}/--with-{as,ld}/ The former is a boolean flag, the latter is a flag that takes a path. * Added a new flag CROSS_MARCH, defaults to armv6. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74840 91177308-0d34-0410-b5e6-96231b3b80d8
* Replace std::iostreams with raw_ostream in TableGen.Daniel Dunbar2009-07-0336-266/+257
| | | | | | | | | - Sorry, I can't help myself. - No intended functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74742 91177308-0d34-0410-b5e6-96231b3b80d8
* NewNightlyTest: Include minutes/seconds in log file names, to support runningDaniel Dunbar2009-07-011-3/+1
| | | | | | | | | multiple runs per day (insane, I know). Also, remove some unused variables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74605 91177308-0d34-0410-b5e6-96231b3b80d8
* Added step-by-step directions on how to use the script to build and install anMisha Brukman2009-07-011-0/+37
| | | | | | | x86_64/Linux -> ARM/Linux crosstool. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74603 91177308-0d34-0410-b5e6-96231b3b80d8
* improve the APIs for creating struct and function types with no ↵Chris Lattner2009-07-011-1/+1
| | | | | | | | | arguments/elements to not have to create a temporary vector (in the API at least). Patch by Jay Foad! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74584 91177308-0d34-0410-b5e6-96231b3b80d8
* Normalize SourceMgr messages.Daniel Dunbar2009-06-302-3/+3
| | | | | | | | | | | | | - Don't print "Parsing" in front of every message. - Take additional "type" argument which is prepended to the message (with ": ") if given. - Update clients to print errors (warnings) as: <filename>:<line number>: error(warning): ... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74489 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove commented code.David Greene2009-06-291-15/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74471 91177308-0d34-0410-b5e6-96231b3b80d8