summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused include.Rui Ueyama2014-04-021-2/+0
| | | | llvm-svn: 205466
* ARM: fixup tests to specify the target more explicitlySaleem Abdulrasool2014-04-0220-21/+35
| | | | | | | | | | | | | This changes the tests that were targeting ARM EABI to explicitly specify the environment rather than relying on the default. This breaks with the new Windows on ARM support when running the tests on Windows where the default environment is no longer EABI. Take the opportunity to avoid a pointless redirect (helps when trying to debug with providing a command line invocation which can be copy and pasted) and removing a few greps in favour of FileCheck. llvm-svn: 205465
* Add test case for [Stackmaps][X86TTI] Fix think-o in getIntImmCost ↵Juergen Ributzka2014-04-021-0/+17
| | | | | | calculation (r204738). llvm-svn: 205464
* Simplify communication between Resolver and Input Graph.Rui Ueyama2014-04-026-89/+45
| | | | | | | | | | | | | | | | | | | | | | | | Resolver is sending too much information to Input Graph than Input Graph actually needs. In order to collect the detailed information, which wouldn't be consumed by anyone, we have a good amount of code in Resolver, Input Graph and Input Elements. This patch is to simplify it. No functionality change. Specifically, this patch replaces ResolverState enum with a boolean value. The enum defines many bits to notify the progress about linking to Input Graph using bit masks, however, what Input Graph actually does is to compare a given value with 0. The details of the bit mask is simply being ignored, so the efforts to collect such data is wasted. This patch also changes the name of the notification interface from setResolverState to notifyProgress, to make it sounds more like message passing style. It's not a setter but something to notify of an update, so the new name should be more appropriate than before. Differential Revision: http://llvm-reviews.chandlerc.com/D3267 llvm-svn: 205463
* Don’t #include "llvm/Support/MachO.h” as it isn’t needed here.Greg Clayton2014-04-021-2/+0
| | | | llvm-svn: 205462
* Don’t include “llvm/Support/MachO.h” as it isn’t needed here.Greg Clayton2014-04-021-2/+0
| | | | llvm-svn: 205461
* Don’t #include “llvm/Support/MachO.h” in a header file if we can avoid ↵Greg Clayton2014-04-022-2/+2
| | | | | | it. llvm-svn: 205460
* ARM: update subtarget information for Windows on ARMSaleem Abdulrasool2014-04-0213-16/+157
| | | | | | | Update the subtarget information for Windows on ARM. This enables using the MC layer to target Windows on ARM. llvm-svn: 205459
* Make a few more range-based loops use explicit types.Jim Grosbach2014-04-022-2/+2
| | | | | | No functional change. llvm-svn: 205458
* Use explit types in foreach iteratorsTobias Grosser2014-04-021-18/+17
| | | | llvm-svn: 205457
* Add back an assert that was lost in the ELFObjectFile.h split.Rafael Espindola2014-04-021-0/+5
| | | | llvm-svn: 205456
* TargetLibraryInfo: Disable memcpy and memset on R600Tom Stellard2014-04-022-1/+64
| | | | | | There are no implementations of these for R600. llvm-svn: 205455
* Remove dead code.Rui Ueyama2014-04-022-6/+0
| | | | llvm-svn: 205454
* Simplify resolveFrameIndex() signature.Jim Grosbach2014-04-0210-26/+17
| | | | | | | | Just pass a MachineInstr reference rather than an MBB iterator. Creating a MachineInstr& is the first thing every implementation did anyway. llvm-svn: 205453
* ARM: cortex-m0 doesn't support unaligned memory access.Jim Grosbach2014-04-022-1/+19
| | | | | | | | | | | | Unlike other v6+ processors, cortex-m0 never supports unaligned accesses. From the v6m ARM ARM: "A3.2 Alignment support: ARMv6-M always generates a fault when an unaligned access occurs." rdar://16491560 llvm-svn: 205452
* Make some range based loop types more explicit.Jim Grosbach2014-04-022-6/+6
| | | | | | No functional change, but more readable code. llvm-svn: 205451
* rdar://16424649Enrico Granata2014-04-025-60/+135
| | | | | | | | Clean up the DynamicValueTestCase Namely, I split off the part of the test that validates child counts to a separate test llvm-svn: 205450
* [mips] Add more Octeon cnMips instructionsKai Nacke2014-04-024-12/+87
| | | | | | | | | | | | Adds the instructions ext/ext32/cins/cins32. It also changes pop/dpop to accept the two operand version and adds a simple pattern to generate baddu. Tests for the two operand versions (including baddu/dmul/dpop/pop) and the code generation pattern for baddu are included. Reviewed by: Daniel.Sanders@imgtec.com llvm-svn: 205449
* PR19305: Don't issue -Wunused-variable warnings on variable templates. It's notRichard Smith2014-04-023-26/+42
| | | | | | | | | | | meaningful to odr-use the VarDecl inside a variable template. (Separately, it'd be nice to track referenced-ness for templates, and warn on unused ones, but that's really a distinct issue...) Move a test that generates and tests a warning-suppressing error out to its own test file, so it doesn't have weird effects on the other tests in the same file. llvm-svn: 205448
* DebugInfo: Include default template arguments in template type namesDavid Blaikie2014-04-022-22/+15
| | | | | | | | | | | | | | | This was committed 4 years ago in 108916 with insufficient testing to explain why the "getTypeAsWritten" case was appropriate. Experience says that it isn't - the presence or absence of an explicit instantiation declaration was causing this code to generate either i<int> or i<int, int>. That didn't seem to be a useful distinction, and omitting the template arguments was destructive to debuggers being able to associate the two types across translation units or across compilers (GCC, reasonably, never omitted the arguments). llvm-svn: 205447
* [C++11,ARM64] Range based for and explicit 'override' in STP cleanup.Jim Grosbach2014-04-021-15/+13
| | | | | | No functional change intended. llvm-svn: 205446
* [C++11,ARM64] Range based for loops in constant promotion.Jim Grosbach2014-04-021-9/+6
| | | | | | No functional change intended. llvm-svn: 205445
* [C++11,ARM64] Range based for loops in load/store pair optimizer.Jim Grosbach2014-04-021-4/+1
| | | | | | No functional change intended. llvm-svn: 205444
* [C++11,ARM64] Range based for loops in target lowering.Jim Grosbach2014-04-021-3/+2
| | | | | | No functional change intended. llvm-svn: 205443
* [C++11,ARM64] Range based for loops in frame lowering.Jim Grosbach2014-04-021-5/+3
| | | | | | No functional change intended. llvm-svn: 205442
* [C++11,ARM64] Range based for loops in pseudo expansion.Jim Grosbach2014-04-021-3/+2
| | | | | | No functional change intended. llvm-svn: 205441
* [C++11,ARM64] Range based for loops for LOHJim Grosbach2014-04-021-34/+21
| | | | | | No functional change intended. llvm-svn: 205440
* [C++11,ARM64] Range based for loops TLS cleanup.Jim Grosbach2014-04-021-3/+2
| | | | | | No functional change intended. llvm-svn: 205439
* [C++11,ARM64] Range based for loops in branch relaxation.Jim Grosbach2014-04-021-6/+5
| | | | | | No functional change intended. llvm-svn: 205438
* [C++11,ARM64] Range based for loops in address type promotion.Jim Grosbach2014-04-021-34/+25
| | | | | | No functional change intended. llvm-svn: 205437
* Extend the SSE2 comment lexing to AVX2. Only 16byte align when not on AVX2.Roman Divacky2014-04-021-5/+28
| | | | | | This provides some 3% speedup when preprocessing gcc.c as a single file. llvm-svn: 205436
* [ARM64][CollectLOH] Remove the link to the radar from the comments.Quentin Colombet2014-04-021-3/+0
| | | | llvm-svn: 205435
* [yaml2obj][ELF] Convert some static functions into class members toSimon Atanasyan2014-04-021-149/+159
| | | | | | | | reduce number of arguments. No functional changes. llvm-svn: 205434
* [yaml2obj][ELF] Remove unused typedef.Simon Atanasyan2014-04-021-1/+0
| | | | | | No functional changes. llvm-svn: 205433
* [yaml2obj][ELF] Move section index to the ELFState class.Simon Atanasyan2014-04-021-32/+39
| | | | | | No functional changes. llvm-svn: 205432
* [yaml2obj][ELF] Remove relationship between ELFStateSimon Atanasyan2014-04-021-13/+6
| | | | | | | | | and ContiguousBlobAccumulator classes. Pass ContiguousBlobAccumulator to the handleSymtabSectionHeader function directly. No functional changes. llvm-svn: 205431
* ARM: Add support for segmented stacksOliver Stannard2014-04-0212-0/+1100
| | | | | | Patch by Alex Crichton, ILyoan, Luqman Aden and Svetoslav. llvm-svn: 205430
* clarify commentAdrian Prantl2014-04-021-1/+2
| | | | llvm-svn: 205429
* fix a comment to use ASCII aprostrophes.Adrian Prantl2014-04-021-1/+1
| | | | llvm-svn: 205428
* Add annotation for failure from new Attach/Resume test case on FreeBSDEd Maste2014-04-021-0/+1
| | | | llvm-svn: 205427
* ARM64: use GOT for weak symbols & PIC.Tim Northover2014-04-023-6/+128
| | | | | | | | | | Weak symbols cannot use the small code model's usual ADRP sequences since the instruction simply may not be able to encode a value of 0. This redirects them to use the GOT, which hopefully linkers are able to cope with even in the static relocation model. llvm-svn: 205426
* ARM64: fix lowering of fp128 fptosi/fptouiTim Northover2014-04-022-1/+54
| | | | | | | We were creating libcall nodes that returned an MVT::f128, when these particular operations actually return an int of some stripe. llvm-svn: 205425
* SLPVectorizer: compare entire intrinsic for SLP compatibility.Tim Northover2014-04-023-2/+23
| | | | | | | | | Some Intrinsics are overloaded to the extent that return type equality (all that's been checked up to now) does not guarantee that the arguments are the same. In these cases SLP vectorizer should not recurse into the operands, which can be achieved by comparing them as "Function *" rather than simply the ID. llvm-svn: 205424
* ARM64: make sure first argument to INSERT_SUBVECTOR has right type.Tim Northover2014-04-022-4/+9
| | | | | | | | Again, coalescing and other optimisations swiftly made the MachineInstrs consistent again, but when compiled at -O0 a bad INSERT_SUBREGISTER was produced. llvm-svn: 205423
* ARM64: convert fp16 narrowing ISel to pseudo-instructionTim Northover2014-04-024-15/+16
| | | | | | | | The previous attempt was fine with optimisations, but was actually rather cavalier with its types. When compiled at -O0, it produced invalid COPY MachineInstrs. llvm-svn: 205422
* Mark FPB as a reserved register when needed.Job Noorman2014-04-022-1/+15
| | | | llvm-svn: 205421
* Add matcher for ExprWithCleanups.Samuel Benzaquen2014-04-023-0/+20
| | | | | | | | | | | | Summary: Add matcher for ExprWithCleanups. Reviewers: klimek CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D3248 llvm-svn: 205420
* Add support for named values in the parser.Samuel Benzaquen2014-04-025-26/+95
| | | | | | | | | | | | | | | | | | | | Summary: Add support for named values in the parser. This allows injection of arbitrary constants using a custom Sema object. Completions are not supported right now. Will be used by clang_query to support the 'let' command. Usage example: clang_query> let unique_ptr recordDecl(hasName("unique_ptr")) clang_query> match varDecl(hasType(unique_ptr)) Reviewers: klimek, pcc CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D3229 llvm-svn: 205419
* [ASan] Fix incompatible runtimes check: don't iterate /proc/self/maps on ↵Alexey Samsonov2014-04-021-17/+22
| | | | | | every call to __asan_init llvm-svn: 205418
* [msan] Add missing test for r205413.Evgeniy Stepanov2014-04-021-0/+33
| | | | llvm-svn: 205417
OpenPOWER on IntegriCloud