summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86AsmPrinter.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement protected visibility. This partly implements PR1363. LinkerAnton Korobeynikov2007-04-291-1/+6
| | | | | | should be taught to deal with protected symbols. llvm-svn: 36565
* Implement "general dynamic", "initial exec" and "local exec" TLS models forLauro Ramos Venancio2007-04-201-3/+7
| | | | | | X86 32 bits. llvm-svn: 36283
* rename X86FunctionInfo to X86MachineFunctionInfo to match the header fileChris Lattner2007-04-171-4/+4
| | | | | | it is defined in. llvm-svn: 36196
* Consistency with native compilersAnton Korobeynikov2007-03-311-3/+9
| | | | llvm-svn: 35532
* Putting more constants which do not contain relocations into .literal{4|8|16}Evan Cheng2007-03-081-5/+6
| | | | llvm-svn: 35026
* Put constant data to .const, .const_data, .literal{4|8|16} sections.Evan Cheng2007-03-081-2/+23
| | | | llvm-svn: 35016
* Ensure that fastcall'ed function is correctly mangled & stack isAnton Korobeynikov2007-03-011-4/+2
| | | | | | properly aligned llvm-svn: 34788
* Darwin -static should codegen static ctors / dtors to .constructor / ↵Evan Cheng2007-01-301-1/+9
| | | | | | .destructor sections. llvm-svn: 33657
* Propagate changes from my local tree. This patch includes:Anton Korobeynikov2007-01-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | 1. New parameter attribute called 'inreg'. It has meaning "place this parameter in registers, if possible". This is some generalization of gcc's regparm(n) attribute. It's currently used only in X86-32 backend. 2. Completely rewritten CC handling/lowering code inside X86 backend. Merged stdcall + c CCs and fastcall + fast CC. 3. Dropped CSRET CC. We cannot add struct return variant for each target-specific CC (e.g. stdcall + csretcc and so on). 4. Instead of CSRET CC introduced 'sret' parameter attribute. Setting in on first attribute has meaning 'This is hidden pointer to structure return. Handle it gently'. 5. Fixed small bug in llvm-extract + add new feature to FunctionExtraction pass, which relinks all internal-linkaged callees from deleted function to external linkage. This will allow further linking everything together. NOTEs: 1. Documentation will be updated soon. 2. llvm-upgrade should be improved to translate csret => sret. Before this, there will be some unexpected test fails. llvm-svn: 33597
* The zerofill directive needs a newline after it.Bill Wendling2007-01-181-1/+1
| | | | llvm-svn: 33327
* Minor code clean up.Evan Cheng2007-01-181-1/+1
| | | | llvm-svn: 33323
* restructure code a bit to make use of continue (simplifying things). GeneralizeChris Lattner2007-01-171-92/+95
| | | | | | the .zerofill directive emission to not be darwin-specific llvm-svn: 33304
* * Fix one more bug in PIC codegen: extra load is needed for *all*Anton Korobeynikov2007-01-171-2/+9
| | | | | | | | | non-statics. * Introduce new option to output zero-initialized data to .bss section. This can reduce size of binaries. Enable it by default for ELF & Cygwin/Mingw targets. Probably, Darwin should be also added. llvm-svn: 33299
* Emit symbol type information for ELF/COFF targetsAnton Korobeynikov2007-01-161-1/+17
| | | | llvm-svn: 33256
* add support for hidden visibility to darwin/x86Chris Lattner2007-01-141-2/+3
| | | | llvm-svn: 33198
* darwin doesn't use .hidden. Disable this until we fix it right.Chris Lattner2007-01-141-1/+1
| | | | llvm-svn: 33191
* * PIC codegen for X86/Linux has been implementedAnton Korobeynikov2007-01-121-8/+5
| | | | | | | | * PIC-aware internal structures in X86 Codegen have been refactored * Visibility (default/weak) has been added * Docs fixes (external weak linkage, visibility, formatting) llvm-svn: 33136
* Really big cleanup.Anton Korobeynikov2007-01-031-5/+5
| | | | | | | | | | | - New target type "mingw" was introduced - Same things for both mingw & cygwin are marked as "cygming" (as in gcc) - .lcomm is supported here, so allow LLVM to use it - Correctly use underscored versions of setjmp & _longjmp for both mingw & cygwin llvm-svn: 32833
* eliminate static ctors for Statistic objects.Chris Lattner2006-12-191-4/+0
| | | | llvm-svn: 32703
* move ExtWeakSymbols to AsmPrinterRafael Espindola2006-12-181-10/+1
| | | | llvm-svn: 32648
* fix test/Regression/CodeGen/X86/weak.llRafael Espindola2006-12-091-1/+1
| | | | | | if a variable has no initialization, I->getInitializer() will fail llvm-svn: 32407
* Detemplatize the Statistic class. The only type it is instantiated withChris Lattner2006-12-061-1/+1
| | | | | | is 'unsigned'. llvm-svn: 32279
* Add weak reference directive.Evan Cheng2006-12-011-6/+2
| | | | llvm-svn: 32091
* A initialized global variable cannot be extern weak. However, if a global ↵Evan Cheng2006-12-011-11/+6
| | | | | | value's initializer is itself a external weak symbol, emit the weak reference. llvm-svn: 32069
* Minor code clean up.Evan Cheng2006-12-011-2/+1
| | | | llvm-svn: 32067
* Fix indentation.Evan Cheng2006-12-011-2/+1
| | | | llvm-svn: 32066
* Darwin X86 external weak linkage support.Evan Cheng2006-12-011-5/+3
| | | | llvm-svn: 32065
* Introducing external weak linkage. Darwin codegen should be added later.Anton Korobeynikov2006-12-011-3/+32
| | | | llvm-svn: 32052
* Nuke dead code.Evan Cheng2006-10-311-1/+0
| | | | llvm-svn: 31327
* 1. Clean up code due to changes in SwitchTo*Section(2)Anton Korobeynikov2006-10-311-6/+6
| | | | | | | | | | 2. Added partial debug support for mingw\cygwin targets (the same as Linux\ELF). Please note, that currently mingw\cygwin uses 'stabs' format for storing debug info by default, thus many (runtime) libraries has this information included. These formats shouldn't be mixed in one binary ('stabs' & 'DWARF'), otherwise binutils tools will be confused. llvm-svn: 31311
* Unbreaking static ctors patch.Anton Korobeynikov2006-10-311-1/+1
| | | | | | | Defaulting second arguments of SwitchTo*Section, this should make things somehow clearer. llvm-svn: 31306
* Make this compile again.Reid Spencer2006-10-311-1/+1
| | | | llvm-svn: 31304
* Apply Aton's LLVM patch for PR973: Linux ctors / dtors support.Evan Cheng2006-10-311-4/+22
| | | | llvm-svn: 31303
* Add debug support for X86/ELF targets (Linux). This allows llvm-gcc4Reid Spencer2006-10-301-1/+7
| | | | | | | generated object modules to be debugged with gdb. Hopefully this helps pre-release debugging. llvm-svn: 31299
* Doh. Must check if GV is constant first.Evan Cheng2006-10-281-2/+2
| | | | llvm-svn: 31252
* Put cstrings in .cstring section when compiling for Mac OS X.Evan Cheng2006-10-261-1/+9
| | | | llvm-svn: 31203
* Move getPreferredAlignmentLog from AsmPrinter to TargetDataDevang Patel2006-10-241-1/+1
| | | | llvm-svn: 31171
* Do section switching right way for Mingw\Cygwin and Linux.Anton Korobeynikov2006-10-221-4/+10
| | | | | | | This will allow (after llvm-gcc linkage fix) more dummy tests using libstdc++ to pass on mingw :) llvm-svn: 31120
* Fixed mingw\cygwin linkonce linkage once again.Anton Korobeynikov2006-10-181-14/+2
| | | | | | | | | | Added workaround for linker bug with linkonce sections. Changed sections prefix to allow linker merge them (PE loader doesn't like too much long-named sections :) ) All of this unbreaks libstdc++ on mingw32 allowing (small) programs to be compiled, linked and run. llvm-svn: 31033
* Adding linkonce linkage codegeneration support for mingw32\cygwinAnton Korobeynikov2006-10-171-0/+13
| | | | | | targets. llvm-svn: 31011
* Align stack size to DWORD boundaryAnton Korobeynikov2006-10-141-0/+3
| | | | llvm-svn: 30964
* Various random and minor code cleanups.Chris Lattner2006-09-261-40/+27
| | | | llvm-svn: 30608
* Adding codegeneration for StdCall & FastCall calling conventionsAnton Korobeynikov2006-09-201-0/+88
| | | | llvm-svn: 30549
* Added some eye-candy for Subtarget type checkingAnton Korobeynikov2006-09-171-2/+2
| | | | | | Added X86 StdCall & FastCall calling conventions. Codegen will follow. llvm-svn: 30446
* Adding dllimport, dllexport and external weak linkage types.Anton Korobeynikov2006-09-141-0/+24
| | | | | | | | | 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
* Committing X86-64 support.Evan Cheng2006-09-081-1/+5
| | | | llvm-svn: 30177
* Make target asm info a property of the target machine.Jim Laskey2006-09-071-80/+3
| | | | llvm-svn: 30162
* Make the x86 asm flavor part of the subtarget info.Jim Laskey2006-09-071-23/+6
| | | | llvm-svn: 30146
* Separate target specific asm properties from the asm printers.Jim Laskey2006-09-061-27/+63
| | | | llvm-svn: 30126
* Emit .set directives for jump table entries when possible, which reducesNate Begeman2006-08-121-0/+1
| | | | | | the number of relocations in object files, shrinkifying them. llvm-svn: 29650
OpenPOWER on IntegriCloud