summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Convert assert(0) to llvm_unreachableCraig Topper2012-02-051-3/+4
| | | | llvm-svn: 149816
* Add bundle aware API for querying instruction properties and switch the codeEvan Cheng2011-12-071-2/+2
| | | | | | | | | | | | | | generator to it. For non-bundle instructions, these behave exactly the same as the MC layer API. For properties like mayLoad / mayStore, look into the bundle and if any of the bundled instructions has the property it would return true. For properties like isPredicable, only return true if *all* of the bundled instructions have the property. For properties like canFoldAsLoad, isCompare, conservatively return false for bundles. llvm-svn: 146026
* Twinify better.Benjamin Kramer2011-10-161-20/+15
| | | | llvm-svn: 142139
* A typeid of zero means a cleanup, not a catch. This case occursDuncan Sands2011-09-281-2/+4
| | | | | | when there is both a catch and a cleanup. Correct the comment. llvm-svn: 140686
* add the comments of each declaration follow it, making it easier to read and ↵Renato Golin2011-08-181-49/+44
| | | | | | compare to GCC's result. llvm-svn: 138009
* Move getInitialFrameState from TargetFrameInfo to MCAsmInfo (suggestions forEvan Cheng2011-07-181-1/+0
| | | | | | better location welcome). llvm-svn: 135438
* Add verbose EH table printing to SjLj exception tables.Bill Wendling2011-06-211-2/+19
| | | | llvm-svn: 133561
* Improve the comment printing for the EH table. This gives a much more detailedBill Wendling2011-06-211-23/+69
| | | | | | explanation of what the EH table describes. llvm-svn: 133559
* Clarify the LSDASection NULL checkAnton Korobeynikov2011-01-301-0/+2
| | | | llvm-svn: 124569
* Support printing exception section into the current one. This is the case ↵Anton Korobeynikov2011-01-241-1/+2
| | | | | | when LSDASection is blank llvm-svn: 124150
* Add a possibility to switch between CFI directives- and table-based frame ↵Anton Korobeynikov2011-01-141-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 emissionAnton Korobeynikov2011-01-141-302/+17
| | | | llvm-svn: 123473
* Rename TargetFrameInfo into TargetFrameLowering. Also, put couple of FIXMEs ↵Anton Korobeynikov2011-01-101-4/+4
| | | | | | and fixes here and there. llvm-svn: 123170
* Move getInitialFrameState() to TargetFrameInfoAnton Korobeynikov2010-11-181-1/+2
| | | | llvm-svn: 119754
* Reference the personalities. Don't copy them into a new vector.Bill Wendling2010-08-011-1/+1
| | | | llvm-svn: 109966
* Rename "HasCalls" in MachineFrameInfo to "AdjustsStack" to better describe whatBill Wendling2010-05-141-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 Lattner2010-04-281-6/+4
| | | | llvm-svn: 102482
* Add const qualifiers to CodeGen's use of LLVM IR constructs.Dan Gohman2010-04-151-4/+4
| | | | llvm-svn: 101334
* Workaround the breakage in r100616 by guarding all timers withTorok Edwin2010-04-071-10/+0
| | | | | | TimePassesIsEnabled. This should allow make check to pass. llvm-svn: 100618
* Use the "NamedGroupTimer" class to categorize DWARF emission better.Bill Wendling2010-04-071-12/+11
| | | | llvm-svn: 100616
* prune #includes, MMI can never be nullChris Lattner2010-04-051-2/+1
| | | | llvm-svn: 100408
* make DwarfException not inherit from DwarfPrinter.Chris Lattner2010-04-051-34/+41
| | | | llvm-svn: 100374
* Move EmitFrameMoves into AsmPrinter.Chris Lattner2010-04-041-2/+2
| | | | llvm-svn: 100371
* eliminate the "isEH" argument to EmitSectionOffset.Chris Lattner2010-04-041-6/+6
| | | | llvm-svn: 100355
* move some more stuff to asmprinter.Chris Lattner2010-04-041-10/+12
| | | | llvm-svn: 100351
* simplify some code.Chris Lattner2010-04-041-10/+11
| | | | llvm-svn: 100350
* move EmitEncodingByte to AsmPrinter.Chris Lattner2010-04-041-7/+7
| | | | llvm-svn: 100349
* inline EmitDifference away.Chris Lattner2010-04-041-8/+10
| | | | llvm-svn: 100347
* move gettemplabel and getdwlabel to AsmPrinter and renameChris Lattner2010-04-041-24/+31
| | | | | | them for consistency. llvm-svn: 100345
* move uleb/sleb printing into AsmPrinter from DwarfPrinter.Chris Lattner2010-04-041-14/+14
| | | | llvm-svn: 100344
* remove TargetMachine.h #include, also, TRI isn't used frequently Chris Lattner2010-04-041-0/+1
| | | | | | enough to warrant caching in AsmPrinter, so remove it. llvm-svn: 100336
* remove the raw_ostream from various dwarf printing things.Chris Lattner2010-04-041-3/+2
| | | | | | | The only thing left is LEB printing, which uses EmitRawText for now. llvm-svn: 100325
* reduce indentationChris Lattner2010-03-311-20/+21
| | | | llvm-svn: 99999
* use RAII for ExceptionTimer tooChris Lattner2010-03-291-17/+3
| | | | llvm-svn: 99833
* get MMI out of the label uniquing business, just go to MCContextChris Lattner2010-03-141-1/+0
| | | | | | to get unique assembler temporary labels. llvm-svn: 98489
* remove now-dead code, all labels use MCSymbols.Chris Lattner2010-03-141-10/+1
| | | | llvm-svn: 98484
* fix a bug I introduced in r98459, causing some NNT failures.Chris Lattner2010-03-141-1/+1
| | | | llvm-svn: 98470
* change the LabelSDNode to be EHLabelSDNode and make it holdChris Lattner2010-03-141-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 MCSymbolChris Lattner2010-03-141-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 symbolChris Lattner2010-03-131-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 Lattner2010-03-131-3/+5
| | | | llvm-svn: 98429
* remove dead code.Chris Lattner2010-03-121-19/+0
| | | | llvm-svn: 98365
* move three lowering hooks from MAI to TLOF and make one of themChris Lattner2010-03-101-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 missingChris Lattner2010-03-101-12/+17
| | | | | | for darwin/x86 to be completely mcized. llvm-svn: 98130
* set the temporary bit on MCSymbols correctly.Chris Lattner2010-03-101-1/+1
| | | | llvm-svn: 98124
* add some fixme's for MCizing. EH still has a few things thatChris Lattner2010-03-101-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 Lattner2010-03-101-6/+4
| | | | llvm-svn: 98107
* eliminate EOL, adding all comments with the OutStreamer.AddComment Chris Lattner2010-03-091-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 Lattner2010-03-091-1/+1
| | | | | | we can eliminate "flavor". llvm-svn: 98011
* simplify EmitSectionOffset to always use .set if it isChris Lattner2010-03-081-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
OpenPOWER on IntegriCloud