summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [OPENMP] Fix for http://llvm.org/PR24430: clang hangs on invalid input with ↵Alexey Bataev2015-08-122-0/+13
| | | | | | | | openmp directive Add parsing of openmp directives inside structs/unions in C mode. llvm-svn: 244719
* [TableGen] Remove unused constructor.Craig Topper2015-08-121-2/+0
| | | | llvm-svn: 244718
* Fix CMake error whet llvm-config reports a non-existent source directory.Eric Fiselier2015-08-121-2/+6
| | | | llvm-svn: 244717
* Have debugserver send the OS version string plusJason Molenda2015-08-126-1/+51
| | | | | | | | | | major, minor, and patchlevel in the qHostInfo reply. Document that qHostInfo may report major/minor/patch separately / in addition to the version: combination. <rdar://problem/22125465> llvm-svn: 244716
* libclang: Add period to typedef kind docblockSaleem Abdulrasool2015-08-121-1/+1
| | | | | | | | | | All of the other docblocks for the CXCursor_* cursor kind enum values include documentation that ends with a period. Add a period to the end of the CXCursor_TypedefDecl documentation to follow this convention. Patch by Brian Gesiak! llvm-svn: 244715
* [modules] Fix thread safety analysis to cope with merging of FieldDecls ↵Richard Smith2015-08-126-1/+45
| | | | | | across modules. llvm-svn: 244714
* X86: hoist a condition into a variable (NFC)Saleem Abdulrasool2015-08-121-7/+8
| | | | | | | | The same value is used multiple times through the function. Hoist the condition into a variable. This should fix a silly static analysis warning where the conditions flip around. No functional change intended. llvm-svn: 244713
* [libFuzzer] add two flags, -tbm_depth and -tbm_width to control how the ↵Kostya Serebryany2015-08-127-12/+31
| | | | | | trace-based-mutations are applied llvm-svn: 244712
* Fix the alignment of the section headers.Rafael Espindola2015-08-125-4/+6
| | | | | | Thanks a lot to Rui for noticing it. llvm-svn: 244711
* Export snprintf to avoid linking error with liblldb on Windows.Chaoren Lin2015-08-121-1/+2
| | | | | | | | | | Reviewers: zturner, ovyalov Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D11967 llvm-svn: 244710
* Revised test to pass under updated dtor callback implementationNaomi Musgrave2015-08-121-2/+0
| | | | | | | | | | | | Summary: New implementation for dtor sanitizer callback poisons only class members, and emits poisoning callback before base dtor invoked. Reviewers: eugenis, kcc Differential Revision: http://reviews.llvm.org/D11952 Explicit dtor invocation llvm-svn: 244709
* [libFuzzer] add colons to the stats output to avoid confusionKostya Serebryany2015-08-121-2/+3
| | | | llvm-svn: 244708
* [libFuzzer] use raw C IO to reduce the risk of a deadlock in a signal handler.Kostya Serebryany2015-08-121-2/+5
| | | | llvm-svn: 244707
* Deleted old fixme ( ͡° ͜ʖ ͡°)Piotr Padlewski2015-08-121-5/+1
| | | | | | http://reviews.llvm.org/D11928 llvm-svn: 244706
* [x86] enable machine combiner reassociations for 256-bit vector FP mul/addSanjay Patel2015-08-123-2/+66
| | | | llvm-svn: 244705
* [LoopDist] Add test for missing coverageAdam Nemet2015-08-121-0/+57
| | | | | | | Add a testcase to ensure that if we can't find bounds for a necessary memcheck we don't distribute. llvm-svn: 244703
* ELF: Create a string table.Rafael Espindola2015-08-127-37/+168
| | | | | | | For now only the sections are in it, but it already makes the output easier to read and test. llvm-svn: 244702
* ELF2: Make Defined{Regular,Weak} ctors look the same as other SymbolBody ctors.Rui Ueyama2015-08-112-8/+3
| | | | llvm-svn: 244701
* Template ELF's OutputSection.Rafael Espindola2015-08-111-35/+25
| | | | | | This removes what I think is the last hard coded ELF64 structure. llvm-svn: 244700
* NFC. Fixing a red squiggly line in my editor.Chris Bieneman2015-08-111-1/+1
| | | | llvm-svn: 244699
* PseudoSourceValue: Transform the mips subclass to target independent subclassesAlex Lorenz2015-08-114-83/+102
| | | | | | | | | | | | This commit transforms the mips-specific 'MipsCallEntry' subclass of the 'PseudoSourceValue' class into two, target-independent subclasses named 'GlobalValuePseudoSourceValue' and 'ExternalSymbolPseudoSourceValue'. This change makes it easier to serialize the pseudo source values by removing target-specific pseudo source values. Reviewers: Akira Hatanaka llvm-svn: 244698
* Move more code that is local to Writer.cpp to an anonymous namespace.Rafael Espindola2015-08-113-26/+24
| | | | llvm-svn: 244697
* Delete dead code.Rafael Espindola2015-08-112-9/+0
| | | | llvm-svn: 244696
* Untabify.Eric Christopher2015-08-111-12/+12
| | | | llvm-svn: 244695
* Be a bit more consistent about using uintX_t for offsets and sizes. NFC.Rafael Espindola2015-08-111-5/+7
| | | | llvm-svn: 244694
* PseudoSourceValue: Replace global manager with a manager in a machine function.Alex Lorenz2015-08-1151-558/+602
| | | | | | | | | | | | | | | | | | | | | | This commit removes the global manager variable which is responsible for storing and allocating pseudo source values and instead it introduces a new manager class named 'PseudoSourceValueManager'. Machine functions now own an instance of the pseudo source value manager class. This commit also modifies the 'get...' methods in the 'MachinePointerInfo' class to construct pseudo source values using the instance of the pseudo source value manager object from the machine function. This commit updates calls to the 'get...' methods from the 'MachinePointerInfo' class in a lot of different files because those calls now need to pass in a reference to a machine function to those methods. This change will make it easier to serialize pseudo source values as it will enable me to transform the mips specific MipsCallEntry PseudoSourceValue subclass into two target independent subclasses. Reviewers: Akira Hatanaka llvm-svn: 244693
* Add test case for entry node with trivial PHIMichael Kruse2015-08-111-0/+37
| | | | | | | This is a break-down from the test-suite's oggenc where Polly currently crashes. llvm-svn: 244692
* COFF: Align sections to 512-byte boundaries on disk.Rui Ueyama2015-08-113-17/+13
| | | | | | | | | Sections must start at page boundaries in memory, but they can be aligned to sector boundaries (512-bytes) on disk. We aligned them to 4096-byte boundaries even on disk, so we wasted disk space a bit. llvm-svn: 244691
* [LAA] Fix typo in testAdam Nemet2015-08-111-1/+1
| | | | llvm-svn: 244690
* ClangASTType is now CompilerType.Greg Clayton2015-08-11152-1347/+1324
| | | | | | This is more preparation for multiple different kinds of types from different compilers (clang, Pascal, Go, RenderScript, Swift, etc). llvm-svn: 244689
* PseudoSourceValue: Introduce a 'PSVKind' enumerator.Alex Lorenz2015-08-113-25/+37
| | | | | | | | | | | | | | This commit introduces a new enumerator named 'PSVKind' in the 'PseudoSourceValue' class. This enumerator is now used to distinguish between the various kinds of pseudo source values. This change is done in preparation for the changes to the pseudo source value object management and to the PseudoSourceValue's class hierarchy - the next two PseudoSourceValue commits will get rid of the global variable that manages the pseudo source values and the mips specific MipsCallEntry subclass. Reviewers: Akira Hatanaka llvm-svn: 244687
* PseudoSourceValue: Update comments and fix lowercase variable names. NFC.Alex Lorenz2015-08-112-28/+23
| | | | | | | | | | | This commit updates the documentation comments in PseudoSourceValue.cpp and PseudoSourceValue.h based on the LLVM's documentation style. It also fixes several instances of variable names that started with a lowercase letter. This change is done in preparation for the changes to the pseudo source value object management and to the PseudoSourceValue's class hierarchy. llvm-svn: 244686
* Reformat PseudoSourceValue.cpp and PseudoSourceValue.h. NFC.Alex Lorenz2015-08-112-117/+115
| | | | | | | | | This commit reformats the files lib/CodeGen/PseudoSourceValue.cpp and include/llvm/CodeGen/PseudoSourceValue.h using clang-format. This change is done in preparation for the changes to the pseudo source value object management and to the PseudoSourceValue's class hierarchy. llvm-svn: 244685
* Use 32-bit divides instead of 64-bit divides where possible.Mark Heffernan2015-08-112-0/+84
| | | | | | | | | For NVPTX, try to use 32-bit division instead of 64-bit division when the dividend and divisor fit in 32 bits. This speeds up some internal benchmarks significantly. The underlying reason is that many index computations are carried out in 64-bits but never actually exceed the capacity of a 32-bit word. llvm-svn: 244684
* Fix a infinite loop when killing a process that is in the middle of loading ↵Greg Clayton2015-08-111-79/+76
| | | | | | | | | | shared libraries. The issue was we were sending a "qSymbol::" packet and it we were already disconnected were weren't exiting the while loop if we didn't successfully send the qSymbol packet. <rdar://problem/22098746> llvm-svn: 244683
* [modules] When instantiating the contents of an imported CXXRecordDecl, we canRichard Smith2015-08-115-7/+22
| | | | | | | | emit lexical contents for a declaration for another module. Track which module those contents came from, and ensure that we only grab the lexical contents from a single such instantiation. llvm-svn: 244682
* Added missing files from checking regarding:Greg Clayton2015-08-112-0/+351
| | | | | | http://reviews.llvm.org/D8712 llvm-svn: 244681
* ELF2: Remove unused global variable.Rui Ueyama2015-08-111-4/+1
| | | | | | | | A global variable "Driver" is to re-entry to the driver to parse a .drectve section. Because the need is COFF-specific, we don't need this variable for ELF. llvm-svn: 244680
* First step in getting LLDB ready to support multiple different type systems.Greg Clayton2015-08-1145-6724/+7878
| | | | | | | | This is the work done by Ryan Brown from http://reviews.llvm.org/D8712 that makes a TypeSystem class and abstracts types to be able to use a type system. All tests pass on MacOSX and passed on linux the last time this was submitted. llvm-svn: 244679
* Make DW_AT_[MIPS_]linkage_name optional, and off by default for SCE.Paul Robinson2015-08-1117-25/+116
| | | | | | | | | | | | | | Mangled "linkage" names can be huge, and if the debugger (or other tools) have no use for them, the size savings can be very impressive (on the order of 40%). Add one test for controlling behavior, and modify a number of tests to either stop using linkage names, or make llc emit them (so these tests will still run when the default triple is for PS4). Differential Revision: http://reviews.llvm.org/D11374 llvm-svn: 244678
* Tidy statistics collectionJonathan Peyton2015-08-1112-131/+233
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes some statistics counters and timers which were not used, adds new counters and timers for some language features that were not monitored previously and separates the counters and timers into those which are of interest for investigating user code and those which are only of interest to the developer of the runtime itself. The runtime developer statistics are now ony collected if the additional #define KMP_DEVELOPER_STATS is set. Additional user statistics which are now collected include: * Count of nested parallelism (omp parallel inside a parallel region) * Count of omp distribute occurrences * Count of omp teams occurrences * Counts of task related statistics (taskyield, task execution, task cancellation, task steal) * Values passed to omp_set_numtheads * Time spent in omp single and omp master None of this affects code compiled without stats gathering enabled, which is the normal library build mode. This also fixes the CMake build by linking to the standard c++ library when building the stats library as it is a requirement. The normal library does not have this requirement and its link phase is left alone. Differential Revision: http://reviews.llvm.org/D11759 llvm-svn: 244677
* Fix PR24354.Sanjoy Das2015-08-112-3/+35
| | | | | | | | | | `InstCombiner::OptimizeOverflowCheck` was asserting an invariant (operands to binary operations are ordered by decreasing complexity) that wasn't really an invariant. Fix this by instead having `InstCombiner::OptimizeOverflowCheck` establish the invariant if it does not hold. llvm-svn: 244676
* [MIPS] Use arch values for lock-free atomic operationsPetar Jovanovic2015-08-111-2/+1
| | | | | | | | | Let NaClMips32ELTargetInfo inherit arch values for maximum width lock-free atomic operations. Differential Revision: http://reviews.llvm.org/D11949 llvm-svn: 244675
* [lit] Don't disable the lit progress bar by default with MSVCReid Kleckner2015-08-111-1/+1
| | | | | | | | | | | Only disable the progress bar when we're generating VS project files, like we do for XCode. This makes lit use the simple, non-curses progress bar that looks like this with: Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. Testing Time: 5.87s llvm-svn: 244674
* [analyzer] Incorrect env variable replaced.Anton Yartsev2015-08-111-1/+1
| | | | llvm-svn: 244673
* don't repeat function names in comments; NFCSanjay Patel2015-08-111-39/+34
| | | | llvm-svn: 244672
* Add an assert to catch lexical decl deserialization bugs.Richard Smith2015-08-111-0/+1
| | | | llvm-svn: 244671
* Fixing a few C++0x comments to be C++11; NFC.Aaron Ballman2015-08-111-3/+3
| | | | llvm-svn: 244670
* Add missing documentation for conversionDecl; NFC.Aaron Ballman2015-08-111-0/+12
| | | | llvm-svn: 244669
* fix 80-cols; NFCSanjay Patel2015-08-111-19/+22
| | | | llvm-svn: 244668
OpenPOWER on IntegriCloud