summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [analyzer] Add 'prune-paths' config option to disable path pruning.Jordan Rose2013-01-264-1/+34
| | | | | | This should be used for testing only. Path pruning is still on by default. llvm-svn: 173545
* [analyzer] Rename PruneNullReturnPaths to SuppressNullReturnPaths.Jordan Rose2013-01-263-8/+8
| | | | | | | "Prune" is the term for eliminating pieces of a path that are not relevant to the user. "Suppress" means don't show that path at all. llvm-svn: 173544
* Fix up the test.Fariborz Jahanian2013-01-261-9/+15
| | | | | | for // rdar://11861085 llvm-svn: 173543
* Since we're stuck with realpath for the header <-> module mapping,Douglas Gregor2013-01-264-44/+68
| | | | | | | | factor the realpath calls into FileManager::getCanonicalName() so we can cache the results of this epically slow operation. 5% speedup on my modules test, and realpath drops out of the profile. llvm-svn: 173542
* Revert r172285 (suppressing a 'redundant' -Wc++98-compat warning) and add aRichard Smith2013-01-262-1/+2
| | | | | | testcase for a situation it caused us to miss. llvm-svn: 173540
* Comment parsing: actually check for a block command after "\param x"Dmitri Gribenko2013-01-264-6/+57
| | | | | | This fixes PR15068. llvm-svn: 173539
* Preserve Sema::UndefinedInternals across PCH boundaries. FixesNick Lewycky2013-01-2611-24/+97
| | | | | | -Wundefined-internal warnings with PCH. llvm-svn: 173538
* Add DIContext::getLineInfoForAddressRange() function and test. This ↵Andrew Kaylor2013-01-268-8/+191
| | | | | | function allows a caller to obtain a table of line information for a function using the function's address and size. llvm-svn: 173537
* Convert BuildLibCalls.cpp to using the AttributeSet methods instead of ↵Bill Wendling2013-01-263-69/+75
| | | | | | AttributeWithIndex. llvm-svn: 173536
* patch for PR9027 and // rdar://11861085Fariborz Jahanian2013-01-2511-3/+126
| | | | | | | | | | | Title: [PR9027] volatile struct bug: member is not loaded at -O; This is caused by last flag passed to @llvm.memcpy being false, not honoring that aggregate has at least one 'volatile' data member (even though aggregate itself has not been qualified as 'volatile'. As a result, optimization optimizes away the memcpy altogether. Patch review by John MaCall (I still need to fix up a test though). llvm-svn: 173535
* clang/test/Index/annotate-comments-typedef.m: Remove CommentXMLValid in ↵NAKAMURA Takumi2013-01-251-2/+2
| | | | | | CHECKs. Don't assume libxml2 here. llvm-svn: 173534
* [ELF][x86-64] Add relocation string<->kind.Michael J. Spencer2013-01-253-0/+121
| | | | llvm-svn: 173533
* A port of the Visual Studio 2012 debugger visualizers for common LLVM and ↵Aaron Ballman2013-01-251-0/+181
| | | | | | clang datatypes. Patch thanks to Nico Rieck! llvm-svn: 173532
* ARM says that the array cookie should always be eight bytes.John McCall2013-01-252-25/+73
| | | | | | | ARM is not thinking about over-aligned structures. Overrule ARM in both our generic-ARM and iOS ABI implementations. llvm-svn: 173531
* Move the decision about the kind of CGCXXABI to make insideJohn McCall2013-01-253-13/+25
| | | | | | the family-specific files. llvm-svn: 173530
* Improve coordination between the module manager and the global moduleDouglas Gregor2013-01-255-72/+109
| | | | | | | | | index, optimizing the operation that skips lookup in modules where we know the identifier will not be found. This makes the global module index optimization actually useful, providing an 8.5% speedup over modules without the global module index for -fsyntax-only. llvm-svn: 173529
* llvm/test/CMakeLists.txt: Add a dependency to llvm-rtdyld in check-llvm.NAKAMURA Takumi2013-01-251-0/+1
| | | | llvm-svn: 173528
* [ELF][X86-64] Use the correct base address.Michael J. Spencer2013-01-254-2/+16
| | | | llvm-svn: 173527
* Remove unused variables, silences -Wunused-variableDmitri Gribenko2013-01-251-4/+2
| | | | llvm-svn: 173526
* clang/test/Preprocessor/iwithprefix.c: Tweak default includes not to use ↵NAKAMURA Takumi2013-01-251-1/+1
| | | | | | | | | | /usr/include. You may see such a message on non-posix system; ignoring nonexistent directory "/usr/local/include" ignoring nonexistent directory "/usr/include" llvm-svn: 173525
* Remove dead method.Bill Wendling2013-01-252-12/+0
| | | | llvm-svn: 173524
* [utils] Kill another no-longer-useful utility script.Daniel Dunbar2013-01-251-117/+0
| | | | | | | - We are long past the days of getting clang to fail in mass on swaths of code, fortunately. llvm-svn: 173523
* Remove some introspection functions.Bill Wendling2013-01-2510-94/+143
| | | | | | | | The 'getSlot' function and its ilk allow introspection into the AttributeSet class. However, that class should be opaque. Allow access through accessor methods instead. llvm-svn: 173522
* simplify code by removing excessive bracing.Fariborz Jahanian2013-01-251-20/+12
| | | | llvm-svn: 173521
* Initial implementation of PPCTargetTransformInfoHal Finkel2013-01-257-0/+277
| | | | | | | | | | This provides a place to add customized operation cost information and control some other target-specific IR-level transformations. The only non-trivial logic in this checkin assigns a higher cost to unaligned loads and stores (covered by the included test case). llvm-svn: 173520
* Missing newline in a warning message.Jim Ingham2013-01-251-1/+1
| | | | llvm-svn: 173519
* Fix a warning in the new DWARFheader. Add a new line at the end of the file.Nadav Rotem2013-01-251-1/+2
| | | | llvm-svn: 173518
* Add support for applying in-memory relocations to the .debug_line section ↵Andrew Kaylor2013-01-2513-11/+137
| | | | | | and, in the case of ELF files, using symbol addresses when available for relocations to the .debug_info section. Also extending the llvm-rtdyld tool to add the ability to dump line number information for testing purposes. llvm-svn: 173517
* Attach enum's documentation to its typedef ifFariborz Jahanian2013-01-252-0/+40
| | | | | | latter does not have one of its own. // rdar://13067629 llvm-svn: 173516
* The standard ARM C++ ABI dictates that inline functions areJohn McCall2013-01-2519-180/+853
| | | | | | | | never key functions. We did not implement that rule for the iOS ABI, which was driven by what was implemented in gcc-4.2. However, implement it now for other ARM-based platforms. llvm-svn: 173515
* First pass at abstracting out a class for the target C++ ABI.John McCall2013-01-2512-58/+230
| | | | llvm-svn: 173514
* Add file to CMakeLists (file added in r173505)Dmitri Gribenko2013-01-251-0/+1
| | | | llvm-svn: 173513
* Optimize ModuleManager::visit() by precomputing the visitation orderDouglas Gregor2013-01-252-66/+86
| | | | | | | | | | and limiting ourselves to two memory allocations. 10% speedup in -fsyntax-only time for modules. With this change, we can actually see some performance different from the global module index, but it's still about 1%. llvm-svn: 173512
* Remove useless 'XPASS: *' from testsDmitri Gribenko2013-01-256-6/+1
| | | | llvm-svn: 173511
* Temporarily disabling ms-asm testRenato Golin2013-01-251-0/+1
| | | | llvm-svn: 173510
* XFAIL close-stderr on win32Reid Kleckner2013-01-251-0/+3
| | | | | | | | The test runner does not rewrite instances of /dev/null inside the quoted sh command. /dev/null does not exist, so opt will fail to open it, and return a non-zero exit code. llvm-svn: 173509
* Set the +x bit on two batch scriptsReid Kleckner2013-01-252-0/+0
| | | | | | | | Cygwin git-svn will faithfully forward the svn properties all the way down to the NTFS executable permission. Without the +x bit, tests using these scripts fail with "Access Denied". llvm-svn: 173508
* Add parens to suppress an MSVC 2012 << precedence warningReid Kleckner2013-01-251-1/+1
| | | | | | | It doesn't seem to like instantiating the isUInt<unsigned N> template with 6+3, and then doing <<N. llvm-svn: 173507
* FileCheck-ify some grep testsReid Kleckner2013-01-253-7/+10
| | | | | | | | These tests in particular try to use escaped square brackets as an argument to grep, which is failing for me with native win32 python. It appears the backslash is being lost near the CreateProcess*() call. llvm-svn: 173506
* Add an insert() method to MapVector. Adds the first MapVector unit test.Nick Lewycky2013-01-252-0/+54
| | | | llvm-svn: 173505
* This test actually passes, just add the missing expected-errorDmitri Gribenko2013-01-251-3/+3
| | | | llvm-svn: 173504
* In this patch, we teach X86_64TargetMachine that it has a ILP32Eli Bendersky2013-01-256-22/+82
| | | | | | | | | | | | | | | | | | | | | (defined by the x32 ABI) mode, in which case its pointers are 32-bits in size. This knowledge is also added to X86RegisterInfo that now returns the appropriate registers in getPointerRegClass. There are many outcomes to this change. In order to keep the patches separate and manageable, we start by focusing on some simple testable cases. The patch adds a test with passing a pointer to a function - focusing on the difference between the two data models for x86-64. Another test is added for handling of 'sret' arguments (and functionality is added in X86ISelLowering to make it work). A note on naming: the "x32 ABI" document refers to the AMD64 architecture (in LLVM it's distinguished by being is64Bits() in the x86 subtarget) with two variations: the LP64 (default) data model, and the ILP32 data model. This patch adds predicates to the subtarget which are consistent with this naming scheme. llvm-svn: 173503
* Add back a RUN line removed by mistake by a previous commitEli Bendersky2013-01-251-0/+1
| | | | llvm-svn: 173502
* Add instruction encodings / disassembly support for l4r instructions.Richard Osborne2013-01-254-18/+94
| | | | llvm-svn: 173501
* LoopVectorize: Refactor the code that vectorizes loads/stores to remove ↵Nadav Rotem2013-01-251-145/+113
| | | | | | duplication. llvm-svn: 173500
* Use the new 'getSlotIndex' method to retrieve the attribute's slot index.Bill Wendling2013-01-256-8/+8
| | | | llvm-svn: 173499
* Now that llvm-dwarfdump supports flags to specify which DWARF section to dump,Eli Bendersky2013-01-2541-45/+44
| | | | | | | use them in tests that run llvm-dwarfdump. This is in order to make tests as specific as possible. llvm-svn: 173498
* Use const reference instead of vector copying.Jakub Staszak2013-01-251-1/+2
| | | | llvm-svn: 173497
* Migrate test from grep to -fdiagnostics-parseable-fixitsDmitri Gribenko2013-01-251-1/+9
| | | | llvm-svn: 173496
* Add an accessor method to get the slot's index. This will limit the use of ↵Bill Wendling2013-01-254-12/+25
| | | | | | AttributeWithIndex. llvm-svn: 173495
OpenPOWER on IntegriCloud