summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86ATTAsmPrinter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move X86 assembler printers into separate directory. This allows JIT-only ↵Anton Korobeynikov2008-08-171-985/+0
| | | | | | users not to link it in (use 'x86codegen' llvm-config arg for this) llvm-svn: 54886
* GeneralizeAnton Korobeynikov2008-08-081-4/+2
| | | | llvm-svn: 54542
* Handle visibility printing with all generality. Remove bunch of duplicate code.Anton Korobeynikov2008-08-081-14/+3
| | | | llvm-svn: 54540
* Fix indentation.Evan Cheng2008-08-081-8/+8
| | | | llvm-svn: 54518
* Switch ARM to new section handling stuffAnton Korobeynikov2008-08-071-2/+1
| | | | llvm-svn: 54458
* Emit debug info for data-only files. This versionDale Johannesen2008-07-091-7/+8
| | | | | | is X86 ATT only. llvm-svn: 53355
* Remove #include <iostream>.Dan Gohman2008-07-091-2/+0
| | | | llvm-svn: 53333
* Honour text sectionsAnton Korobeynikov2008-07-091-1/+2
| | | | llvm-svn: 53319
* Use isWeakForLinker() hookAnton Korobeynikov2008-07-091-6/+2
| | | | llvm-svn: 53318
* Switch to new section name handling facilityAnton Korobeynikov2008-07-091-101/+9
| | | | llvm-svn: 53316
* Fix thinkoAnton Korobeynikov2008-07-091-0/+5
| | | | llvm-svn: 53309
* Back out 53254. It broke ppc debug info codegen.Evan Cheng2008-07-091-9/+9
| | | | llvm-svn: 53280
* Make debug info come out in data-only files.Dale Johannesen2008-07-081-9/+9
| | | | | | | | | | | This is a question of the debugging setup code not being called at the right time, and it's called from target-dependent code for some reason. I have only attempted to fix Darwin, but I'm pretty sure it's broken elsewhere; I'll leave that to people who can test it. llvm-svn: 53254
* Unbreak C++ tests on x86 Darwin.Evan Cheng2008-07-081-2/+1
| | | | llvm-svn: 53237
* Avoid unnecessary string construction during asm printing.Evan Cheng2008-07-081-12/+26
| | | | llvm-svn: 53215
* ATT asm printer just print register AsmName's instead of calling tolower on ↵Evan Cheng2008-07-071-5/+2
| | | | | | each charater of Name. This speeds it up by 10%. llvm-svn: 53208
* Split ISD::LABEL into ISD::DBG_LABEL and ISD::EH_LABEL, eliminatingDan Gohman2008-07-011-1/+1
| | | | | | | | | | | | | | | | the need for a flavor operand, and add a new SDNode subclass, LabelSDNode, for use with them to eliminate the need for a label id operand. Change instruction selection to let these label nodes through unmodified instead of creating copies of them. Teach the MachineInstr emitter how to emit a MachineInstr directly from an ISD label node. This avoids the need for allocating SDNodes for the label id and flavor value, as well as SDNodes for each of the post-isel label, label id, and label flavor. llvm-svn: 52943
* std::ostream and std::string microoptimizations for asm printing.Dan Gohman2008-06-301-53/+53
| | | | llvm-svn: 52929
* UnbreakAnton Korobeynikov2008-06-281-2/+2
| | | | llvm-svn: 52866
* Temporary rever invalid commitAnton Korobeynikov2008-06-281-5/+7
| | | | llvm-svn: 52865
* Move printing of module-level GVs into dedicated helperAnton Korobeynikov2008-06-281-197/+198
| | | | llvm-svn: 52864
* Use common naming conventionAnton Korobeynikov2008-06-281-2/+2
| | | | llvm-svn: 52863
* Factor out stuff into helper functionAnton Korobeynikov2008-06-281-33/+37
| | | | llvm-svn: 52862
* CleanupAnton Korobeynikov2008-06-281-6/+3
| | | | llvm-svn: 52861
* Remove X86SharedAsmPrinterAnton Korobeynikov2008-06-281-5/+428
| | | | llvm-svn: 52860
* whitespace cleanupAnton Korobeynikov2008-06-281-24/+24
| | | | llvm-svn: 52859
* add support for PIC on linux x86-64Rafael Espindola2008-06-091-12/+16
| | | | llvm-svn: 52139
* Wrap MVT::ValueType in a struct to get type safetyDuncan Sands2008-06-061-1/+1
| | | | | | | | | | | | | | | | and better control the abstraction. Rename the type to MVT. To update out-of-tree patches, the main thing to do is to rename MVT::ValueType to MVT, and rewrite expressions like MVT::getSizeInBits(VT) in the form VT.getSizeInBits(). Use VT.getSimpleVT() to extract a MVT::SimpleValueType for use in switch statements (you will get an assert failure if VT is an extended value type - these shouldn't exist after type legalization). This results in a small speedup of codegen and no new testsuite failures (x86-64 linux). llvm-svn: 52044
* Handle quoted names when constructing $stub's,Dale Johannesen2008-05-191-3/+3
| | | | | | $non_lazy_ptr's and $lazy_ptr's. llvm-svn: 51277
* Add CommonLinkage; currently tentative definitionsDale Johannesen2008-05-141-1/+2
| | | | | | | | | | are represented as "weak", but there are subtle differences in some cases on Darwin, so we need both. The intent is that "common" will behave identically to "weak" unless somebody changes their target to do something else. No functional change as yet. llvm-svn: 51118
* Add General Dynamic TLS model for X86-64. Some parts looks really ugly (look ↵Anton Korobeynikov2008-05-041-2/+2
| | | | | | | | for tlsaddr pattern), but should work. Work is in progress, more models will follow llvm-svn: 50630
* Handle the situation in 2008-01-25-EmptyFunction.llDale Johannesen2008-04-081-10/+11
| | | | | | correctly when unwind info is being generated. llvm-svn: 49366
* Recommitting EH patch; this should answer most of theDale Johannesen2008-04-021-2/+3
| | | | | | | | | | | | | | | review feedback. -enable-eh is still accepted but doesn't do anything. EH intrinsics use Dwarf EH if the target supports that, and are handled by LowerInvoke otherwise. The separation of the EH table and frame move data is, I think, logically figured out, but either one still causes full EH info to be generated (not sure how to split the metadata correctly). MachineModuleInfo::needsFrameInfo is no longer used and is removed. llvm-svn: 49064
* Smaller function alignment when optimizing for size.Evan Cheng2008-03-251-3/+4
| | | | llvm-svn: 48805
* Another comments fixingAnton Korobeynikov2008-03-221-1/+2
| | | | llvm-svn: 48683
* Replace all target specific implicit def instructions with a target ↵Evan Cheng2008-03-151-4/+2
| | | | | | independent one: TargetInstrInfo::IMPLICIT_DEF. llvm-svn: 48380
* Get rid of a pseudo instruction and replace it with subreg based operation ↵Christopher Lamb2008-03-131-8/+0
| | | | | | | on real instructions, ridding the asm printers of the hack used to do this previously. In the process, update LowerSubregs to be careful about eliminating copies that have side affects. Note: the coalescer will have to be careful about this too, when it starts coalescing insert_subreg nodes. llvm-svn: 48329
* Correctly propagate thread-local flag from aliasee to alias. This fixes PR2137Anton Korobeynikov2008-03-111-2/+8
| | | | llvm-svn: 48257
* Add a quick and dirty "loop aligner pass". x86 uses it to align its loops to ↵Evan Cheng2008-02-281-18/+7
| | | | | | 16-byte boundaries. llvm-svn: 47703
* Change "Name" to "AsmName" in the target register info. Gee, a refactoring toolBill Wendling2008-02-261-2/+2
| | | | | | would have been a Godsend here! llvm-svn: 47625
* Me not like duplicated comments.Evan Cheng2008-02-191-4/+4
| | | | llvm-svn: 47300
* Rename MRegisterInfo to TargetRegisterInfo.Dan Gohman2008-02-101-3/+3
| | | | llvm-svn: 46930
* Get rid of the annoying blank lines before labels.Evan Cheng2008-02-021-1/+0
| | | | llvm-svn: 46667
* If there's no instructions being emitted on X86 for a function, emit aBill Wendling2008-01-261-2/+12
| | | | | | nop. Emit the nop directly for PPC. llvm-svn: 46398
* Remove Darwin'ismAnton Korobeynikov2008-01-201-4/+1
| | | | llvm-svn: 46199
* Combine MovePCtoStack + POP32r into one instruction MOVPC32r so it can be ↵Evan Cheng2008-01-051-9/+8
| | | | | | moved if needed. llvm-svn: 45605
* Add new shorter predicates for testing machine operands for various types: Chris Lattner2007-12-301-3/+3
| | | | | | | | | | | | e.g. MO.isMBB() instead of MO.isMachineBasicBlock(). I don't plan on switching everything over, so new clients should just start using the shorter names. Remove old long accessors, switching everything over to use the short accessor: getMachineBasicBlock() -> getMBB(), getConstantPoolIndex() -> getIndex(), setMachineBasicBlock -> setMBB(), etc. llvm-svn: 45464
* Use MachineOperand::getImm instead of MachineOperand::getImmedValue. ↵Chris Lattner2007-12-301-4/+4
| | | | | | Likewise setImmedValue -> setImm llvm-svn: 45453
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45418
* Fix .eh table linkage issues on Darwin. Some EH supportDale Johannesen2007-11-201-1/+1
| | | | | | for Darwin PPC, but it's not fully working yet. llvm-svn: 44258
OpenPOWER on IntegriCloud