summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson2010-08-06213-490/+496
| | | | llvm-svn: 110460
* Implement a proper getModRefInfo for va_arg.Dan Gohman2010-08-063-4/+29
| | | | llvm-svn: 110458
* spellingJim Grosbach2010-08-061-1/+1
| | | | llvm-svn: 110457
* Be more conservative in the face of volatile.Dan Gohman2010-08-061-8/+8
| | | | llvm-svn: 110456
* Fix a comment.Dan Gohman2010-08-061-2/+2
| | | | llvm-svn: 110455
* Add more verification of LiveIntervals.Jakob Stoklund Olesen2010-08-061-4/+58
| | | | llvm-svn: 110454
* Fix swapped COPY operands.Jakob Stoklund Olesen2010-08-061-2/+2
| | | | llvm-svn: 110453
* Don't try to verify LiveIntervals for physical registers.Jakob Stoklund Olesen2010-08-061-8/+4
| | | | | | | | | When a physical register is in use, some alias of that register has a live interval with a relevant live range. That is the sad state of intervals after physreg coalescing of subregs, and it is good enough for correct register allocation. llvm-svn: 110452
* Initialize variable to work around warning; unfortunately, there isn't anyEli Friedman2010-08-061-3/+3
| | | | | | way to tell gcc "really, values outside the enum aren't valid". llvm-svn: 110450
* Finishing up block variable layout API by supporting Fariborz Jahanian2010-08-062-8/+48
| | | | | | | union type variables and their nesting inside other aggregate types. llvm-svn: 110448
* Fix eabi calling convention when a 64 bit value shadows r3.Rafael Espindola2010-08-065-1/+30
| | | | | | | | | | | Without this what was happening was: * R3 is not marked as "used" * ARM backend thinks it has to save it to the stack because of vaarg * Offset computation correctly ignores it * Offsets are wrong llvm-svn: 110446
* The pre-increment/pre-decrement grammar in C++ differs from that in C,Douglas Gregor2010-08-062-4/+13
| | | | | | | but we were parsing the C grammar. Handle the C++ grammar appropriately. Fixes PR7794. llvm-svn: 110445
* Remove some incorrect assertions when deduction template arguments inDouglas Gregor2010-08-062-2/+18
| | | | | | | | a template-argument-list. When template template parameters are involved, we won't already have checked the template-argument-list (it may not be known yet!). Fixes PR7807. llvm-svn: 110444
* Make sure that we diagnose attribute((overloadable)) functions withoutDouglas Gregor2010-08-062-20/+25
| | | | | | prototypes. Fixes PR7738. llvm-svn: 110443
* Define _INTEGRAL_MAX_BITS for the win32 and win64 targets, from Per Lindén!Douglas Gregor2010-08-062-1/+4
| | | | llvm-svn: 110442
* Template keyword should not be ignored building a QualifiedTemplateName.Abramo Bagnara2010-08-067-12/+26
| | | | llvm-svn: 110441
* Fix the #include search path when reading from stdin, from Jon Simons!Douglas Gregor2010-08-064-32/+66
| | | | | | Fixes PR4897. llvm-svn: 110440
* Diagnose the use of "inline" on block-scope function declarations inDouglas Gregor2010-08-063-4/+19
| | | | | | C++, from Andrea Nall! llvm-svn: 110439
* Don't pass -avoid-version to Darwin linkerDouglas Gregor2010-08-061-1/+1
| | | | llvm-svn: 110438
* Introduce implicit conversions between AltiVec vectors and GCCDouglas Gregor2010-08-066-19/+96
| | | | | | vectors, from Anton Yartsev! llvm-svn: 110437
* Introduce a new token kind 'cxx_defaultarg_end' to mark the end of C++ ↵Argyrios Kyrtzidis2010-08-064-2/+18
| | | | | | | | | | | | | | | | default arguments that were part of lexed method declarations. This avoid interference with tokens coming after the point where the default arg tokens were 'injected', e.g. for typedef struct Inst { void m(int x=0); } *InstPtr; when parsing '0' the next token would be '*' and things would be messed up. llvm-svn: 110436
* Fix uninitialized variable warning.Nick Lewycky2010-08-061-2/+2
| | | | | | | | Also move 'default' case next to a real case to help compiler optimize in non-Debug builds. No functionality change. llvm-svn: 110435
* Work in progress, cleaning up MergeFuncs.Nick Lewycky2010-08-061-180/+40
| | | | | | | | Further clean up the comparison function by removing overly generalized "domains". Remove all understanding of ELF aliases and simplify folding code and comments. llvm-svn: 110434
* Remove ElseScope which is also dead code now.Nick Lewycky2010-08-062-11/+1
| | | | llvm-svn: 110433
* Remove the DeclaredInCondition bit now that it's no longer used.Nick Lewycky2010-08-065-24/+1
| | | | llvm-svn: 110432
* Prevent these tests from dirtying the tree with output files that aren't evenChandler Carruth2010-08-063-4/+3
| | | | | | used for the test. llvm-svn: 110431
* If all nodes are sunk, bail out early. This make the later check for ↵Zhongxing Xu2010-08-061-1/+4
| | | | | | checkersEvaluated really meaningful. llvm-svn: 110430
* Update CMake build.Ted Kremenek2010-08-061-0/+1
| | | | llvm-svn: 110429
* Fix missing </a> tag error introduced by addition of LowerAtomic pass.Peter Collingbourne2010-08-061-6/+6
| | | | | | While at it, fix all other HTML validation errors in docs/Passes.html. llvm-svn: 110428
* Patterns to match AVX 256-bit horizontal arithmetic intrinsicsBruno Cardoso Lopes2010-08-061-14/+12
| | | | llvm-svn: 110427
* Add a comment.Dan Gohman2010-08-061-1/+2
| | | | llvm-svn: 110426
* Patterns to match AVX 256-bit arithmetic intrinsicsBruno Cardoso Lopes2010-08-061-30/+75
| | | | llvm-svn: 110425
* Revert r109901. The implementation of <rdar://problem/7405933> (r110423) doesn'tBill Wendling2010-08-065-11/+1
| | | | | | | | | | | | | need the Compare flag after all. --- Reverse-merging r109901 into '.': U include/llvm/Target/TargetInstrDesc.h U include/llvm/Target/Target.td U utils/TableGen/InstrInfoEmitter.cpp U utils/TableGen/CodeGenInstruction.cpp U utils/TableGen/CodeGenInstruction.h llvm-svn: 110424
* Add the Optimize Compares pass (disabled by default).Bill Wendling2010-08-066-0/+199
| | | | | | | | | | | | | | | | This pass tries to remove comparison instructions when possible. For instance, if you have this code: sub r1, 1 cmp r1, 0 bz L1 and "sub" either sets the same flag as the "cmp" instruction or could be converted to set the same flag, then we can eliminate the "cmp" instruction all together. This is a important for ARM where the ALU instructions could set the CPSR flag, but need a special suffix ('s') to do so. llvm-svn: 110423
* Moar words!Eric Christopher2010-08-061-1/+1
| | | | llvm-svn: 110422
* Move all the logic for function attributes and call attributes out of theDan Gohman2010-08-062-179/+238
| | | | | | | | | | | | | AliasAnalysis base class and into BasicAliasAnalyais. This avoids confusion about where such logic is happening when there are other AliasAnalysis implementations present. Move the logic for translating two-callsite getModRefInfo queries into other AliasAnalysis queries out of BasicAliasAnalysis and into the AliasAnalysis base class, as it is useful for other AliasAnalysis implementations. llvm-svn: 110421
* vdup_lane was missingNate Begeman2010-08-063-2/+13
| | | | | | <rdar://problem/8278732> llvm-svn: 110420
* Add tablegen support for vdup_laneNate Begeman2010-08-061-3/+6
| | | | llvm-svn: 110419
* Attempt to fix uninitialized value warning reported on cfe-commits.Eli Friedman2010-08-061-2/+1
| | | | llvm-svn: 110418
* Properly pop out of Objective-C method declarations when they are (ill-formedly)John McCall2010-08-062-1/+8
| | | | | | found within contexts other than the translation unit. llvm-svn: 110417
* Fix botched revert.Owen Anderson2010-08-061-4/+4
| | | | llvm-svn: 110416
* Removed the -i option from the expr command, andSean Callanan2010-08-064-153/+113
| | | | | | | | | | | | made IR-based expression evaluation the default. Also added a new class to hold persistent variables. The class is empty as yet while I write up a design document for what it will do. Also the place where it is currently created (by the Expression command) is certainly wrong. llvm-svn: 110415
* Add an environment variable that makes libclang use chaining for PCH.Sebastian Redl2010-08-061-1/+3
| | | | llvm-svn: 110414
* Fixed namespace issues that were breaking theSean Callanan2010-08-061-1/+1
| | | | | | | SWIG wrappers on a non-internal SnowLeopard system. llvm-svn: 110413
* Fixed namespace visibility problems that wereSean Callanan2010-08-062-21/+21
| | | | | | | breaking the build for me on a non-internal SnowLeopard system. llvm-svn: 110412
* While emitting DBG_VALUE for registers spilled at the end of a block do not ↵Devang Patel2010-08-061-1/+8
| | | | | | use location of MBB->end(). If a block does not have terminator then incoming iterator points to end(). llvm-svn: 110411
* Revert r110396 to fix buildbots.Owen Anderson2010-08-06212-480/+476
| | | | llvm-svn: 110410
* add test case.Zhongxing Xu2010-08-061-0/+4
| | | | llvm-svn: 110408
* Remove unused AVX intrinsicsBruno Cardoso Lopes2010-08-061-52/+0
| | | | llvm-svn: 110407
* Add an option to always emit realignment code for a particular module.Eric Christopher2010-08-052-1/+55
| | | | llvm-svn: 110404
OpenPOWER on IntegriCloud