summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* A few more details on the DataVisualization class in our architectural doc. ↵Enrico Granata2013-12-031-2/+14
| | | | | | It is in dire need of expansion, but this is a start at least. llvm-svn: 196176
* llvm-cov: Added edge struct for traversal in block.Yuchen Wu2013-12-032-17/+70
| | | | | | | | | | | | | Added GCOVEdge which are simple structs owned by the GCOVFunction that stores the source and destination GCOVBlocks, as well as the counts. Changed GCOVBlocks so that it stores a vector of source GCOVEdges and a vector of destination GCOVEdges, rather than just the block number. Storing the block number was only useful for knowing the number of edges and for debug info. Using a struct is useful for traversing the edges, especially back edges which may be needed later. llvm-svn: 196175
* Found six (nmostly) identical files named 'test_allocator.h' in the libcxx ↵Marshall Clow2013-12-03324-719/+366
| | | | | | test suite. Moved one to /support, made it a superset, and removed all but one of the others, and iupdated all the includes. Left the odd one (thread/futures/test_allocator.h) for later. llvm-svn: 196174
* llvm-cov: Split up reading of GCNO and GCDA files.Yuchen Wu2013-12-032-42/+51
| | | | | | There are now two functions: readGCNO() and readGCDA(). llvm-svn: 196173
* Debug Info: rename getDebugInfoVersionFromModule to ↵Manman Ren2013-12-033-5/+5
| | | | | | | | getDebugMetadataVersionFromModule. Suggested by Eric. llvm-svn: 196172
* Remove PPCScoreboardHazardRecognizerHal Finkel2013-12-023-41/+2
| | | | | | | | | | PPCScoreboardHazardRecognizer was a subclass of ScoreboardHazardRecognizer which did only one thing: filtered out nodes in EmitInstruction for which DAG->getInstrDesc(SU) returned NULL. This used to be the case for PPC pseudo instructions. As far as I can tell, this is no longer true, and so we can use ScoreboardHazardRecognizer directly. llvm-svn: 196171
* Refactor the setting of PrivateGlobalPrefix.Rafael Espindola2013-12-0214-19/+7
| | | | | | No functionality change. llvm-svn: 196170
* Don't set PrivateGlobalPrefix twice in the same function.Rafael Espindola2013-12-021-2/+0
| | | | llvm-svn: 196169
* Convert two char* that are only ever used as booleans to bool.Rafael Espindola2013-12-026-16/+13
| | | | llvm-svn: 196168
* Fix build on FreeBSD after r196141Ed Maste2013-12-021-0/+4
| | | | | | | | This should probably be replaced with build infrastructure support for a platform-specific canonical Python include path, but for now it should restore the FreeBSD buildbot. llvm-svn: 196167
* Refactored the work group-related attributes to use a template, which ↵Aaron Ballman2013-12-021-33/+10
| | | | | | reduces the amount of duplicate code in the handler. No functional change intended. llvm-svn: 196165
* Use local variable for repeated use rather than 'get' method. No functional ↵Kay Tiong Khoo2013-12-021-4/+3
| | | | | | change intended. llvm-svn: 196164
* Move variables to where they are used and give them better names. No ↵Kay Tiong Khoo2013-12-021-6/+8
| | | | | | functional change intended. llvm-svn: 196163
* Simplifying a test for duplicate vec_type_hint attributes. The assert and ↵Aaron Ballman2013-12-021-5/+1
| | | | | | attribute kind test were superfluous. No functional change intended. llvm-svn: 196162
* Rename variables to be consistent (CST -> Cst). No functional change intended.Kay Tiong Khoo2013-12-021-30/+30
| | | | llvm-svn: 196161
* Remove unnecessary/commented-out header inclusion.David Blaikie2013-12-021-1/+0
| | | | | | Review feedback from Eric Christopher on r196140 llvm-svn: 196160
* DebugInfo: Rename generic unit references to "TheU" instead of TheCU now ↵David Blaikie2013-12-023-65/+65
| | | | | | | | that they might be type units instead of compile units. CR feedback from Eric Christopher on r196139. llvm-svn: 196159
* Debug Info: drop debug info via upgrading path if version number does not match.Manman Ren2013-12-028-5/+64
| | | | | | | | | | | | | | Add a helper function getDebugInfoVersionFromModule to return the debug info version number for a module. "Verifier/module-flags-1.ll" checks for verification errors. It will seg fault when calling getDebugInfoVersionFromModule because of the incorrect format for module flags in the testing case. We make getModuleFlagsMetadata more robust by checking for error conditions. PR17982 llvm-svn: 196158
* Update Ocaml/vmcore.ml to emit a "Debug Info Version" module flag.Manman Ren2013-12-021-12/+13
| | | | llvm-svn: 196156
* The CUDA device attribute doesn't need custom logic to check the number of ↵Aaron Ballman2013-12-021-14/+2
| | | | | | attribute arguments (the common attribute handler already does this). Switching to use the simple attribute handler. No functional change intended. llvm-svn: 196155
* [AArch64] Implemented vcopy_lane patterns using scalar DUP instruction.Chad Rosier2013-12-022-3/+56
| | | | | | Patch by Ana Pazos! llvm-svn: 196153
* [AArch64] Add missing NEON scalar floating-point to integer convert ACLEs.Chad Rosier2013-12-025-23/+121
| | | | llvm-svn: 196152
* [AArch64] Implemented vcopy_lane patterns using scalar DUP instruction.Chad Rosier2013-12-022-28/+105
| | | | | | Patch by Ana Pazos! llvm-svn: 196151
* InlineFunction.cpp: Remove a return value that is always falseMark Seaborn2013-12-021-11/+3
| | | | | | | | Remove some associated dead code. This cleanup is associated with PR17872. llvm-svn: 196147
* Ensure parsed debug arange data is sortedEd Maste2013-12-021-0/+1
| | | | | | llvm.org/pr18114 llvm-svn: 196146
* Debug Info: Move the constant for Debug Info Version from Dwarf.h to Metadata.h.Manman Ren2013-12-021-1/+1
| | | | | | | Suggested by Eric. Paired commit with r196144. llvm-svn: 196145
* Debug Info: Move the constant for Debug Info Version from Dwarf.h to Metadata.h.Manman Ren2013-12-022-1/+4
| | | | | | Suggested by Eric. llvm-svn: 196144
* Expand comments for Debug Info Version.Manman Ren2013-12-021-1/+4
| | | | llvm-svn: 196143
* Rectifying style issues with generated code. No functional change intended.Aaron Ballman2013-12-021-4/+4
| | | | llvm-svn: 196142
* Fixed internal code to not link against and code from "lldb/API/*". Greg Clayton2013-12-0220-135/+147
| | | | | | | | | | lldb_private::Debugger was #including some "lldb/API" header files which causes tools (lldb-platform and lldb-gdbserver) that link against the internals only (no API layer) to fail to link depending on which calls were being used. Also fixed the current working directory so that it gets set correctly for remote test suite runs. Now the remote working directory is set to: "ARCH/TESTNUM/..." where ARCH is the current architecture name and "TESTNUM" is the current test number. Fixed the "lldb-platform" and "lldb-gdbserver" to not warn about mismatched visibility settings by having each have their own exports file which contains nothing. This forces all symbols to not be exported, and also quiets the linker warnings. llvm-svn: 196141
* DebugInfo: Rename DwarfCompileUnit.* to DwarfUnit.* to match their contents.David Blaikie2013-12-025-4/+4
| | | | llvm-svn: 196140
* DebugInfo: Refactor CompileUnit into a Unit baseclass and ↵David Blaikie2013-12-024-181/+183
| | | | | | | | | | CompileUnit/TypeUnit derived classes. Header/cpp file rename to follow immediately - just splitting out the commits for ease of review/reading to demonstrate that the renaming changes are entirely mechanical. llvm-svn: 196139
* Automate attribute language option checking by specifying the list of ↵Aaron Ballman2013-12-025-157/+140
| | | | | | options to test in tablegen. llvm-svn: 196138
* ClangFormatPackage.cs: fix inconsistent line endingsHans Wennborg2013-12-021-1/+1
| | | | llvm-svn: 196131
* DebugInfo: Type Units: Propagate the correct DW_AT_language into type units.David Blaikie2013-12-024-7/+35
| | | | llvm-svn: 196130
* Conservative fix for PR17827 - don't optimize a shift + and + compare ↵Kay Tiong Khoo2013-12-022-4/+86
| | | | | | sequence where the shift is logical unless the comparison is unsigned llvm-svn: 196129
* Request for review: Fix build-llvm.plJean-Daniel Dupas2013-12-021-3/+1
| | | | | | | | | | | | Summary: - Stop to try to rebuild llvm on each invocation by removing the invalid library entry libLLVMArchive.a which no longer exists. - Remove the useless ranlib invocation. "libtools -static" automatically takes care of the archive table of content. CC: lldb-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2296 llvm-svn: 196128
* Found two identical files named 'allocators.h' in the libcxx test suite. ↵Marshall Clow2013-12-0230-202/+28
| | | | | | Moved one to /support, removed the other, and iupdated all the includes. No functionality change llvm-svn: 196127
* Factored attribute mutual exclusion code into a helper function; split the ↵Aaron Ballman2013-12-021-35/+37
| | | | | | cf_audited_transfer and cf_unknown_transfer attributes into separate helper methods for simplicity. No functional changes intended. llvm-svn: 196126
* elf: Move elf note parsing to ObjectFileELF.cppEd Maste2013-12-023-90/+76
| | | | | | | | | Separate ELF note implementations were introduced for core files and GNU build-id. Move the more general one from elf-core to ObjectFileELF and use it for build-id as well. Review: http://llvm-reviews.chandlerc.com/D1902 llvm-svn: 196125
* clang-format vs plugin: use Alp's suggestion for getting the pathHans Wennborg2013-12-021-2/+2
| | | | llvm-svn: 196124
* Fix a typo in a comment: expasion -> expansionJames Dennett2013-12-021-1/+1
| | | | llvm-svn: 196123
* clang-format vs plugin: bake clang-format.exe into the vsixHans Wennborg2013-12-023-1/+11
| | | | | | | | | | | This makes the clang-format plugin self-contained. Instead of requiring clang-format.exe to be available on the PATH, this includes it in the plugin's installer (.vsix file) and runs it from the install directory. Differential Revision: http://llvm-reviews.chandlerc.com/D2281 llvm-svn: 196122
* R600: Workaround for cayman loop bugVincent Lejeune2013-12-023-0/+46
| | | | llvm-svn: 196121
* Re-enabled support for the Subjects for the weak attribute. This changes the ↵Aaron Ballman2013-12-026-24/+16
| | | | | | diagnostic involved to be more accurate -- for C++ code, it will now report that weak applies to variables, functions or classes. Added additional test case for this. llvm-svn: 196120
* Rewriter: Output RewriteRope contents efficientlyAlp Toker2013-12-022-3/+11
| | | | | | | | | This avoids allocation of temporary std::strings for file contents, instead writing chunks directly to the output stream. The old character-based B-tree iterator remains intact for the time being. llvm-svn: 196119
* Found two identical files named 'DefaultOnly.h' in the libcxx test suite. ↵Marshall Clow2013-12-0225-49/+23
| | | | | | Moved one to /support, removed the other, and iupdated all the includes. No functionality change llvm-svn: 196118
* Move getSymbolWithGlobalValueBase to TargetLoweringObjectFile.Rafael Espindola2013-12-028-27/+27
| | | | | | This allows it to be used in TargetLoweringObjectFileImpl.cpp. llvm-svn: 196117
* The __w64 attribute handler was more generically named, but only applied to ↵Aaron Ballman2013-12-021-8/+4
| | | | | | __w64 specifically. Renamed and removed some unused code. No functional change intended. llvm-svn: 196116
* Assume ARMv6 for NetBSD for now for strex/ldrex.Joerg Sonnenberger2013-12-021-0/+1
| | | | llvm-svn: 196115
OpenPOWER on IntegriCloud