- Jan 16, 2010
-
-
Chris Lattner authored
llvm-svn: 93664
-
Chris Lattner authored
llvm-svn: 93656
-
Rafael Espindola authored
Mangler::getMangledName is used from lto Mangler::setUseQuotes is used in the AsmPrinter Mangler::setSymbolsCanStartWithDigit is used in the AsmPrinter llvm-svn: 93652
-
Chris Lattner authored
Mangler::getMangledName is now dead, remove it and all the other stuff in Mangler that is now transitively dead. woo. llvm-svn: 93648
-
Chris Lattner authored
llvm-svn: 93641
-
- Jan 13, 2010
-
-
Benjamin Kramer authored
twine can be represented as a single StringRef. Use the new methode to simplify some twine users. llvm-svn: 93317
-
Chris Lattner authored
llvm-svn: 93304
-
Chris Lattner authored
and use them to avoid a copy of a string in getNameWithPrefix in the common case. It seems like Value::setName and other places should use this as well? llvm-svn: 93301
-
Chris Lattner authored
that I want to completely eliminate. Add fixme's so I remember this in the future, and add the missing helper that they should be upgraded to use instead. llvm-svn: 93300
-
Chris Lattner authored
instead of returning it in an std::string. Based on this change: 1. Change TargetLoweringObjectFileCOFF::getCOFFSection to take a StringRef 2. Change a bunch of targets to call makeNameProper with a smallstring, making several of them *much* more efficient. 3. Rewrite Mangler::makeNameProper to not build names and then prepend prefixes, not use temporary std::strings, and to avoid other crimes. llvm-svn: 93298
-
Chris Lattner authored
llvm-svn: 93296
-
Chris Lattner authored
llvm-svn: 93295
-
- Sep 21, 2009
-
-
Nuno Lopes authored
llvm-svn: 82454
-
- Sep 18, 2009
-
-
Anton Korobeynikov authored
variables to specified absolute address. Make use of this feature for MSP430. This unbreaks PR4776. llvm-svn: 82227
-
- Sep 13, 2009
-
-
Chris Lattner authored
for systems that don't support quoting (PR4966). llvm-svn: 81682
-
- Sep 11, 2009
-
-
Chris Lattner authored
llvm-svn: 81506
-
Chris Lattner authored
(uniqued if unnamed) global variable name with the prefix that it is supposed to get. It doesn't do "mangling" in the sense of adding quotes and hacking on bad characters. llvm-svn: 81505
-
- Aug 18, 2009
-
-
Devang Patel authored
llvm-svn: 79289
-
- Jul 22, 2009
-
-
Daniel Dunbar authored
simplification. - NFC llvm-svn: 76789
-
- Jul 20, 2009
-
-
Bill Wendling authored
llvm-svn: 76456
-
Bill Wendling authored
"private" symbols which the assember shouldn't strip, but which the linker may remove after evaluation. This is mostly useful for Objective-C metadata. This is plumbing, so we don't have a use of it yet. More to come, etc. llvm-svn: 76385
-
- Jul 15, 2009
-
-
Chris Lattner authored
can do it perfectly well itself. llvm-svn: 75743
-
- Jul 14, 2009
-
-
Chris Lattner authored
additional bug fixes: 1. The bug that everyone hit was a problem in the asmprinter where it would remove $stub but keep the L prefix on a name when emitting the indirect symbol. This is easy to fix by keeping the name of the stub and the name of the symbol in a StringMap instead of just keeping a StringSet and trying to reconstruct it late. 2. There was a problem printing the personality function. The current logic to print out the personality function from the DWARF information is a bit of a cesspool right now that duplicates a bunch of other logic in the asm printer. The short version of it is that it depends on emitting both the L and _ prefix for symbols (at least on darwin) and until I can untangle it, it is best to switch the mangler back to emitting both prefixes. llvm-svn: 75646
-
Daniel Dunbar authored
unbreaking llvm-gcc (on Darwin). --- Reverse-merging r75620 into '.': U include/llvm/Support/Mangler.h --- Reverse-merging r75610 into '.': U test/CodeGen/X86/loop-hoist.ll G include/llvm/Support/Mangler.h U lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp U lib/VMCore/Mangler.cpp llvm-svn: 75636
-
Chris Lattner authored
to symbols instead of doing it with "printSuffixedName". This gets us to the point where there is a real separation between computing a symbol name and printing it, something I need for MC printer stuff. This patch also fixes a corner case bug where unnamed private globals wouldn't get the private label prefix. Next up, rename all uses of getValueName -> getMangledName for better greppability, and then tackle the ppc/arm backends to eliminate "printSuffixedName". llvm-svn: 75610
-
Chris Lattner authored
indicates whether the label is private or not, instead of taking prefix stuff. One effect of this is that symbols will be generated with *just* the private prefix, instead of both the private prefix *and* the user-label-prefix, but this doesn't matter as long as it is consistent. For example we'll now get "Lfoo" instead of "L_foo". These are just assembler temporary labels anyway, so they never even make it into the .o file. llvm-svn: 75607
-
Chris Lattner authored
llvm-svn: 75564
-
Chris Lattner authored
descriptive. Thange them to keep track of the ID of a global that is assigned, not the first mangled name returned for it. Without doing this, we are required to always use the same suffix for a global that gets mangled. This means that we can mangle the same global once with $stub and another time with $non_lazy_ptr or whatever. llvm-svn: 75561
-
Chris Lattner authored
local symbols and we haven't had type planes since llvm 1.9. llvm-svn: 75558
-
Chris Lattner authored
used with globals. llvm-svn: 75557
-
Chris Lattner authored
if present. llvm-svn: 75547
-
Chris Lattner authored
1) unique globals with the existing "Count" local in Mangler, not with atomic nonsense. Using atomics will give us nondeterminstic output from the compiler when using multiple threads, which is bad. 2) Do not mangle an unknown global name with a type suffix. We don't need this anymore now that llvm ir doesn't have type planes. llvm-svn: 75541
-
- Jun 23, 2009
-
-
Owen Anderson authored
we care about are capable of supporting it. llvm-svn: 73993
-
Owen Anderson authored
llvm-svn: 73980
-
Owen Anderson authored
the near future. llvm-svn: 73971
-
- Jun 18, 2009
-
-
Owen Anderson authored
llvm-svn: 73643
-
- May 06, 2009
-
-
Evan Cheng authored
llvm-svn: 71032
-
- Jan 15, 2009
-
-
Rafael Espindola authored
llvm-svn: 62279
-
- Jan 12, 2009
-
-
Rafael Espindola authored
There might be more dead code, but with llvm-gcc bootstrap broken on linux x86-64 it is had to test :-( llvm-svn: 62088
-
- Jul 10, 2008
-
-
Evan Cheng authored
- Replace use of std::map<std::string, ..> with StringMap. Replace use of std::map with DenseMap, std::set with SmallPtrSet. This results in minor speed up. - Some code clean up. llvm-svn: 53379
-