Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | PathV2: Remove static StringRef ctors. | Benjamin Kramer | 2012-02-08 | 1 | -4/+4 |
| | | | | llvm-svn: 150071 | ||||
* | Correct use of const in ParseCommandLineOptions | David Blaikie | 2012-02-07 | 1 | -5/+5 |
| | | | | llvm-svn: 149999 | ||||
* | Convert assert(0) to llvm_unreachable | Craig Topper | 2012-02-07 | 2 | -4/+3 |
| | | | | llvm-svn: 149967 | ||||
* | Fix win32 build breakage from bitcode streaming patch | Derek Schuff | 2012-02-07 | 1 | -1/+4 |
| | | | | llvm-svn: 149941 | ||||
* | Fix comment-rulers. | Nick Lewycky | 2012-02-06 | 2 | -2/+2 |
| | | | | llvm-svn: 149922 | ||||
* | Enable streaming of bitcode | Derek Schuff | 2012-02-06 | 4 | -1/+236 |
| | | | | | | | This CL delays reading of function bodies from initial parse until materialization, allowing overlap of compilation with bitcode download. llvm-svn: 149918 | ||||
* | Introduce helpers to compute the 32-bit varaints and 64-bit variants of | Chandler Carruth | 2012-02-06 | 1 | -0/+74 |
| | | | | | | | some architectures. These are useful for interacting with multiarch or bi-arch GCC (or GCC-based) toolchains. llvm-svn: 149895 | ||||
* | fix typo | Sebastian Pop | 2012-02-06 | 1 | -1/+1 |
| | | | | llvm-svn: 149856 | ||||
* | Persuade GCC that there is nothing worth warning about here (there isn't). | Duncan Sands | 2012-02-05 | 1 | -1/+1 |
| | | | | llvm-svn: 149834 | ||||
* | Add new tag and an attribute to support debug info for objective-c property. | Devang Patel | 2012-02-03 | 1 | -0/+2 |
| | | | | llvm-svn: 149724 | ||||
* | Add Triple::getMacOSXVersion to replace crufty code in the clang driver. | Bob Wilson | 2012-01-31 | 1 | -0/+39 |
| | | | | | | | This new function provides a way to get the Mac OS X version number from either generic "darwin" triples of macosx triples. llvm-svn: 149438 | ||||
* | Add various coarse bit-width architecture predicates to llvm::Triple. | Chandler Carruth | 2012-01-31 | 1 | -0/+49 |
| | | | | | | | These are very useful for frontends and other utilities reasoning about or selecting between triples. llvm-svn: 149353 | ||||
* | Move Clang's file-level locking facility over to LLVM's support | Douglas Gregor | 2012-01-29 | 2 | -0/+217 |
| | | | | | | library, since it doesn't really have anything to do with Clang. llvm-svn: 149203 | ||||
* | Add r149110 back with a fix for when the vector and the int have the same | Rafael Espindola | 2012-01-27 | 1 | -0/+12 |
| | | | | | | width. llvm-svn: 149151 | ||||
* | Tidy up. s/Low Level Virtual Machine/LLVM/. | Jim Grosbach | 2012-01-25 | 1 | -1/+1 |
| | | | | | | LLVM isn't an acronym anymore. llvm-svn: 148985 | ||||
* | Remove dead default. | David Blaikie | 2012-01-23 | 1 | -1/+0 |
| | | | | llvm-svn: 148738 | ||||
* | More dead code removal (using -Wunreachable-code) | David Blaikie | 2012-01-20 | 1 | -4/+5 |
| | | | | llvm-svn: 148578 | ||||
* | Add support for the gnueabihf environment. Patch by Sylvestre Ledru. | Rafael Espindola | 2012-01-18 | 1 | -0/+3 |
| | | | | llvm-svn: 148434 | ||||
* | Removes template magic to build up containers. | Manuel Klimek | 2012-01-17 | 1 | -7/+82 |
| | | | | | | Instead, we now put the attributes of the container into members. llvm-svn: 148302 | ||||
* | Remove unreachable code. (replace with llvm_unreachable to help GCC where ↵ | David Blaikie | 2012-01-17 | 1 | -1/+8 |
| | | | | | | necessary) llvm-svn: 148284 | ||||
* | Removing unused default switch cases in switches over enums that already ↵ | David Blaikie | 2012-01-16 | 2 | -7/+0 |
| | | | | | | | | account for all enumeration values explicitly. (This time I believe I've checked all the -Wreturn-type warnings from GCC & added the couple of llvm_unreachables necessary to silence them. If I've missed any, I'll happily fix them as soon as I know about them) llvm-svn: 148262 | ||||
* | Remove SetWorkingDirectory from the Process interface. Nothing in LLVM | Chandler Carruth | 2012-01-15 | 2 | -8/+0 |
| | | | | | | | | | | | | or Clang is using this, and it would be hard to use it correctly given the thread hostility of the function. Also, it never checked the return which is rather dangerous with chdir. If someone was in fact using this, please let me know, as well as what the usecase actually is so that I can add it back and make it more correct and secure to use. (That said, it's never going to be "safe" per-se, but we could at least document the risks...) llvm-svn: 148211 | ||||
* | Remove dead code. | David Blaikie | 2012-01-15 | 2 | -140/+79 |
| | | | | llvm-svn: 148206 | ||||
* | Disable the crash reporter when running lit tests. | Argyrios Kyrtzidis | 2012-01-11 | 2 | -1/+21 |
| | | | | llvm-svn: 147965 | ||||
* | Teach the triple library about the androideabi environment. | Chandler Carruth | 2012-01-10 | 1 | -0/+3 |
| | | | | | | Patch by Evgeniy Stepanov. llvm-svn: 147871 | ||||
* | Add 'llvm_unreachable' to passify GCC's understanding of the constraints | Chandler Carruth | 2012-01-10 | 1 | -0/+1 |
| | | | | | | | | of several newly un-defaulted switches. This also helps optimizers (including LLVM's) recognize that every case is covered, and we should assume as much. llvm-svn: 147861 | ||||
* | Remove unnecessary default cases in switches that cover all enum values. | David Blaikie | 2012-01-10 | 1 | -3/+0 |
| | | | | llvm-svn: 147855 | ||||
* | Add definitions for AMD's bobcat (aka btver1) | Benjamin Kramer | 2012-01-10 | 1 | -0/+2 |
| | | | | llvm-svn: 147846 | ||||
* | revert r147542 after comments from Joerg Sonnenberger | Sebastian Pop | 2012-01-05 | 4 | -18/+7 |
| | | | | llvm-svn: 147608 | ||||
* | use getHostTriple instead of getDefaultTargetTriple in getClosestTargetForJIT | Sebastian Pop | 2012-01-04 | 4 | -7/+18 |
| | | | | | | | | | | Get back getHostTriple. For JIT compilation, use the host triple instead of the default target: this fixes some JIT testcases that used to fail when the compiler has been configured as a cross compiler. llvm-svn: 147542 | ||||
* | Conform to the style guide; remove 'else' after 'return'. Also remove an extra | Nick Lewycky | 2012-01-03 | 1 | -56/+36 |
| | | | | | | if-statement by turning it into an assert. No functionality change. llvm-svn: 147474 | ||||
* | Switch StringMap from an array of structures to a structure of arrays. | Benjamin Kramer | 2011-12-27 | 1 | -27/+34 |
| | | | | | | | - -25% memory usage of the main table on x86_64 (was wasted in struct padding). - no significant performance change. llvm-svn: 147294 | ||||
* | drop unneeded config.h includes | Dylan Noblesmith | 2011-12-22 | 1 | -1/+1 |
| | | | | llvm-svn: 147197 | ||||
* | Fix APInt::rotl and APInt::rotr so that they work correctly. Found while ↵ | Eli Friedman | 2011-12-22 | 1 | -12/+4 |
| | | | | | | writing some code that tried to use them. llvm-svn: 147134 | ||||
* | Changes the JSON parser to use the SourceMgr. | Manuel Klimek | 2011-12-21 | 1 | -26/+33 |
| | | | | | | | | Diagnostics are now emitted via the SourceMgr and we use MemoryBuffer for buffer management. Switched the code to make use of the trailing '0' that MemoryBuffer guarantees where it makes sense. llvm-svn: 147063 | ||||
* | Fixes a potential compilation error. | Manuel Klimek | 2011-12-20 | 1 | -12/+0 |
| | | | | | | | Pulling the template implementation into the header to guarantee that it's visible to all possible instantiations. llvm-svn: 146973 | ||||
* | Pulls the implementation of skip() into JSONParser. | Manuel Klimek | 2011-12-20 | 1 | -11/+24 |
| | | | | | | | This is the first step towards migrating more of the parser implementation into the parser class. llvm-svn: 146971 | ||||
* | Addressing style issues in JSON parser. | Manuel Klimek | 2011-12-20 | 1 | -4/+2 |
| | | | | llvm-svn: 146968 | ||||
* | Fix up the CMake build for the new files added in r146960, they're | Chandler Carruth | 2011-12-20 | 1 | -0/+1 |
| | | | | | | likely to stay either way that discussion ends up resolving itself. llvm-svn: 146966 | ||||
* | Unweaken vtables as per ↵ | David Blaikie | 2011-12-20 | 1 | -0/+14 |
| | | | | | | http://llvm.org/docs/CodingStandards.html#ll_virtual_anch llvm-svn: 146960 | ||||
* | APInt: update asserts for base-36 | Dylan Noblesmith | 2011-12-16 | 1 | -1/+5 |
| | | | | | | | | Hexatridecimal was added in r139695. And fix the unittest that now triggers the assert. llvm-svn: 146754 | ||||
* | Adds a JSON parser and a benchmark (json-bench) to catch performance ↵ | Manuel Klimek | 2011-12-16 | 2 | -0/+222 |
| | | | | | | regressions. llvm-svn: 146735 | ||||
* | Support/FileSystem: Add file_magic and move a vew clients over to it. | Michael J. Spencer | 2011-12-13 | 2 | -14/+126 |
| | | | | llvm-svn: 146523 | ||||
* | Support/Program: Make Change<stream>ToBinary return error_code. | Michael J. Spencer | 2011-12-13 | 4 | -12/+20 |
| | | | | llvm-svn: 146522 | ||||
* | Cleanup whitespace. | Michael J. Spencer | 2011-12-13 | 2 | -4/+4 |
| | | | | llvm-svn: 146521 | ||||
* | Hexagon backend support | Tony Linthicum | 2011-12-12 | 1 | -0/+7 |
| | | | | llvm-svn: 146412 | ||||
* | LLVMBuild: Remove trailing newline, which irked me. | Daniel Dunbar | 2011-12-12 | 1 | -1/+0 |
| | | | | llvm-svn: 146409 | ||||
* | Revert r146363 to allow buildbots to make forward progress. | Chad Rosier | 2011-12-12 | 3 | -65/+0 |
| | | | | | | | Original commit message: Support/FileSystem: Implement canonicalize. llvm-svn: 146378 | ||||
* | Support/FileSystem: Implement bool equivalent(file_status A, file_status B); | Michael J. Spencer | 2011-12-12 | 2 | -83/+51 |
| | | | | llvm-svn: 146364 | ||||
* | Support/FileSystem: Implement canonicalize. | Michael J. Spencer | 2011-12-12 | 3 | -0/+65 |
| | | | | llvm-svn: 146363 |