Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | reduce indentation and add a fast-path to EmitGlobalConstant for 8-byte | Chris Lattner | 2010-01-13 | 1 | -5/+22 | |
| | | | | | | integers on 64-bit systems. llvm-svn: 93291 | |||||
* | reduce indentation and use early exits in AsmPrinter::EmitConstantValueOnly | Chris Lattner | 2010-01-13 | 1 | -107/+122 | |
| | | | | llvm-svn: 93290 | |||||
* | fix PR5930, allowing the asmprinter to emit difference between | Chris Lattner | 2010-01-03 | 1 | -2/+8 | |
| | | | | | | two labels as a truncate. llvm-svn: 92455 | |||||
* | Remove dead store. | Bill Wendling | 2009-12-25 | 1 | -1/+0 | |
| | | | | llvm-svn: 92156 | |||||
* | Fix a bunch of little errors that Clang complains about when its being pedantic | Douglas Gregor | 2009-12-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 91764 | |||||
* | Print newlines after printing labels for debug info, so that the output | Dan Gohman | 2009-12-05 | 1 | -0/+1 | |
| | | | | | | isn't cluttered with things like "Llabel47:Llabel48: movq (%rsi), %xmm3" llvm-svn: 90638 | |||||
* | Fix this code to use DIScope instead of DICompileUnit, as in r90181. | Dan Gohman | 2009-12-05 | 1 | -8/+9 | |
| | | | | | | | Don't print "SrcLine"; just print the filename and line number, which is obvious enough and more informative. llvm-svn: 90631 | |||||
* | Print a space between the comment character and the text. | Dan Gohman | 2009-12-04 | 1 | -4/+6 | |
| | | | | llvm-svn: 90621 | |||||
* | Use new interfaces to print spill size. | David Greene | 2009-12-04 | 1 | -6/+9 | |
| | | | | llvm-svn: 90611 | |||||
* | Use StringRef instead of std::string in DIEString. | Devang Patel | 2009-11-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 89793 | |||||
* | Target-independent support for TargetFlags on BlockAddress operands, | Dan Gohman | 2009-11-20 | 1 | -4/+7 | |
| | | | | | | and support for blockaddresses in x86-32 PIC mode. llvm-svn: 89506 | |||||
* | Support spill comments. | David Greene | 2009-11-16 | 1 | -0/+52 | |
| | | | | | | | | Have the asm printer emit a comment if an instruction is a spill or reload and have the spiller mark copies it introdues so the asm printer can also annotate those. llvm-svn: 88911 | |||||
* | revert 88761 as it fails builds. | Sanjiv Gupta | 2009-11-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 88762 | |||||
* | Fix debug info crashes for PIC16. | Sanjiv Gupta | 2009-11-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 88761 | |||||
* | Use .data() instead of .c_str() when nul-termination is not needed. | Dan Gohman | 2009-11-13 | 1 | -1/+1 | |
| | | | | llvm-svn: 88703 | |||||
* | Move DebugInfo checks into EmitComments and remove them from | David Greene | 2009-11-13 | 1 | -15/+23 | |
| | | | | | | | | target-specific AsmPrinters. Not all comments need DebugInfo. Re-enable the line numbers comment test. llvm-svn: 88697 | |||||
* | Implement support to debug inlined functions. | Devang Patel | 2009-11-10 | 1 | -19/+18 | |
| | | | | llvm-svn: 86748 | |||||
* | Fix comment typos. | Bob Wilson | 2009-11-06 | 1 | -3/+3 | |
| | | | | llvm-svn: 86295 | |||||
* | Factor out the printing of the leading tab into printInlineAsm. | Dan Gohman | 2009-11-06 | 1 | -0/+2 | |
| | | | | llvm-svn: 86199 | |||||
* | Fix the label name generation for address-taken labels to avoid potential | Dan Gohman | 2009-11-05 | 1 | -6/+10 | |
| | | | | | | problems with name collisions. llvm-svn: 86189 | |||||
* | Print out an informative comment for KILL instructions. | Jakob Stoklund Olesen | 2009-11-04 | 1 | -0/+11 | |
| | | | | | | | | The KILL pseudo-instruction may survive to the asm printer pass, just like the IMPLICIT_DEF. Print the KILL as a comment instead of just leaving a blank line in the output. With -asm-verbose=0, a blank line is printed, like IMPLICIT?DEF. llvm-svn: 86041 | |||||
* | Fix a missing newline in the dwarf output code. | Dan Gohman | 2009-10-31 | 1 | -0/+1 | |
| | | | | llvm-svn: 85684 | |||||
* | Add support for BlockAddress static initializers. | Dan Gohman | 2009-10-30 | 1 | -0/+2 | |
| | | | | llvm-svn: 85562 | |||||
* | Add a FIXME comment. | Dan Gohman | 2009-10-30 | 1 | -0/+2 | |
| | | | | llvm-svn: 85559 | |||||
* | Add some comments. | Dan Gohman | 2009-10-30 | 1 | -0/+8 | |
| | | | | llvm-svn: 85558 | |||||
* | Initial target-independent CodeGen support for BlockAddresses. | Dan Gohman | 2009-10-30 | 1 | -0/+27 | |
| | | | | llvm-svn: 85556 | |||||
* | s/DebugLoc.CompileUnit/DebugLoc.Scope/g | Devang Patel | 2009-10-13 | 1 | -5/+6 | |
| | | | | | | s/DebugLoc.InlinedLoc/DebugLoc.InlinedAtLoc/g llvm-svn: 84054 | |||||
* | Add support to handle debug info attached to an instruction. | Devang Patel | 2009-10-06 | 1 | -5/+11 | |
| | | | | | | This is not yet enabled. llvm-svn: 83400 | |||||
* | Instead of printing unnecessary basic block labels as labels in | Dan Gohman | 2009-10-06 | 1 | -2/+10 | |
| | | | | | | | | | | verbose-asm mode, print comments instead. This eliminates a non-comment difference between verbose-asm mode and non-verbose-asm mode. Also, factor out the relevant code out of all the targets and into target-independent code. llvm-svn: 83392 | |||||
* | Update processDebugLoc() so that it can be used to process debug info before ↵ | Devang Patel | 2009-10-06 | 1 | -6/+8 | |
| | | | | | | and after printing an instruction. llvm-svn: 83363 | |||||
* | strength reduce a ton of type equality tests to check the typeid (Through | Chris Lattner | 2009-10-05 | 1 | -4/+10 | |
| | | | | | | | | the new predicates I added) instead of going through a context and doing a pointer comparison. Besides being cheaper, this allows a smart compiler to turn the if sequence into a switch. llvm-svn: 83297 | |||||
* | Add another MDNode into DebugLocTuple. This will be used to keep track of ↵ | Devang Patel | 2009-10-01 | 1 | -1/+1 | |
| | | | | | | inlined functions. llvm-svn: 83190 | |||||
* | Use MachineInstr as an processDebugLoc() argument. | Devang Patel | 2009-09-30 | 1 | -2/+2 | |
| | | | | | | This will allow processDebugLoc() to handle scopes for DWARF debug info. llvm-svn: 83183 | |||||
* | Use MDNode * directly as an RecordSourceLine() argument. | Devang Patel | 2009-09-30 | 1 | -2/+2 | |
| | | | | llvm-svn: 83182 | |||||
* | Add a new virtual EmitStartOfAsmFile method to the AsmPrinter and use this | Bob Wilson | 2009-09-30 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | | | to emit target-specific things at the beginning of the asm output. This fixes a problem for PPC, where the text sections are not being kept together as expected. The base class doInitialization code calls DW->BeginModule() which emits a bunch of DWARF section directives. The PPC doInitialization code then emits all the TEXT section directives, with the intention that they will be kept together. But as I understand it, the Darwin assembler treats the default TEXT section as a special case and moves it to the beginning of the file, which means that all those DWARF sections are in the middle of the text. With this change, the EmitStartOfAsmFile hook is called before the DWARF section directives are emitted, so that all the PPC text section directives come out right at the beginning of the file. llvm-svn: 83176 | |||||
* | Fix a comment. | Bob Wilson | 2009-09-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 83171 | |||||
* | Remove std::string uses from DebugInfo interface. | Devang Patel | 2009-09-29 | 1 | -2/+1 | |
| | | | | llvm-svn: 83083 | |||||
* | unconditionally compute MMI even if the target doesn't support EH or Debug ↵ | Chris Lattner | 2009-09-24 | 1 | -9/+6 | |
| | | | | | | info, because the target may use it for other things, this fixes PR5036 llvm-svn: 82684 | |||||
* | add a new hook to allow targets to splat stuff at the end of the file. | Chris Lattner | 2009-09-18 | 1 | -0/+5 | |
| | | | | | | Overriding doFinalization is pretty lame. llvm-svn: 82268 | |||||
* | Allow symbols to start from the digit if target requests it. This allows, ↵ | Anton Korobeynikov | 2009-09-18 | 1 | -0/+3 | |
| | | | | | | | | | e.g. pinning variables to specified absolute address. Make use of this feature for MSP430. This unbreaks PR4776. llvm-svn: 82227 | |||||
* | remove the AsmPrinter::printMCInst hook hack now that | Chris Lattner | 2009-09-16 | 1 | -4/+0 | |
| | | | | | | we have MCInstPrinter. llvm-svn: 82006 | |||||
* | inline AsmPrinter::getCurrentFunctionEHName into its only caller. | Chris Lattner | 2009-09-16 | 1 | -9/+1 | |
| | | | | llvm-svn: 81970 | |||||
* | Eliminate AsmPrinter::EmitExternalGlobal, inlining its (now) | Chris Lattner | 2009-09-16 | 1 | -7/+0 | |
| | | | | | | | | one implementation into its one caller. This eliminates a totally awesome and gratuitous hack where we casted a Function* to GlobalVariable*. llvm-svn: 81967 | |||||
* | eliminate the horrid AsmPrinter::getGlobalLinkName method, inlining | Chris Lattner | 2009-09-16 | 1 | -11/+1 | |
| | | | | | | it into all of its call sites and simplifying them. llvm-svn: 81962 | |||||
* | remove some horrible MAI hooks which fortunately turn out to be always empty. | Chris Lattner | 2009-09-15 | 1 | -22/+3 | |
| | | | | llvm-svn: 81946 | |||||
* | PIC16 does allow colon after MBB labels, simplify EmitBasicBlockStart. | Chris Lattner | 2009-09-14 | 1 | -5/+2 | |
| | | | | llvm-svn: 81755 | |||||
* | Change MCAsmStreamer to take an MCInstPrinter instead of a | Chris Lattner | 2009-09-14 | 1 | -1/+2 | |
| | | | | | | | | | | | full AsmPrinter, and change TargetRegistry to keep track of registered MCInstPrinters. llvm-mc is still linking in the entire target foo to get the code emitter stuff, but this is an important step in the right direction. llvm-svn: 81754 | |||||
* | eliminate an extraneous use of TRI::getAsmName in a comment. | Chris Lattner | 2009-09-13 | 1 | -1/+1 | |
| | | | | llvm-svn: 81705 | |||||
* | remove MAI::JumpTableSpecialLabelPrefix now that MAI | Chris Lattner | 2009-09-13 | 1 | -4/+4 | |
| | | | | | | has real information about linker private linkage. llvm-svn: 81695 | |||||
* | replace printBasicBlockLabel with EmitBasicBlockStart, | Chris Lattner | 2009-09-13 | 1 | -14/+11 | |
| | | | | | | | now that printBasicBlockLabel is only used for starting a MBB. This allows elimination of a bunch of arguments. llvm-svn: 81684 |