summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* tsan: also test asan during presubmit checks, because sanitizer_common ↵Dmitry Vyukov2013-01-241-1/+1
| | | | | | changes can affect it llvm-svn: 173327
* clang/test/Modules/global_index.m: XFAILing on win32 when investigating for now.NAKAMURA Takumi2013-01-241-0/+1
| | | | llvm-svn: 173326
* MipsISelLowering.cpp: Fill unreachable paths to fix warnings. ↵NAKAMURA Takumi2013-01-241-0/+6
| | | | | | | | [-Wsometimes-uninitialized] FIXME: Could they, unreachable(s), be removed? FIXME: I could prefer the coding standards... llvm-svn: 173325
* MipsISelLowering.cpp: Fix a warning, take two. [-Wunused-variable]NAKAMURA Takumi2013-01-241-2/+2
| | | | | | ...and fix a typo, s/#ifdef/#ifndef/ llvm-svn: 173324
* MipsISelLowering.cpp: Fix a warning. [-Wunused-variable]NAKAMURA Takumi2013-01-241-3/+5
| | | | llvm-svn: 173323
* Remove trailing whitespace.Craig Topper2013-01-241-134/+134
| | | | llvm-svn: 173322
* Add asserts to SmallVector so that calls to front() and back() only succeedRichard Trieu2013-01-241-0/+4
| | | | | | | if the vector is not empty. This will ensure that calls to these functions will reference elements in the vector. llvm-svn: 173321
* The next phase of Mips16 hard float implementation.Reed Kotler2013-01-243-36/+502
| | | | | | | | | | | | | | | | Allow Mips16 routines to call Mips32 routines that have abi requirements that either arguments or return values are passed in floating point registers. This handles only the pic case. We have not done non pic for Mips16 yet in any form. The libm functions are Mips32, so with this addition we have a complete Mips16 hard float implementation. We still are not able to complete mix Mip16 and Mips32 with hard float. That will be the next phase which will have several steps. For Mips32 to freely call Mips16 some stub functions must be created. llvm-svn: 173320
* Give warn_redecl_library_builtin a flag name: ↵Nick Lewycky2013-01-242-3/+3
| | | | | | -Wincompatible-library-redeclaration. llvm-svn: 173319
* MachineScheduler: enable biasCriticalPath for all DAGs.Andrew Trick2013-01-241-0/+4
| | | | llvm-svn: 173318
* MIsched: Added biasCriticalPath.Andrew Trick2013-01-242-0/+19
| | | | | | | Allow schedulers to order DAG edges by critical path. This makes DFS-based heuristics more stable and effective. llvm-svn: 173317
* [ELF] Add R_X86_64_IRELATIVE.Michael J. Spencer2013-01-241-1/+2
| | | | llvm-svn: 173316
* Start checking nonnull (as well as format and argument_with_type_tag) onNick Lewycky2013-01-242-0/+19
| | | | | | overloaded binary operators. llvm-svn: 173315
* Fix some wonky formatting, remove spurious emacs major mode marker. NoNick Lewycky2013-01-242-10/+8
| | | | | | functionality change! llvm-svn: 173314
* Add a profile for uniquifying the AttributeSet with the AttributeSetNodes.Bill Wendling2013-01-243-7/+17
| | | | llvm-svn: 173313
* Cleanup the AttributeSetNodes that we create.Bill Wendling2013-01-241-0/+7
| | | | llvm-svn: 173311
* Create a new class: AttributeSetNode.Bill Wendling2013-01-244-1/+112
| | | | | | | | | | This is a helper class for the AttributeSetImpl class. It holds a set of attributes that apply to a single element: function, return type, or parameter. These are uniqued. llvm-svn: 173310
* Micro cleanup: use an array of const char, rather than an array of char, as theRichard Smith2013-01-231-1/+1
| | | | | | | type of the string literal implicitly used for a raw user-defined literal call. No test; this has no semantic impact. llvm-svn: 173309
* Check for NULL breakpoint option thread name & queue name before comparing ↵Jim Ingham2013-01-231-2/+4
| | | | | | | | their values to the new value. <rdar://problem/13065198> llvm-svn: 173308
* Don't check lines beginning with '#', since they could contain a path with ↵Bill Wendling2013-01-231-1/+1
| | | | | | the unexpected word in them. llvm-svn: 173307
* Don't check lines beginning with '#', since they could contain a path with ↵Bill Wendling2013-01-231-1/+1
| | | | | | the unexpected word in them. llvm-svn: 173306
* The diagnostic is now a warning instead of an error. Also don't check lines ↵Bill Wendling2013-01-231-1/+1
| | | | | | beginning with '#', since they could contain a path with the unexpected word in them. llvm-svn: 173305
* Push down the conversion of the alignment from the bit mask to a real number ↵Bill Wendling2013-01-231-4/+6
| | | | | | into the attribute implementation class. llvm-svn: 173304
* Fix for case-sensitive file systems. UghDouglas Gregor2013-01-231-1/+1
| | | | llvm-svn: 173303
* Remove dead methods.Bill Wendling2013-01-233-29/+0
| | | | llvm-svn: 173302
* Implement the writer side of the global module index. Douglas Gregor2013-01-2311-8/+710
| | | | | | | | | | | | | | | | | | | | The global module index is a "global" index for all of the module files within a particular subdirectory in the module cache, which keeps track of all of the "interesting" identifiers and selectors known in each of the module files. One can perform a fast lookup in the index to determine which module files will have more information about entities with a particular name/selector. This information can help eliminate redundant lookups into module files (a serious performance problem) and help with creating auto-import/auto-include Fix-Its. The global module index is created or updated at the end of a translation unit that has triggered a (re)build of a module by scraping all of the .pcm files out of the module cache subdirectory, so it catches everything. As with module rebuilds, we use the file system's atomicity to synchronize. llvm-svn: 173301
* Add SectionPosition and OrderPassNick Kledzik2013-01-2323-18/+341
| | | | llvm-svn: 173300
* [ELF] Read IFUNC symbols correctly as typeResolver.Michael J. Spencer2013-01-235-0/+24
| | | | llvm-svn: 173299
* Fix small typoEli Bendersky2013-01-231-1/+1
| | | | llvm-svn: 173298
* R600: Add a llvm.R600.store.swizzle intrinsicsTom Stellard2013-01-233-2/+31
| | | | | | | | | | This intrinsic is translated to ALLOC_EXPORT_WORD1_SWIZ, hence its name. It is used to store vs/fs outputs Patch by: Vincent Lejeune Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 173297
* R600: Simplify stream outputs intrinsicTom Stellard2013-01-235-47/+13
| | | | | | | Patch by: Vincent Lejeune Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 173296
* Add a test case for 'analyzer_noreturn' on category methods.Ted Kremenek2013-01-231-0/+10
| | | | llvm-svn: 173295
* Always process an index.html file if we have HTML output. Patch by Justin ↵Ted Kremenek2013-01-231-1/+1
| | | | | | Bogner. llvm-svn: 173294
* ConstantFolding: Tweak r173289, it should evaluate in the intptr type, not ↵Benjamin Kramer2013-01-231-18/+15
| | | | | | the index type. llvm-svn: 173293
* Add missing null check. Not sure why my tests passed before.Ted Kremenek2013-01-231-4/+6
| | | | llvm-svn: 173292
* Honor attribute 'analyzer_noreturn' on Objective-C methods.Ted Kremenek2013-01-232-2/+34
| | | | | | | | | This isn't likely a full solution, but it catches the common cases and can be refined over time. Fixes <rdar://problem/11634353>. llvm-svn: 173291
* Add extra indent for nested calls inside if's.Daniel Jasper2013-01-232-3/+10
| | | | | | | | | | | | Before: if (aaaaaaaaaa( aaaaaaaaaa)) {} After: if (aaaaaaaaaa( aaaaaaaaaa)) {} llvm-svn: 173290
* ConstantFolding: Evaluate GEP indices in the index type.Benjamin Kramer2013-01-232-5/+33
| | | | | | | This fixes some edge cases that we would get wrong with uint64_ts. PR14986. llvm-svn: 173289
* Add instruction encodings / disassembly support for l6r instructions.Richard Osborne2013-01-234-6/+39
| | | | llvm-svn: 173288
* Add PassManager.Michael J. Spencer2013-01-2310-62/+92
| | | | | | It owns and manages passes. llvm-svn: 173287
* Implement -Wvla correctlyDmitri Gribenko2013-01-237-4/+51
| | | | | | | | | | | | | GCC implements -Wvla as "warn on every VLA" (this is useful to find every VLA, for example, if they are forbidden by coding guidelines). Currently Clang implements -Wvla as "warn on VLA when it is an extension". The attached patch makes our behavior match GCC. The existing vla extwarn is moved under -Wvla-extension and is still included into -Wgnu. This fixes PR5953. llvm-svn: 173286
* Initialize SSPBufferSize. PR14999. Patch by Vinson Lee.Chad Rosier2013-01-231-4/+4
| | | | llvm-svn: 173285
* Remove unused methods and ivars.Bill Wendling2013-01-231-11/+0
| | | | llvm-svn: 173284
* Factor the trait for lookup into the on-based hash table ofDouglas Gregor2013-01-232-46/+52
| | | | | | | | | identifiers into two parts: the part that involves dealing with the key (which can be re-used) and the ASTReader-specific part that creates the IdentifierInfos. While I'm at it, StringRef'ify this code, which was using pair<const char*, unsigned>. No functionality change. llvm-svn: 173283
* docs: clear up ambiguitySean Silva2013-01-231-1/+1
| | | | | | Anybody using clang is a "developer". llvm-svn: 173282
* [PCH] Temporarily disable the "ambiguous macro" warning that is currently ↵Argyrios Kyrtzidis2013-01-233-0/+33
| | | | | | | | | | | | bogus with a PCH that redefined a macro without undef'ing it first. Proper reconstruction of the macro info history from modules will properly fix this in subsequent commits. rdar://13016031 llvm-svn: 173281
* Documentation: add a note that -cc1 options are not guaranteed to be stableDmitri Gribenko2013-01-231-1/+2
| | | | llvm-svn: 173280
* Revert "InstCombine: Clean up weird code that talks about a modulus that's ↵Benjamin Kramer2013-01-232-1/+22
| | | | | | | | | long gone." This causes crashes during the build of compiler-rt during selfhost. Add a testcase for coverage. llvm-svn: 173279
* libclang: change return type of getCursorDecl() to 'const Decl *'Dmitri Gribenko2013-01-238-159/+167
| | | | llvm-svn: 173278
* Use 'const Decl *' throughout code completion in SemaDmitri Gribenko2013-01-237-149/+160
| | | | llvm-svn: 173277
OpenPOWER on IntegriCloud