summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/SparcAsmPrinter.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Change "Name" to "AsmName" in the target register info. Gee, a refactoring toolBill Wendling2008-02-261-1/+1
| | | | | | would have been a Godsend here! llvm-svn: 47625
* Unbreak build with gcc 4.3: provide missed includes and silence most ↵Anton Korobeynikov2008-02-201-0/+1
| | | | | | annoying warnings. llvm-svn: 47367
* Rename MRegisterInfo to TargetRegisterInfo.Dan Gohman2008-02-101-2/+2
| | | | llvm-svn: 46930
* Get rid of the annoying blank lines before labels.Evan Cheng2008-02-021-2/+1
| | | | llvm-svn: 46667
* Use getPreferredAlignmentLog or getPreferredAlignmentDuncan Sands2008-01-291-1/+1
| | | | | | | to get the alignment of global variables, rather than using hand-made versions. llvm-svn: 46495
* Add new shorter predicates for testing machine operands for various types: Chris Lattner2007-12-301-2/+2
| | | | | | | | | | | | 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-3/+3
| | | | | | 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-2/+2
| | | | | | | | | | | | | | 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-2/+2
| | | | llvm-svn: 42960
* Change the names used for internal labels to use the currentDan Gohman2007-10-121-2/+2
| | | | | | | | | 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-2/+1
| | | | | | AsmPrinter::doFinalization. llvm-svn: 40487
* Generalize TargetData strings, to support more interesting forms of data.Chris Lattner2007-02-141-1/+1
| | | | | | Patch by Scott Michel. llvm-svn: 34266
* Teach TargetData to handle 'preferred' alignment for each target, and useChris Lattner2007-01-201-2/+2
| | | | | | these alignment amounts to align scalars when we can. Patch by Scott Michel! llvm-svn: 33409
* eliminate static ctors for Statistic objects.Chris Lattner2006-12-191-2/+3
| | | | llvm-svn: 32703
* What should be the last unnecessary <iostream>s in the library.Bill Wendling2006-12-071-4/+3
| | | | llvm-svn: 32333
* Detemplatize the Statistic class. The only type it is instantiated withChris Lattner2006-12-061-1/+1
| | | | | | is 'unsigned'. llvm-svn: 32279
* These asm printers shouldn't use assembly/writer.hChris Lattner2006-12-061-6/+1
| | | | llvm-svn: 32262
* For PR786:Reid Spencer2006-11-021-2/+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
* Use getSectionForFunctionChris Lattner2006-10-051-3/+5
| | | | llvm-svn: 30739
* 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-14/+2
| | | | llvm-svn: 30162
* Separate target specific asm properties from the asm printers.Jim Laskey2006-09-061-4/+12
| | | | llvm-svn: 30126
* Refactor a bunch of includes so that TargetMachine.h doesn't have to includeOwen Anderson2006-05-121-0/+1
| | | | | | | TargetData.h. This should make recompiles a bit faster with my current TargetData tinkering. llvm-svn: 28238
* Split SwitchSection into SwitchTo{Text|Data}Section methods.Chris Lattner2006-05-091-6/+6
| | | | llvm-svn: 28184
* Rename MO_VirtualRegister -> MO_Register. Clean up immediate handling.Chris Lattner2006-05-041-5/+5
| | | | llvm-svn: 28104
* There shalt be only one "immediate" operand type!Chris Lattner2006-05-041-4/+2
| | | | llvm-svn: 28099
* Remove a bunch more SparcV9 specific stuffChris Lattner2006-05-041-8/+1
| | | | llvm-svn: 28093
* Remove some more unused stuff from MachineInstr that was leftover from V9.Chris Lattner2006-05-041-4/+0
| | | | llvm-svn: 28091
* Refactor TargetMachine, pushing handling of TargetData into the ↵Owen Anderson2006-05-031-5/+5
| | | | | | | | 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-4/+4
| | | | | | | 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-6/+2
| | | | | | | | 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
* Add support for 'special' llvm globals like debug info and static ctors/dtors.Chris Lattner2006-03-091-1/+6
| | | | llvm-svn: 26628
* Don't print constant initializers, they may span lines now.Chris Lattner2006-02-271-2/+0
| | | | llvm-svn: 26403
* Sparc actually *DOES* have a directive for emitting zeros. In fact, it requiresChris Lattner2006-02-151-1/+1
| | | | | | | | | | | | it, because this: .bss X: .byte 0 results in the assembler warning: "initialization in bss segment". Annoying. llvm-svn: 26204
* Use the auto-generated call matcher. Remove a broken impl of the ↵Chris Lattner2006-02-101-2/+12
| | | | | | | | | | frameaddr/returnaddr intrinsics. Autogen frameindex matcher llvm-svn: 26107
* Rename SPARC V8 target to be the LLVM SPARC target.Chris Lattner2006-02-051-0/+295
llvm-svn: 25985
OpenPOWER on IntegriCloud