summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Simplify code. No intended functionality/performance change.Benjamin Kramer2010-01-071-37/+12
| | | | llvm-svn: 92938
* If the data requires a relocation then don't attempt toEric Christopher2010-01-071-0/+7
| | | | | | | add it to the constant pool for fast-isel. We already don't add it for the normal case. llvm-svn: 92934
* We need to put any kind of data with a relocation into aEric Christopher2010-01-071-1/+1
| | | | | | not-readonly segment on darwin. llvm-svn: 92933
* Add a descriptive tag to each line to make the exact differencesMike Stump2010-01-071-12/+12
| | | | | | easier to understand. llvm-svn: 92932
* Use separate namespace for named metadata.Devang Patel2010-01-079-29/+155
| | | | llvm-svn: 92931
* When parsing an identifier as an expression in C++, only try to annotate itJohn McCall2010-01-072-5/+14
| | | | | | | | | | as a type or scope token if the next token requires it. This eliminates a lot of redundant lookups in C++, but there's room for improvement; a better solution would do a single lookup whose kind and results would be passed through the parser. llvm-svn: 92930
* Don't use two argument mixing function.Mike Stump2010-01-071-2/+1
| | | | llvm-svn: 92929
* Also generate the .s files.Mike Stump2010-01-071-2/+4
| | | | llvm-svn: 92928
* Add a testcase generator for vtable/rtti testing. WIP.Mike Stump2010-01-072-0/+242
| | | | llvm-svn: 92927
* Fix occurrence typoKovarththanan Rajaratnam2010-01-071-8/+8
| | | | llvm-svn: 92926
* Avoid error when convering a pointer to integer in Fariborz Jahanian2010-01-071-1/+1
| | | | | | rewriting. llvm-svn: 92925
* Fix rewriting of ivars. Fixes radar 7490331.Fariborz Jahanian2010-01-072-2/+23
| | | | llvm-svn: 92924
* Convert from char pointer to char arrayKovarththanan Rajaratnam2010-01-071-6/+6
| | | | llvm-svn: 92923
* Fix typo: rename Rewriter::getRewritenText() -> Rewriter::getRewrittenText().Ted Kremenek2010-01-073-5/+5
| | | | llvm-svn: 92922
* constant materialization could be improved.Chris Lattner2010-01-071-0/+33
| | | | llvm-svn: 92921
* Kill dead store.Benjamin Kramer2010-01-071-2/+1
| | | | llvm-svn: 92920
* Remove dead variable.Benjamin Kramer2010-01-071-7/+2
| | | | llvm-svn: 92919
* Use pop_back_val instead of back()+pop_back.Benjamin Kramer2010-01-071-7/+4
| | | | llvm-svn: 92918
* Tigthen scope of local char arrayKovarththanan Rajaratnam2010-01-071-1/+1
| | | | llvm-svn: 92917
* Use a do-while loop instead of while + boolean.Benjamin Kramer2010-01-071-6/+4
| | | | llvm-svn: 92912
* fix PR5869: mangle static symbols like gcc does to make it easier to diff ↵Nuno Lopes2010-01-072-2/+10
| | | | | | symbol tables llvm-svn: 92911
* Correct spelling.Duncan Sands2010-01-071-2/+2
| | | | llvm-svn: 92910
* Be less stingy as to how many selects and phi nodes weDuncan Sands2010-01-071-2/+2
| | | | | | are prepared to look through. llvm-svn: 92898
* Test linkage of typeinfo and typeinfo names for class templatesDouglas Gregor2010-01-071-1/+13
| | | | llvm-svn: 92897
* More trivial optimizations to a function well outside the critical pathDouglas Gregor2010-01-071-15/+8
| | | | llvm-svn: 92896
* Improve the lead diagnostic for C++ object subscript expressions withJohn McCall2010-01-074-14/+48
| | | | | | | | | no viable overloads. Use a different message when the class provides no operator[] overloads at all; use it for operator(), too. Partially addresses PR 5900. llvm-svn: 92894
* handle ConstantVector while I'm in here.Chris Lattner2010-01-071-0/+3
| | | | llvm-svn: 92892
* Change ObjCContainerDecl to contain the entire range for the '@end'Ted Kremenek2010-01-0713-73/+80
| | | | | | | | | | | piece of the declaration. The '@' and the 'end' are separate tokens, and require two SourceLocations to accurately track. This change was motivated because ObjCContainerDecl::getSourceRange() would previously not return the entire range of the declaration (the 'end' would be left off). llvm-svn: 92891
* Add FileCheck prefix to another location in the output of c-index-test.Ted Kremenek2010-01-071-1/+1
| | | | llvm-svn: 92890
* fix a globalopt crash on 'bullet' (handling evaluation of a storeChris Lattner2010-01-072-16/+36
| | | | | | | | | | to an element of a vector in a static ctor) which occurs with an unrelated patch I'm testing. Annoyingly, EvaluateStoreInto basically does exactly the same stuff as InsertElement constant folding, but it now handles vectors, and you can't insertelement into a vector. It would be 'really nice' if GEP into a vector were not legal. llvm-svn: 92889
* Fix a minor regression from my dag combiner changes. One more place which ↵Evan Cheng2010-01-072-7/+52
| | | | | | needs to look pass truncates. llvm-svn: 92885
* Switch StringRef::edit_distance over to using raw pointers, since bothDouglas Gregor2010-01-071-7/+25
| | | | | | | std::vector and llvm::SmallVector have annoying performance tradeoffs. No, I don't expect this to matter, and now it won't. llvm-svn: 92884
* Add comments.Jakob Stoklund Olesen2010-01-073-0/+6
| | | | llvm-svn: 92883
* Add a test case for code-completion in the presence of tabsDouglas Gregor2010-01-071-0/+9
| | | | llvm-svn: 92882
* _mm_xor_ps does a xor not a nxor. The other 'xor' builtins look fine,Chris Lattner2010-01-071-1/+1
| | | | | | but this one is wrong. Thanks to Tanya for noticing this. llvm-svn: 92881
* Make this test be ingored for linux.Fariborz Jahanian2010-01-071-1/+1
| | | | llvm-svn: 92880
* Fix the search for visible declarations within a Scope to ensure thatDouglas Gregor2010-01-073-16/+19
| | | | | | | | we look into a Scope that corresponds to a compound statement whose scope was combined with the scope of the function that owns it. This improves typo correction in many common cases. llvm-svn: 92879
* When we typo-correct a base class initializer, point to the base classDouglas Gregor2010-01-073-3/+11
| | | | | | specifier that we corrected to. llvm-svn: 92878
* Whenever we emit a typo-correction diagnostic, also emit a noteDouglas Gregor2010-01-0712-20/+55
| | | | | | | pointing to the declaration that we found that has that name (if it is unique). llvm-svn: 92877
* 80 column violationsJim Grosbach2010-01-061-4/+6
| | | | llvm-svn: 92876
* Fixes the test.Fariborz Jahanian2010-01-061-1/+1
| | | | llvm-svn: 92875
* Allow double defs after tail duplication.Jakob Stoklund Olesen2010-01-061-1/+2
| | | | llvm-svn: 92874
* Add Target hook to duplicate machine instructions.Jakob Stoklund Olesen2010-01-066-22/+151
| | | | | | | Some instructions refer to unique labels, and so cannot be trivially cloned with CloneMachineInstr. llvm-svn: 92873
* Addressing mode 6 (load/store) instructions can't encode an immediate offsetJim Grosbach2010-01-061-1/+4
| | | | | | for stack references. llvm-svn: 92871
* When suggesting a typo correction for an @implementation without aDouglas Gregor2010-01-063-2/+12
| | | | | | | | | | corresponding @interface, provide a note showing which interface we're referring to. This note has the fix-it hint on it. Also, don't automatically apply fix-it hints for notes. They're meant to express fix-its that would change semantics. llvm-svn: 92870
* Change clang_getDeclExtent() to have the endpoint point to the last ↵Ted Kremenek2010-01-063-53/+73
| | | | | | character in the last token. llvm-svn: 92869
* Test case for rewriting of __weak byref objects.Fariborz Jahanian2010-01-061-0/+15
| | | | llvm-svn: 92868
* Move the allocation of designators in DesignatedInitExpr to theDouglas Gregor2010-01-064-16/+28
| | | | | | ASTContext. Fixes <rdar://problem/7495428>. llvm-svn: 92867
* Don't assert when dealing with unsigned casts of lvalues. Fixes PR5961.John McCall2010-01-062-6/+19
| | | | llvm-svn: 92866
* Anti-dependency breaking needs to be careful regarding instructions withJim Grosbach2010-01-062-3/+9
| | | | | | multiple register definitions. llvm-svn: 92864
OpenPOWER on IntegriCloud