summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* <rdar://problem/9334299>Greg Clayton2011-11-103-1/+18
| | | | | | Added the ability to get a type without qualifiers (const, volatile, restrict, etc). llvm-svn: 144302
* ARM assembly parsing for LSR/LSL/ROR(immediate).Jim Grosbach2011-11-104-12/+83
| | | | | | More of rdar://9704684 llvm-svn: 144301
* llvm-config: Replace with C++ version (was llvm-config-2).Daniel Dunbar2011-11-1014-938/+69
| | | | llvm-svn: 144300
* llvm-config-2: Use USEDLIBS directly instead of LINK_COMPONENTS, which willDaniel Dunbar2011-11-101-1/+1
| | | | | | require this tool to resolve (currently). llvm-svn: 144299
* Release notes for DragonEgg.Duncan Sands2011-11-101-6/+19
| | | | llvm-svn: 144298
* Made the Host::SetCrashDescription(const char *) function copy the incomingGreg Clayton2011-11-103-2/+18
| | | | | | | | | string to avoid possible later crashes. Modified the locations that do set the crash description to NULL out the string when they are done doing their tasks. llvm-svn: 144297
* Revert r144273. It causes clang self-host build failure.Devang Patel2011-11-102-698/+31
| | | | llvm-svn: 144296
* ARM assembly parsing for ASR(immediate).Jim Grosbach2011-11-104-8/+45
| | | | | | Start of rdar://9704684 llvm-svn: 144293
* build: Rename CBackend and CppBackend libraries to have CodeGen suffix, forDaniel Dunbar2011-11-104-6/+6
| | | | | | consistency with other targets. llvm-svn: 144292
* llvm-config-2: Fix thinko in maintenance of visited component set.Daniel Dunbar2011-11-101-7/+7
| | | | llvm-svn: 144291
* test/CodeGen/X86/lsr-loop-exit-cond.ll: Try to appease linux and freebsd ↵NAKAMURA Takumi2011-11-101-1/+1
| | | | | | | | bots to specify explicit -mtriple=x86_64-darwin. I guess it expects -relocation-model=pic. llvm-svn: 144290
* www: Remove link to LLVM for upper left corner. This confused a lot of peopleTobias Grosser2011-11-101-6/+2
| | | | llvm-svn: 144289
* www: Add some news about PollyTobias Grosser2011-11-101-0/+12
| | | | llvm-svn: 144288
* www: Highlight command line flagsTobias Grosser2011-11-101-21/+21
| | | | llvm-svn: 144287
* ScopDetection: Do not verify AliasingTobias Grosser2011-11-101-5/+27
| | | | | | | | | | | | | | | | | | This does not work reliable and is probably not needed. I accidentally changed this in this recent commit: commit a0bcd63c6ffa81616cf8c6663a87588803f7d91c Author: grosser <grosser@91177308-0d34-0410-b5e6-96231b3b80d8> Date: Thu Nov 10 12:47:21 2011 +0000 ScopDetect: Use INVALID macro to fail in case of aliasing This simplifies the code and also makes the error message available to the graphviz scop viewer. git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@144284 llvm-svn: 144286
* ScopDetection: Add flag to ignore possible aliasingTobias Grosser2011-11-102-1/+13
| | | | llvm-svn: 144285
* ScopDetect: Use INVALID macro to fail in case of aliasingTobias Grosser2011-11-101-16/+2
| | | | | | | This simplifies the code and also makes the error message available to the graphviz scop viewer. llvm-svn: 144284
* ScopDetect: Clean the last failure message properlyTobias Grosser2011-11-101-0/+2
| | | | llvm-svn: 144283
* ScopDetection: Improve formatting of error message and simplify some codeTobias Grosser2011-11-101-7/+6
| | | | llvm-svn: 144282
* Add a workaround to fix SCoPs rejected because of 'region not simple'Tobias Grosser2011-11-101-3/+12
| | | | llvm-svn: 144281
* Reuse the old BaseAddress checking in SCEVValidator to make sure that no baseTobias Grosser2011-11-105-61/+30
| | | | | | | address is part of the access function. Also remove unused special cases that were necessery when the base address was still contained in the access function llvm-svn: 144280
* Use getBasePtr in TempScop/ScopInfoTobias Grosser2011-11-103-10/+20
| | | | llvm-svn: 144279
* ScopDetect: Use getPointerBase to get the base pointerTobias Grosser2011-11-101-1/+18
| | | | | | | | | Previously we allowed in access functions only a single SCEVUnknown, which later became the base address. We now use getPointerBase() to derive the base address and all remaining unknowns are handled as parameters. This allows us to handle cases like A[b+c]; llvm-svn: 144278
* serialized diagnostics: simplify code.Benjamin Kramer2011-11-101-5/+1
| | | | llvm-svn: 144277
* Whenever explicitly activating or deactivating a cleanup, weJohn McCall2011-11-1011-45/+104
| | | | | | | | | | need to provide a 'dominating IP' which is guaranteed to dominate the (de)activation point but which cannot be avoided along any execution path from the (de)activation point to the push-point of the cleanup. Using the entry block is bad mojo. llvm-svn: 144276
* include/clang/AST/APValue.h: Try to fix *900* of cast-qual warnings by g++.NAKAMURA Takumi2011-11-101-3/+3
| | | | llvm-svn: 144275
* c-index-test.c: Fix a comment style. /* It is C source. */NAKAMURA Takumi2011-11-101-1/+1
| | | | llvm-svn: 144274
* Constant expression evaluation: support for constexpr member functions.Richard Smith2011-11-102-31/+88
| | | | llvm-svn: 144273
* c-index-test.c: Fix syntax. It is C source.NAKAMURA Takumi2011-11-101-2/+3
| | | | llvm-svn: 144272
* Fix a subtle bug with cleanups: when activatingJohn McCall2011-11-104-22/+121
| | | | | | | | | | | | a previously-inactive cleanup, not only do we need a flag variable, but we should also force the cleanup to query the flag variable. However, we only need to do this when we're activating in a context that's conditionally executed; otherwise, we may safely assume that the cleanup is dominated by the activation point. llvm-svn: 144271
* PR11148: Fix crash-on-invalid if an invalid member declaration is marked asRichard Smith2011-11-102-0/+9
| | | | | | defaulted or deleted. llvm-svn: 144270
* serialized diagnostics: implement full deserialization of clang diagnostics ↵Ted Kremenek2011-11-1014-112/+1240
| | | | | | | | via the libclang API. I've tested it on simple cases and it works. Test cases to follow as well as a few tweaks. llvm-svn: 144269
* Enter the cleanups for a block outside the enclosingJohn McCall2011-11-1013-83/+243
| | | | | | | | | | | | full-expression. Naturally they're inactive before we enter the block literal expression. This restores the intended behavior that blocks belong to their enclosing scope. There's a useful -O0 / compile-time optimization that we're missing here with activating cleanups following straight-line code from their inactive beginnings. llvm-svn: 144268
* Use a bigger hammer to fix PR11314 by disabling the "forcing two-addressEvan Cheng2011-11-1012-21/+36
| | | | | | | | | | | | | | | | instruction lower optimization" in the pre-RA scheduler. The optimization, rather the hack, was done before MI use-list was available. Now we should be able to implement it in a better way, perhaps in the two-address pass until a MI scheduler is available. Now that the scheduler has to backtrack to handle call sequences. Adding artificial scheduling constraints is just not safe. Furthermore, the hack is not taking all the other scheduling decisions into consideration so it's just as likely to pessimize code. So I view disabling this optimization goodness regardless of PR11314. llvm-svn: 144267
* AVX2: Add variable shift from memory.Nadav Rotem2011-11-101-1/+24
| | | | | | | | Note: These patterns only works in some cases because many times the load sd node is bitcasted from a load node of a different type. llvm-svn: 144266
* Constant expression evaluation: support for evaluation of structs and unions ofRichard Smith2011-11-1011-191/+1056
| | | | | | | literal types, as well as derived-to-base casts for lvalues and derived-to-virtual-base casts. llvm-svn: 144265
* Removing unused initialization.David Blaikie2011-11-101-2/+1
| | | | llvm-svn: 144264
* There's no good reason to track temporaries in ExprWithCleanups,John McCall2011-11-1014-121/+154
| | | | | | | but it is sometimes useful to track blocks. Do so. Also optimize the storage of these expressions. llvm-svn: 144263
* Fixed the eFormatChar, eFormatCharPrintable and eFormatCharArray to printGreg Clayton2011-11-101-7/+4
| | | | | | things out correctly again. llvm-svn: 144261
* Temporary fix for a performance problem Eli spotted. The APValue representationRichard Smith2011-11-101-0/+6
| | | | | | | is currently too inefficient to allow us to use it for array initializers, but fortunately we usually don't yet need to evaluate such initializers. llvm-svn: 144260
* <rdar://problem/10338439>Greg Clayton2011-11-101-0/+2
| | | | | | | | Fixed an issue where if you had an initialized global variable, we would not link it up correctly in the debug info if the .o file had the symbols as UNDF + EXT (undefined external). We now properly link the globals. llvm-svn: 144259
* For immediate encodings of icmp, zero or sign extend first. ThenChad Rosier2011-11-102-5/+22
| | | | | | | determine if the value is negative and flip the sign accordingly. rdar://10422026 llvm-svn: 144258
* Removed debug printf statements.Greg Clayton2011-11-101-3/+0
| | | | llvm-svn: 144257
* Added the ability for many of the "target modules dump xxx" commands to findGreg Clayton2011-11-101-76/+97
| | | | | | | modules first in the target, then fall back to the global shared module cache, then fall back to the global module list. llvm-svn: 144256
* build/Make & CMake: Pass the appropriate --native-target and --enable-targetsDaniel Dunbar2011-11-104-6/+17
| | | | | | options to llvm-build, so the all-targets etc. components are defined properly. llvm-svn: 144255
* Using the wrong type for the break id's (user_id_t is an unsigned int, but ↵Jim Ingham2011-11-102-2/+2
| | | | | | internal breakpoints can be negative, and anyway it is a good idea to use break_id_t for breakpoints, no?) llvm-svn: 144254
* llvm-build: Add --native-target and --enable-targets options, and add logic toDaniel Dunbar2011-11-1015-16/+133
| | | | | | | | | | handle defining the "magic" target related components (like native, nativecodegen, and engine). - We still require these components to be in the project (currently in lib/Target) so that we have a place to document them and hopefully make it more obvious that they are "magic". llvm-svn: 144253
* llvm-build: Split out the validation logic.Daniel Dunbar2011-11-101-3/+20
| | | | llvm-svn: 144252
* llvm-build: Change CBackend and CppBackend to not use library_name. This willDaniel Dunbar2011-11-102-2/+0
| | | | | | | | | change the generated library .a file name once we fully switch over, but simplifies how we treat these targets without requiring more special casing (since their library group name and the codegen library name currently map to the same "llvm-config" style component name). llvm-svn: 144251
* llvm-build: Add an explicit component type to represent targets.Daniel Dunbar2011-11-1015-22/+112
| | | | | | - Gives us a place to hang target specific metadata (like whether the target has a JIT). llvm-svn: 144250
OpenPOWER on IntegriCloud