summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore
Commit message (Collapse)AuthorAgeFilesLines
...
* Add some missing anchors.David Blaikie2011-12-012-0/+4
| | | | llvm-svn: 145578
* build/CMake: Finish removal of add_llvm_library_dependencies.Daniel Dunbar2011-11-291-2/+0
| | | | llvm-svn: 145420
* Eli managed to kill off llvm.membarrier in llvm 3.0 also, this meansChris Lattner2011-11-271-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 Lattner2011-11-271-68/+1
| | | | | | autoupgrade logic for 2.9 and before. llvm-svn: 145176
* remove autoupgrade support for old forms of llvm.prefetch and the oldChris Lattner2011-11-271-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 Lattner2011-11-271-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 logicChris Lattner2011-11-271-80/+1
| | | | llvm-svn: 145167
* remove autoupgrade support for LLVM 2.9 exception stuff. Mainline supportsChris Lattner2011-11-271-246/+0
| | | | | | LLVM 3.0 and later. llvm-svn: 145165
* Devirtualize Pass::getPassID, overriding it isn't useful and it gets called ↵Benjamin Kramer2011-11-241-2/+0
| | | | | | | | a lot. While at it pull the trivial ctor in line. llvm-svn: 145124
* Fixing a commentJoe Abbey2011-11-211-1/+1
| | | | llvm-svn: 145025
* Rename MVT::untyped to MVT::Untyped to match similar nomenclature.Owen Anderson2011-11-161-1/+1
| | | | llvm-svn: 144747
* Remove Value::getNameStr. It has been deprecated for a while and provides no ↵Benjamin Kramer2011-11-151-4/+0
| | | | | | additional value over getName(). llvm-svn: 144657
* Remove all remaining uses of Value::getNameStr().Benjamin Kramer2011-11-151-4/+4
| | | | llvm-svn: 144648
* Fold ConstantVector::isAllOnesValue into Constant::isAllOnesValue and ↵Benjamin Kramer2011-11-141-22/+4
| | | | | | simplify it. llvm-svn: 144555
* build: Add initial cut at LLVMBuild.txt files.Daniel Dunbar2011-11-031-0/+23
| | | | llvm-svn: 143634
* Don't print two 0x prefixes when printing an address.Benjamin Kramer2011-11-021-1/+1
| | | | llvm-svn: 143549
* Add a pinned metadata name for fpaccuracy, and document itPeter Collingbourne2011-10-271-0/+5
| | | | llvm-svn: 143135
* The bitcode reader can create an shuffle with a place holder mask which it willMon P Wang2011-10-261-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 Friedman2011-10-201-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 Kramer2011-10-171-1/+1
| | | | llvm-svn: 142259
* Correct over-zealous removal of hack.Bill Wendling2011-10-171-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 isBill Wendling2011-10-171-40/+0
| | | | | | | obsolete. Check the attribute instead. <rdar://problem/8031714> llvm-svn: 142212
* Add a routine to swap branch instruction operands, and update anyChandler Carruth2011-10-171-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 Kramer2011-10-161-1/+1
| | | | | | While at it, merge some format strings. llvm-svn: 142140
* Make SMDiagnostic a little more sane. Instead of passing around ↵Chris Lattner2011-10-161-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 Lattner2011-10-141-2/+2
| | | | llvm-svn: 142013
* ocaml bindings: add getopcode for constant and instruction, and int64_of_const.Torok Edwin2011-10-141-0/+6
| | | | llvm-svn: 141990
* bindings: tab and indentation fixes of my previous commitsTorok Edwin2011-10-141-25/+25
| | | | llvm-svn: 141989
* Spacing.Eric Christopher2011-10-111-1/+1
| | | | llvm-svn: 141727
* Move default to top of switchMatt Beaumont-Gay2011-10-071-6/+4
| | | | llvm-svn: 141366
* Remove the old atomic instrinsics. autoupgrade functionality is included ↵Eli Friedman2011-10-061-0/+91
| | | | | | with this patch. llvm-svn: 141333
* Fix -asserts buildMatt Beaumont-Gay2011-10-061-0/+2
| | | | llvm-svn: 141313
* Don't require C bindings opcode numbers to be kept in sync.Torok Edwin2011-10-061-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 Edwin2011-10-061-0/+5
| | | | llvm-svn: 141288
* add binding to read icmp predicateTorok Edwin2011-10-061-0/+9
| | | | llvm-svn: 141287
* ocaml/C bindings: getmdstring, add num_op, get_op should work on metadata tooTorok Edwin2011-10-061-2/+34
| | | | llvm-svn: 141286
* C/OCaml API to retrieve struct name.Torok Edwin2011-10-061-0/+8
| | | | llvm-svn: 141285
* Build system infrastructure for multiple tblgens.Peter Collingbourne2011-10-061-2/+2
| | | | llvm-svn: 141266
* Check for the returns_twice attribute in callsFunctionThatReturnsTwice. ThisRafael Espindola2011-10-051-10/+19
| | | | | | fixes PR11038, but there are still some cleanups to be done. llvm-svn: 141204
* Unbreak CMake build.Ted Kremenek2011-10-041-1/+2
| | | | llvm-svn: 141097
* Put GCOVFile and other related interface in a common header so that llvm-cov ↵Devang Patel2011-10-041-0/+281
| | | | | | tool can share it with GCOV writer. llvm-svn: 141095
* Add C api for Instruction->eraseFromParent().Devang Patel2011-10-031-0/+4
| | | | llvm-svn: 141023
* Add the returns_twice attribute to LLVM.Rafael Espindola2011-10-031-2/+2
| | | | llvm-svn: 141001
* Tracing or debug-printing a newly formed instruction should not crash.Andrew Trick2011-09-301-1/+2
| | | | llvm-svn: 140874
* whitespaceAndrew Trick2011-09-301-38/+38
| | | | llvm-svn: 140873
* Clean up uses of switch instructions so they are not dependent on the ↵Eli Friedman2011-09-291-6/+8
| | | | | | operand ordering. Patch by Stepan Dyatkovskiy. llvm-svn: 140803
* Cosmetic changes, as per Nick's review.Devang Patel2011-09-291-0/+1
| | | | llvm-svn: 140785
* Check that catch clauses have pointer type.Duncan Sands2011-09-271-2/+7
| | | | llvm-svn: 140625
* Have the verifier check that all landingpad operands are constants.Duncan Sands2011-09-271-0/+11
| | | | llvm-svn: 140606
* The last verification check for the new EH model.Bill Wendling2011-09-211-0/+6
| | | | | | This makes sure that the unwind destination of an invoke is a landing pad. llvm-svn: 140280
OpenPOWER on IntegriCloud