summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* remove the MAI argument to MCExpr::print and switch overthing to use << when ↵Chris Lattner2010-01-188-38/+22
| | | | | | printing them. llvm-svn: 93699
* unbreak x86 jump tables with my previous patch.Chris Lattner2010-01-181-1/+1
| | | | llvm-svn: 93698
* now that MCSymbol::print doesn't use it's MAI argument, we can Chris Lattner2010-01-1719-865/+371
| | | | | | | remove it and change all the code that prints MCSymbols to use << instead, which is much simpler and cleaner. llvm-svn: 93695
* rename NameNeedsEscaping -> NameNeedsQuoting, eliminate the checkChris Lattner2010-01-171-9/+4
| | | | | | | for first character which is a digit, mangler would have taken care of this already. llvm-svn: 93694
* Convert some of the dynamic opcode lookups into static ones.Owen Anderson2010-01-171-59/+40
| | | | llvm-svn: 93693
* stop the CBE from using Mangler::appendMangledName, which is a private ↵Chris Lattner2010-01-172-8/+17
| | | | | | function, it is mangling types, which don't matter how they are done. llvm-svn: 93692
* Get MCSymbol out of the mangling business, and move all the logicChris Lattner2010-01-174-76/+106
| | | | | | | | | | | to Mangler. Now MCSymbol just decides whether to slap quotes around a symbol when printing it. This also fixes some weirdness where two MCSymbols could be created for the same symbol, if one needed to be mangled and got mangled to the other one. llvm-svn: 93690
* factor this code better how that the string version of getNameWithPrefixChris Lattner2010-01-171-28/+8
| | | | | | takes a twine. llvm-svn: 93687
* now that mangler is in libtarget, it can use MCAsmInfo instead of clientsChris Lattner2010-01-174-41/+61
| | | | | | having to pass various fields from it in. Simplify. llvm-svn: 93686
* Switch some functions to take Twines, eliminate uses of StringExtras.h.Benjamin Kramer2010-01-174-36/+16
| | | | llvm-svn: 93680
* Fix comment.Owen Anderson2010-01-171-1/+1
| | | | llvm-svn: 93679
* The Neon "vtst" instruction takes a suffix that is the element size alone --Bob Wilson2010-01-171-1/+1
| | | | | | | | 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
* 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
* When checking for sret-demotion, it needs to use legal types. When using ↵Kenneth Uildriks2010-01-161-11/+41
| | | | | | 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
* 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-1611-16/+16
| | | | llvm-svn: 93664
* reapply the mangler gutting patch.Chris Lattner2010-01-162-189/+4
| | | | llvm-svn: 93656
* unbreak the build.Chris Lattner2010-01-161-6/+0
| | | | llvm-svn: 93654
* Revert 93648.Rafael Espindola2010-01-162-4/+189
| | | | | | | | Mangler::getMangledName is used from lto Mangler::setUseQuotes is used in the AsmPrinter Mangler::setSymbolsCanStartWithDigit is used in the AsmPrinter llvm-svn: 93652
* Mangler::getMangledName is now dead, remove it and all the other stuff in ↵Chris Lattner2010-01-162-189/+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-167-39/+58
| | | | | | | | 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
* add an inefficient version of getNameWithPrefix that returns an std::string.Chris Lattner2010-01-161-0/+10
| | | | llvm-svn: 93641
* Create Generic DOTGraphTraits Printer/ViewerTobias Grosser2010-01-161-56/+18
| | | | | | | | 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-167-50/+50
| | | | llvm-svn: 93630
* 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
* use symbols instead of strings, eliminating a bunch of getMangledNameChris Lattner2010-01-161-39/+55
| | | | | | calls. Add FIXMEs about a bunch of nondeterminism in stub output. llvm-svn: 93621
* simplify some code.Chris Lattner2010-01-161-9/+5
| | | | llvm-svn: 93619
* Retrying r91337:Bill Wendling2010-01-163-8/+28
| | | | | | | | The CIE says that the LSDA point in the FDE section is an "sdata4". That's fine, but we need it to actually be 4-bytes in the FDE for some platforms. Allow individual platforms to decide for themselves. llvm-svn: 93616
* eliminate uses of mangler and simplify code.Chris Lattner2010-01-166-67/+33
| | | | llvm-svn: 93615
* fix inverted conditionalChris Lattner2010-01-161-1/+1
| | | | llvm-svn: 93614
* CurrentFnName is now dead, remove it.Chris Lattner2010-01-161-2/+1
| | | | llvm-svn: 93612
* get pic16 off CurrentFnNameChris Lattner2010-01-161-14/+13
| | | | llvm-svn: 93610
* remove the string form of printVisibility.Chris Lattner2010-01-163-35/+26
| | | | llvm-svn: 93609
* switch more stuff onto MCSymbolsChris Lattner2010-01-163-61/+122
| | | | llvm-svn: 93608
* Temporarily revert r93581. It was causing failures in the ExecutionEngine testsBill Wendling2010-01-161-4/+2
| | | | | | on the build bots. llvm-svn: 93606
* eliminate uses of deprecated mangler apisChris Lattner2010-01-161-54/+71
| | | | llvm-svn: 93605
* switch X86 target off CurFunctionName and MCIze more.Chris Lattner2010-01-164-35/+45
| | | | | | | | | Note that the code wasn't calling DecorateCygMingName when emitting the ".ascii -export" stuff at the end of file for DLLExported functions. I don't know if it should or not, but I'm preserving behavior. llvm-svn: 93603
* Treat indirect branches specially only during pre-regalloc tail duplication,Bob Wilson2010-01-161-13/+13
| | | | | | not during the later post-alloc tail duplication. llvm-svn: 93600
* MCize tis, and make it keep CurrentFnSym up to date with CurrentFnName.Chris Lattner2010-01-161-17/+39
| | | | llvm-svn: 93598
* Run the pre-register allocation tail duplication pass by default. RemoveBob Wilson2010-01-161-5/+3
| | | | | | | the -pre-regalloc-taildup command-line option, and add a new -disable-early-taildup option. llvm-svn: 93597
* revert the x86 part of my last patch, cygwin is mutating CurrentFnName!Chris Lattner2010-01-161-38/+17
| | | | llvm-svn: 93595
* MCize a bunch more stuff, eliminating a lot of uses of the manglerChris Lattner2010-01-1610-196/+367
| | | | | | and CurrentFnName. llvm-svn: 93594
* remove two write-only sets.Chris Lattner2010-01-151-4/+0
| | | | llvm-svn: 93590
OpenPOWER on IntegriCloud