summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Alpha/AlphaAsmPrinter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* move all the target's asmprinters into the main target. The piece Chris Lattner2010-11-141-0/+166
| | | | | | | that should be split out is the InstPrinter (if a target is mc'ized). This change makes all the targets be consistent. llvm-svn: 119056
* Separate alpha asmprinter. This should unbreak native build.Anton Korobeynikov2008-11-111-294/+0
| | | | llvm-svn: 59046
* Switch the MachineOperand accessors back to the short names likeDan Gohman2008-10-031-1/+1
| | | | | | isReg, etc., from isRegister, etc. llvm-svn: 57006
* Move actual section printing stuff to AsmPrinter from TAI reducing heap traffic.Anton Korobeynikov2008-09-241-3/+2
| | | | llvm-svn: 56573
* Drop obsolete hook and change all usage to new interfaceAnton Korobeynikov2008-09-241-1/+1
| | | | llvm-svn: 56572
* Use raw_ostream throughout the AsmPrinter.Owen Anderson2008-08-211-2/+3
| | | | llvm-svn: 55092
* Handle visibility printing with all generality. Remove bunch of duplicate code.Anton Korobeynikov2008-08-081-2/+3
| | | | llvm-svn: 54540
* Switch Alpha to new section handling stuffAnton Korobeynikov2008-08-071-63/+60
| | | | llvm-svn: 54457
* Add CommonLinkage; currently tentative definitionsDale Johannesen2008-05-141-0/+1
| | | | | | | | | | 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 a quick and dirty "loop aligner pass". x86 uses it to align its loops to ↵Evan Cheng2008-02-281-1/+1
| | | | | | 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
* Rename MRegisterInfo to TargetRegisterInfo.Dan Gohman2008-02-101-2/+3
| | | | llvm-svn: 46930
* Get rid of the annoying blank lines before labels.Evan Cheng2008-02-021-1/+0
| | | | llvm-svn: 46667
* 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-2/+2
| | | | | | Likewise setImmedValue -> setImm llvm-svn: 45453
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45418
* Eliminate the remaining uses of getTypeSize. ThisDuncan Sands2007-11-051-1/+1
| | | | | | | | | | | | | | should only effect x86 when using long double. Now 12/16 bytes are output for long double globals (the exact amount depends on the alignment). This brings globals in line with the rest of LLVM: the space reserved for an object is now always the ABI size. One tricky point is that only 10 bytes should be output for long double if it is a field in a packed struct, which is the reason for the additional argument to EmitGlobalConstant. llvm-svn: 43688
* Revert 42908 for now.Evan Cheng2007-10-141-4/+4
| | | | llvm-svn: 42960
* Change the names used for internal labels to use the currentDan Gohman2007-10-121-4/+4
| | | | | | | | | function symbol name instead of a codegen-assigned function number. Thanks Evan! :-) llvm-svn: 42908
* Don't ignore the return value of AsmPrinter::doInitialization andDan Gohman2007-07-251-4/+2
| | | | | | AsmPrinter::doFinalization. llvm-svn: 40487
* Removed tabs everywhere except autogenerated & external files. Add makeAnton Korobeynikov2007-04-161-8/+8
| | | | | | target for tabs checking. llvm-svn: 36146
* Well this isn't as ugly and it works better. At least gcc bootstraps againAndrew Lenharth2007-02-131-71/+70
| | | | llvm-svn: 34254
* FTOIT and ITOFT are bit converts, and if we drop 21264s, are always availableAndrew Lenharth2007-01-241-4/+3
| | | | llvm-svn: 33492
* Renamed getTypeAlignmentShift() to getPreferredTypeAlignmentShift().Evan Cheng2007-01-241-1/+1
| | | | llvm-svn: 33482
* eliminate static ctors for Statistic objects.Chris Lattner2006-12-191-2/+3
| | | | llvm-svn: 32703
* Simplify a bitAndrew Lenharth2006-12-071-30/+11
| | | | llvm-svn: 32343
* What should be the last unnecessary <iostream>s in the library.Bill Wendling2006-12-071-5/+4
| | | | llvm-svn: 32333
* Be sure to grab weak functions too, and make implicit defs commentsAndrew Lenharth2006-12-071-0/+7
| | | | llvm-svn: 32308
* add #includeChris Lattner2006-12-061-0/+1
| | | | llvm-svn: 32281
* Detemplatize the Statistic class. The only type it is instantiated withChris Lattner2006-12-061-1/+1
| | | | | | is 'unsigned'. llvm-svn: 32279
* For PR786:Reid Spencer2006-11-021-1/+0
| | | | | | | | | | Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions (I didn't want to delete code without review) and unused variables in generated code. Maintainers should clean up the remaining issues when they see them. All changes pass DejaGnu tests and Olden. llvm-svn: 31380
* Move getPreferredAlignmentLog from AsmPrinter to TargetDataDevang Patel2006-10-241-1/+1
| | | | llvm-svn: 31171
* Pass the MachineFunction into EmitJumpTableInfo.Chris Lattner2006-10-051-1/+1
| | | | llvm-svn: 30742
* use getSectionForFunction to decide which section to emit code intoChris Lattner2006-10-051-4/+5
| | | | llvm-svn: 30738
* Jump tables on AlphaAndrew Lenharth2006-09-181-0/+8
| | | | llvm-svn: 30463
* Adding dllimport, dllexport and external weak linkage types.Anton Korobeynikov2006-09-141-0/+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
* Make target asm info a property of the target machine.Jim Laskey2006-09-071-10/+2
| | | | llvm-svn: 30162
* Separate target specific asm properties from the asm printers.Jim Laskey2006-09-061-7/+14
| | | | llvm-svn: 30126
* 0 offsets for memory operandsAndrew Lenharth2006-07-031-0/+2
| | | | llvm-svn: 28989
* Add memory operand and int regsAndrew Lenharth2006-06-211-0/+14
| | | | llvm-svn: 28896
* inline asm, at least for floatsAndrew Lenharth2006-06-211-0/+12
| | | | llvm-svn: 28895
* Added sanity check for obviously bogus immediatesAndrew Lenharth2006-05-171-0/+1
| | | | llvm-svn: 28359
* Split SwitchSection into SwitchTo{Text|Data}Section methods.Chris Lattner2006-05-091-5/+5
| | | | llvm-svn: 28184
* Rename MO_VirtualRegister -> MO_Register. Clean up immediate handling.Chris Lattner2006-05-041-2/+2
| | | | llvm-svn: 28104
* There shalt be only one "immediate" operand type!Chris Lattner2006-05-041-2/+1
| | | | llvm-svn: 28099
* Remove a bunch more SparcV9 specific stuffChris Lattner2006-05-041-7/+1
| | | | llvm-svn: 28093
* Remove some more V9-specific stuff.Chris Lattner2006-05-041-6/+1
| | | | llvm-svn: 28092
* Remove some more unused stuff from MachineInstr that was leftover from V9.Chris Lattner2006-05-041-6/+0
| | | | llvm-svn: 28091
* Refactor TargetMachine, pushing handling of TargetData into the ↵Owen Anderson2006-05-031-4/+4
| | | | | | | | 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
* Extend printBasicBlockLabel a bit so that it can be used to print allNate Begeman2006-05-021-3/+2
| | | | | | | basic block labels, consolidating the code to do so in one place for each target. llvm-svn: 28050
OpenPOWER on IntegriCloud