summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use llvmgxx for C++ test.Dale Johannesen2009-10-141-1/+1
| | | | llvm-svn: 84066
* Fix this test to account for a movl $0 being emitted as an xor now,Dan Gohman2009-10-141-2/+3
| | | | | | and convert it to FileCheck. llvm-svn: 84065
* retain/release checker: Recognize that calls toTed Kremenek2009-10-142-3/+126
| | | | | | | | | | 'CVPixelBufferCreateWithPlanarBytes()' and 'CVPixelBufferCreateWithBytes' (Core Video API) can indirectly release a pixel buffer object via a callback. This fixes <rdar://problem/7283567>. llvm-svn: 84064
* Testcases for msasm bit (llvm-gcc 84062).Dale Johannesen2009-10-142-0/+46
| | | | llvm-svn: 84063
* Make isSafeToClobberEFLAGS more aggressive. Teach it to scan backwardsDan Gohman2009-10-141-7/+32
| | | | | | | | (for uses marked kill and defs marked dead) a few instructions in addition to forwards. Also, increase the maximum number of instructions to scan, as it appears to help in a fair number of cases. llvm-svn: 84061
* This remat entry is basically done. There are hooks to allow targetsDan Gohman2009-10-141-38/+0
| | | | | | | | to remat non-load instructions as loads, and the remat code now uses the UnmodeledSideEffects flags, MachineMemOperands, and similar things to decide which instructions are valid for rematerialization. llvm-svn: 84060
* Add a few README.txt items.Dan Gohman2009-10-131-0/+29
| | | | llvm-svn: 84059
* Remove some non-ASCII charactersDouglas Gregor2009-10-131-2/+2
| | | | llvm-svn: 84058
* Member function templates (and instantiations/specializations thereof)Douglas Gregor2009-10-131-2/+10
| | | | | | are never copy constructors or copy assignment operators. llvm-svn: 84057
* Fix resetCachedCostInfo to reset all of the cost information, instead ofDan Gohman2009-10-131-1/+1
| | | | | | just the NumBlocks field. llvm-svn: 84056
* Correct comment about ARM immediates using '#' not '$' and TODO for modifiers.Kevin Enderby2009-10-131-1/+2
| | | | llvm-svn: 84055
* s/DebugLoc.CompileUnit/DebugLoc.Scope/gDevang Patel2009-10-138-36/+37
| | | | | | s/DebugLoc.InlinedLoc/DebugLoc.InlinedAtLoc/g llvm-svn: 84054
* Improve diagnostics when the parser encounters a declarator with anDouglas Gregor2009-10-1312-20/+141
| | | | | | | | | | | | | | | | | | | | | | | unknown type name, e.g., foo::bar x; when "bar" does not refer to a type in "foo". With this change, the parser now calls into the action to perform diagnostics and can try to recover by substituting in an appropriate type. For example, this allows us to easily diagnose some missing "typename" specifiers, which we now do: test/SemaCXX/unknown-type-name.cpp:29:1: error: missing 'typename' prior to dependent type name 'A<T>::type' A<T>::type A<T>::f() { return type(); } ^~~~~~~~~~ typename Fixes PR3990. llvm-svn: 84053
* Fix for PR 5181.Edward O'Callaghan2009-10-131-1/+4
| | | | llvm-svn: 84051
* Check void type before using replaceAllUsesWith().Devang Patel2009-10-131-1/+2
| | | | llvm-svn: 84050
* Check void type before using RAUWd.Devang Patel2009-10-133-7/+27
| | | | llvm-svn: 84049
* The operator loc points to the operator, not the function decl.Anders Carlsson2009-10-131-1/+1
| | | | llvm-svn: 84048
* retain/release checker: retained objects passed to pthread_create (asTed Kremenek2009-10-132-1/+38
| | | | | | | | the data argument) should not be tracked further until we support full IPA. (fixes <rdar://problem/7299394>) llvm-svn: 84047
* Refine handling for non-virtual bases in return value adjustments forMike Stump2009-10-132-14/+30
| | | | | | covariant thunks. WIP. llvm-svn: 84046
* Check the return type of binary operators and the arrow operator.Anders Carlsson2009-10-133-9/+26
| | | | llvm-svn: 84043
* More Neon clean-up: avoid the need for custom-lowering vld/st-lane intrinsicsBob Wilson2009-10-132-90/+24
| | | | | | | by creating TargetConstants during instruction selection instead of during legalization. llvm-svn: 84042
* Check the return type of operator[]() and fix a thinko that lead to a crash ↵Anders Carlsson2009-10-132-7/+16
| | | | | | in SemaCXX/overloaded-operator.cpp. llvm-svn: 84041
* More bits of the ARM target assembler for llvm-mc to parse immediates.Kevin Enderby2009-10-131-4/+28
| | | | | | | Also fixed a couple of coding style things that crept in. And added more to the temporary hacked up ARMAsmParser::MatchInstruction() method for testing. llvm-svn: 84040
* fix test/CodeGen/statements.c on 32-bit hosts.Chris Lattner2009-10-132-1/+19
| | | | llvm-svn: 84039
* Teach basic AA about PHI nodes. If all operands of a phi NoAlias another ↵Evan Cheng2009-10-132-12/+155
| | | | | | value than it's safe to declare the PHI NoAlias the value. Ditto for MustAlias. llvm-svn: 84038
* Documentation for the new msasm flag, which is noDale Johannesen2009-10-131-2/+16
| | | | | | worse than the rest of the asm documentation. llvm-svn: 84037
* NEON VLD/VST are now fully implemented. For operations that expand toBob Wilson2009-10-131-48/+2
| | | | | | | multiple instructions, the expansion is done during selection so there is no need to do anything special during legalization. llvm-svn: 84036
* More return type checking.Anders Carlsson2009-10-133-8/+19
| | | | llvm-svn: 84034
* Do not check use_empty() before replaceAllUsesWith(). This gives ↵Devang Patel2009-10-133-15/+11
| | | | | | ValueHandles a chance to get properly updated. llvm-svn: 84033
* Keep track of stubs that are created. This fixes PR5162 and probably PR4822 andJeffrey Yasskin2009-10-133-11/+105
| | | | | | 4406. Patch by Nick Lewycky! llvm-svn: 84032
* Ensure we sign extend.Mike Stump2009-10-131-2/+2
| | | | llvm-svn: 84031
* Diagnose invalid return types for unary operators.Anders Carlsson2009-10-132-7/+15
| | | | llvm-svn: 84030
* Add is_same type traitDouglas Gregor2009-10-131-0/+11
| | | | llvm-svn: 84029
* Unify our diagnostic printing for errors of the form, "we didn't likeDouglas Gregor2009-10-1314-127/+147
| | | | | | | | | | what we found when we looked into <blah>", where <blah> is a DeclContext*. We can now format DeclContext*'s in nice ways, e.g., "namespace N", "the global namespace", "'class Foo'". This is part of PR3990, but we're not quite there yet. llvm-svn: 84028
* Introduce new convenience methods for sign extending orDuncan Sands2009-10-133-54/+30
| | | | | | | | | | | | truncating an SDValue (depending on whether the target type is bigger or smaller than the value's type); or zero extending or truncating it. Use it in a few places (this seems to be a popular operation, but I only modified cases of it in SelectionDAGBuild). In particular, the eh_selector lowering was doing this wrong due to a repeated rather than inverted test, fixed with this change. llvm-svn: 84027
* Pass the right SourceLocation to ↵Anders Carlsson2009-10-132-3/+10
| | | | | | Actions.ActOnOverloadedOperatorReferenceExpr and Actions.ActOnConversionOperatorReferenceExpr. Update incomplete-call.cpp test. llvm-svn: 84026
* Optimizer may remove debug info. This test checks debug info for include ↵Devang Patel2009-10-131-3/+1
| | | | | | headers. llvm-svn: 84025
* Revise ARM inline assembly memory operands to require the memory address toBob Wilson2009-10-133-10/+11
| | | | | | | be in a register. The previous use of ARM address mode 2 was completely arbitrary and inappropriate for Thumb. Radar 7137468. llvm-svn: 84022
* Add an "msasm" flag to inline asm as suggested in PR 5125.Dale Johannesen2009-10-1310-15/+65
| | | | | | | A little ugliness is accepted to keep the binary file format compatible. No functional change yet. llvm-svn: 84020
* These tests now pass.Devang Patel2009-10-133-3/+1
| | | | llvm-svn: 84019
* Fix method name in comment, per Bob Wilson.Sandeep Patel2009-10-131-1/+1
| | | | llvm-svn: 84017
* Use the new CodeMetrics class to compute code size instead ofDan Gohman2009-10-131-6/+6
| | | | | | manually counting instructions. llvm-svn: 84016
* Compute a full cost value even when a setjmp call is found.Dan Gohman2009-10-131-3/+1
| | | | llvm-svn: 84015
* Split code not specific to Function inlining out into a separate class,Dan Gohman2009-10-132-61/+72
| | | | | | | named CodeMetrics. Move it to be a non-nested class. Rename RegionInfo back to FunctionInfo. llvm-svn: 84013
* Give ourselves an A- on ASTs for explicit specializations, since theyDouglas Gregor2009-10-131-2/+2
| | | | | | aren't rich enough to reproduce the source accurately. llvm-svn: 84012
* Add debugging output.David Goodwin2009-10-131-2/+12
| | | | llvm-svn: 84011
* Provide a mode for ImmutableMap/ImmutableSet to not automatically ↵Ted Kremenek2009-10-132-12/+20
| | | | | | canonicalize the internal functional AVL trees. This should speedup clients that use ImmutableMap/ImmutableSet but don't require fast comparisons of maps. llvm-svn: 84010
* Add ARMv6T2 SBFX/UBFX instructions. Approved by Anton Korobeynikov.Sandeep Patel2009-10-134-0/+129
| | | | llvm-svn: 84009
* Update CMake file (lexically order files).Ted Kremenek2009-10-131-1/+1
| | | | llvm-svn: 84008
* Fixes pth.c on Windows.John Thompson2009-10-131-6/+5
| | | | llvm-svn: 84007
OpenPOWER on IntegriCloud