| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 53481
|
| |
|
|
| |
llvm-svn: 53480
|
| |
|
|
|
|
|
|
| |
use a timer group for the timers in SelectionDAGISel. Also,
Split scheduling out from emitting, to give each their own
timer.
llvm-svn: 53476
|
| |
|
|
| |
llvm-svn: 53471
|
| |
|
|
|
|
|
| |
be no need to split the result of a vector RET node,
since they are always already legal.
llvm-svn: 53462
|
| |
|
|
|
|
|
|
|
| |
SINT_TO_FP libcall plus additional operations:
it might as well be a direct UINT_TO_FP libcall.
So only turn it into an SINT_TO_FP if the target
has special handling for SINT_TO_FP.
llvm-svn: 53461
|
| |
|
|
| |
llvm-svn: 53460
|
| |
|
|
|
|
|
| |
was presumably added after the rest of the code was
copied to LegalizeTypes.
llvm-svn: 53459
|
| |
|
|
|
|
| |
on 16 bit machines.
llvm-svn: 53458
|
| |
|
|
|
|
|
| |
when working on legalizetypes. Both legalizetypes and legalizeops now
produce hte same code for CodeGen/ARM/fcopysign.ll.
llvm-svn: 53435
|
| |
|
|
| |
llvm-svn: 53434
|
| |
|
|
|
|
|
|
|
| |
Lack of these caused a bootstrap failure with Fortran
on x86-64 with LegalizeTypes turned on. While there,
be nice to 16 bit machines and support expansion of
i32 too.
llvm-svn: 53408
|
| |
|
|
|
|
|
| |
Be nice to 16 bit machines by supporting FP_TO_XINT
expansion for these.
llvm-svn: 53407
|
| |
|
|
| |
llvm-svn: 53406
|
| |
|
|
|
|
|
| |
was doing there: FP_ROUND returns a float, not an
integer.
llvm-svn: 53405
|
| |
|
|
|
|
|
| |
in CreateStackStoreLoad is good enough for both
the source and destination types.
llvm-svn: 53404
|
| |
|
|
| |
llvm-svn: 53403
|
| |
|
|
|
|
| |
a ginormous value (eg: i128 -1).
llvm-svn: 53402
|
| |
|
|
|
|
|
|
|
|
|
| |
makes their special-case checks of use_size() less beneficial,
so remove them. This eliminates all but one use of use_size(),
which is in AssignTopologicalOrder, which uses it only once for
each node, and so can reasonably afford to recompute it, as
this allows the UsesSize field of SDNode to be removed
altogether.
llvm-svn: 53377
|
| |
|
|
|
|
| |
of examining every operand of every user.
llvm-svn: 53374
|
| |
|
|
|
|
|
| |
getMemOperand function to be moved into the base class as well
and made non-virtual.
llvm-svn: 53372
|
| |
|
|
|
|
|
|
|
|
| |
class, and store IsVolatile and Alignment in a more compact form.
This makes AtomicSDNode slightly larger, but it shrinks LoadSDNode
and StoreSDNode, which are much more common and are the largest of
the SDNode subclasses. Also, this lets the isVolatile() and
getAlignment() accessors be non-virtual.
llvm-svn: 53361
|
| |
|
|
| |
llvm-svn: 53289
|
| |
|
|
|
|
|
|
|
| |
SINT_TO_FP and UINT_TO_FP. This now produces
the same code as LegalizeDAG (the previous
code was based on a mistaken idea of what
LegalizeDAG did in this case).
llvm-svn: 53288
|
| |
|
|
|
|
| |
loads.
llvm-svn: 53287
|
| |
|
|
|
|
| |
FP_TO_UINT.
llvm-svn: 53286
|
| |
|
|
| |
llvm-svn: 53285
|
| |
|
|
|
|
| |
note since it is not clear whether it is correct.
llvm-svn: 53284
|
| |
|
|
| |
llvm-svn: 53281
|
| |
|
|
| |
llvm-svn: 53264
|
| |
|
|
|
|
|
| |
available to getAtomic in addition to just getLoad and getStore,
to prevent MachineMemOperands with 0 alignment.
llvm-svn: 53261
|
| |
|
|
|
|
| |
SDNode's. This improves compile time slightly at -O0 -g.
llvm-svn: 53246
|
| |
|
|
|
|
|
|
|
| |
soft float: experiments show that targets aren't
expecting this for results or for operands. Add
support select/select_cc result soft float and
correct operand soft float for these.
llvm-svn: 53245
|
| |
|
|
|
|
| |
in LegalizeTypes.
llvm-svn: 53244
|
| |
|
|
|
|
| |
soft float.
llvm-svn: 53231
|
| |
|
|
|
|
|
|
|
|
|
| |
MachineMemOperands. The pools are owned by MachineFunctions.
This drastically reduces the number of calls to malloc/free made
during the "Emit" phase of scheduling, as well as later phases
in CodeGen. Combined with other changes, this speeds up the
"instruction selection" phase of CodeGen by 10% in some cases.
llvm-svn: 53212
|
| |
|
|
|
|
|
|
|
| |
and reused across SelectionDAGs.
This drastically reduces the number of calls to malloc/free made during
instruction selection, and improves memory locality.
llvm-svn: 53211
|
| |
|
|
|
|
|
| |
properly track dead nodes that are on the original SDNode's operand
list but not the new one, and have no other uses.
llvm-svn: 53201
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
simple const SDOperand*, which is what's usually needed.
For AddNodeIDOperands, which is small, just duplicate the function to
accept an SDUse*.
For SelectionDAG::getNode - Add an overload that accepts SDUse* that
copies the operands into a temporary SDOperand array, but also has
special-case checks for 0 through 3 operands to avoid the copy in
the common cases.
llvm-svn: 53183
|
| |
|
|
| |
llvm-svn: 53179
|
| |
|
|
| |
llvm-svn: 53177
|
| |
|
|
|
|
| |
Richard Osborne.
llvm-svn: 53169
|
| |
|
|
|
|
| |
float value.
llvm-svn: 53165
|
| |
|
|
|
|
|
|
| |
that fixed problems in EmitStackConvert where the source and target type
have different alignment by creating a stack slot with the max
alignment of source and target type.
llvm-svn: 53150
|
| |
|
|
|
|
|
|
|
|
|
|
| |
hook for each way in which a result type can be
legalized (promotion, expansion, softening etc),
just use one: ReplaceNodeResults, which returns
a node with exactly the same result types as the
node passed to it, but presumably with a bunch of
custom code behind the scenes. No change if the
new LegalizeTypes infrastructure is not turned on.
llvm-svn: 53137
|
| |
|
|
|
|
| |
slow the compiler down at -O0 some 30% or more. Ooops.
llvm-svn: 53120
|
| |
|
|
| |
llvm-svn: 53110
|
| |
|
|
| |
llvm-svn: 53065
|
| |
|
|
|
|
|
|
|
|
|
|
| |
SelectionDAG::SelectNodeTo in the instruction selector. This
updates existing nodes in place instead of creating new ones.
Go back to selecting ISD::DBG_LABEL nodes into
TargetInstrInfo::DBG_LABEL nodes instead of leaving them
unselected, now that SelectNodeTo allows us to update them
in place.
llvm-svn: 53057
|
| |
|
|
|
|
|
|
|
|
| |
to be passed the list of value types, and use this
where appropriate. Inappropriate places are where
the value type list is already known and may be
long, in which case the existing method is more
efficient.
llvm-svn: 53035
|