summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* The Neon "vtst" instruction takes a suffix that is the element size alone --Bob Wilson2010-01-172-7/+7
| | | | | | | | adding an "i" to the suffix, indicating that the elements are integers, is accepted but not part of the standard syntax. This helps us pass a few more of the Neon tests from gcc. llvm-svn: 93677
* Fix an off-by-one error that caused the chain operand to be dropped from NeonBob Wilson2010-01-171-2/+2
| | | | | | vector load-lane and store-lane instructions. llvm-svn: 93673
* Looks like XFAIL has to list every unsupported archRafael Espindola2010-01-171-1/+1
| | | | llvm-svn: 93672
* Add test for pr5406Rafael Espindola2010-01-171-0/+20
| | | | llvm-svn: 93671
* Add a note for the macho streamer and remove a used of the mangler from the ↵Nate Begeman2010-01-172-6/+2
| | | | | | soon to be defunct machowriter pass. llvm-svn: 93670
* Reduce fsub-fadd.ll and merge it into fsub-fsub.ll. Rename fsub-fsub.ll toBill Wendling2010-01-173-47/+23
| | | | | | fsub.ll and FileCheckify it. llvm-svn: 93669
* PR6055: fix FreeBSD c++ include path. patch by Roman DivackyNuno Lopes2010-01-171-1/+1
| | | | llvm-svn: 93668
* When checking for sret-demotion, it needs to use legal types. When using ↵Kenneth Uildriks2010-01-162-11/+53
| | | | | | the return value of an sret-demoted call, it needs to use possibly illegal types that match the declared Type of the callee. llvm-svn: 93667
* Introduce a second queue of "local" pending implicit instantiation,Douglas Gregor2010-01-164-11/+61
| | | | | | | | | | which are instantiations of the member functions of local classes. These implicit instantiations have to occur at the same time as---and in the same local instantiation scope as---the enclosing function, since the member functions of the local class can refer to locals within the enclosing function. This should really, really fix PR5764. llvm-svn: 93666
* Update CMake files for Mangler move.Benjamin Kramer2010-01-162-1/+1
| | | | llvm-svn: 93665
* move the mangler into libtarget from vmcore.Chris Lattner2010-01-1614-19/+18
| | | | llvm-svn: 93664
* fix a warning.Chris Lattner2010-01-161-1/+1
| | | | llvm-svn: 93663
* this doesn't need to suck in Mangler.Chris Lattner2010-01-161-2/+0
| | | | llvm-svn: 93662
* remove obsolete comment.Chris Lattner2010-01-161-5/+2
| | | | llvm-svn: 93661
* bugpoint doesn't need the mangler at all. DisambiguateGlobalSymbolsChris Lattner2010-01-161-25/+5
| | | | | | | | dates to a time when two different LLVM values could have the same name but different types. Simplify it to just assign names to unnamed things and let the core symtab resolve duplicates. llvm-svn: 93660
* add a thing to investigate.Chris Lattner2010-01-161-0/+1
| | | | llvm-svn: 93659
* Add PCH support for CXXStaticCastExpr, CXXDynamicCastExpr, ↵Sam Weinig2010-01-166-1/+173
| | | | | | CXXReinterpretCastExpr, CXXConstCastExpr and CXXFunctionalCastExpr. llvm-svn: 93658
* remove calls to dead methods.Chris Lattner2010-01-161-8/+0
| | | | llvm-svn: 93657
* reapply the mangler gutting patch.Chris Lattner2010-01-163-250/+4
| | | | llvm-svn: 93656
* remove use of getMangledName.Chris Lattner2010-01-161-1/+1
| | | | llvm-svn: 93655
* unbreak the build.Chris Lattner2010-01-161-6/+0
| | | | llvm-svn: 93654
* While determining when to parse inline member functions of a class,Douglas Gregor2010-01-162-8/+47
| | | | | | | | | | | | distinguish between nested classes (whose member functions cannot be parsed until the innermost non-nested class is complete) and local classes (that are defined within a function but are not necessarily nested). The upshot of this change, which fixes PR5764, is that the bodies of member functions of local (non-nested) classes need to be parsed when the local class is complete (and no later), since they may refer to function-local static variables, typedefs, enums, etc. llvm-svn: 93653
* Revert 93648.Rafael Espindola2010-01-163-4/+250
| | | | | | | | Mangler::getMangledName is used from lto Mangler::setUseQuotes is used in the AsmPrinter Mangler::setSymbolsCanStartWithDigit is used in the AsmPrinter llvm-svn: 93652
* When we are instantiating a member function of a local class, be sureDouglas Gregor2010-01-164-9/+33
| | | | | | | | | to merge the local instantiation scope with the outer local instantiation scope, so that we can instantiate declarations from the function owning the local class. Fixes an assert while instantiating Boost.MPL's BOOST_MPL_ASSERT_MSG. llvm-svn: 93651
* Fix a rewriting crash and correct rewriting of __blockFariborz Jahanian2010-01-162-7/+29
| | | | | | declaration where its initializer has a type-cast. llvm-svn: 93650
* Mangler::getMangledName is now dead, remove it and all the other stuff in ↵Chris Lattner2010-01-163-250/+4
| | | | | | Mangler that is now transitively dead. woo. llvm-svn: 93648
* Change DIEObjectLabel to take an MCSymbol instead of std::string.Chris Lattner2010-01-166-10/+23
| | | | llvm-svn: 93647
* rename GetPrivateGlobalValueSymbolStub -> GetSymbolWithGlobalValueBase,Chris Lattner2010-01-168-43/+63
| | | | | | | | and add an explicit ForcePrivate argument. Switch FunctionEHFrameInfo to be MCSymbol based instead of string based. llvm-svn: 93646
* eliminate uses of getMangledName from AsmPrinter.cpp, last up is Chris Lattner2010-01-161-5/+9
| | | | | | dwarf emission which is going to be more invasive. llvm-svn: 93645
* Improve the test for unused-expression warnings slightlyDouglas Gregor2010-01-161-0/+9
| | | | llvm-svn: 93644
* switch liblto to use the new getNameWithPrefix() method instead of ↵Chris Lattner2010-01-164-6/+7
| | | | | | getMangledName. llvm-svn: 93643
* Partial fix for PR6022, where we were complaining when a friendDouglas Gregor2010-01-162-2/+19
| | | | | | | | function template declared within a class template did not match a function in another scope. We really need to rework how friends-in-templates are semantically checked. llvm-svn: 93642
* add an inefficient version of getNameWithPrefix that returns an std::string.Chris Lattner2010-01-162-0/+15
| | | | llvm-svn: 93641
* Give ObjCClassRef cursors a sane representation, which is encapsulatedDouglas Gregor2010-01-168-47/+48
| | | | | | | | | in CXCursor.cpp. With this sane representation, fix the class reference that is part of Objective-C category declarations so that the cursor's location matches up with the reference, not the class being referred to. llvm-svn: 93640
* Improve location information for Objective-C category declarations. WeDouglas Gregor2010-01-166-17/+39
| | | | | | | | | | | | | previously only had a single location (the @ in @interface); now we know where the @ is (for the start of the declaration), where the class name is (that's the normal "location" now for diagnostics), and where the category name is. Also, eliminated the redundant "end" location, since ObjCContainerDecl already has better @end information. The only XFAIL'd test is temporary; will un-XFAIL-it once I've taught CIndex how to use the new locations. llvm-svn: 93639
* Revive dead assert.Benjamin Kramer2010-01-161-1/+1
| | | | llvm-svn: 93638
* Use a sane encoding for CXCursor_ObjCProtocolRef, using the actualDouglas Gregor2010-01-166-34/+57
| | | | | | | source locations where the protocols were referenced rather than the location of some random enclosing declaration. llvm-svn: 93637
* Keep track of the source locations for each protocol reference inDouglas Gregor2010-01-1610-44/+179
| | | | | | | | Objective-C classes, protocol definitions, forward protocol declarations, and categories. This information isn't actually used yet; that's coming next. llvm-svn: 93636
* Provide magic define on mingw to not generate inline variants of ctyper ↵Anton Korobeynikov2010-01-161-9/+11
| | | | | | | | | functions. Otherwise we'll end with random cyclic deps between libraries due to this. Proposed by Gianluigi Tiesi! llvm-svn: 93635
* Give CXCursor_ObjCSuperClassRef a sane encoding, which is only knownDouglas Gregor2010-01-164-14/+46
| | | | | | to CXCursor.cpp. llvm-svn: 93634
* Fix PR6047Tobias Grosser2010-01-165-13/+206
| | | | | | | | Nodes that had children outside of the post dominator tree (infinite loops) where removed from the post dominator tree. This seems to be wrong. Leave them in the tree. llvm-svn: 93633
* Create Generic DOTGraphTraits Printer/ViewerTobias Grosser2010-01-162-56/+101
| | | | | | | | Move the DOTGraphTraits dotty printer/viewer templates, that were developed for the dominance tree into their own header file. This will allow reuse in future passes. llvm-svn: 93632
* No need to use WeakVH here.Devang Patel2010-01-161-2/+1
| | | | llvm-svn: 93631
* Replace DebugLocTuple with DILocation.Devang Patel2010-01-1610-103/+57
| | | | llvm-svn: 93630
* Fix a use of uninitialized memory in overload diagnostics.John McCall2010-01-161-1/+4
| | | | llvm-svn: 93629
* fix build failure.Chris Lattner2010-01-161-1/+1
| | | | llvm-svn: 93628
* remove a couple of actively incorrect uses of getMangledName.Chris Lattner2010-01-162-5/+8
| | | | llvm-svn: 93627
* this doesn't need the mangler.Chris Lattner2010-01-162-8/+4
| | | | llvm-svn: 93626
* more string -> sym, getMangledName is now gone from this file.Chris Lattner2010-01-161-29/+35
| | | | llvm-svn: 93624
* Add mapping from ObjCPropertDecl to CXCursorKind.Ted Kremenek2010-01-161-0/+1
| | | | llvm-svn: 93623
OpenPOWER on IntegriCloud