| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
which do not depend on SelectionDAG.
llvm-svn: 107666
|
|
|
|
|
|
|
|
| |
section means that it is used only during the program load and can be discarded afterwards.
This way *only* debug sections can be discarded, but not the opposite. Seems like the copy-and-pasto from ELF code, since there it contains the reverse flag ('alloc').
llvm-svn: 107658
|
|
|
|
|
|
| |
the pseudo instruction is not at the end of the block.
llvm-svn: 107655
|
|
|
|
|
|
|
|
|
| |
registers. Split out testcases per architecture and os
now.
Patch from Nelson Elhage.
llvm-svn: 107640
|
|
|
|
| |
llvm-svn: 107615
|
|
|
|
| |
llvm-svn: 107612
|
|
|
|
| |
llvm-svn: 107602
|
|
|
|
|
|
| |
ensures remat'ed loads from fixed slots have the right alignments.
llvm-svn: 107591
|
|
|
|
| |
llvm-svn: 107581
|
|
|
|
| |
llvm-svn: 107556
|
|
|
|
|
|
| |
slots so it's always false.
llvm-svn: 107550
|
|
|
|
|
|
|
| |
This code is transitional, it will soon be possible to eliminate
isExtractSubreg, isInsertSubreg, and isMoveInstr in most places.
llvm-svn: 107547
|
|
|
|
| |
llvm-svn: 107537
|
|
|
|
|
|
|
|
|
|
|
| |
The COPY instruction is intended to replace the target specific copy
instructions for virtual registers as well as the EXTRACT_SUBREG and
INSERT_SUBREG instructions in MachineFunctions. It won't we used in a selection
DAG.
COPY is lowered to native register copies by LowerSubregs.
llvm-svn: 107529
|
|
|
|
|
|
|
|
|
|
|
|
| |
new basic blocks, and if used as a function argument, that can cause call frame
setup / destroy pairs to be split across a basic block boundary. That prevents
us from doing a simple assertion to check that the pairs match and alloc/
dealloc the same amount of space. Modify the assertion to only check the
amount allocated when there are matching pairs in the same basic block.
rdar://8022442
llvm-svn: 107517
|
|
|
|
|
|
|
|
|
| |
- X86 unfolding should check if the instructions being unfolded has memoperands.
If there is no memoperands, then it must assume conservative alignment. If this
would introduce an expensive sse unaligned load / store, then unfoldMemoryOperand
etc. should not unfold the instruction.
llvm-svn: 107509
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PrologEpilog code, and use it to determine whether
the asm forces stack alignment or not. gcc consistently
does not do this for GCC-style asms; Apple gcc inconsistently
sometimes does it for asm blocks. There is no
convenient place to put a bit in either the SDNode or
the MachineInstr form, so I've added an extra operand
to each; unlovely, but it does allow for expansion for
more bits, should we need it. PR 5125. Some
existing testcases are affected.
The operand lists of the SDNode and MachineInstr forms
are indexed with awesome mnemonics, like "2"; I may
fix this someday, but not now. I'm not making it any
worse. If anyone is inspired I think you can find all
the right places from this patch.
llvm-svn: 107506
|
|
|
|
| |
llvm-svn: 107505
|
|
|
|
| |
llvm-svn: 107503
|
|
|
|
|
|
|
|
|
|
| |
This allows us to recognize the common case where all uses could be
rematerialized, and no stack slot allocation is necessary.
If some values could be fully rematerialized, remove them from the live range
before allocating a stack slot for the rest.
llvm-svn: 107492
|
|
|
|
| |
llvm-svn: 107490
|
|
|
|
| |
llvm-svn: 107489
|
|
|
|
| |
llvm-svn: 107451
|
|
|
|
|
|
| |
will still be stripped by the linker when it generates the final image.
llvm-svn: 107440
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Objective-C metadata types which should be marked as "weak", but which the
linker will remove upon final linkage. However, this linkage isn't specific to
Objective-C.
For example, the "objc_msgSend_fixup_alloc" symbol is defined like this:
.globl l_objc_msgSend_fixup_alloc
.weak_definition l_objc_msgSend_fixup_alloc
.section __DATA, __objc_msgrefs, coalesced
.align 3
l_objc_msgSend_fixup_alloc:
.quad _objc_msgSend_fixup
.quad L_OBJC_METH_VAR_NAME_1
This is different from the "linker_private" linkage type, because it can't have
the metadata defined with ".weak_definition".
Currently only supported on Darwin platforms.
llvm-svn: 107433
|
|
|
|
|
|
| |
This is a regression caused by r106792 and caught by gdb testsuite.
llvm-svn: 107430
|
|
|
|
| |
llvm-svn: 107426
|
|
|
|
|
|
| |
Spencer!
llvm-svn: 107418
|
|
|
|
| |
llvm-svn: 107393
|
|
|
|
|
|
| |
doing the work manually.
llvm-svn: 107384
|
|
|
|
|
|
|
| |
from a Value to a Type, because it doesn't actually care about
the Value.
llvm-svn: 107383
|
|
|
|
| |
llvm-svn: 107381
|
|
|
|
|
|
|
| |
available in a register. This is pretty primitive, but it reduces the
number of instructions in common testcases by 4%.
llvm-svn: 107380
|
|
|
|
| |
llvm-svn: 107377
|
|
|
|
|
|
|
| |
SelectionDAGBuilder::getValue into a helper function, with fixes to
use DenseMaps safely.
llvm-svn: 107371
|
|
|
|
|
|
| |
value if the search fails.
llvm-svn: 107368
|
|
|
|
| |
llvm-svn: 107360
|
|
|
|
| |
llvm-svn: 107355
|
|
|
|
| |
llvm-svn: 107351
|
|
|
|
|
|
|
| |
correct catch-all value. This saves having to iterate through all of the
selectors in the program again.
llvm-svn: 107345
|
|
|
|
|
|
| |
structs. rdar://8145832
llvm-svn: 107332
|
|
|
|
| |
llvm-svn: 107321
|
|
|
|
| |
llvm-svn: 107307
|
|
|
|
|
|
|
|
|
| |
LocalRewriter::runOnMachineFunction uses this information to mark dead spill
slots.
This means that InlineSpiller now also works for functions that spill.
llvm-svn: 107302
|
|
|
|
|
|
| |
this could break something (but doesn't seem to).
llvm-svn: 107295
|
|
|
|
| |
llvm-svn: 107282
|
|
|
|
| |
llvm-svn: 107279
|
|
|
|
| |
llvm-svn: 107276
|
|
|
|
| |
llvm-svn: 107244
|
|
|
|
| |
llvm-svn: 107237
|