Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | move PPCAsmPrinter into the main PPC library, like ARM and X86. | Chris Lattner | 2010-11-14 | 3 | -939/+0 |
| | | | | llvm-svn: 119054 | ||||
* | zap dead code. | Chris Lattner | 2010-09-04 | 1 | -4/+0 |
| | | | | llvm-svn: 113073 | ||||
* | Implement target specific getDebugValueLocation(). | Devang Patel | 2010-08-04 | 1 | -0/+14 |
| | | | | llvm-svn: 110256 | ||||
* | Use MachineOperand::is* predicates. | Devang Patel | 2010-04-27 | 1 | -3/+3 |
| | | | | llvm-svn: 102472 | ||||
* | Add PPC AsmPrinter handling for target-specific form of | Dale Johannesen | 2010-04-26 | 1 | -0/+18 |
| | | | | | | DBG_VALUE, and a cautionary comment. llvm-svn: 102371 | ||||
* | Add const qualifiers to TargetLoweringObjectFile usage. | Dan Gohman | 2010-04-17 | 1 | -6/+6 |
| | | | | llvm-svn: 101640 | ||||
* | Add const qualifiers to CodeGen's use of LLVM IR constructs. | Dan Gohman | 2010-04-15 | 1 | -4/+4 |
| | | | | llvm-svn: 101334 | ||||
* | remove the TargetLoweringObjectFileMachO::getMachoSection | Chris Lattner | 2010-04-08 | 1 | -10/+10 |
| | | | | | | api and update clients to use MCContext instead. llvm-svn: 100808 | ||||
* | add newlines at end of files. | Chris Lattner | 2010-04-07 | 1 | -1/+1 |
| | | | | llvm-svn: 100706 | ||||
* | just have all targets create the DwarfWriter. | Chris Lattner | 2010-04-05 | 1 | -13/+0 |
| | | | | llvm-svn: 100377 | ||||
* | simplify various getAnalysisUsage implementations. | Chris Lattner | 2010-04-05 | 1 | -2/+0 |
| | | | | llvm-svn: 100376 | ||||
* | Momentous day: remove the "O" member from AsmPrinter. Now all | Chris Lattner | 2010-04-04 | 1 | -17/+10 |
| | | | | | | | | | | "asm printering" happens through MCStreamer. This also Streamerizes PIC16 debug info, which escaped my attention. This removes a leak from LLVMTargetMachine of the 'legacy' output stream. llvm-svn: 100327 | ||||
* | finish eliminating uses of O. | Chris Lattner | 2010-04-04 | 1 | -17/+34 |
| | | | | llvm-svn: 100321 | ||||
* | mcize more of ppc stub printing. | Chris Lattner | 2010-04-04 | 1 | -15/+16 |
| | | | | llvm-svn: 100320 | ||||
* | mcize a bunch more stuff, using EmitRawText for things we | Chris Lattner | 2010-04-04 | 1 | -25/+28 |
| | | | | | | don't have mcstreamer support for yet. llvm-svn: 100319 | ||||
* | convert the non-MCInstPrinter'ized EmitInstruction | Chris Lattner | 2010-04-04 | 1 | -2/+4 |
| | | | | | | | implementations to use EmitRawText instead of writing directly to "O". llvm-svn: 100318 | ||||
* | fix PrintAsmOperand and PrintAsmMemoryOperand to pass down | Chris Lattner | 2010-04-04 | 1 | -4/+7 |
| | | | | | | raw_ostream to print to. llvm-svn: 100313 | ||||
* | change a ton of code to not implicitly use the "O" raw_ostream | Chris Lattner | 2010-04-04 | 1 | -51/+62 |
| | | | | | | member of AsmPrinter. Instead, pass it in explicitly. llvm-svn: 100306 | ||||
* | asmstreamerize the .size directive for function bodies, force clients | Chris Lattner | 2010-04-03 | 1 | -1/+1 |
| | | | | | | of printOffset to pass in a stream to print to. llvm-svn: 100296 | ||||
* | Comment the changes for r98218 and friends inside the source code. | Bill Wendling | 2010-03-31 | 1 | -0/+5 |
| | | | | llvm-svn: 100031 | ||||
* | Rip out the 'is temporary' nonsense from the MCContext interface to | Chris Lattner | 2010-03-30 | 1 | -4/+4 |
| | | | | | | | | | create symbols. It is extremely error prone and a source of a lot of the remaining integrated assembler bugs on x86-64. This fixes rdar://7807601. llvm-svn: 99902 | ||||
* | eliminate the now-unneeded context argument of MBB::getSymbol() | Chris Lattner | 2010-03-13 | 1 | -1/+1 |
| | | | | llvm-svn: 98451 | ||||
* | rearrange MCContext ownership. Before LLVMTargetMachine created it | Chris Lattner | 2010-03-13 | 1 | -13/+9 |
| | | | | | | | | | | | and passing off ownership to AsmPrinter. Now MachineModuleInfo creates it and owns it by value. This allows us to use MCSymbols more consistently throughout the rest of the code generator, and simplifies a bit of code. This also allows MachineFunction to keep an MCContext reference handy, and cleans up the TargetRegistry interfaces for AsmPrinters. llvm-svn: 98450 | ||||
* | Fix LLVM build when the user specifies CPPFLAGS on the make command line. | Jeffrey Yasskin | 2010-03-12 | 1 | -1/+1 |
| | | | | llvm-svn: 98394 | ||||
* | inline GetGlobalValueSymbol into the rest its callers and | Chris Lattner | 2010-03-12 | 1 | -11/+7 |
| | | | | | | remove it. llvm-svn: 98390 | ||||
* | The same situation that effected ARM effects PPC with regards to placing the | Bill Wendling | 2010-03-12 | 1 | -1/+9 |
| | | | | | | | | | LSDA into the TEXT section. We need to generate non-lazy pointers to it on Mach-O. However, the object the NLP points to may be local to the translation unit. If so, then the NLP needs to have the value of that object specified instead of "0", which the linker interprets as "external". llvm-svn: 98325 | ||||
* | MC-ize PPC's asm printing of stubs. | Bill Wendling | 2010-03-11 | 1 | -9/+20 |
| | | | | llvm-svn: 98300 | ||||
* | Add a bit along with the MCSymbols stored in the MachineModuleInfo maps that | Bill Wendling | 2010-03-10 | 1 | -22/+33 |
| | | | | | | | | indicates that an MCSymbol is external or not. (It's true if it's external.) This will be used to specify the correct information to add to non-lazy pointers. That will be explained further when this bit is used. llvm-svn: 98199 | ||||
* | set the temporary bit on MCSymbols correctly. | Chris Lattner | 2010-03-10 | 1 | -4/+4 |
| | | | | llvm-svn: 98124 | ||||
* | Move TLOF implementations to libCodegen to resolve layering violation. | Anton Korobeynikov | 2010-02-15 | 1 | -1/+1 |
| | | | | llvm-svn: 96288 | ||||
* | print all the newlines at the end of instructions with | Chris Lattner | 2010-02-10 | 1 | -4/+4 |
| | | | | | | OutStreamer.AddBlankLine instead of textually. llvm-svn: 95734 | ||||
* | make MachineModuleInfoMachO hold non-const MCSymbol*'s instead | Chris Lattner | 2010-02-03 | 1 | -10/+9 |
| | | | | | | | of const ones. non-const ones aren't very useful, because you can't even, say, emit them. llvm-svn: 95205 | ||||
* | rejigger the world so that EmitInstruction prints the \n at | Chris Lattner | 2010-02-03 | 1 | -0/+4 |
| | | | | | | | | the end of the instruction instead of expecting the caller to do it. This currently causes the asm-verbose instruction comments to be on the next line. llvm-svn: 95178 | ||||
* | refactor code so that LLVMTargetMachine creates the asmstreamer and | Chris Lattner | 2010-02-02 | 1 | -10/+13 |
| | | | | | | | mccontext instead of having AsmPrinter do it. This allows other types of MCStreamer's to be passed in. llvm-svn: 95155 | ||||
* | Give AsmPrinter the most common expected implementation of | Chris Lattner | 2010-01-28 | 1 | -104/+19 |
| | | | | | | | | runOnMachineFunction, and switch PPC to use EmitFunctionBody. The two ppc asmprinters now don't heave to define runOnMachineFunction. llvm-svn: 94722 | ||||
* | Remove the argument from EmitJumpTableInfo, because it doesn't need it. | Chris Lattner | 2010-01-28 | 1 | -9/+4 |
| | | | | | | | | Move the X86 implementation of function body emission up to AsmPrinter::EmitFunctionBody, which works by calling the virtual EmitInstruction method. llvm-svn: 94716 | ||||
* | add a new AsmPrinter::EmitFunctionEntryLabel virtual function, | Chris Lattner | 2010-01-27 | 1 | -53/+23 |
| | | | | | | | which allows targets to override function entry label emission. Use it to convert linux/ppc to use EmitFunctionHeader(). llvm-svn: 94667 | ||||
* | ppc/linux isn't ready for this and it was an accident that it was included. | Chris Lattner | 2010-01-27 | 1 | -2/+0 |
| | | | | | | This should fix a bunch of linux buildbot failures. llvm-svn: 94643 | ||||
* | Switch MSP430, CellSPU, SystemZ, Darwin/PPC, Alpha, and Sparc to | Chris Lattner | 2010-01-27 | 1 | -32/+3 |
| | | | | | | | | EmitFunctionHeader: 7 files changed, 16 insertions(+), 210 deletions(-) llvm-svn: 94630 | ||||
* | add a new MachineBasicBlock::getSymbol method, replacing | Chris Lattner | 2010-01-26 | 1 | -1/+1 |
| | | | | | | the AsmPrinter::GetMBBSymbol. llvm-svn: 94515 | ||||
* | don't bother setting the AsmPrinter::MF ivar, now that | Chris Lattner | 2010-01-26 | 1 | -4/+0 |
| | | | | | | | AsmPrinter::SetupMachineFunction sets it. Note that systemz and msp430 didn't. Yay for reduced inconsistency! :) llvm-svn: 94510 | ||||
* | eliminate redundant argument to EmitJumpTableInfo | Chris Lattner | 2010-01-25 | 1 | -2/+2 |
| | | | | llvm-svn: 94464 | ||||
* | make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. | Chris Lattner | 2010-01-24 | 1 | -1/+0 |
| | | | | llvm-svn: 94378 | ||||
* | move the various directive enums out of the MCStreamer class | Chris Lattner | 2010-01-23 | 1 | -1/+1 |
| | | | | | | into a new MCDirectives.h file. llvm-svn: 94294 | ||||
* | Stop building RTTI information for *most* llvm libraries. Notable | Chris Lattner | 2010-01-22 | 1 | -0/+1 |
| | | | | | | | | | | | missing ones are libsupport, libsystem and libvmcore. libvmcore is currently blocked on bugpoint, which uses EH. Once it stops using EH, we can switch it off. This #if 0's out 3 unit tests, because gtest requires RTTI information. Suggestions welcome on how to fix this. llvm-svn: 94164 | ||||
* | remove dead .erase. | Chris Lattner | 2010-01-21 | 1 | -3/+1 |
| | | | | llvm-svn: 94098 | ||||
* | fix a problem with a missing _, testcase pending. | Chris Lattner | 2010-01-21 | 1 | -1/+1 |
| | | | | llvm-svn: 94095 | ||||
* | eliminate FnStubInfo, using MachineModuleInfoMachO instead. | Chris Lattner | 2010-01-20 | 1 | -73/+66 |
| | | | | | | this makes function stub emission determinstic. llvm-svn: 94033 | ||||
* | split function stub printing out to its own function, | Chris Lattner | 2010-01-20 | 1 | -46/+58 |
| | | | | | | no functionality change. llvm-svn: 94030 | ||||
* | eliminate the GVStubs and HiddenGVStubs maps, and use | Chris Lattner | 2010-01-20 | 1 | -23/+39 |
| | | | | | | | | MachineModuleInfoMachO instead. This eliminates two sources of nondeterministic output in the ppc backend, but function stubs are still bad. llvm-svn: 94029 |