summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter
Commit message (Collapse)AuthorAgeFilesLines
* add a comment about where this should eventually move.Chris Lattner2010-09-051-0/+7
| | | | llvm-svn: 113117
* There is no need to use .set here.Devang Patel2010-09-021-8/+1
| | | | | | Thanks Chris! llvm-svn: 112900
* Fix .debug_range for linux. Patch by Krister Wombell.Devang Patel2010-09-022-4/+34
| | | | llvm-svn: 112830
* Use absolute label for DW_AT_stmt_list if a target does not prefer offset here.Devang Patel2010-08-311-1/+5
| | | | | | This patch was developed on top of original patch by Artur Pietrek. llvm-svn: 112678
* Reapply r112623. Included additional check for unused byval argument.Devang Patel2010-08-311-3/+10
| | | | llvm-svn: 112659
* Revert r112623. It is causing self host build failures.Devang Patel2010-08-311-10/+3
| | | | llvm-svn: 112631
* Remember byval argument's frame index during argument lowering and use this ↵Devang Patel2010-08-311-3/+10
| | | | | | | | info to emit debug info. Fixes Radar 8367011. llvm-svn: 112623
* Simplify.Devang Patel2010-08-312-15/+15
| | | | llvm-svn: 112583
* remove unions from LLVM IR. They are severely buggy and notChris Lattner2010-08-281-18/+0
| | | | | | being actively maintained, improved, or extended. llvm-svn: 112356
* Revert r107202. It is not adding any value.Devang Patel2010-08-242-17/+6
| | | | llvm-svn: 111870
* Handle qualified constants that are directly folded by FE.Devang Patel2010-08-231-6/+16
| | | | | | PR 7920. llvm-svn: 111820
* Create the new linker type "linker_private_weak_def_auto".Bill Wendling2010-08-201-2/+8
| | | | | | | | | | | It's similar to "linker_private_weak", but it's known that the address of the object is not taken. For instance, functions that had an inline definition, but the compiler decided not to inline it. Note, unlike linker_private and linker_private_weak, linker_private_weak_def_auto may have only default visibility. The symbols are removed by the linker from the final linked image (executable or dynamic library). llvm-svn: 111684
* Improve whitespace.Bill Wendling2010-08-181-1/+2
| | | | llvm-svn: 111384
* Until uleb/sleb are MC-ized, add a hack to make them work with ELF objectEli Friedman2010-08-161-2/+2
| | | | | | emission. llvm-svn: 111177
* Do not forget debug info for enums. Use named mdnode to keep track of these ↵Devang Patel2010-08-101-0/+5
| | | | | | types. llvm-svn: 110712
* Handle TAG_constant for integers.Devang Patel2010-08-101-20/+37
| | | | llvm-svn: 110656
* Simplify.Devang Patel2010-08-102-4/+4
| | | | llvm-svn: 110653
* Drop "const". It does not add value here.Devang Patel2010-08-102-10/+10
| | | | llvm-svn: 110652
* Do not include file static variable in pubnames list.Devang Patel2010-08-102-54/+38
| | | | | | Refactor and simplify code to avoid redundant checks. llvm-svn: 110642
* Undo accidental commit.Devang Patel2010-08-092-38/+54
| | | | llvm-svn: 110623
* Simplify. Avoid redundant checks.Devang Patel2010-08-092-54/+38
| | | | llvm-svn: 110621
* Refactor.Devang Patel2010-08-091-9/+5
| | | | llvm-svn: 110607
* Refactoring. Update DbgVarible to handle queries itself.Devang Patel2010-08-092-82/+93
| | | | llvm-svn: 110600
* It is ok, and convenient, to pass descriptors by value.Devang Patel2010-08-092-41/+41
| | | | llvm-svn: 110590
* Rename a method.Devang Patel2010-08-091-3/+3
| | | | llvm-svn: 110586
* Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson2010-08-061-1/+1
| | | | llvm-svn: 110460
* Revert r110396 to fix buildbots.Owen Anderson2010-08-061-1/+1
| | | | llvm-svn: 110410
* Don't use PassInfo* as a type identifier for passes. Instead, use the ↵Owen Anderson2010-08-051-1/+1
| | | | | | | | address of the static ID member as the sole unique type identifier. Clean up APIs related to this change. llvm-svn: 110396
* Use location entry only of the location described by DBG_VALUE is valid.Devang Patel2010-08-041-3/+6
| | | | llvm-svn: 110255
* Fix typo in comment.Devang Patel2010-08-041-1/+1
| | | | llvm-svn: 110244
* Change this llvm_unreachable to report_fatal_error, since it canDan Gohman2010-08-041-4/+11
| | | | | | be triggered by valid, if dubious, IR. llvm-svn: 110240
* If a variable is spilled by code generator then use DW_OP_fbreg to describe ↵Devang Patel2010-08-041-10/+35
| | | | | | its location on stack. llvm-svn: 110234
* Free DbgScope created for dead functions.Devang Patel2010-08-021-0/+4
| | | | llvm-svn: 110045
* Reference the personalities. Don't copy them into a new vector.Bill Wendling2010-08-011-1/+1
| | | | llvm-svn: 109966
* It is FE's responsibility to emit proper directory name.Devang Patel2010-07-271-4/+1
| | | | llvm-svn: 109538
* Use current working directory when Dirname is empty. This only happens when ↵Devang Patel2010-07-241-0/+5
| | | | | | absolute source file path is used on compiler command line. llvm-svn: 109302
* Revert r109262.Devang Patel2010-07-231-5/+0
| | | | llvm-svn: 109285
* IF directory name is empty then try to extract one using absolute file name.Devang Patel2010-07-231-0/+5
| | | | llvm-svn: 109262
* For ARM/Darwin, add a dwarf entry indicating whether a function is arm or thumbJim Grosbach2010-07-211-0/+4
| | | | | | rdar://8202967 llvm-svn: 109057
* 80 column and trailing whitespace cleanupJim Grosbach2010-07-211-171/+173
| | | | llvm-svn: 109037
* Disallow null as a named metadata operand.Dan Gohman2010-07-211-2/+2
| | | | | | | | | | | Make MDNode::destroy private. Fix the one thing that used MDNode::destroy, outside of MDNode itself. One should never delete or destroy an MDNode explicitly. MDNodes implicitly go away when there are no references to them (implementation details aside). llvm-svn: 109028
* Correct line info for declarations/definitions. Radar 8063111.Stuart Hastings2010-07-191-11/+4
| | | | llvm-svn: 108784
* Fix PR 7662.Devang Patel2010-07-191-0/+1
| | | | | | Do not try to insert local variable info to a DIE used for function declaration. llvm-svn: 108731
* Target: Give the TargetAsmParser access to the TargetMachine.Daniel Dunbar2010-07-191-1/+1
| | | | | | - Unfortunate, but necessary for now to handle subtarget instruction matching. Eventually we should factor out the lower level target machine information so we don't need to do this. llvm-svn: 108664
* MC: Move several clients to using AsmParser constructor function.Daniel Dunbar2010-07-181-6/+7
| | | | llvm-svn: 108645
* Use isPrologLabel() instead of checking the opcode directly.Bill Wendling2010-07-171-1/+1
| | | | llvm-svn: 108628
* Consider this function:Bill Wendling2010-07-161-2/+12
| | | | | | | | | | | | | | | | | | | | | | void foo() { __builtin_unreachable(); } It will output the following on Darwin X86: _func1: Leh_func_begin0: pushq %rbp Ltmp0: movq %rsp, %rbp Ltmp1: Leh_func_end0: This prolog adds a new Call Frame Information (CFI) row to the FDE with an address that is not within the address range of the code it describes -- part is equal to the end of the function -- and therefore results in an invalid EH frame. If we emit a nop in this situation, then the CFI row is now within the address range. llvm-svn: 108568
* Rename DBG_LABEL PROLOG_LABEL, because it's only used during prolog emission andBill Wendling2010-07-161-1/+1
| | | | | | thus is a much more meaningful name. llvm-svn: 108563
* Remove many calls to TII::isMoveInstr. Targets should be producing COPY anyway.Jakob Stoklund Olesen2010-07-161-6/+2
| | | | | | TII::isMoveInstr is going tobe completely removed. llvm-svn: 108507
* a more graceful fix for test/Other/inline-asm-newline-terminator.ll,Chris Lattner2010-07-152-15/+1
| | | | | | follow on to r103765 llvm-svn: 108390
OpenPOWER on IntegriCloud