summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix this test to work for arm and on all platforms.Eric Christopher2011-07-281-9/+3
| | | | llvm-svn: 136307
* Add template instantiations to the output of -ast-dump.Richard Trieu2011-07-284-13/+96
| | | | llvm-svn: 136306
* Add a triple to this test and make sure it passes on arm where it wasEric Christopher2011-07-281-5/+2
| | | | | | supposed to. llvm-svn: 136305
* Correct the triple here.Eric Christopher2011-07-281-4/+4
| | | | llvm-svn: 136304
* This works on arm.Eric Christopher2011-07-281-1/+1
| | | | llvm-svn: 136303
* Apparently this does work on arm.Eric Christopher2011-07-281-1/+1
| | | | llvm-svn: 136302
* This was meant to test arm anyhow, make the registers agree with theEric Christopher2011-07-281-2/+2
| | | | | | instruction and the architecture for which the instruction exists. llvm-svn: 136301
* Remove this test, it's actually testing something that clang doesn't support.Eric Christopher2011-07-281-15/+0
| | | | llvm-svn: 136300
* XFAIL this test on ARM. Filed PR10518 to track.Eric Christopher2011-07-271-0/+2
| | | | llvm-svn: 136299
* Remove the optimization option for this test.Eric Christopher2011-07-271-3/+2
| | | | llvm-svn: 136298
* No one cares about ppc, but make this work for arm and x86 and xfail the rest.Eric Christopher2011-07-271-1/+3
| | | | llvm-svn: 136297
* Test for r136294.Chad Rosier2011-07-271-0/+15
| | | | llvm-svn: 136296
* Refactor and improve the encodings/decodings for addrmode3 loads, and make ↵Owen Anderson2011-07-273-23/+41
| | | | | | the writeback operand always the first. llvm-svn: 136295
* The -fapple-kext flag was designed to "do the right thing" for building code forChad Rosier2011-07-272-28/+62
| | | | | | | | | | | use in KEXTs. However, users/Xcode still need to tweak the linker flags to do the right thing, and end up using -Xlinker, for example. Instead, have the driver "do the right thing" when linking when -fapple-kext is present on the command line, and we should have Xcode use -fapple-kext instead of setting other flags like -Xlinker -kext or -nodefaultlibs. rdar://7809940 llvm-svn: 136294
* another possible incarnation of a C++ string straight from llvm-gcc build 5658Enrico Granata2011-07-271-1/+1
| | | | llvm-svn: 136293
* Emit an error is asm parser parsed X86_64 only registers, e.g. %rax, %sil.Evan Cheng2011-07-278-30/+32
| | | | | | | | | This can happen in cases where TableGen generated asm matcher cannot check whether a register operand is in the right register class. e.g. mem operands. rdar://8204588 llvm-svn: 136292
* Optimizing valarray::operator=(some-valarray-expression)Howard Hinnant2011-07-271-0/+17
| | | | llvm-svn: 136291
* Modify:Johnny Chen2011-07-271-1/+1
| | | | | | | | | | self.expect("expression -- '(anonymous namespace)::i'", VARIABLES_DISPLAYED_CORRECTLY, substrs = [" = 3"]) to get rid of the '(anonymous namespace)', which is not c++ syntax, thingy fed to the expression parser. According to rdar://problem/8668674. It is still marked expectedFailure since the bug has not been fixed. llvm-svn: 136290
* ARM assembly parsing and encoding for USUB16 and USUB8.Jim Grosbach2011-07-271-0/+13
| | | | llvm-svn: 136289
* ARM assembly parsing and encoding for USAX.Jim Grosbach2011-07-271-0/+11
| | | | llvm-svn: 136288
* Fix llvm-mc handing of x86 instructions that take 8-bit unsigned immediates.Kevin Enderby2011-07-277-4/+77
| | | | | | | | | | | | llvm-mc gives an "invalid operand" error for instructions that take an unsigned immediate which have the high bit set such as: pblendw $0xc5, %xmm2, %xmm1 llvm-mc treats all x86 immediates as signed values and range checks them. A small number of x86 instructions use the imm8 field as a set of bits. This change only changes those instructions and where the high bit is not ignored. The others remain unchanged. llvm-svn: 136287
* Clean up tabs.Jim Grosbach2011-07-271-16/+16
| | | | llvm-svn: 136286
* ARM assembly parsing and encoding support for USAT and USAT16.Jim Grosbach2011-07-272-3/+31
| | | | | | Use range checked immediate operands for instructions. Add tests. llvm-svn: 136285
* ARM assembly parsing and encoding tests for USAD8 and USADA8.Jim Grosbach2011-07-271-0/+14
| | | | llvm-svn: 136284
* Code generation for 'fence' instruction.Eli Friedman2011-07-2716-3/+119
| | | | llvm-svn: 136283
* ARM assembly parsing and encoding tests for UQSUB16 and UQSUB8.Jim Grosbach2011-07-271-0/+13
| | | | llvm-svn: 136282
* Fix comment copy/paste-o.Jim Grosbach2011-07-271-1/+1
| | | | llvm-svn: 136281
* ARM assembly parsing and encoding tests for UQASX and UQSAX.Jim Grosbach2011-07-271-0/+21
| | | | llvm-svn: 136280
* ARM assembly parsing and encoding tests for UQADD16 and UQADD8.Jim Grosbach2011-07-271-0/+15
| | | | llvm-svn: 136279
* Use BlockFrequency instead of uint32_t in BlockFrequencyInfo.Jakub Staszak2011-07-275-30/+19
| | | | llvm-svn: 136278
* ARM assembly parsing and encoding for UMULL.Jim Grosbach2011-07-272-1/+15
| | | | | | Fix parsing of the 's' suffix for the mnemonic. Add tests. llvm-svn: 136277
* Remove outdated FIXME comment.Devang Patel2011-07-271-1/+0
| | | | llvm-svn: 136275
* ARM assembly parsing and encoding for UMLAL.Jim Grosbach2011-07-272-1/+15
| | | | | | Fix parsing of the 's' suffix for the mnemonic. Add tests. llvm-svn: 136274
* Turn Sema::DelegatingCtorDecls into a LazyVector.Douglas Gregor2011-07-276-16/+33
| | | | llvm-svn: 136273
* ARM assembly parsing and encoding tests for UMAAL.Jim Grosbach2011-07-271-0/+11
| | | | llvm-svn: 136272
* The lock operand to an @synchronized statement is also John McCall2011-07-276-47/+106
| | | | | | | supposed to be a full-expression; make it so. In ARC, make sure we retain the lock for the entire protected block. llvm-svn: 136271
* Switch Sema::UnusedFileScopedDecls over to a LazyVector. Douglas Gregor2011-07-277-32/+72
| | | | | | | | | - Added LazyVector::erase() to support this use case. - Factored out the LazyDecl-of-Decls to RecordData translation in the ASTWriter. There is still a pile of code duplication here to eliminate. llvm-svn: 136270
* Refuse to inline two functions which use different personality functions.Bill Wendling2011-07-271-0/+34
| | | | llvm-svn: 136269
* Add a utility function to the Lexer, which makes it easier to find a token ↵Anna Zaks2011-07-272-0/+71
| | | | | | after the given location. (It is a generalized version of trans::findLocationAfterSemi from ArcMigrate, which will be changed to use the Lexer utility). llvm-svn: 136268
* ARM assembly parsing and encoding tests for UHSUB16 and UHSUB8.Jim Grosbach2011-07-271-0/+12
| | | | llvm-svn: 136267
* ARM assembly parsing and encoding tests for UHADD16, UHADD8 and UHASX.Jim Grosbach2011-07-271-0/+26
| | | | llvm-svn: 136266
* The SBValue.linked_list_iter() API failed for an empty list.Johnny Chen2011-07-273-5/+25
| | | | | | Fix the bug and add a test case. llvm-svn: 136265
* ARM parsing and encoding of SBFX and UBFX.Jim Grosbach2011-07-2710-23/+48
| | | | | | | | | Encode the width operand as it encodes in the instruction, which simplifies the disassembler and the encoder, by using the imm1_32 operand def. Add a diagnostic for the context-sensitive constraint that the width must be in the range [1,32-lsb]. llvm-svn: 136264
* Keep enums stable. Append EH stuff to the end.Bill Wendling2011-07-271-49/+52
| | | | llvm-svn: 136263
* Introduce a new data structure, LazyVector, which is a vector whoseDouglas Gregor2011-07-277-19/+206
| | | | | | | | | | | | | contents are lazily loaded on demand from an external source (e.g., an ExternalASTSource or ExternalSemaSource). The "loaded" entities are kept separate from the "local" entities, so that the two can grow independently. Switch Sema::TentativeDefinitions from a normal vector that is eagerly populated by the ASTReader into one of these LazyVectors, making the ASTReader a bit more like me (i.e., lazy). llvm-svn: 136262
* ARM assembly parsing and encoding tests for UADD16, UADD8 and UASX.Jim Grosbach2011-07-271-0/+25
| | | | llvm-svn: 136261
* ARM assembly parsing and encoding tests for TST instruction.Jim Grosbach2011-07-271-0/+28
| | | | llvm-svn: 136260
* ARM assembly parsing and encoding tests for TEQ instruction.Jim Grosbach2011-07-271-0/+34
| | | | llvm-svn: 136259
* Silence gcc warningPeter Collingbourne2011-07-271-1/+1
| | | | llvm-svn: 136258
* Forbid address-space-qualified function types, per TR 18037Peter Collingbourne2011-07-273-0/+14
| | | | llvm-svn: 136257
OpenPOWER on IntegriCloud