summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Mangler.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add the private linkage.Rafael Espindola2009-01-151-3/+9
| | | | llvm-svn: 62279
* Remove some dead code from the days llvm had type planes.Rafael Espindola2009-01-121-46/+1
| | | | | | There might be more dead code, but with llvm-gcc bootstrap broken on linux x86-64 it is had to test :-( llvm-svn: 62088
* - Replace use of std::map<std::string, ..> with StringMap. Replace use of ↵Evan Cheng2008-07-101-27/+28
| | | | | | | | std::map with DenseMap, std::set with SmallPtrSet. This results in minor speed up. - Some code clean up. llvm-svn: 53379
* Fix a bunch of 80col violations that arose from the Create API change. Tweak ↵Gabor Greif2008-05-151-2/+5
| | | | | | makefile targets to find these better. llvm-svn: 51143
* Remove uses of llvm/System/IncludeFile.h that are no longer needed.Dan Gohman2008-05-061-3/+0
| | | | llvm-svn: 50695
* targets that support quotes for mangled names still need to escape newlinesChris Lattner2008-02-151-0/+2
| | | | | | when they occur in the name, just like " is escaped. llvm-svn: 47169
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45418
* Rather than having special rules like "intrinsics cannotDuncan Sands2007-12-031-1/+1
| | | | | | | | | throw exceptions", just mark intrinsics with the nounwind attribute. Likewise, mark intrinsics as readnone/readonly and get rid of special aliasing logic (which didn't use anything more than this anyway). llvm-svn: 44544
* Add support for appending a suffix to the end of a mangled name.Bill Wendling2007-09-171-2/+2
| | | | llvm-svn: 42071
* Add lengthof and endof templates that hide a lot of sizeof computations.Owen Anderson2007-09-071-3/+2
| | | | | | Patch by Sterling Stein! llvm-svn: 41758
* For PR1136: Rename GlobalVariable::isExternal as isDeclaration to avoidReid Spencer2007-01-301-2/+2
| | | | | | confusion with external linkage types. llvm-svn: 33663
* Adding dllimport, dllexport and external weak linkage types.Anton Korobeynikov2006-09-141-3/+8
| | | | | | | | | DLL* linkages got full (I hope) codegeneration support in C & both x86 assembler backends. External weak linkage added for future use, we don't provide any codegeneration, etc. support for it. llvm-svn: 30374
* Add new option to leave asm names aloneChris Lattner2006-09-071-1/+6
| | | | llvm-svn: 30149
* For PR780:Reid Spencer2006-06-071-0/+3
| | | | | | | | | 1. Add #includes to LinkAllVMCore.h to get Mangler.o and InlineAsm.o 2. Make Mangler.h and InlineAsm.h use the macros to ensure linkage 3. Make each of the tools with --load options include LinkAllVMCore.h This should be the last set of changes for this bug and 800. llvm-svn: 28719
* Another work around for the 'symbols with different types can have the sameChris Lattner2006-02-131-0/+4
| | | | | | name' issue. llvm-svn: 26149
* Fix handling of multiple unnamed globals with the same typeChris Lattner2005-11-151-3/+6
| | | | llvm-svn: 24362
* Fix the optimized code handling of user asm stringsChris Lattner2005-11-101-8/+15
| | | | llvm-svn: 24296
* speedup the common case where nothing needs to be quotedChris Lattner2005-11-101-7/+20
| | | | llvm-svn: 24294
* Allow per-character control over what target assemblers allow in symbolChris Lattner2005-11-101-7/+25
| | | | | | | | | | | names. This also changes the default to allow all of "$_." in addition to letters and numbers as symbol names. If you don't want this, use markCharUnacceptable to remove one of these or markCharAcceptable to add to the set. This corresponds with what GAS accepts by default. Also, this includes some minor speedups llvm-svn: 24293
* Add a new option for targets that accept quoted labels.Chris Lattner2005-11-101-17/+44
| | | | llvm-svn: 24283
* remove the M instance varChris Lattner2005-11-101-2/+2
| | | | llvm-svn: 24281
* Make this more efficient of the common case where we are only mangling globals.Chris Lattner2005-11-101-29/+28
| | | | | | | | | | | | | | | | Do not mangle internal global names that do not collide with anything. This gives us strings that now look like this: __2E_str_1: ; '.str_1' .asciz "foo" instead of this: l1__2E_str_1: ; '.str_1' .asciz "foo" llvm-svn: 24277
* Allow $Chris Lattner2005-10-141-1/+1
| | | | llvm-svn: 23721
* Add support for a marker byte that indicates that we shouldn't add the userChris Lattner2005-09-241-7/+12
| | | | | | prefix to a symbol name llvm-svn: 23421
* Remove trailing whitespaceMisha Brukman2005-04-211-5/+5
| | | | llvm-svn: 21427
* This mega patch converts us from using Function::a{iterator|begin|end} toChris Lattner2005-03-151-1/+1
| | | | | | | | using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*. This patch is contributed by Gabor Greif, thanks! llvm-svn: 20597
* Changes For Bug 352Reid Spencer2004-09-011-1/+1
| | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137
* Allow an arbitrary prefixChris Lattner2004-08-171-4/+3
| | | | llvm-svn: 15865
* Move these files (which are dependent on VMCore) into VMCoreMisha Brukman2004-08-161-0/+127
llvm-svn: 15825
OpenPOWER on IntegriCloud