summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* test/Misc/ast-dump-templates.cpp: Disable this temporarily due to unstable ↵NAKAMURA Takumi2011-07-281-1/+2
| | | | | | output. llvm-svn: 136348
* test/CodeGen/2004-03-16-AsmRegisterCrash.c: XTARGET should accept the part ↵NAKAMURA Takumi2011-07-281-1/+1
| | | | | | of triplet. ("x86" is not the part of triplet) llvm-svn: 136346
* 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
* Make a note about a missing optimization.John McCall2011-07-281-0/+18
| | | | llvm-svn: 136340
* 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
* Fix a couple of problems with initialization and assignment toJohn McCall2011-07-284-8/+92
| | | | | | | | | | | __block variables where the act of initialization/assignment itself causes the __block variable to be copied to the heap because the variable is of block type and is being assigned a block literal which captures the variable. rdar://problem/9814099 llvm-svn: 136337
* 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
* test/CodeGen/struct-matching-constraint.c: Fixup not to emit garbage to ↵NAKAMURA Takumi2011-07-281-1/+1
| | | | | | source tree. llvm-svn: 136333
* AST serialization support for the Framework in IndexHeaderMapHeaderDouglas Gregor2011-07-284-19/+76
| | | | | | fields of HeaderFileInfo. llvm-svn: 136332
* Introduce the "-index-header-map" option, to give special semanticsDouglas Gregor2011-07-2810-24/+124
| | | | | | | for quoted header lookup when dealing with not-yet-installed frameworks. Fixes <rdar://problem/9824020>. llvm-svn: 136331
* test/CodeGen/struct-init.c, struct-matching-constraint.c: Tweak commandline, ↵NAKAMURA Takumi2011-07-282-2/+2
| | | | | | or they would not be recognized as armv7 on some hosts. llvm-svn: 136330
* 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
* Don't set Sema's StdNamespace or StdBadAlloc if they've already been setDouglas Gregor2011-07-281-2/+4
| | | | llvm-svn: 136318
* Switch Sema::DynamicClasses over to LazyVectorDouglas Gregor2011-07-286-14/+34
| | | | llvm-svn: 136317
* Make the test criteria more stringent with respect to rdar://problem/8668674 ↵Johnny Chen2011-07-281-4/+6
| | | | | | to prevent accidental pass. llvm-svn: 136316
* Cut down the number of open/close system calls for output files.Argyrios Kyrtzidis2011-07-284-32/+44
| | | | | | | | | For PCH files, have only one open/close for temporary + rename to be safe from race conditions. For all other output files open/close the output file directly. Depends on llvm r136310. rdar://9082880 & http://llvm.org/PR9374. llvm-svn: 136315
* Switch Sema::ExtVectorDecls over to LazyVector.Douglas Gregor2011-07-286-17/+37
| | | | llvm-svn: 136314
* 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
* Fix thinko in last checkin.Eric Christopher2011-07-281-1/+1
| | | | llvm-svn: 136311
* 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
* Remove the need for a header and specify a triple so that the typeEric Christopher2011-07-281-4/+4
| | | | | | sizes make sense. llvm-svn: 136309
* Fix this up for clang codegen versus llvm-gcc.Eric Christopher2011-07-281-6/+4
| | | | llvm-svn: 136308
* 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
OpenPOWER on IntegriCloud