Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add some missing anchors. | David Blaikie | 2011-12-01 | 2 | -0/+4 | |
| | | | | llvm-svn: 145578 | |||||
* | build/CMake: Finish removal of add_llvm_library_dependencies. | Daniel Dunbar | 2011-11-29 | 1 | -2/+0 | |
| | | | | llvm-svn: 145420 | |||||
* | Eli managed to kill off llvm.membarrier in llvm 3.0 also, this means | Chris Lattner | 2011-11-27 | 1 | -34/+8 | |
| | | | | | | that mainline needs no autoupgrade logic for intrinsics yet, woohoo! llvm-svn: 145178 | |||||
* | The llvm.atomic intrinsics *were* removed in LLVM 3.0 (in r141333), remove the | Chris Lattner | 2011-11-27 | 1 | -68/+1 | |
| | | | | | | autoupgrade logic for 2.9 and before. llvm-svn: 145176 | |||||
* | remove autoupgrade support for old forms of llvm.prefetch and the old | Chris Lattner | 2011-11-27 | 1 | -101/+1 | |
| | | | | | | | trampoline forms. Both of these were correct in LLVM 3.0, and we don't need to support LLVM 2.9 and earlier in mainline. llvm-svn: 145174 | |||||
* | remove autoupgrade support for really old-style debug info intrinsics. | Chris Lattner | 2011-11-27 | 1 | -42/+0 | |
| | | | | | | | I think this is the last of autoupgrade that can be removed in 3.1. Can the atomic upgrade stuff also go? llvm-svn: 145169 | |||||
* | remove some old autoupgrade logic | Chris Lattner | 2011-11-27 | 1 | -80/+1 | |
| | | | | llvm-svn: 145167 | |||||
* | remove autoupgrade support for LLVM 2.9 exception stuff. Mainline supports | Chris Lattner | 2011-11-27 | 1 | -246/+0 | |
| | | | | | | LLVM 3.0 and later. llvm-svn: 145165 | |||||
* | Devirtualize Pass::getPassID, overriding it isn't useful and it gets called ↵ | Benjamin Kramer | 2011-11-24 | 1 | -2/+0 | |
| | | | | | | | | a lot. While at it pull the trivial ctor in line. llvm-svn: 145124 | |||||
* | Fixing a comment | Joe Abbey | 2011-11-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 145025 | |||||
* | Rename MVT::untyped to MVT::Untyped to match similar nomenclature. | Owen Anderson | 2011-11-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 144747 | |||||
* | Remove Value::getNameStr. It has been deprecated for a while and provides no ↵ | Benjamin Kramer | 2011-11-15 | 1 | -4/+0 | |
| | | | | | | additional value over getName(). llvm-svn: 144657 | |||||
* | Remove all remaining uses of Value::getNameStr(). | Benjamin Kramer | 2011-11-15 | 1 | -4/+4 | |
| | | | | llvm-svn: 144648 | |||||
* | Fold ConstantVector::isAllOnesValue into Constant::isAllOnesValue and ↵ | Benjamin Kramer | 2011-11-14 | 1 | -22/+4 | |
| | | | | | | simplify it. llvm-svn: 144555 | |||||
* | build: Add initial cut at LLVMBuild.txt files. | Daniel Dunbar | 2011-11-03 | 1 | -0/+23 | |
| | | | | llvm-svn: 143634 | |||||
* | Don't print two 0x prefixes when printing an address. | Benjamin Kramer | 2011-11-02 | 1 | -1/+1 | |
| | | | | llvm-svn: 143549 | |||||
* | Add a pinned metadata name for fpaccuracy, and document it | Peter Collingbourne | 2011-10-27 | 1 | -0/+5 | |
| | | | | llvm-svn: 143135 | |||||
* | The bitcode reader can create an shuffle with a place holder mask which it will | Mon P Wang | 2011-10-26 | 1 | -3/+10 | |
| | | | | | | | fix up later. For this special case, allow such a mask to be considered valid. <rdar://problem/8622574> llvm-svn: 142992 | |||||
* | Refactor code from inlining and globalopt that checks whether a function ↵ | Eli Friedman | 2011-10-20 | 1 | -0/+15 | |
| | | | | | | definition is unused, and enhance it so it can tell that functions which are only used by a blockaddress are in fact dead. This probably doesn't happen much on most code, but the Linux kernel's _THIS_IP_ can trigger this issue with blockaddress. (GlobalDCE can also handle the given tescase, but we only run that at -O3.) Found while looking at PR11180. llvm-svn: 142572 | |||||
* | Use a SmallVector for intrinsic argument types. | Benjamin Kramer | 2011-10-17 | 1 | -1/+1 | |
| | | | | llvm-svn: 142259 | |||||
* | Correct over-zealous removal of hack. | Bill Wendling | 2011-10-17 | 1 | -0/+15 | |
| | | | | | | | Some code want to check that *any* call within a function has the 'returns twice' attribute, not just that the current function has one. llvm-svn: 142221 | |||||
* | Now that we have the ReturnsTwice function attribute, this method is | Bill Wendling | 2011-10-17 | 1 | -40/+0 | |
| | | | | | | | obsolete. Check the attribute instead. <rdar://problem/8031714> llvm-svn: 142212 | |||||
* | Add a routine to swap branch instruction operands, and update any | Chandler Carruth | 2011-10-17 | 1 | -0/+21 | |
| | | | | | | | | | | | | profile metadata at the same time. Use it to preserve metadata attached to a branch when re-writing it in InstCombine. Add metadata to the canonicalize_branch InstCombine test, and check that it is tranformed correctly. Reviewed by Nick Lewycky! llvm-svn: 142168 | |||||
* | Let printf do the formatting instead aligning strings ourselves. | Benjamin Kramer | 2011-10-16 | 1 | -1/+1 | |
| | | | | | | While at it, merge some format strings. llvm-svn: 142140 | |||||
* | Make SMDiagnostic a little more sane. Instead of passing around ↵ | Chris Lattner | 2011-10-16 | 1 | -1/+1 | |
| | | | | | | | | note/warning/error as a string, pass it around as an enum. llvm-svn: 142107 | |||||
* | constify array itself, don't iterate multiple times. | Chris Lattner | 2011-10-14 | 1 | -2/+2 | |
| | | | | llvm-svn: 142013 | |||||
* | ocaml bindings: add getopcode for constant and instruction, and int64_of_const. | Torok Edwin | 2011-10-14 | 1 | -0/+6 | |
| | | | | llvm-svn: 141990 | |||||
* | bindings: tab and indentation fixes of my previous commits | Torok Edwin | 2011-10-14 | 1 | -25/+25 | |
| | | | | llvm-svn: 141989 | |||||
* | Spacing. | Eric Christopher | 2011-10-11 | 1 | -1/+1 | |
| | | | | llvm-svn: 141727 | |||||
* | Move default to top of switch | Matt Beaumont-Gay | 2011-10-07 | 1 | -6/+4 | |
| | | | | llvm-svn: 141366 | |||||
* | Remove the old atomic instrinsics. autoupgrade functionality is included ↵ | Eli Friedman | 2011-10-06 | 1 | -0/+91 | |
| | | | | | | with this patch. llvm-svn: 141333 | |||||
* | Fix -asserts build | Matt Beaumont-Gay | 2011-10-06 | 1 | -0/+2 | |
| | | | | llvm-svn: 141313 | |||||
* | Don't require C bindings opcode numbers to be kept in sync. | Torok Edwin | 2011-10-06 | 1 | -3/+28 | |
| | | | | | | | | They are not in sync now, for example Bitcast would show up as LLVMCall. So instead introduce 2 functions that map to and from the opcodes in the C bindings. llvm-svn: 141290 | |||||
* | ocaml/C bindings: type->isSized() | Torok Edwin | 2011-10-06 | 1 | -0/+5 | |
| | | | | llvm-svn: 141288 | |||||
* | add binding to read icmp predicate | Torok Edwin | 2011-10-06 | 1 | -0/+9 | |
| | | | | llvm-svn: 141287 | |||||
* | ocaml/C bindings: getmdstring, add num_op, get_op should work on metadata too | Torok Edwin | 2011-10-06 | 1 | -2/+34 | |
| | | | | llvm-svn: 141286 | |||||
* | C/OCaml API to retrieve struct name. | Torok Edwin | 2011-10-06 | 1 | -0/+8 | |
| | | | | llvm-svn: 141285 | |||||
* | Build system infrastructure for multiple tblgens. | Peter Collingbourne | 2011-10-06 | 1 | -2/+2 | |
| | | | | llvm-svn: 141266 | |||||
* | Check for the returns_twice attribute in callsFunctionThatReturnsTwice. This | Rafael Espindola | 2011-10-05 | 1 | -10/+19 | |
| | | | | | | fixes PR11038, but there are still some cleanups to be done. llvm-svn: 141204 | |||||
* | Unbreak CMake build. | Ted Kremenek | 2011-10-04 | 1 | -1/+2 | |
| | | | | llvm-svn: 141097 | |||||
* | Put GCOVFile and other related interface in a common header so that llvm-cov ↵ | Devang Patel | 2011-10-04 | 1 | -0/+281 | |
| | | | | | | tool can share it with GCOV writer. llvm-svn: 141095 | |||||
* | Add C api for Instruction->eraseFromParent(). | Devang Patel | 2011-10-03 | 1 | -0/+4 | |
| | | | | llvm-svn: 141023 | |||||
* | Add the returns_twice attribute to LLVM. | Rafael Espindola | 2011-10-03 | 1 | -2/+2 | |
| | | | | llvm-svn: 141001 | |||||
* | Tracing or debug-printing a newly formed instruction should not crash. | Andrew Trick | 2011-09-30 | 1 | -1/+2 | |
| | | | | llvm-svn: 140874 | |||||
* | whitespace | Andrew Trick | 2011-09-30 | 1 | -38/+38 | |
| | | | | llvm-svn: 140873 | |||||
* | Clean up uses of switch instructions so they are not dependent on the ↵ | Eli Friedman | 2011-09-29 | 1 | -6/+8 | |
| | | | | | | operand ordering. Patch by Stepan Dyatkovskiy. llvm-svn: 140803 | |||||
* | Cosmetic changes, as per Nick's review. | Devang Patel | 2011-09-29 | 1 | -0/+1 | |
| | | | | llvm-svn: 140785 | |||||
* | Check that catch clauses have pointer type. | Duncan Sands | 2011-09-27 | 1 | -2/+7 | |
| | | | | llvm-svn: 140625 | |||||
* | Have the verifier check that all landingpad operands are constants. | Duncan Sands | 2011-09-27 | 1 | -0/+11 | |
| | | | | llvm-svn: 140606 | |||||
* | The last verification check for the new EH model. | Bill Wendling | 2011-09-21 | 1 | -0/+6 | |
| | | | | | | This makes sure that the unwind destination of an invoke is a landing pad. llvm-svn: 140280 |