Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clarify the LSDASection NULL check | Anton Korobeynikov | 2011-01-30 | 1 | -0/+2 |
| | | | | llvm-svn: 124569 | ||||
* | Support printing exception section into the current one. This is the case ↵ | Anton Korobeynikov | 2011-01-24 | 1 | -1/+2 |
| | | | | | | when LSDASection is blank llvm-svn: 124150 | ||||
* | Add a possibility to switch between CFI directives- and table-based frame ↵ | Anton Korobeynikov | 2011-01-14 | 1 | -8/+5 |
| | | | | | | description emission. Currently all the backends use table-based stuff. llvm-svn: 123476 | ||||
* | Split stuff as a preparation for CFI directives-based frame information emission | Anton Korobeynikov | 2011-01-14 | 1 | -302/+17 |
| | | | | llvm-svn: 123473 | ||||
* | Rename TargetFrameInfo into TargetFrameLowering. Also, put couple of FIXMEs ↵ | Anton Korobeynikov | 2011-01-10 | 1 | -4/+4 |
| | | | | | | and fixes here and there. llvm-svn: 123170 | ||||
* | Move getInitialFrameState() to TargetFrameInfo | Anton Korobeynikov | 2010-11-18 | 1 | -1/+2 |
| | | | | llvm-svn: 119754 | ||||
* | Reference the personalities. Don't copy them into a new vector. | Bill Wendling | 2010-08-01 | 1 | -1/+1 |
| | | | | llvm-svn: 109966 | ||||
* | Rename "HasCalls" in MachineFrameInfo to "AdjustsStack" to better describe what | Bill Wendling | 2010-05-14 | 1 | -8/+9 |
| | | | | | | | | | the variable actually tracks. N.B., several back-ends are using "HasCalls" as being synonymous for something that adjusts the stack. This isn't 100% correct and should be looked into. llvm-svn: 103802 | ||||
* | remove some default arguments to EmitAlignment. | Chris Lattner | 2010-04-28 | 1 | -6/+4 |
| | | | | llvm-svn: 102482 | ||||
* | Add const qualifiers to CodeGen's use of LLVM IR constructs. | Dan Gohman | 2010-04-15 | 1 | -4/+4 |
| | | | | llvm-svn: 101334 | ||||
* | Workaround the breakage in r100616 by guarding all timers with | Torok Edwin | 2010-04-07 | 1 | -10/+0 |
| | | | | | | TimePassesIsEnabled. This should allow make check to pass. llvm-svn: 100618 | ||||
* | Use the "NamedGroupTimer" class to categorize DWARF emission better. | Bill Wendling | 2010-04-07 | 1 | -12/+11 |
| | | | | llvm-svn: 100616 | ||||
* | prune #includes, MMI can never be null | Chris Lattner | 2010-04-05 | 1 | -2/+1 |
| | | | | llvm-svn: 100408 | ||||
* | make DwarfException not inherit from DwarfPrinter. | Chris Lattner | 2010-04-05 | 1 | -34/+41 |
| | | | | llvm-svn: 100374 | ||||
* | Move EmitFrameMoves into AsmPrinter. | Chris Lattner | 2010-04-04 | 1 | -2/+2 |
| | | | | llvm-svn: 100371 | ||||
* | eliminate the "isEH" argument to EmitSectionOffset. | Chris Lattner | 2010-04-04 | 1 | -6/+6 |
| | | | | llvm-svn: 100355 | ||||
* | move some more stuff to asmprinter. | Chris Lattner | 2010-04-04 | 1 | -10/+12 |
| | | | | llvm-svn: 100351 | ||||
* | simplify some code. | Chris Lattner | 2010-04-04 | 1 | -10/+11 |
| | | | | llvm-svn: 100350 | ||||
* | move EmitEncodingByte to AsmPrinter. | Chris Lattner | 2010-04-04 | 1 | -7/+7 |
| | | | | llvm-svn: 100349 | ||||
* | inline EmitDifference away. | Chris Lattner | 2010-04-04 | 1 | -8/+10 |
| | | | | llvm-svn: 100347 | ||||
* | move gettemplabel and getdwlabel to AsmPrinter and rename | Chris Lattner | 2010-04-04 | 1 | -24/+31 |
| | | | | | | them for consistency. llvm-svn: 100345 | ||||
* | move uleb/sleb printing into AsmPrinter from DwarfPrinter. | Chris Lattner | 2010-04-04 | 1 | -14/+14 |
| | | | | llvm-svn: 100344 | ||||
* | remove TargetMachine.h #include, also, TRI isn't used frequently | Chris Lattner | 2010-04-04 | 1 | -0/+1 |
| | | | | | | enough to warrant caching in AsmPrinter, so remove it. llvm-svn: 100336 | ||||
* | remove the raw_ostream from various dwarf printing things. | Chris Lattner | 2010-04-04 | 1 | -3/+2 |
| | | | | | | | The only thing left is LEB printing, which uses EmitRawText for now. llvm-svn: 100325 | ||||
* | reduce indentation | Chris Lattner | 2010-03-31 | 1 | -20/+21 |
| | | | | llvm-svn: 99999 | ||||
* | use RAII for ExceptionTimer too | Chris Lattner | 2010-03-29 | 1 | -17/+3 |
| | | | | llvm-svn: 99833 | ||||
* | get MMI out of the label uniquing business, just go to MCContext | Chris Lattner | 2010-03-14 | 1 | -1/+0 |
| | | | | | | to get unique assembler temporary labels. llvm-svn: 98489 | ||||
* | remove now-dead code, all labels use MCSymbols. | Chris Lattner | 2010-03-14 | 1 | -10/+1 |
| | | | | llvm-svn: 98484 | ||||
* | fix a bug I introduced in r98459, causing some NNT failures. | Chris Lattner | 2010-03-14 | 1 | -1/+1 |
| | | | | llvm-svn: 98470 | ||||
* | change the LabelSDNode to be EHLabelSDNode and make it hold | Chris Lattner | 2010-03-14 | 1 | -3/+9 |
| | | | | | | | | an MCSymbol. Make the EH_LABEL MachineInstr hold its label with an MCSymbol instead of ID. Fix a bug in MMI.cpp which would return labels named "Label4" instead of "label4". llvm-svn: 98463 | ||||
* | change EH related stuff (other than EH_LABEL) to use MCSymbol | Chris Lattner | 2010-03-14 | 1 | -44/+33 |
| | | | | | | | | | | | | | | | | instead of label ID's. This cleans up and regularizes a bunch of code and makes way for future progress. Unfortunately, this pointed out to me that JITDwarfEmitter.cpp is largely copy and paste from DwarfException/MachineModuleInfo and other places. This is very sad and disturbing. :( One major change here is that TidyLandingPads moved from being called in DwarfException::BeginFunction to being called in DwarfException::EndFunction. There should not be any functionality change from doing this, but I'm not an EH expert. llvm-svn: 98459 | ||||
* | simplify EmitFrameMoves to take BaseLabel in as a symbol | Chris Lattner | 2010-03-13 | 1 | -4/+2 |
| | | | | | | | instead of as a stem+idx pair, simplify the "is a new location" check to use symbol comparison. llvm-svn: 98432 | ||||
* | factor some labels, simplify some code. | Chris Lattner | 2010-03-13 | 1 | -3/+5 |
| | | | | llvm-svn: 98429 | ||||
* | remove dead code. | Chris Lattner | 2010-03-12 | 1 | -19/+0 |
| | | | | llvm-svn: 98365 | ||||
* | move three lowering hooks from MAI to TLOF and make one of them | Chris Lattner | 2010-03-10 | 1 | -6/+6 |
| | | | | | | | semantic instead of syntactic. This completes MCization of darwin/x86[-64]! llvm-svn: 98145 | ||||
* | mcize the rest of EH emission, only one more directive missing | Chris Lattner | 2010-03-10 | 1 | -12/+17 |
| | | | | | | for darwin/x86 to be completely mcized. llvm-svn: 98130 | ||||
* | set the temporary bit on MCSymbols correctly. | Chris Lattner | 2010-03-10 | 1 | -1/+1 |
| | | | | llvm-svn: 98124 | ||||
* | add some fixme's for MCizing. EH still has a few things that | Chris Lattner | 2010-03-10 | 1 | -1/+1 |
| | | | | | | | | need to be MCized, but the last debug info thing are LEB and cygwin specific (which the MC api doesn't support yet) and one specific form of EmitReference which I'll tackle next. llvm-svn: 98116 | ||||
* | mcize uses of PrintRelDirective and eliminate it. | Chris Lattner | 2010-03-10 | 1 | -6/+4 |
| | | | | llvm-svn: 98107 | ||||
* | eliminate EOL, adding all comments with the OutStreamer.AddComment | Chris Lattner | 2010-03-09 | 1 | -22/+31 |
| | | | | | | | | | | | method. With this, comments should end up on the same lines as the .byte directives (for example) and we now get no output with: $ llc CodeGen/X86/2009-02-12-DebugInfoVLA.ll -o - -filetype=null -asm-verbose woot. llvm-svn: 98105 | ||||
* | now that the debug and eh emitters use a common .set counter, | Chris Lattner | 2010-03-09 | 1 | -1/+1 |
| | | | | | | we can eliminate "flavor". llvm-svn: 98011 | ||||
* | simplify EmitSectionOffset to always use .set if it is | Chris Lattner | 2010-03-08 | 1 | -1/+1 |
| | | | | | | | | | available, the only thing this affects is that we produce .set in one case we didn't before, which shouldn't harm anything. Make EmitSectionOffset call EmitDifference instead of duplicating it. llvm-svn: 98005 | ||||
* | Remove a version of EmitDifference. | Chris Lattner | 2010-03-08 | 1 | -7/+8 |
| | | | | llvm-svn: 98002 | ||||
* | remove another form of EmitReference. | Chris Lattner | 2010-03-08 | 1 | -2/+2 |
| | | | | llvm-svn: 97998 | ||||
* | mc'ize EmitLabel. | Chris Lattner | 2010-03-08 | 1 | -10/+9 |
| | | | | llvm-svn: 97996 | ||||
* | elimiante the DWLabel class, using MCSymbol instead. Start | Chris Lattner | 2010-03-08 | 1 | -5/+9 |
| | | | | | | | switching some stuff over to passing around MCSymbol* instead of stem+ID. llvm-svn: 97993 | ||||
* | A much cleaner (and less code!) way of inserting the correct amount of padding | Bill Wendling | 2010-02-26 | 1 | -50/+6 |
| | | | | | | | | for alignment into the LSDA. If the TType base offset is emitted, then put the padding there. Otherwise, put it in the call site table length. There will be no conflict between the two sites when placing the padding in one place. llvm-svn: 97277 | ||||
* | Comment typo. | Bill Wendling | 2010-02-26 | 1 | -1/+1 |
| | | | | llvm-svn: 97269 | ||||
* | Fix comments. | Bill Wendling | 2010-02-26 | 1 | -3/+3 |
| | | | | llvm-svn: 97200 | ||||
* | Add another (and hopefully the last) exception case, where once we recalculate | Bill Wendling | 2010-02-26 | 1 | -3/+11 |
| | | | | | | | the alignment requirement, if it no longer makes the TType base offset overflow into extra bytes, then we need to pad to those bytes ourselves. llvm-svn: 97196 |