summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/AsmPrinter
Commit message (Collapse)AuthorAgeFilesLines
...
* remove the MAI argument to MCExpr::print and switch overthing to use << when ↵Chris Lattner2010-01-182-7/+6
| | | | | | 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-171-127/+55
| | | | | | | remove it and change all the code that prints MCSymbols to use << instead, which is much simpler and cleaner. llvm-svn: 93695
* move the mangler into libtarget from vmcore.Chris Lattner2010-01-161-3/+1
| | | | llvm-svn: 93664
* rename GetPrivateGlobalValueSymbolStub -> GetSymbolWithGlobalValueBase,Chris Lattner2010-01-161-5/+5
| | | | | | | | and add an explicit ForcePrivate argument. Switch FunctionEHFrameInfo to be MCSymbol based instead of string based. llvm-svn: 93646
* eliminate uses of mangler and simplify code.Chris Lattner2010-01-162-16/+6
| | | | llvm-svn: 93615
* 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-161-27/+33
| | | | | | | | | 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
* MCize tis, and make it keep CurrentFnSym up to date with CurrentFnName.Chris Lattner2010-01-161-17/+39
| | | | llvm-svn: 93598
* 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-161-17/+38
| | | | | | and CurrentFnName. llvm-svn: 93594
* Adjust some comments per review.Dale Johannesen2010-01-151-2/+4
| | | | llvm-svn: 93580
* DEBUG_VALUE is now variable sized, as it has aDale Johannesen2010-01-151-0/+24
| | | | | | | | target-dependent memory address representation in it. Restore X86 printing of DEBUG_VALUE; lowering is done in X86RegisterInfo using the normal algorithm. llvm-svn: 93565
* Revert 93499. After discussion with Chris we agreedDale Johannesen2010-01-151-20/+0
| | | | | | | | | FrameIndexes should be lowered, but the same way as everything else (target dependent) rather than in a special hacked way. The lowering needs to be done for eventual purposes of Dwarf generation. llvm-svn: 93530
* Lower FrameIndex operand of DEBUG_VALUE (specially) andDale Johannesen2010-01-151-0/+20
| | | | | | print it as a comment on X86. llvm-svn: 93499
* eliminate some uses of Mangler::makeNameProper.Chris Lattner2010-01-131-7/+15
| | | | llvm-svn: 93305
* change Mangler::makeNameProper to return its result in a SmallVectorChris Lattner2010-01-131-29/+27
| | | | | | | | | | | | 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
* Reapply the MOV64r0 patch, with a fix: MOV64r0 clobbers EFLAGS.Dan Gohman2010-01-121-0/+8
| | | | llvm-svn: 93229
* Revert 93158. It's breaking quite a few x86_64 tests.Evan Cheng2010-01-111-8/+0
| | | | llvm-svn: 93185
* Re-instate MOV64r0 and MOV16r0, with adjustments to work with theDan Gohman2010-01-111-0/+8
| | | | | | | | new AsmPrinter. This is perhaps less elegant than describing them in terms of MOV32r0 and subreg operations, but it allows the current register to rematerialize them. llvm-svn: 93158
* completely eliminate the MOV16r0 'instruction'. The onlyChris Lattner2009-12-231-4/+0
| | | | | | | interesting part of this is the divrem changes, which are already tested by CodeGen/X86/divrem.ll. llvm-svn: 91975
* print pcrel immediates as signed values instead of unsigned so that weChris Lattner2009-12-221-3/+5
| | | | | | | | | | | | | | get things like this out of the disassembler: 0x100000ecb: callq -96 instead of: 0x100000ecb: callq 4294967200 rdar://7491123 llvm-svn: 91864
* Fix a thinko that caused spurious @GOTOFFs.Dan Gohman2009-11-201-2/+2
| | | | llvm-svn: 89509
* Target-independent support for TargetFlags on BlockAddress operands,Dan Gohman2009-11-202-3/+15
| | | | | | and support for blockaddresses in x86-32 PIC mode. llvm-svn: 89506
* Move DebugInfo checks into EmitComments and remove them fromDavid Greene2009-11-131-1/+1
| | | | | | | | target-specific AsmPrinters. Not all comments need DebugInfo. Re-enable the line numbers comment test. llvm-svn: 88697
* add some missing #includesChris Lattner2009-11-071-0/+1
| | | | llvm-svn: 86367
* Factor out the printing of the leading tab into printInlineAsm.Dan Gohman2009-11-061-1/+0
| | | | llvm-svn: 86199
* Print out an informative comment for KILL instructions.Jakob Stoklund Olesen2009-11-041-0/+1
| | | | | | | | The KILL pseudo-instruction may survive to the asm printer pass, just like the IMPLICIT_DEF. Print the KILL as a comment instead of just leaving a blank line in the output. With -asm-verbose=0, a blank line is printed, like IMPLICIT?DEF. llvm-svn: 86041
* Initial x86 support for BlockAddresses.Dan Gohman2009-10-301-0/+4
| | | | llvm-svn: 85557
* X86 should ignore implicit regs when lowering to MCInst also,Chris Lattner2009-10-191-0/+2
| | | | | | no functionality change. llvm-svn: 84567
* simplify by using the twine form of GetOrCreateSymbolChris Lattner2009-10-191-8/+5
| | | | llvm-svn: 84565
* add a twine version of MCContext::GetOrCreateSymbol.Chris Lattner2009-10-191-2/+2
| | | | llvm-svn: 84561
* revert r84540, fixing build breakage I didn't see because ofChris Lattner2009-10-192-7/+7
| | | | | | broken makefile deps :( llvm-svn: 84544
* pass mangler in as a reference instead of a pointer.Chris Lattner2009-10-192-7/+7
| | | | llvm-svn: 84540
* remove strings from instructions who are never asmprinted.Chris Lattner2009-10-192-5/+2
| | | | | | | | | All of these "subreg32" modifier instructions are handled explicitly by the MCInst lowering phase. If they got to the asmprinter, they would explode. They should eventually be replace with correct use of subregs. llvm-svn: 84526
* remove accidental comment.Chris Lattner2009-10-191-2/+0
| | | | llvm-svn: 84510
* emit .subsections_via_symbols through MCStreamer instead of textually.Chris Lattner2009-10-191-1/+3
| | | | llvm-svn: 84509
* Dllexport stuff cleanup:Anton Korobeynikov2009-10-151-34/+40
| | | | | | | | 1. Emit external function type information for all COFF targets since it's a feature of object format 2. Emit linker directives only for cygming (since this is ld-specific stuff) llvm-svn: 84214
* Update CMake file (lexically order files).Ted Kremenek2009-10-131-1/+1
| | | | llvm-svn: 84008
* Instead of printing unnecessary basic block labels as labels inDan Gohman2009-10-061-7/+1
| | | | | | | | | | verbose-asm mode, print comments instead. This eliminates a non-comment difference between verbose-asm mode and non-verbose-asm mode. Also, factor out the relevant code out of all the targets and into target-independent code. llvm-svn: 83392
* Update processDebugLoc() so that it can be used to process debug info before ↵Devang Patel2009-10-061-1/+3
| | | | | | and after printing an instruction. llvm-svn: 83363
* Use MachineInstr as an processDebugLoc() argument.Devang Patel2009-09-301-1/+1
| | | | | | This will allow processDebugLoc() to handle scopes for DWARF debug info. llvm-svn: 83183
* Introduce the TargetInstrInfo::KILL machine instruction and get rid of theJakob Stoklund Olesen2009-09-281-0/+2
| | | | | | | | | | unused DECLARE instruction. KILL is not yet used anywhere, it will replace TargetInstrInfo::IMPLICIT_DEF in the places where IMPLICIT_DEF is just used to alter liveness of physical registers. llvm-svn: 83006
* unconditionally request MMIChris Lattner2009-09-241-5/+1
| | | | llvm-svn: 82716
* remove a temporary hack.Chris Lattner2009-09-201-3/+1
| | | | llvm-svn: 82395
* rename X86ATTAsmPrinter.cpp -> X86AsmPrinter.cpp likewise the .h file.Chris Lattner2009-09-205-958/+941
| | | | llvm-svn: 82394
* move target registry stuff to X86ATTAsmPrinter.cppChris Lattner2009-09-202-27/+25
| | | | llvm-svn: 82393
* simplify this now that createX86CodePrinterPass is trivialChris Lattner2009-09-201-14/+2
| | | | llvm-svn: 82392
* rename X86ATTAsmPrinter class -> X86AsmPrinterChris Lattner2009-09-205-37/+35
| | | | llvm-svn: 82391
* kill off printPICLabel now, it's specialness is handled byChris Lattner2009-09-204-13/+1
| | | | | | | the MachineInstr ->MCInst lowering process, not in the asmprinter. llvm-svn: 82388
OpenPOWER on IntegriCloud