summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Applied noexcept to everything in [diagnostics] (Chapter 19)Howard Hinnant2011-05-266-141/+149
| | | | llvm-svn: 132137
* Fix some dwarf register numbers.Rafael Espindola2011-05-263-3/+3
| | | | llvm-svn: 132136
* Make few ExecutionEngine tests XFAIL for ARM, since ExecutionEngine is ↵Galina Kistanova2011-05-2615-0/+31
| | | | | | broken for ARM, please remove the following XFAIL when it will be fixed. llvm-svn: 132135
* Turn on cxx_alias_templates supportHoward Hinnant2011-05-261-2/+2
| | | | llvm-svn: 132134
* Fix LTO builds with xcode 4.Rafael Espindola2011-05-261-1/+11
| | | | llvm-svn: 132132
* Add support for C++ exception handling.Akira Hatanaka2011-05-267-21/+76
| | | | llvm-svn: 132131
* Tighen analyzer diagnostics w.r.t ObjC/CF leaks.Ted Kremenek2011-05-262-19/+19
| | | | llvm-svn: 132130
* Applied noexcept to everything in [language.support] (Chapter 18)Howard Hinnant2011-05-268-266/+273
| | | | llvm-svn: 132129
* Reorganize these slightly according to operand type.Eric Christopher2011-05-261-2/+2
| | | | llvm-svn: 132128
* Set HasSetDirective to true.Akira Hatanaka2011-05-261-1/+0
| | | | llvm-svn: 132127
* Fix test on Windows.Eli Friedman2011-05-261-2/+2
| | | | llvm-svn: 132126
* Added [[noreturn]] attribute everywhere it should beHoward Hinnant2011-05-263-11/+17
| | | | llvm-svn: 132125
* lldb-56 with codesign settings fixed in the Xcode projects.Greg Clayton2011-05-263-31/+24
| | | | llvm-svn: 132123
* www: Enable SSI on the webserver.Tobias Grosser2011-05-261-0/+1
| | | | llvm-svn: 132120
* Extract two more methods from the unary type trait checking. TheseChandler Carruth2011-05-261-19/+41
| | | | | | | | | | provide re-usable forms of the rest of the custom validation done here. Still no functionality changed here. With this it should be possible to have an expression-centric code path and a type-centric code path which don't duplicate logic. llvm-svn: 132118
* Remove a no longer relevant comment. It was just repeating theChandler Carruth2011-05-261-2/+1
| | | | | | | information in the previous comment which was preserved and moved with the vec_step implementation code. llvm-svn: 132117
* Extract the vec_step trait operand checking to a stand alone function.Chandler Carruth2011-05-261-15/+21
| | | | | | | It has little overlap with other traits' requirements, so the resulting code is actually simpler. llvm-svn: 132116
* Add a convenience interface for checking expression arguments to unaryChandler Carruth2011-05-263-30/+53
| | | | | | | | | | | | | traits which uses the information embedded in the expression. Use this to simplify several interfaces which repeated information embedded in the expression through explicit arguments. I added an assertion that the only extra piece of data to come in from the parser matches what is stored in the expression. No functionality change intended here. Also cleaned up the doxygen comments for some of these methods and some formatting oddities. llvm-svn: 132115
* Revert r132111. I built Release (without Asserts), so I didn't know about theCharles Davis2011-05-261-2/+0
| | | | | | assert that prevented setting alignment on section creation. llvm-svn: 132113
* Fix definitions of UOP_SaveXMM128, UOP_SaveXMM128Big, and UOP_PushMachFrameCharles Davis2011-05-261-1/+1
| | | | | | to match Microsoft's definitions. llvm-svn: 132112
* Align Win64 EH Table sections to 4 bytes.Charles Davis2011-05-261-0/+2
| | | | llvm-svn: 132111
* Add a test for the chained directives that I forgot last time.Charles Davis2011-05-261-0/+3
| | | | llvm-svn: 132110
* Fix MSVC warning regarding mkdir function usage.Francois Pichet2011-05-261-0/+7
| | | | llvm-svn: 132109
* Reverting 132105: it broke some LLVM-GCC DejaGNU tests.Stuart Hastings2011-05-264-116/+15
| | | | llvm-svn: 132108
* Mark tBX as an indirect branch rather than a return.Cameron Zwarich2011-05-262-9/+9
| | | | llvm-svn: 132107
* Test .seh_startchained and .seh_endchained parsing.Charles Davis2011-05-263-15/+18
| | | | | | | | | | | Rework how the MCWin64EHUnwindInfo instances are stored. Fix issues with chained unwind areas exposed by the test that were related to this. The ChainedParent field had the wrong address, because when the chained unwind info was added, the addresses shifted around. Now we store the pointers to the structures, which are now allocated from the MC heap. llvm-svn: 132106
* Correctly handle a one-word struct passed byval on x86_64.Stuart Hastings2011-05-264-15/+116
| | | | | | rdar://problem/6920088 llvm-svn: 132105
* Implement a new warning for when adding a default argument to a methodAlexis Hunt2011-05-265-6/+33
| | | | | | | | | makes it into a special member function. This is very bad and can lead to all sorts of nastiness including implicit member functions violating the One Definition Rule. This should probably be made ill-formed in a later version of the standard, but for now we'll just warn. llvm-svn: 132104
* indvars: incremental fixes for -disable-iv-rewrite and testcases.Andrew Trick2011-05-262-22/+138
| | | | | | | | Use a proper worklist for use-def traversal without holding onto an iterator. Now that we process all IV uses, we need complete logic for resusing existing derived IV defs. See HoistStep. llvm-svn: 132103
* Skip extra copy from aggregate where it isn't necessary; ↵Eli Friedman2011-05-263-4/+38
| | | | | | | | rdar://problem/8139919 . This shouldn't make much of a difference at -O3, but should substantially reduce the number of generated memcpy's at -O0. Originally r130717, but was backed out due to an ObjC regression. llvm-svn: 132102
* Add a RAGreedy::canEvict function.Jakob Stoklund Olesen2011-05-251-4/+62
| | | | | | | | | | | | This doesn't change functionality (much), but it allows for a more fine-grained eviction policy. The current policy only compares spill weights, and that is not always the best thing to do. Spill weights are designed to serve linear scan, and they don't consider live range splitting. Add a mechanism so canEvict() can request that a live range be evicted and split/spilled. This is to avoid infinite eviction loops. llvm-svn: 132101
* static analyzer: when conservatively evaluating functions, don't invalidate ↵Ted Kremenek2011-05-256-5/+82
| | | | | | the values of globals when the called function is strlen. llvm-svn: 132100
* Rewrite fast-isel integer cast handling to handle more cases, and to be ↵Eli Friedman2011-05-255-59/+205
| | | | | | | | | | simpler and more consistent. The practical effects here are that x86-64 fast-isel can now handle trunc from i8 to i1, and ARM fast-isel can handle many more constructs involving integers narrower than 32 bits (including loads, stores, and many integer casts). rdar://9437928 . llvm-svn: 132099
* Define WeakRefDirective.Akira Hatanaka2011-05-252-0/+13
| | | | llvm-svn: 132098
* PR9998: ashr exact %x, 31 is not equivalent to sdiv exact %x, -2147483648.Eli Friedman2011-05-252-4/+20
| | | | llvm-svn: 132097
* Update our diagnostics to properly account for move operations.Alexis Hunt2011-05-258-42/+96
| | | | llvm-svn: 132096
* Add a little spice to the script to allow us to specify a function name to ↵Johnny Chen2011-05-251-3/+20
| | | | | | | | break at and to disassemble. Usage: disasm.py [-n name] executable-image By default, it breaks at and disassembles the 'main' function. llvm-svn: 132090
* Fix a minor thinko that leads to a crash if PatternDecl is null butAlexis Hunt2011-05-251-4/+5
| | | | | | Pattern is not. Thanks Nick for catching this! llvm-svn: 132089
* Add a little twist to the disasm.py script so that it is possible to ↵Johnny Chen2011-05-251-7/+12
| | | | | | | | terminate the inferior process by entering 'Ctrl-D' or 'quit'. llvm-svn: 132088
* Remove unused statistical counter.Devang Patel2011-05-251-57/+0
| | | | llvm-svn: 132087
* Convert tBX_CALL / tBXr9_CALL to actual pseudoinstructions.Cameron Zwarich2011-05-252-10/+24
| | | | llvm-svn: 132086
* Add tests for .seh_setframe and .seh_handlerdata parsing. Fix issues withCharles Davis2011-05-254-2/+40
| | | | | | | | | | them. I had to add a special SwitchSectionNoChange method to MCStreamer just for .seh_handlerdata. If this isn't OK, please let me know, and I'll find some other way to fix .seh_handlerdata streaming. llvm-svn: 132084
* Clean up comment a bit.Eric Christopher2011-05-251-2/+2
| | | | llvm-svn: 132083
* Modified to use SBTarget.LaunchSimple() API.Johnny Chen2011-05-251-2/+1
| | | | llvm-svn: 132082
* Implement the 'm' modifier. Note that it only works for memory operands.Eric Christopher2011-05-252-4/+25
| | | | | | Part of rdar://9119939 llvm-svn: 132081
* Implement a little bit of cleanup and a lot more of the base workAlexis Hunt2011-05-257-88/+204
| | | | | | | | behind implicit moves. We now correctly identify move constructors and assignment operators and update bits on the record correctly. Generation of implicit moves (declarations or definitions) is not yet supported. llvm-svn: 132080
* Use built-in truth value testing.Johnny Chen2011-05-251-6/+6
| | | | llvm-svn: 132079
* Use built-in truth value testing.Johnny Chen2011-05-251-1/+1
| | | | llvm-svn: 132078
* Remove bitcast to incorrect type.David Chisnall2011-05-251-1/+1
| | | | llvm-svn: 132077
* Remove MipsTargetLowering::LowerFP_TO_SINT. Patterns for fp_to_sint have alreadyAkira Hatanaka2011-05-252-37/+0
| | | | | | been defined in MipsInstrFPU.td. llvm-svn: 132076
OpenPOWER on IntegriCloud