summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Move an assertion so it doesn't dereference end().Jakob Stoklund Olesen2013-01-041-4/+3
| | | | | | The R600 target has test cases that exercises this code. llvm-svn: 171538
* Do not vectorize loops with subtraction reductionsPaul Redmond2013-01-043-2/+51
| | | | | | | | | Since subtraction does not commute the loop vectorizer incorrectly vectorizes reductions such as x = A[i] - x. Disabling for now. llvm-svn: 171537
* Add a name for the anonymous type we're creating for subrangeEric Christopher2013-01-045-42/+86
| | | | | | | | types and a FIXME for what we should be doing. Should solve the immediacy of PR12069 where our debug info is crashing another tool. llvm-svn: 171536
* Added DEBUG message to ObjCARC when we optimize objc_retain => ↵Michael Gottesman2013-01-041-0/+10
| | | | | | objc_retainAutorelasedReturnValue. llvm-svn: 171535
* Fixed up some DEBUG messages where I was putting in the text of a message ↵Michael Gottesman2013-01-041-8/+8
| | | | | | | | the method where it was being called when I should have just prefixed the actual message with Pass::Method. Additionally I fixed some whitespace issues. llvm-svn: 171534
* [ELF] STT_GNU_IFUNC is a known symbol type, so accept it. We do not yet ↵Michael J. Spencer2013-01-041-0/+1
| | | | | | implement its semantics. llvm-svn: 171533
* Style fix: We don't use lowercase-and-underscored template parameter names.Rafael Espindola2013-01-041-3/+3
| | | | | | Thanks for dgregor for noticing it. llvm-svn: 171532
* Style fixes.Michael J. Spencer2013-01-045-263/+208
| | | | llvm-svn: 171531
* [Passes][GOT] Fix style.Michael J. Spencer2013-01-041-48/+40
| | | | llvm-svn: 171530
* [Driver] Error on undefined.Michael J. Spencer2013-01-041-1/+6
| | | | llvm-svn: 171529
* Slightly better diagnostics on duplicate symbols.Michael J. Spencer2013-01-041-0/+9
| | | | llvm-svn: 171528
* [ELF] Handle misaligned ELF files properly.Michael J. Spencer2013-01-043-454/+576
| | | | llvm-svn: 171526
* Fix a warningNadav Rotem2013-01-041-2/+2
| | | | llvm-svn: 171525
* The current Intel Atom microarchitecture has a feature whereby when a functionPreston Gurd2013-01-0411-8/+282
| | | | | | | | | | | | | | | | | returns early then it is slightly faster to execute a sequence of NOP instructions to wait until the return address is ready, as opposed to simply stalling on the ret instruction until the return address is ready. When compiling for X86 Atom only, this patch will run a pass, called "X86PadShortFunction" which will add NOP instructions where less than four cycles elapse between function entry and return. It includes tests. Patch by Andy Zhang. llvm-svn: 171524
* General cleanups.Bill Wendling2013-01-043-69/+60
| | | | | | | | | | * Remove dead methods. * Use the 'operator==' method instead of 'contains', which isn't needed. * Fix some comments. No functionality change. llvm-svn: 171523
* Correctly format dereference and address of in array parameters.Daniel Jasper2013-01-042-2/+5
| | | | | | | | | Before: InvalidRegions[ &R] = 0; After: InvalidRegions[&R] = 0; This fixes llvm.org/PR14793 llvm-svn: 171522
* Fix typo. Thanks to dgregor for noticing it.Rafael Espindola2013-01-041-1/+1
| | | | llvm-svn: 171521
* [Object][ELF] Add a maximum alignment. This is used by createELFObjectFile ↵Michael J. Spencer2013-01-045-386/+466
| | | | | | to create a properly aligned reader. llvm-svn: 171520
* Unqualify the parameter type.Rafael Espindola2013-01-042-3/+18
| | | | | | This fixes a regression from 168895. llvm-svn: 171519
* [mips] MipsTargetLowering::getSetCCResultType should return a vector type ifAkira Hatanaka2013-01-042-1/+19
| | | | | | vectors are being compared. llvm-svn: 171517
* realpath'ify the mapping from header includes to module imports.Douglas Gregor2013-01-041-0/+13
| | | | llvm-svn: 171516
* [mips] 80 columns.Akira Hatanaka2013-01-044-8/+14
| | | | llvm-svn: 171515
* Fix how YAML I/O detects flow sequences. Nick Kledzik2013-01-043-39/+31
| | | | | | | Update test case to verify flow sequence is written as a flow sequence. llvm-svn: 171514
* [mips] Reorder template parameters. Remove class shift_rotate_imm32 andAkira Hatanaka2013-01-042-54/+59
| | | | | | shift_rotate_imm64. llvm-svn: 171513
* Memory Dependence Analysis: fix a miscompile that uses DT to approxmiate theManman Ren2013-01-042-4/+88
| | | | | | | | | | | | reachablity. We conservatively approximate the reachability analysis by saying it is not reachable if there is a single path starting from "From" and the path does not reach "To". rdar://12801584 llvm-svn: 171512
* [mips] Refactor conditional move instructions.Akira Hatanaka2013-01-041-13/+20
| | | | llvm-svn: 171511
* [mips] Refactor instructions which move data from or to coprocessors.Akira Hatanaka2013-01-043-33/+34
| | | | llvm-svn: 171510
* Update the gcc-loops benchmarks results with the new automatic unrolling ↵Nadav Rotem2013-01-041-0/+0
| | | | | | feature. llvm-svn: 171509
* fix a couple of typosEli Bendersky2013-01-041-2/+2
| | | | llvm-svn: 171508
* Remove unused #includeEli Bendersky2013-01-041-1/+0
| | | | llvm-svn: 171507
* PowerPC: Fix eh_frame relocation for PIC Adhemerval Zanella2013-01-045-33/+94
| | | | | | | | | This patch fixes the PPC eh_frame definitions for the personality and frame unwinding for PIC objects. It makes PIC build correctly creates relative relocations in the '.rela.eh_frame' segments and thus avoiding a text relocation that generates a DT_TEXTREL segments in link phase. llvm-svn: 171506
* Update CMakeLists.txtTed Kremenek2013-01-041-2/+2
| | | | llvm-svn: 171505
* Add __has_feature support to detect if clang supports the explicit "atomic" ↵Ted Kremenek2013-01-041-0/+1
| | | | | | | | keyword for ObjC properties. Fixes <rdar://problem/12953378>. llvm-svn: 171504
* Require set-xcode-analyzer to run with Python 2.7 or later.Ted Kremenek2013-01-041-1/+5
| | | | | | Addresses LLVM PR 11661. llvm-svn: 171503
* NSErrorChecker: remove quoting the parameter name in the diagnostic until we ↵Ted Kremenek2013-01-041-11/+8
| | | | | | | | | | actually include it's name. This is a possible regression of moving to using ImplicitNullDerefEvent. Fixing this for real (including the parameter name) requires more plumbing in ImplicitNullDerefEvent. This is just a stop gap fix. llvm-svn: 171502
* Tighten code. No functionality change.Ted Kremenek2013-01-041-7/+7
| | | | llvm-svn: 171501
* Added a bit more explanation for the python modules that aid with symbolication.Greg Clayton2013-01-041-12/+50
| | | | llvm-svn: 171500
* Add linpack-pc benchNadav Rotem2013-01-042-0/+4
| | | | llvm-svn: 171499
* atomic_bool was missing (just a typedef to atomic<bool>).Howard Hinnant2013-01-042-0/+59
| | | | llvm-svn: 171498
* Add the module name to the 'incomplete umbrella header' warning.Douglas Gregor2013-01-043-3/+4
| | | | llvm-svn: 171497
* Add Textmate bundle for Tablegen syntax-highlightingJoel Jones2013-01-043-0/+151
| | | | llvm-svn: 171496
* Let the formatter ignore UnwrappedLines containing errors.Daniel Jasper2013-01-042-17/+42
| | | | | | | | | | | | | | This prevents code like: namespace { class Foo { Foo( }; } // comment from causing segfaults (see llvm.org/PR14774). llvm-svn: 171495
* Add file added in r171484 to CMakelists.txt.Filipe Cabecinhas2013-01-041-0/+1
| | | | llvm-svn: 171494
* Debug Info: fix the line location for cleanup code of a block functionManman Ren2013-01-042-0/+88
| | | | | | | | | | The line information was changed when emitting debug information for all the DeclRefExprs and we should change it back to get ready for PopClenupBlocks called from FinishFunction. rdar://11562117 llvm-svn: 171493
* Fix up various builtin declaration of objc_msgSend familiesFariborz Jahanian2013-01-046-8/+65
| | | | | | | to match those foung in objc.h an avoid spurious warnings. // rdar://12489098 llvm-svn: 171492
* Change the default number of registers to prevent unrolling on targets that ↵Nadav Rotem2013-01-041-1/+1
| | | | | | dont have this hook. llvm-svn: 171489
* Add a space to the end of the line so we don't get "itsbounds" in output.Eric Christopher2013-01-041-1/+1
| | | | llvm-svn: 171487
* [libclang] Introduce clang_getFileLocation.Argyrios Kyrtzidis2013-01-043-2/+69
| | | | | | | | | Uses of clang_getSpellingLocation should eventually move to calling clang_getFileLocation, and clang_getSpellingLocation should do what its name represents and actually point at the 'spelling' location, e.g. inside a macro definition if the spelling of a token came from that. llvm-svn: 171486
* [arcmt] Allow removing an -autorelease of a variable initialized in the ↵Argyrios Kyrtzidis2013-01-045-16/+67
| | | | | | | | previous statement. rdar://11074996 llvm-svn: 171485
* [arcmt] Adds brackets in case statements that "contain" initialization of ↵Argyrios Kyrtzidis2013-01-048-10/+213
| | | | | | | | | | retaining variable, thus emitting the "switch case is in protected scope" error. rdar://12952016 llvm-svn: 171484
OpenPOWER on IntegriCloud