summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Update comments.Owen Anderson2011-07-281-18/+10
| | | | llvm-svn: 136367
* Fill in some encoding information for STRD instructions.Owen Anderson2011-07-281-3/+32
| | | | llvm-svn: 136366
* Revert r136295. It broke nightly testers because some parts of codegen ↵Owen Anderson2011-07-283-41/+23
| | | | | | weren't aware of the changes to operand ordering. I hope to revive this sometime in the future, but it's not strictly necessary for now. llvm-svn: 136362
* ARM parsing and encoding for ADR.Jim Grosbach2011-07-282-2/+14
| | | | | | The label does not have a '#' prefix. Add parsing and encoding tests. llvm-svn: 136360
* Update ARM tests for parsing and encoding of WFE, WFI and YIELD.Jim Grosbach2011-07-282-9/+16
| | | | llvm-svn: 136358
* CR fix: The ANY_EXTEND can be removed because the input and putput type must beNadav Rotem2011-07-281-2/+1
| | | | | | identical. llvm-svn: 136355
* Use unsigned rather than uint16_t in case anyone feels like testingDuncan Sands2011-07-281-4/+4
| | | | | | | | | more graphs, like all graphs with 5 nodes or less. With a 32 bit unsigned type, the maximum is graphs with 6 nodes or less, but that would take a while to test - 5 nodes or less already requires a few seconds. llvm-svn: 136354
* Check an additional property specific to the way LLVMDuncan Sands2011-07-281-0/+15
| | | | | | iterates over SCC's. llvm-svn: 136353
* Add a unittest for the simply connected components (SCC) iterator class.Duncan Sands2011-07-281-0/+335
| | | | | | | | This computes every graph with 4 or fewer nodes, and checks that the SCC class indeed returns exactly the simply connected components reachable from the initial node. llvm-svn: 136351
* Due to changes coming from the new LLVM type system, you now getDuncan Sands2011-07-281-1/+2
| | | | | | | bitcasts in this test rather than getelementptr instructions; llvm-gcc produces two bitcasts, clang produces one. llvm-svn: 136349
* This file was moved from Support to ADT. Correct a comment.Duncan Sands2011-07-281-1/+1
| | | | llvm-svn: 136344
* Some minor cleanups. No functionalitical change.Bill Wendling2011-07-281-17/+10
| | | | llvm-svn: 136341
* Leverage some of the code that John wrote to manage the landing pads.Bill Wendling2011-07-281-32/+56
| | | | | | | The new EH is more simple in many respects. Mainly, we don't have to worry about the "llvm.eh.exception" and "llvm.eh.selector" calls being in weird places. llvm-svn: 136339
* Don't add in the asked for size so that we don't copy too much from the old ↵Bill Wendling2011-07-281-3/+3
| | | | | | to new vectors. llvm-svn: 136338
* In DenseMapInfo<pair<T, U>> tombstone key, use the tombstone for T and U insteadNick Lewycky2011-07-281-2/+2
| | | | | | | | of the empty key for U. This shouldn't really matter because the tombstone key for the pair was still distinct from every other key, but it is odd. Patch by Michael Ilseman! llvm-svn: 136336
* Automatically merge the landingpad clauses when we come across a callee'sBill Wendling2011-07-281-28/+12
| | | | | | landingpad. llvm-svn: 136329
* Explicitly declare a library dependency of LLVM*Desc toOscar Fuentes2011-07-286-0/+12
| | | | | | | | | | | | | | | | | | | LLVM*AsmPrinter. GenLibDeps.pl fails to detect vtable references. As this is the only referenced symbol from LLVM*Desc to LLVM*AsmPrinter on optimized builds, the algorithm that creates the list of libraries to be linked into tools doesn't know about the dependency and sometimes places the libraries on the wrong order, yielding error messages like this: ../../lib/libLLVMARMDesc.a(ARMMCTargetDesc.cpp.o): In function `llvm::ARMInstPrinter::ARMInstPrinter(llvm::MCAsmInfo const&)': ARMMCTargetDesc.cpp:(.text._ZN4llvm14ARMInstPrinterC1ERKNS_9MCAsmInfoE [llvm::ARMInstPrinter::ARMInstPrinter(llvm::MCAsmInfo const&)]+0x2a): undefined reference to `vtable for llvm::ARMInstPrinter' llvm-svn: 136328
* Updated cmake library dependencies.Oscar Fuentes2011-07-281-6/+6
| | | | llvm-svn: 136327
* Make sure that the landingpad instruction takes a Constant* as the clause's ↵Bill Wendling2011-07-285-10/+11
| | | | | | value. llvm-svn: 136326
* Add a couple of convenience functions:Bill Wendling2011-07-282-0/+25
| | | | | | | * InvokeInst: Get the landingpad instruction associated with this invoke. * LandingPadInst: A method to reserve extra space for clauses. llvm-svn: 136325
* Invert the subvector insertion to be more likely to be taken as a COPYBruno Cardoso Lopes2011-07-281-3/+3
| | | | llvm-svn: 136324
* Add patterns to generate copies for extract_subvector instead ofBruno Cardoso Lopes2011-07-282-3/+15
| | | | | | | using vextractf128. This will reduce the number of issued instruction for several avx codes. llvm-svn: 136323
* movd/movq write zeros in the high 128-bit part of the vector. UseBruno Cardoso Lopes2011-07-281-2/+28
| | | | | | them to match 256-bit scalar_to_vector+zext. llvm-svn: 136322
* Add a few patterns to match allzeros without having to use the fp unit.Bruno Cardoso Lopes2011-07-282-1/+11
| | | | | | | Take advantage that the 128-bit vpxor zeros the higher part and use it. This also fixes PR10491 llvm-svn: 136321
* Add SINT_TO_FP and FP_TO_SINT support for v8i32 types. Also moveBruno Cardoso Lopes2011-07-283-7/+27
| | | | | | a convert pattern close to the instruction definition. llvm-svn: 136320
* Fix a use after free. An instruction can't be both an intrinsic call and a ↵Benjamin Kramer2011-07-281-1/+1
| | | | | | fence. llvm-svn: 136319
* Initial stab at getting inlining working with the EH rewrite.Bill Wendling2011-07-281-10/+98
| | | | | | | | | This takes the new 'resume' instruction and turns it into a direct jump to the caller's landing pad code. The caller's landingpad instruction is merged with the landingpad instructions of the callee. This is a bit rough and makes some assumptions in how the code works. But it passes a simple test. llvm-svn: 136313
* ARM parsing and encoding tests.Jim Grosbach2011-07-281-0/+112
| | | | | | UXTAB, UXTAB16, UXTAH, UXTB, UXTB16, and UXTH. llvm-svn: 136312
* Add an optional 'bool makeAbsolute' in llvm::sys::fs::unique_file function.Argyrios Kyrtzidis2011-07-283-20/+29
| | | | | | | If true and 'model' parameter is not an absolute path, a temp directory will be prepended. Make it true by default to match current behaviour. llvm-svn: 136310
* 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
* 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
* 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
* ARM assembly parsing and encoding tests for UMAAL.Jim Grosbach2011-07-271-0/+11
| | | | llvm-svn: 136272
* Refuse to inline two functions which use different personality functions.Bill Wendling2011-07-271-0/+34
| | | | llvm-svn: 136269
* 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
OpenPOWER on IntegriCloud