summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Teach -Wconversion, -Wsign-compare etc. about division and remainder.John McCall2011-07-142-4/+52
| | | | llvm-svn: 135208
* Eliminate redundant LLVMContext argument.Devang Patel2011-07-142-9/+11
| | | | | | Improve DbgScope->dump() output. llvm-svn: 135207
* Fixed a crasher where entering 'help disasm' on the command line would crash ↵Johnny Chen2011-07-142-1/+8
| | | | | | | | | | | lldb. The reasom of the crash is because of a missing entry in the argument table corresponding to eArgTypeUnsignedInteger. Add such entry and modify the call site of the crash to go through a fail-fast API to retrieve the argument table. Add a regression test to TestHelp.py. llvm-svn: 135206
* Undo r135191 (i.e. reapply Chris's patch. Now linker maps NamedMDNodes ↵Devang Patel2011-07-141-2/+3
| | | | | | first, so there is not any need to map DebugLoc). llvm-svn: 135205
* Link NamedMDNode before linking function bodies.Devang Patel2011-07-141-5/+5
| | | | llvm-svn: 135204
* ARM diagnostic when 's' suffix on mnemonic that can't set flags.Jim Grosbach2011-07-142-7/+15
| | | | | | | | For example, "mlss r0, r1, r2, r3". The MLS instruction does not have a flag-setting variant. llvm-svn: 135203
* * Redo the permutation encoding for frameless stacks to be more like what theBill Wendling2011-07-141-44/+73
| | | | | | | unwind library expects. * Comment the permutation encoding for frameless stacks. llvm-svn: 135202
* Add dump()Devang Patel2011-07-142-0/+18
| | | | llvm-svn: 135200
* Add OperandTypes for Thumb branch targets.Benjamin Kramer2011-07-141-0/+3
| | | | llvm-svn: 135199
* Port operand types for ARM and X86 over from EDIS to the .td files.Benjamin Kramer2011-07-143-1/+18
| | | | llvm-svn: 135198
* Add a new field to MCOperandInfo that contains information about the type of ↵Benjamin Kramer2011-07-145-6/+35
| | | | | | | | | | the Operand. - The actual values are from the MCOI::OperandType enum. - Teach tblgen to read it from the instruction definition. - This is a better implementation of the hacks in edis. llvm-svn: 135197
* Add some testcases for ARM MLA/MLS instructions.Jim Grosbach2011-07-142-3/+23
| | | | llvm-svn: 135196
* PR10359: Template declarations which define classes are not permitted to ↵Richard Smith2011-07-145-6/+31
| | | | | | | | | | | | also contain declarators. Previously we would accept code like this: template<typename T> struct S { } f() { return 0; } This case now produces a missing ';' diagnostic, since that seems like a much more likely error than an attempt to declare a function or variable in addition to the class template. Treat this llvm-svn: 135195
* Add summary info for SBBreakpoint to the lldb module level docstring.Johnny Chen2011-07-141-1/+3
| | | | llvm-svn: 135194
* [arcmt] Emit an error for unused -autorelease messages.Argyrios Kyrtzidis2011-07-145-8/+21
| | | | | | | | | | | An unused autorelease is badness. If we remove it the receiver will likely die immediately while previously it was kept alive by the autorelease pool. This is bad practice in general, so leave it and emit an error to force the user to restructure his code. rdar://9599884 llvm-svn: 135193
* ARM MCRR/MCRR2 immediate operand range checking.Jim Grosbach2011-07-145-8/+17
| | | | llvm-svn: 135192
* revert r135172 until Devang and I figure out the right answer.Chris Lattner2011-07-141-3/+2
| | | | llvm-svn: 135191
* Minor wording change.Johnny Chen2011-07-141-1/+1
| | | | llvm-svn: 135190
* ARM MCR/MCR2 assembly parsing operand constraints.Jim Grosbach2011-07-145-12/+36
| | | | | | | The immediate operands are restricted to 0-7. Enforce that when parsing assembly. llvm-svn: 135189
* Fix typo in ConnectRemote() docstring.Johnny Chen2011-07-141-1/+1
| | | | llvm-svn: 135188
* After type-system-rewrite branch update the Cpp backend to not use OpaqueType.Nicolas Geoffray2011-07-141-103/+46
| | | | llvm-svn: 135186
* Enable some tests we now handle correctly.Jim Grosbach2011-07-141-18/+9
| | | | llvm-svn: 135185
* Next round of MC refactoring. This patch factor MC table instantiations, MCEvan Cheng2011-07-14134-495/+1285
| | | | | | registeration and creation code into XXXMCDesc libraries. llvm-svn: 135184
* simplify this logic now that GlobalAlias::isDeclaration is fixed.Chris Lattner2011-07-141-4/+2
| | | | llvm-svn: 135183
* Fix GlobalValue::isDeclaration() to always consider aliases to be definitions.Chris Lattner2011-07-141-3/+2
| | | | llvm-svn: 135182
* A stawman specification for libc++abi and status pageHoward Hinnant2011-07-142-1/+978
| | | | llvm-svn: 135181
* Check register class matching instead of width of type matchingEric Christopher2011-07-144-10/+28
| | | | | | | | | when determining validity of matching constraint. Allow i1 types access to the GR8 reg class for x86. Fixes PR10352 and rdar://9777108 llvm-svn: 135180
* Reorganize ARM assembler aliases.Jim Grosbach2011-07-141-14/+19
| | | | | | | | Consolidate the individual declarations together for ease of reference. This mirrors the organization in X86, as well, so is good for consistency. No functional change. llvm-svn: 135179
* Add LLVMConstNamedStruct to the C api to let its users create constantsRafael Espindola2011-07-142-0/+13
| | | | | | of named struct types. llvm-svn: 135178
* For C++11, do more checking of initializer lists up-front, enabling some ↵Sebastian Redl2011-07-144-151/+266
| | | | | | | | | | subset of the final functionality. C just leaves the function early. C++98 runs through the same code path, but has no changed functionality either. This is a first baby step towards supporting generalized initializer lists. This also removes an aggregate test case that was just plain wrong, assuming that non-aggregates couldn't be initialized with initializer lists in C++11 mode. llvm-svn: 135177
* Fix problems Johannes noticed, and extend test cases further.Sebastian Redl2011-07-141-4/+58
| | | | llvm-svn: 135176
* Remove InitializationSequence::ReferenceBinding, the last redundant sequence ↵Sebastian Redl2011-07-142-13/+8
| | | | | | kind. llvm-svn: 135175
* DebugLoc's don't hide any interesting types for TypeFinder to find.Chris Lattner2011-07-141-1/+1
| | | | llvm-svn: 135174
* manually copy debugloc over to a new instruction in clone() insteadChris Lattner2011-07-141-1/+3
| | | | | | | of calling getAllMetadata(). This is semantically identical, but doing it this way avoids unpacking the DebugLoc. llvm-svn: 135173
* Stop the ValueMapper from calling getAllMetadata, which unpacks DebugLoc intoChris Lattner2011-07-141-2/+3
| | | | | | | an MDNode. This saves a bunch of time and memory in the IR linker, e.g. when doing LTO of files with debug info. llvm-svn: 135172
* Add 256-bit load/store recognition and matching in several places.Bruno Cardoso Lopes2011-07-143-4/+98
| | | | llvm-svn: 135171
* simplifyChris Lattner2011-07-141-1/+1
| | | | llvm-svn: 135170
* Don't leak operands when putting them into a shift.Benjamin Kramer2011-07-141-1/+1
| | | | llvm-svn: 135169
* Update ARM Assembly of LDM/STM.Jim Grosbach2011-07-143-49/+66
| | | | | | | ldm/stm are the cannonical spellings for ldmia/stmia, so use them as such. Update the parsing/encoding tests accordingly. llvm-svn: 135168
* The key of a StringMap can contain nul's in it, so having first() returnChris Lattner2011-07-142-4/+4
| | | | | | const char* doesn't make sense. Have it return StringRef instead. llvm-svn: 135167
* StringMap::first() is about to start returning a StringRef, adapt.Chris Lattner2011-07-142-3/+4
| | | | llvm-svn: 135166
* though it isn't the case here, the key of a StringMap canChris Lattner2011-07-141-2/+2
| | | | | | conceptually have nuls in it. llvm-svn: 135165
* add comments.Chris Lattner2011-07-141-1/+3
| | | | llvm-svn: 135164
* consolidate GlobalValue::isDeclaration into one Chris Lattner2011-07-145-26/+15
| | | | | | non-virtual function. llvm-svn: 135163
* ARM ISB assembly parsing tests.Jim Grosbach2011-07-142-2/+10
| | | | llvm-svn: 135158
* code cleanupChris Lattner2011-07-141-20/+15
| | | | llvm-svn: 135157
* ARM ISB instruction assembly parsing.Jim Grosbach2011-07-143-4/+8
| | | | | | | The ISB instruction takes an optional operand, just like DMB/DSB. Typically only 'sy' is meaningful. llvm-svn: 135156
* Change intrinsic getter to take an ArrayRef, now that the underlying ↵Benjamin Kramer2011-07-147-113/+105
| | | | | | function in LLVM does. llvm-svn: 135155
* Change Intrinsic::getDeclaration and friends to take an ArrayRef.Benjamin Kramer2011-07-1412-29/+25
| | | | llvm-svn: 135154
* Moving one misplaced entry in the attribute enum in AttributeList.h into ↵Caitlin Sadowski2011-07-141-1/+1
| | | | | | alphabetical order. llvm-svn: 135153
OpenPOWER on IntegriCloud