summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [analyzer] Record the basic blocks covered by the analyzes run.Anna Zaks2012-04-0311-40/+174
| | | | | | | | Store this info inside the function summary generated for all analyzed functions. This is useful for coverage stats and can be helpful for analyzer state space search strategies. llvm-svn: 153923
* Cleanup set_union usage. The same thing but a bit cleaner now.Andrew Trick2012-04-031-1/+1
| | | | llvm-svn: 153922
* Add more constraint registers for mips.Eric Christopher2012-04-032-0/+47
| | | | | | Patch by Jack Carter. Testcase cleanup by me. llvm-svn: 153921
* Fixed ClangASTContext to correctly recognizeSean Callanan2012-04-031-183/+173
| | | | | | wchar_t as distinct from int. llvm-svn: 153920
* Add a Test case to make sure that __apple_types section does get produced by ↵Johnny Chen2012-04-031-3/+22
| | | | | | | | dsymutil. This is supposed to succeed even with rdar://problem/11166975. llvm-svn: 153919
* Use std::set_union instead of nasty custom code.Andrew Trick2012-04-031-13/+3
| | | | | | | I just noticed Jakob's examples of the proper application of std::set... routines. llvm-svn: 153918
* Change location information for synthesized properties to be at theEric Christopher2012-04-036-10/+46
| | | | | | | | | | | | | | | | | | property file/line rather than the @synthesize file/line. Avoids some nasty confusing-ness with conflating the file from the scope and the line from the original declaration. Use the current scope location as a separate parameter so that we can match it up better in the line table with the beginning of the scope. Update a couple of testcases accordingly since I had to change that we actually use the passed in location in EmitFunctionStart and for the new metadata parameter and add a new testcase to make sure we've got the right line numbers for synthesized properties. Part of rdar://11026482 llvm-svn: 153917
* Add a line number for the scope of the function (starting at the firstEric Christopher2012-04-036-5/+29
| | | | | | | | | | brace) so that we get more accurate line number information about the declaration of a given function and the line where the function first starts. Part of rdar://11026482 llvm-svn: 153916
* Add some more debug prints and retrieve the debug subsections from the DWARF ↵Johnny Chen2012-04-031-6/+14
| | | | | | section. llvm-svn: 153915
* Fixes to r153903. Added missing explanation of behaviour when the ↵Pete Cooper2012-04-032-5/+10
| | | | | | VirtRegMap is NULL. Also changed it in this case to just avoid updating the map, but live ranges or intervals will still get updated and created llvm-svn: 153914
* Fix another false positive in RegionStore involving doing loads from ↵Ted Kremenek2012-04-032-7/+34
| | | | | | | | | symbolic offsets. We still don't properly reason about such accesses, but we shouldn't emit bogus "uninitialized value" warnings either. Fixes <rdar://problem/11127008>. llvm-svn: 153913
* Use the LLVM RTTI library.Michael J. Spencer2012-04-029-88/+58
| | | | llvm-svn: 153912
* One last syntax error fixEnrico Granata2012-04-021-1/+1
| | | | llvm-svn: 153911
* Fixing syntax typos in Python formattersEnrico Granata2012-04-023-6/+6
| | | | llvm-svn: 153910
* Compare the .o files only for release builds. Add an option to bypass the ↵Bill Wendling2012-04-021-16/+26
| | | | | | comparison altogether. llvm-svn: 153909
* <rdar://problem/11160171>Greg Clayton2012-04-026-154/+178
| | | | | | Fixed an issue where there were more than one way to get a CompileUnitSP created when using SymbolFileDWARF with SymbolFileDWARFDebugMap. This led to an assertion that would fire under certain conditions. Now there is only one way to create the compile unit and it will "do the right thing". llvm-svn: 153908
* Remove unused file as this file is deprecated (use ./crashlog.py instead).Greg Clayton2012-04-021-573/+0
| | | | llvm-svn: 153907
* Moved LiveRangeEdit.h so that it can be called from other parts of the ↵Pete Cooper2012-04-029-8/+8
| | | | | | backend, not just libCodeGen llvm-svn: 153906
* Make dominatedBySlowTreeWalk private and assert cases handled by the caller.Rafael Espindola2012-04-021-21/+12
| | | | llvm-svn: 153905
* Allocate virtual registers in ascending order.Jakob Stoklund Olesen2012-04-026-17/+38
| | | | | | | | | This is just the fallback tie-breaker ordering, the main allocation order is still descending size. Patch by Shamil Kurmangaleev! llvm-svn: 153904
* Refactored the LiveRangeEdit interface so that MachineFunction, ↵Pete Cooper2012-04-028-93/+76
| | | | | | TargetInstrInfo, MachineRegisterInfo, LiveIntervals, and VirtRegMap are all passed into the constructor and stored as members instead of passed in to each method. llvm-svn: 153903
* Add an option to turn off the expensive GVN load PRE part of GVN.Bill Wendling2012-04-023-6/+13
| | | | llvm-svn: 153902
* Add predicates for checking whether targets have free FNEG and FABS ↵Owen Anderson2012-04-022-3/+17
| | | | | | operations, and prevent the DAGCombiner from turning them into bitwise operations if they do. llvm-svn: 153901
* Fix potential null dereference in the static analyzer when inlining a call ↵Ted Kremenek2012-04-021-4/+5
| | | | | | that has already been inlined. Unfortunately I have no test case. llvm-svn: 153900
* Removing some instances of str(SBValue)Enrico Granata2012-04-023-6/+6
| | | | llvm-svn: 153899
* Reduce static analyzer memory usage by about 4% by packing the ProgramPoing ↵Ted Kremenek2012-04-021-17/+54
| | | | | | 'Kind' field into the spare bits of other fields. llvm-svn: 153898
* PR10217 diagnostic fix: don't say 'copy constructor' when we meanRichard Smith2012-04-022-2/+2
| | | | | | 'copy assignment operator'. llvm-svn: 153897
* Update <random> with constexpr support. Patch contributed by Jonathan Sauer.Howard Hinnant2012-04-026-102/+132
| | | | llvm-svn: 153896
* Remove windows line endings.David Blaikie2012-04-021-105/+105
| | | | llvm-svn: 153895
* Finish PR10217: Ensure we say that a special member was implicitly, notRichard Smith2012-04-029-42/+49
| | | | | | explicitly, deleted in all relevant cases, and explain why. llvm-svn: 153894
* Export the ability to see if a symbol is externally visible and also if the ↵Greg Clayton2012-04-023-1/+45
| | | | | | symbol was synthetically added to the symbol table (the symbol was not part of the symbol table itself but came from another section). llvm-svn: 153893
* During two-address lowering, rescheduling an instruction does not untieLang Hames2012-04-022-2/+26
| | | | | | | operands. Make TryInstructionTransform return false to reflect this. Fixes PR11861. llvm-svn: 153892
* Add testcase that verifies that __apple_types is a valid section in a .o ↵Johnny Chen2012-04-023-0/+93
| | | | | | | | file generated by clang. rdar://problem/11167268 llvm-svn: 153891
* No need to run llvm-as.Rafael Espindola2012-04-021-1/+1
| | | | llvm-svn: 153890
* Initial 64 bit direct object support.Akira Hatanaka2012-04-026-29/+82
| | | | | | | | | | | This patch allows llvm to recognize that a 64 bit object file is being produced and that the subsequently generated ELF header has the correct information. The test case checks for both big and little endian flavors. Patch by Jack Carter. llvm-svn: 153889
* Update <limits> with constexpr support. Patch contributed by Jonathan Sauer.Howard Hinnant2012-04-022-417/+420
| | | | llvm-svn: 153888
* Correct error recovery when missing 'class' in a template template parameter.David Blaikie2012-04-024-10/+19
| | | | | | | | | | | | | | | | | The diagnostic message correctly informs the user that they have omitted the 'class' keyword, but neither suggests this insertion as a fixit, nor attempts to recover as if they had provided the keyword. This fixes the recovery, adds the fixit, and adds a separate diagnostic and corresponding replacement fixit for cases where the user wrote 'struct' or 'typename' instead of 'class' (suggested by Richard Smith as a possible common mistake). I'm not sure the diagnostic message for either the original or new cases feel very Clang-esque, so I'm open to suggestions there. The fixit hints make it fairly easy to see what's required, though. llvm-svn: 153887
* The binutils for the IBM BG/P are too old to support CFI.Hal Finkel2012-04-022-0/+6
| | | | llvm-svn: 153886
* Silence -Wunused-variable in -Asserts buildMatt Beaumont-Gay2012-04-021-0/+1
| | | | llvm-svn: 153885
* PR12438: Profile a reference to a type template parameter by depth and index,Richard Smith2012-04-022-6/+23
| | | | | | | not by canonical decl. This only matters for sizeof...(Pack) expressions; in all other cases, we'd profile it as a type instead. llvm-svn: 153884
* Implement DR1402: if a field or base class is not movable, the derived class'sRichard Smith2012-04-025-47/+241
| | | | | | | | | | | move constructor/move assignment operator are not declared, rather than being defined as deleted, so move operations on the derived class fall back to copying rather than moving. If a move operation on the derived class is explicitly defaulted, the unmovable subobject will be copied instead of being moved. llvm-svn: 153883
* Add triple support for the IBM BG/P and BG/Q supercomputers.Hal Finkel2012-04-023-2/+29
| | | | llvm-svn: 153882
* Create a directory to host debug info specific test(s) for darwins.Johnny Chen2012-04-020-0/+0
| | | | llvm-svn: 153881
* Turn on the accelerator tables for Darwin.Eric Christopher2012-04-021-0/+6
| | | | llvm-svn: 153880
* Fast fix for PR12343:Stepan Dyatkovskiy2012-04-022-4/+75
| | | | | | | | | | http://llvm.org/bugs/show_bug.cgi?id=12343 We have not trivial way for splitting edges that are goes from indirect branch. We can do it with some tricks, but it should be additionally discussed. And it is still dangerous due to difficulty of indirect branches controlling. Fix forbids this case for unswitching. llvm-svn: 153879
* Logging for data formatters.Enrico Granata2012-04-0217-3/+352
| | | | llvm-svn: 153878
* Use -rewrite-legacy-objc as clang argument for translating Fariborz Jahanian2012-04-027-1/+25
| | | | | | | objective-c's fragile abi, Use -rewrite-objc for translating objective-c's modern abi. // rdar://11143173 llvm-svn: 153877
* Implement the SVR4 byval alignment for aggregates. Fixing a FIXME.Roman Divacky2012-04-021-1/+10
| | | | llvm-svn: 153876
* Second part for the 153874 oneSilviu Baranga2012-04-021-3/+3
| | | | llvm-svn: 153875
* Added fix in TableGen instruction decoder generation. The decoder now breaks ↵Silviu Baranga2012-04-021-0/+15
| | | | | | for every leaf node. llvm-svn: 153874
OpenPOWER on IntegriCloud