summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add an example customization directory which uses a binutils.py module to ↵Johnny Chen2011-10-284-1/+111
| | | | | | | | provide commands to print the binary representaion of an integer. llvm-svn: 143252
* Fixed the GDB format to allow the size and format characters to come in anyGreg Clayton2011-10-282-62/+29
| | | | | | | order. Also hooked up the new formats for instruction, hex float and address to the new formats. llvm-svn: 143251
* Fix assertion in constant expression evaluation. The LHS of a floating-pointRichard Smith2011-10-282-2/+4
| | | | | | binary operator isn't an rvalue if it's an assignment operator. llvm-svn: 143250
* Added the ability for the target to specify Modules that will not be searchedJim Ingham2011-10-288-14/+194
| | | | | | | when setting breakpoints, but only if no module is specified. The Darwin platform uses this to not set breakpoints in dyld. llvm-svn: 143249
* Move -Wc++11-compat out of -Wall. It causes trouble for clients thatDouglas Gregor2011-10-281-1/+1
| | | | | | define their own "nullptr" class in C++98 and build with -Wall. llvm-svn: 143248
* test/CodeGen/PowerPC/2008-10-17-AsmMatchingOperands.ll: [PR11218] Mark ↵NAKAMURA Takumi2011-10-281-0/+4
| | | | | | "REQUIRES: asserts" for now. llvm-svn: 143247
* Added support for C++0x char16_t and char32_t types.Greg Clayton2011-10-281-3/+20
| | | | llvm-svn: 143246
* Give __STDC_VERSION__ the value 201001L when we're in C1x mode. TheDouglas Gregor2011-10-282-1/+15
| | | | | | | committee hasn't set a value for __STDC_VERSION__ yet, so this is a placeholder. But at least it's > 199901L. llvm-svn: 143245
* Enabled the "printf" attribute on all debugserver logging functions and fixed Greg Clayton2011-10-2813-113/+103
| | | | | | the ensuing mayhem. llvm-svn: 143244
* [libclang] Introduce use of CINDEXTEST_FAILONERROR environment variable ↵Argyrios Kyrtzidis2011-10-281-2/+83
| | | | | | | | which, if set, will cause c-index-test to return as failed if a compiler error occurred. llvm-svn: 143243
* [libclang] Check for environment variable CINDEXTEST_NOTHREADS in ↵Argyrios Kyrtzidis2011-10-281-0/+6
| | | | | | clang_reparseTranslationUnit. llvm-svn: 143242
* Make -error-on-deserialized-decl work correctly by correctly delegating toArgyrios Kyrtzidis2011-10-281-10/+42
| | | | | | the previous ASTDeserializationListener. llvm-svn: 143241
* [ARC] Do not transfer ARC ownership if the cast is going to result in r-value,Argyrios Kyrtzidis2011-10-282-3/+17
| | | | | | in which case the ownership is redundant. Thanks to John for the suggestion. llvm-svn: 143240
* Add an alias option for -error-on-deserialized-decl with joined '='.Argyrios Kyrtzidis2011-10-281-0/+2
| | | | llvm-svn: 143239
* [PCH] Keep track of file-level declarations that are contained by files.Argyrios Kyrtzidis2011-10-288-47/+182
| | | | | | | | | | | | Introduce a FILE_SORTED_DECLS [de]serialization record that contains a file sorted array of file-level DeclIDs in a PCH/Module. The rationale is to allow "targeted" deserialization of decls inside a range of a source file. Cocoa PCH increased by 0.8% Difference of creation time for Cocoa PCH is below the noise level. llvm-svn: 143238
* ARM mode 'mov' to 'mvn' assembler alias.Jim Grosbach2011-10-282-2/+30
| | | | llvm-svn: 143237
* Add Thumb2 alias for "mov Rd, #imm" to "mvn Rd, #~imm".Jim Grosbach2011-10-283-1/+36
| | | | | | | | | | | When '~imm' is encodable as a t2_so_imm but plain 'imm' is not. For example, mov r2, #-3 becomes mvn r2, #2 rdar://10349224 llvm-svn: 143235
* Initial support for C++11 constexpr function invocation substitution. UsingRichard Smith2011-10-283-12/+225
| | | | | | | | | | constexpr function arguments outside of their function (passing or returning them by reference) does not work correctly yet. Calling constexpr function templates does not work yet, since the bodies are not instantiated until the end of the translation unit. llvm-svn: 143234
* Allow InstAlias's to use immediate matcher patterns that xform the value.Jim Grosbach2011-10-282-5/+29
| | | | | | | | | For example, On ARM, "mov r3, #-3" is an alias for "mvn r3, #2", so we want to use a matcher pattern that handles the bitwise negation when mapping to t2MVNi. llvm-svn: 143233
* Fix illegal disassembly testcase.Owen Anderson2011-10-281-2/+2
| | | | llvm-svn: 143231
* Added the ability to have GDB formats appended to any command so you can doGreg Clayton2011-10-282-62/+112
| | | | | | | | | | | | | | | | | things like: (lldb) x/32xb 0x1000 "x" is an alias to "memory read", so this will actually turn into: (lldb) memory read --gdb-format=32xb 0x1000 This applies to all commands, so the GDB formats will work with "register read", "frame variable", "target variable" and others. All commands that can accept formats, counts and sizes have been modified to support the "--gdb-format" option. llvm-svn: 143230
* Remove extra newline in the docstring.Johnny Chen2011-10-281-4/+2
| | | | llvm-svn: 143228
* In case of template specialization, do not try to delay emitting debug info ↵Devang Patel2011-10-282-5/+36
| | | | | | for concrete type in -flimit-debug-info mode. This fixes some of the failures from bs15503.exp tests in gdb testsuite. llvm-svn: 143227
* Added support for the C++Ox "nullptr_t" type.Greg Clayton2011-10-282-0/+12
| | | | llvm-svn: 143225
* Clarify example snippets a bit.Jim Grosbach2011-10-281-2/+2
| | | | llvm-svn: 143224
* Fix this on the bots and make the test more complete by enabling optimizations.Rafael Espindola2011-10-281-3/+2
| | | | llvm-svn: 143223
* Fix PR9614 for functions with the always_inline attribute. Try to keepRafael Espindola2011-10-282-15/+20
| | | | | | the common case (-O0, no always_inline) fast. llvm-svn: 143222
* Specify that the high bit of the alignment field is fixed to 0 on these ↵Owen Anderson2011-10-281-2/+2
| | | | | | instructions. llvm-svn: 143220
* objective-c arc: type-casting of an objc pointer toFariborz Jahanian2011-10-285-7/+65
| | | | | | | an rvalue retainable object type with life-time qualifier has no effect and wil be diagnosed as error. // rdar://10244607 llvm-svn: 143219
* Make changes necessary in LowerFormalArguments to support Mips64.Akira Hatanaka2011-10-281-17/+17
| | | | llvm-svn: 143218
* Make changes necessary in LowerCall to support Mips64.Akira Hatanaka2011-10-281-25/+38
| | | | llvm-svn: 143217
* Deleted functions were in Clang 2.9, defaulted functions inDouglas Gregor2011-10-281-1/+6
| | | | | | 3.0. Fixses PR11252. llvm-svn: 143216
* [analyzer] ObjC message sends to nil receivers that return structs are now ↵Ted Kremenek2011-10-283-32/+16
| | | | | | okay (compiler zeroes out the data). Fixes <rdar://problem/9151319>. llvm-svn: 143215
* The expression icmp eq (select (icmp eq x, 0), 1, x), 0 folds to false.Duncan Sands2011-10-282-29/+54
| | | | | | | | | Spotted by my super-optimizer in 186.crafty and 450.soplex. We really need a proper infrastructure for handling generalizations of this kind of thing (which occur a lot), however this case is so simple that I decided to go ahead and implement it directly. llvm-svn: 143214
* Add variable IsO32 to MipsTargetLowering.Akira Hatanaka2011-10-282-10/+11
| | | | llvm-svn: 143213
* A shift of a power of two is a power of two or zero.Duncan Sands2011-10-282-1/+16
| | | | | | For completeness - not spotted in the wild. llvm-svn: 143211
* Add bench entries.Johnny Chen2011-10-281-0/+18
| | | | llvm-svn: 143210
* Fold icmp ugt (udiv X, Y), X to false. Spotted by my super-optimizerDuncan Sands2011-10-282-0/+36
| | | | | | in 186.crafty. llvm-svn: 143209
* Reapply r143202, with a manual decoding hook for SWP. This change ↵Owen Anderson2011-10-284-2/+28
| | | | | | inadvertantly exposed a decoding ambiguity between SWP and CPS that the auto-generated decoder can't handle. llvm-svn: 143208
* Fix a typo.Johnny Chen2011-10-281-1/+1
| | | | llvm-svn: 143207
* Reapply r143177 and r143179 (reverting r143188), with schedulerDan Gohman2011-10-2819-561/+699
| | | | | | | | | fixes: Use a separate register, instead of SP, as the calling-convention resource, to avoid spurious conflicts with actual uses of SP. Also, fix unscheduling of calling sequences, which can be triggered by pseudo-two-address dependencies. llvm-svn: 143206
* It turns out that the Objective-C message lookup functions can throw ↵David Chisnall2011-10-281-11/+14
| | | | | | exceptions after all... llvm-svn: 143205
* Reinstate r142844 (reverted in r142872) now that lvalue-to-rvalue conversionsRichard Smith2011-10-285-184/+347
| | | | | | | | | | are present in all the necessary places: In constant expression evaluation, evaluate lvalues as lvalues and rvalues as rvalues. Remove special case for caching reference initialization and fix a cyclic initialization crash in the process. llvm-svn: 143204
* Revert r143202.Owen Anderson2011-10-281-1/+1
| | | | llvm-svn: 143203
* Specify fixed bits on CPS instructions to enable roundtripping.Owen Anderson2011-10-281-1/+1
| | | | llvm-svn: 143202
* Thumb2 ADD/SUB instructions encoding selection outside IT block.Jim Grosbach2011-10-283-2/+27
| | | | | | | | | | | Outside an IT block, "add r3, #2" should select a 32-bit wide encoding rather than generating an error indicating the 16-bit encoding is only legal in an IT block (outside, the 'S' suffic is required for the 16-bit encoding). rdar://10348481 llvm-svn: 143201
* Allow register classes to match a containing class in InstAliases.Jim Grosbach2011-10-281-0/+9
| | | | | | | | If the register class in the source alias is a subclass of the register class of the actual instruction, the alias can still match OK since the constraints are strictly a subset of what the instruction can actually handle. llvm-svn: 143200
* Bumping Xcode project version in mainline to match the latest build that wasGreg Clayton2011-10-283-22/+22
| | | | | | submitted. llvm-svn: 143199
* test/MC/AsmParser/2011-09-06-NoNewline.s: Add explicit -mtriple=i386. It ↵NAKAMURA Takumi2011-10-281-3/+3
| | | | | | | | uses X86 instruction. FIXME: Would it be reproduced without target-specific operands? FIXME: Why run llvm-mc as the same input by 3 times? llvm-svn: 143195
* Dwarf: [PR11022] Fix emitting DW_AT_const_value(>i64), to be ↵NAKAMURA Takumi2011-10-282-8/+10
| | | | | | | | | | | host-endian-neutral. Don't assume APInt::getRawData() would hold target-aware endianness nor host-compliant endianness. rawdata[0] holds most lower i64, even on big endian host. FIXME: Add a testcase for big endian target. FIXME: Ditto on CompileUnit::addConstantFPValue() ? llvm-svn: 143194
OpenPOWER on IntegriCloud