summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86AsmPrinter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Doh.Evan Cheng2006-06-281-1/+1
| | | | llvm-svn: 28963
* Oops. Need to keep CP index.Evan Cheng2006-06-281-16/+15
| | | | llvm-svn: 28958
* Darwin puts float and double literal constants into literal4 and literal8 ↵Evan Cheng2006-06-281-0/+52
| | | | | | sections. llvm-svn: 28957
* Be consistent with gcc.Evan Cheng2006-06-041-1/+1
| | | | llvm-svn: 28682
* Minor bug caught by Ashwin ChandraEvan Cheng2006-05-261-1/+1
| | | | llvm-svn: 28491
* X86 / Cygwin asm / alignment fixes.Evan Cheng2006-05-251-13/+17
| | | | | | Patch contributed by Anton Korobeynikov! llvm-svn: 28480
* Fix the MASM asmprinter's lies. It does not want to emit code to .text/.dataChris Lattner2006-05-091-2/+4
| | | | | | it wants it emitted to _text/_data. llvm-svn: 28185
* Split SwitchSection into SwitchTo{Text|Data}Section methods.Chris Lattner2006-05-091-7/+8
| | | | llvm-svn: 28184
* Fix some loose ends in MASM support.Jeff Cohen2006-05-061-0/+3
| | | | llvm-svn: 28148
* Print *some* grouping around inline asm blocks so we know where they are.Chris Lattner2006-05-051-1/+2
| | | | llvm-svn: 28133
* Make Intel syntax the default when LLVM is built with VC++.Jeff Cohen2006-05-041-1/+6
| | | | llvm-svn: 28095
* Refactor TargetMachine, pushing handling of TargetData into the ↵Owen Anderson2006-05-031-2/+2
| | | | | | | | target-specific subclasses. This has one caller-visible change: getTargetData() now returns a pointer instead of a reference. This fixes PR 759. llvm-svn: 28074
* Hooray, everyone now uses the same printBasicBlockLabel implementationNate Begeman2006-05-021-12/+0
| | | | llvm-svn: 28056
* Extend printBasicBlockLabel a bit so that it can be used to print allNate Begeman2006-05-021-5/+9
| | | | | | | basic block labels, consolidating the code to do so in one place for each target. llvm-svn: 28050
* JumpTable support! What this represents is working asm and jit support forNate Begeman2006-04-221-0/+9
| | | | | | | | x86 and ppc for 100% dense switch statements when relocations are non-PIC. This support will be extended and enhanced in the coming days to support PIC, and less dense forms of jump tables. llvm-svn: 27947
* Change interface to DwarfWriter.Jim Laskey2006-03-231-4/+4
| | | | llvm-svn: 26991
* Added getTargetLowering() to TargetMachine. Refactored targets to support this.Evan Cheng2006-03-131-5/+5
| | | | llvm-svn: 26742
* Use "llvm.metadata" section for debug globals. Filter out these globals in theJim Laskey2006-03-071-1/+1
| | | | | | asm printer. llvm-svn: 26599
* - Emit subsections_via_symbols for Darwin.Evan Cheng2006-03-071-5/+14
| | | | | | - Conditionalize Dwarf debugging output (Darwin only for now). llvm-svn: 26582
* Enable Dwarf debugging info.Evan Cheng2006-03-071-0/+6
| | | | llvm-svn: 26581
* "." isn't enough to get a private label on linux, use ".L".Chris Lattner2006-02-231-0/+1
| | | | llvm-svn: 26327
* PIC related bug fixes.Evan Cheng2006-02-231-2/+2
| | | | | | | 1. Various asm printer bug. 2. Lowering bug. Now TargetGlobalAddress is wrapped in X86ISD::TGAWrapper. llvm-svn: 26324
* Use .zerofill on x86/darwin.Evan Cheng2006-02-151-15/+22
| | | | llvm-svn: 26196
* Darwin doesn't support #APP/#NO_APPChris Lattner2006-02-081-0/+1
| | | | llvm-svn: 26066
* Fixed a local common symbol bug.Evan Cheng2006-02-071-11/+17
| | | | llvm-svn: 26044
* For ELF, .comm takes alignment value as the optional 3rd argument. It must beEvan Cheng2006-02-071-1/+3
| | | | | | specified in bytes. llvm-svn: 26043
* Darwin ABI issues: weak, linkonce, etc. dynamic-no-pic support is complete.Evan Cheng2006-02-071-75/+55
| | | | | | | Also fixed a function stub bug. Added weak and linkonce support for x86 Linux. llvm-svn: 26038
* Use getPreferredAlignmentLog.Chris Lattner2006-02-051-1/+1
| | | | llvm-svn: 25980
* Use the shared asmprinter code for printing special llvm globalsChris Lattner2005-12-131-37/+5
| | | | llvm-svn: 24695
* Add ELF and darwin support for static ctors and dtorsChris Lattner2005-12-131-0/+39
| | | | llvm-svn: 24693
* Use HasDotTypeDotSizeDirective instead of forELFChris Lattner2005-11-211-13/+6
| | | | llvm-svn: 24481
* Remove a level of indentation by using a continue.Chris Lattner2005-11-211-55/+55
| | | | llvm-svn: 24479
* Use subtarget information computed by X86Subtarget instead of rolling our own.Chris Lattner2005-11-211-27/+20
| | | | llvm-svn: 24477
* Add a forELF flag, allowing the removal of forCygwin and simplification ofChris Lattner2005-11-211-3/+8
| | | | | | conditionals. llvm-svn: 24475
* simplify and genericize this codeChris Lattner2005-11-211-55/+69
| | | | llvm-svn: 24473
* prune #includeChris Lattner2005-11-211-1/+0
| | | | llvm-svn: 24468
* Switch to using the shared constant pool printer, along with using shorterChris Lattner2005-11-211-26/+1
| | | | | | CPI ids llvm-svn: 24467
* Adjust to capitalized AsmPrinter method namesChris Lattner2005-11-211-5/+5
| | | | llvm-svn: 24456
* convert the rest of this over to use SwitchSectionChris Lattner2005-11-211-5/+2
| | | | llvm-svn: 24448
* Start using the AsmPrinter shared SwitchSection code. This allows the X86Chris Lattner2005-11-211-7/+3
| | | | | | backend to implement global variables in sections. llvm-svn: 24447
* Rename SwitchSection -> switchSection to avoid conflicting with a futureChris Lattner2005-11-211-4/+4
| | | | | | change. llvm-svn: 24443
* Naturally align doubles in the constant pool, set PrivateGlobalPrefix onChris Lattner2005-11-211-6/+15
| | | | | | | | | darwin, use it when printing the constant pool indices so the labels are appropriately private, emit cp entries to .const instead of .data on darwin and only emit a single .section for the constant pool, not one for each entry. llvm-svn: 24440
* Eliminate all remaining tabs and trailing spaces.Jeff Cohen2005-07-271-8/+8
| | | | llvm-svn: 22523
* A couple more darwinismsNate Begeman2005-07-161-2/+5
| | | | llvm-svn: 22450
* Commit some pending darwin changes before subtarget support.Nate Begeman2005-07-121-10/+11
| | | | llvm-svn: 22388
* Fix crazy indentationChris Lattner2005-07-111-75/+73
| | | | llvm-svn: 22380
* Add support for assembling .s files on mac os x for intelNate Begeman2005-07-081-6/+53
| | | | | | Add support for running bugpoint on mac os x for intel llvm-svn: 22351
* The statistic needs to be in the correct namespace.Nate Begeman2005-07-011-1/+2
| | | | llvm-svn: 22327
* Refactor X86AsmPrinter.cpp into multiple files. Patch contributedChris Lattner2005-07-011-557/+89
| | | | | | by Aaron Gray, cleaned up by me. llvm-svn: 22324
* Make the x86 asm printer darwin-aware. This mostly entails doing the sameNate Begeman2005-06-301-12/+15
| | | | | | | thing as cygwin most of the time, and printing our alignments in log2 rather than number of bytes. llvm-svn: 22316
OpenPOWER on IntegriCloud