summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixes a bug in my last patch (related to radar 7490331).Fariborz Jahanian2010-01-071-1/+1
| | | | llvm-svn: 92952
* Fix rdar://7517201, a regression introduced by r92849.Chris Lattner2010-01-073-51/+24
| | | | | | | | | | When folding a and(any_ext(load)) both the any_ext and the load have to have only a single use. This removes the anyext-uses.ll testcase which started failing because it is unreduced and unclear what it is testing. llvm-svn: 92950
* factor this code better and reduce nesting at the sameChris Lattner2010-01-071-61/+41
| | | | | | time, no functionality change. llvm-svn: 92948
* Revert r92939. These intrinsics get matched to LLVM instructions,David Greene2010-01-071-24/+0
| | | | | | so removing at Chris' request. llvm-svn: 92947
* APInt'fy TargetLowering::SimplifySetCC to fix PR5963.Evan Cheng2010-01-072-15/+31
| | | | llvm-svn: 92943
* 1/2 off all structs should not have any virtual functions.Mike Stump2010-01-071-8/+13
| | | | | | Replace magic numbers with uuids. llvm-svn: 92941
* Add some "missing" instrinsics to make the SSE intrinsic set a bit moreDavid Greene2010-01-071-0/+24
| | | | | | orthogonal. llvm-svn: 92939
* 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
OpenPOWER on IntegriCloud