summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* C++ status:Richard Smith2013-05-071-19/+18
| | | | | | | | | - fix paper links to point to isocpp.org, where most of the papers are already up - update "SVN" features to "Clang 3.3" to distinguish them from features which we complete after the branch - document use of -std=c++1y to enable c++1y support llvm-svn: 181283
* [analyzer; alternate arrows] provide a diagnostic for entering a loop for ↵Ted Kremenek2013-05-071-20/+90
| | | | | | the first time. llvm-svn: 181282
* Making it possible to specify a substring for a category name as long as the ↵Enrico Granata2013-05-071-2/+16
| | | | | | match is unique llvm-svn: 181281
* [ELF] Initialize readers and writers on creation.Michael J. Spencer2013-05-076-49/+27
| | | | | | | This makes the target handler a constructor argument because the constructor of OutputELFWriter relies on it being initialized. llvm-svn: 181280
* [Core] Properly stop the ThreadPoolExecutor and use the ConcRT memory allocator.Michael J. Spencer2013-05-071-2/+4
| | | | llvm-svn: 181279
* DebugInfo: Support imported modules (using directives) within lexical blocks.David Blaikie2013-05-062-7/+16
| | | | llvm-svn: 181272
* DebugInfo: Support imported modules in lexical blocksDavid Blaikie2013-05-064-26/+133
| | | | llvm-svn: 181271
* R600/SI: Add intrinsic for MIMG IMAGE_GET_RESINFO opcodeTom Stellard2013-05-062-1/+14
| | | | | | | | Patch by: Michel Dänzer Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 181269
* R600/SI: Handle arbitrary destination type in SITargetLowering::adjustWritemaskTom Stellard2013-05-061-1/+1
| | | | | | | | Patch by: Michel Dänzer Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 181268
* R600/SI: Add intrinsic for texture image loadingTom Stellard2013-05-063-10/+46
| | | | | | | | Patch by: Michel Dänzer Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 181267
* R600/SI: Add pattern for uint_to_fpTom Stellard2013-05-061-1/+3
| | | | | | | | Patch by: Michel Dänzer Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 181266
* R600/SI: Add patterns for integer maxima / minimaTom Stellard2013-05-061-4/+12
| | | | | | | | Patch by: Michel Dänzer Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 181265
* In ProcessKDP, if the remote connection is not EFI,Jason Molenda2013-05-061-2/+5
| | | | | | | | force this to be a DynamicLoaderDarwinKernel debug session even if we didn't get back a load address for the kernel. llvm-svn: 181264
* R600/SI: Add pattern for AMDGPU.trunc intrinsicTom Stellard2013-05-061-1/+3
| | | | | | | | Patch by: Michel Dänzer Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Tom Stellard <thomas.stellard@amd.com> llvm-svn: 181263
* <rdar://problem/13063912>Enrico Granata2013-05-062-6/+30
| | | | | | | If the user pressed ^D, that would bypass the exit confirmation mechanism This checkin remedies that by making sure that users get prompted on exit when appropriate even if they use CTRL+D instead of typing quit at the prompt llvm-svn: 181257
* [analyzer; alternate arrows] don't increment the path iterator when we just ↵Ted Kremenek2013-05-061-13/+22
| | | | | | | | | deleted the next iterator. This is an optimization. It is possible that by deleting the next edge we will pattern match again at the current spot. llvm-svn: 181256
* Print IR from Hexagon MI passes with -print-before/after-all.Krzysztof Parzyszek2013-05-066-17/+79
| | | | llvm-svn: 181255
* Implemented public interface for modifying registered (not positional or ↵Andrew Trick2013-05-064-3/+142
| | | | | | | | sink options) command line options at runtime. Patch by Dan Liew! llvm-svn: 181254
* Support command line option categories.Andrew Trick2013-05-064-28/+323
| | | | | | Patch by Dan Liew! llvm-svn: 181253
* Grab-bag of bit-field fixes:John McCall2013-05-0615-24/+147
| | | | | | | | | | | | | | - References to ObjC bit-field ivars are bit-field lvalues; fixes rdar://13794269, which got me started down this. - Introduce Expr::refersToBitField, switch a couple users to it where semantically important, and comment the difference between this and the existing API. - Discourage Expr::getBitField by making it a bit longer and less general-sounding. - Lock down on const_casts of bit-field gl-values until we hear back from the committee as to whether they're allowed. llvm-svn: 181252
* Add missing initialization for Sema::CurScope. This is important for AST ↵Richard Smith2013-05-061-1/+1
| | | | | | consumers which don't create a Parser. Pointed out by Tom Honermann. llvm-svn: 181251
* Cleanup of the HexagonTargetMachine setup.Krzysztof Parzyszek2013-05-061-29/+34
| | | | llvm-svn: 181250
* InstCombine: (X ^ signbit) + C -> X + (signbit ^ C)David Majnemer2013-05-062-0/+15
| | | | llvm-svn: 181249
* Hoist boundary condition out of loop header.Eric Christopher2013-05-061-1/+2
| | | | llvm-svn: 181248
* Untabify.Eric Christopher2013-05-061-5/+5
| | | | llvm-svn: 181247
* Move PragmaCommentHandler to lib/Parse in preparation for calling SemaReid Kleckner2013-05-068-78/+90
| | | | | | | | | | | | | | Summary: No functionality change. The existing tests for this pragma only verify that we can preprocess it. Reviewers: rsmith CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D751 llvm-svn: 181246
* Reduce attributes.Bill Wendling2013-05-061-2/+2
| | | | llvm-svn: 181245
* [lld]remove lld-coreShankar Easwaran2013-05-063-731/+0
| | | | llvm-svn: 181244
* Split Alignment out of the Section Characteristics.Rafael Espindola2013-05-063-18/+12
| | | | | | | | The alignment is just a byte in the middle of Characteristics, not an independent flag. Making it an independent field in the yaml representation makes it more yamlio friendly. llvm-svn: 181243
* Stop LoopConvert removing DeclStmts from selection/iteration condition clausesEdwin Vane2013-05-063-10/+121
| | | | | | | | | | | If the LoopConvert Transform detects an alias for the loop variable, it attempts to use that name in the resulting range-based for loop while removing the original DeclStmt for the variable. That removal produced bad code when the declaration was in the condition of an if, switch, while, or for stmt. This revision fixes the problem by simply replacing the declaration with a use of the alias variable. llvm-svn: 181242
* Fix typo in C++11 flag for the GCC 4.6 code path: missing '-'Daniel Malea2013-05-061-1/+1
| | | | llvm-svn: 181239
* Modify ASTReaderListener to allow visiting the input files of an AST file.Argyrios Kyrtzidis2013-05-062-8/+68
| | | | | | We can pass such an input-file-visiting ASTReaderListener to ASTReader::readASTFileControlBlock. llvm-svn: 181238
* Have the RecursiveASTVisitor traverse the type source info of an objc class ↵Argyrios Kyrtzidis2013-05-064-5/+17
| | | | | | message. llvm-svn: 181237
* <rdar://problem/11669154>Enrico Granata2013-05-063-23/+32
| | | | | | Make a summary format for libc++ STL containers that shows the number of items as before, but also shows the pointer value for pointer-to-container llvm-svn: 181236
* Hexagon: Add multiclass/encoding bits for the New-Value Jump instructions.Jyotsna Verma2013-05-066-407/+307
| | | | llvm-svn: 181235
* Test results verified using FileCheck rather than grep | countJean-Luc Duprat2013-05-061-1/+7
| | | | llvm-svn: 181234
* Make references to HexagonTargetMachine "const".Krzysztof Parzyszek2013-05-066-25/+26
| | | | llvm-svn: 181233
* Remove some redundant includes in llvm-mc.cpp.Rafael Espindola2013-05-061-3/+0
| | | | | | Patch by Jun Koi! llvm-svn: 181231
* Rotate multi-exit loops even if the latch was simplified.Andrew Trick2013-05-062-15/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test case by Michele Scandale! Fixes PR10293: Load not hoisted out of loop with multiple exits. There are few regressions with this patch, now tracked by rdar:13817079, and a roughly equal number of improvements. The regressions are almost certainly back luck because LoopRotate has very little idea of whether rotation is profitable. Doing better requires a more comprehensive solution. This checkin is a quick fix that lacks generality (PR10293 has a counter-example). But it trivially fixes the case in PR10293 without interfering with other cases, and it does satify the criteria that LoopRotate is a loop canonicalization pass that should avoid heuristics and special cases. I can think of two approaches that would probably be better in the long run. Ultimately they may both make sense. (1) LoopRotate should check that the current header would make a good loop guard, and that the loop does not already has a sufficient guard. The artifical SimplifiedLoopLatch check would be unnecessary, and the design would be more general and canonical. Two difficulties: - We need a strong guarantee that we won't endlessly rotate, so the analysis would need to be precise in order to avoid the SimplifiedLoopLatch precondition. - Analysis like this are usually based on SCEV, which we don't want to rely on. (2) Rotate on-demand in late loop passes. This could even be done by shoving the loop back on the queue after the optimization that needs it. This could work well when we find LICM opportunities in multi-branch loops. This requires some work, and it doesn't really solve the problem of SCEV wanting a loop guard before the analysis. llvm-svn: 181230
* R600: Remove dead code from the CodeEmitter v2Tom Stellard2013-05-063-400/+64
| | | | | | | | | v2: - Replace switch statement with TSFlags query Reviewed-by: Vincent Lejeune <vljn@ovi.com> Tested-By: Aaron Watry <awatry@gmail.com> llvm-svn: 181229
* R600: Emit config values in register / value pairsTom Stellard2013-05-063-5/+58
| | | | | | Reviewed-by: Vincent Lejeune <vljn@ovi.com> Tested-By: Aaron Watry <awatry@gmail.com> llvm-svn: 181228
* Remove unnecessary instance variable and rework logic accordingly.Eric Christopher2013-05-062-8/+5
| | | | llvm-svn: 181227
* Grammar.Eric Christopher2013-05-061-1/+2
| | | | llvm-svn: 181226
* R600: Stop emitting the instruction type byte before each instructionTom Stellard2013-05-063-37/+6
| | | | | | Reviewed-by: Vincent Lejeune <vljn@ovi.com> Tested-By: Aaron Watry <awatry@gmail.com> llvm-svn: 181225
* Don't emit .dwo sections unless they exist.Eric Christopher2013-05-061-24/+30
| | | | llvm-svn: 181224
* R600: Emit ISA for CALL_FS_* instructionsTom Stellard2013-05-062-1/+15
| | | | | | Reviewed-by: Vincent Lejeune <vljn@ovi.com> Tested-By: Aaron Watry <awatry@gmail.com> llvm-svn: 181223
* [SystemZ] Update non-pic DWARF encodingsUlrich Weigand2013-05-062-9/+18
| | | | | | | | | | | | As pointed out by Rafael Espindola, we should match the DWARF encodings produced by GCC in both pic and non-pic modes. This was not the case for the non-pic case. This patch changes all DWARF encodings to DW_EH_PE_absptr for the non-pic case, just like GCC does. The test case is updated to check for both variants. llvm-svn: 181222
* Added comprehensive macro arg usage logic to Use-Nullptr TransformEdwin Vane2013-05-062-69/+378
| | | | | | | | | | If a NullTo(Member)Pointer cast results from a macro arg expansion, all uses of the arg must result in such casts or else the macro arg cannot be replaced with 'nullptr' safely. This revision adds logic and tests to ensure the safety of replacing macro args in the Use-Nullptr Transform. Fixes: PR15816 llvm-svn: 181221
* PowerPC: Fix unimplemented relocation on ppc64Adhemerval Zanella2013-05-062-1/+6
| | | | | | | This patch handles the R_PPC64_REL64 relocation type for powerpc64 for mcjit. llvm-svn: 181220
* Fix add4.ll test cmdline so that it passesJean-Luc Duprat2013-05-061-1/+1
| | | | llvm-svn: 181219
OpenPOWER on IntegriCloud