| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
purpose, and give it a custom SDNode subclass so that it doesn't
need to have line number, column number, filename string, and
directory string, all existing as individual SDNodes to be the
operands.
This was the only user of ISD::STRING, StringSDNode, etc., so
remove those and some associated code.
This makes stop-points considerably easier to read in
-view-legalize-dags output, and reduces overhead (creating new
nodes and copying std::strings into them) on code containing
debugging information.
llvm-svn: 52924
|
| |
|
|
| |
llvm-svn: 52923
|
| |
|
|
|
|
| |
objects. Fixes a couple of tests on Linux.
llvm-svn: 52921
|
| |
|
|
| |
llvm-svn: 52920
|
| |
|
|
|
|
|
|
| |
SmallVectors. Change the signature of TargetLowering::LowerArguments
to avoid returning a vector by value, and update the two targets
which still use this directly, Sparc and IA64, accordingly.
llvm-svn: 52917
|
| |
|
|
|
|
|
|
| |
only needs one bit for each register. UsedRegs is a SmallVector
sized at 16, so this eliminates a heap allocation/free for every
call and return processed by Legalize on most targets.
llvm-svn: 52915
|
| |
|
|
| |
llvm-svn: 52907
|
| |
|
|
|
|
|
| |
fixes CodeGen/PowerPC/2008-06-19-LegalizerCrash.ll
when using the new LegalizeTypes infrastructure.
llvm-svn: 52903
|
| |
|
|
|
|
|
| |
wrong for types like x86 long double and i1, but
no worse than what is done in LegalizeDAG.
llvm-svn: 52898
|
| |
|
|
| |
llvm-svn: 52895
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
it impossible to create a MERGE_VALUES node with
only one result: sometimes it is useful to be able
to create a node with only one result out of one of
the results of a node with more than one result, for
example because the new node will eventually be used
to replace a one-result node using ReplaceAllUsesWith,
cf X86TargetLowering::ExpandFP_TO_SINT. On the other
hand, most users of MERGE_VALUES don't need this and
for them the optimization was valuable. So add a new
utility method getMergeValues for creating MERGE_VALUES
nodes which by default performs the optimization.
Change almost everywhere to use getMergeValues (and
tidy some stuff up at the same time).
llvm-svn: 52893
|
| |
|
|
|
|
|
|
| |
empty string for ConstantAggregateZero case which surprises selectiondag.
- Correctly handle memcpy from constant string which is zero-initialized.
llvm-svn: 52891
|
| |
|
|
| |
llvm-svn: 52887
|
| |
|
|
| |
llvm-svn: 52885
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Move GetConstantStringInfo to lib/Analysis. Remove
string output routine from Constant. Update all
callers. Change debug intrinsic api slightly to
accomodate move of routine, these now return values
instead of strings.
This unbreaks llvm-gcc bootstrap.
llvm-svn: 52884
|
| |
|
|
|
|
| |
'section kind' for a global.
llvm-svn: 52868
|
| |
|
|
| |
llvm-svn: 52866
|
| |
|
|
| |
llvm-svn: 52865
|
| |
|
|
| |
llvm-svn: 52864
|
| |
|
|
| |
llvm-svn: 52863
|
| |
|
|
| |
llvm-svn: 52862
|
| |
|
|
| |
llvm-svn: 52861
|
| |
|
|
| |
llvm-svn: 52860
|
| |
|
|
| |
llvm-svn: 52859
|
| |
|
|
|
|
| |
printer. This leads to some code duplication, which will be resolved later.
llvm-svn: 52858
|
| |
|
|
| |
llvm-svn: 52857
|
| |
|
|
| |
llvm-svn: 52856
|
| |
|
|
| |
llvm-svn: 52854
|
| |
|
|
|
|
|
| |
GetConstantStringInfo. This will hopefully restore llvm-gcc to
happy bootstrap land.
llvm-svn: 52851
|
| |
|
|
| |
llvm-svn: 52850
|
| |
|
|
|
|
|
| |
information of the original load or store, which is checked to be
at least as good, and possibly better.
llvm-svn: 52849
|
| |
|
|
| |
llvm-svn: 52847
|
| |
|
|
| |
llvm-svn: 52841
|
| |
|
|
|
|
| |
thrash the heap with string stuff (e.g. utostr).
llvm-svn: 52838
|
| |
|
|
| |
llvm-svn: 52837
|
| |
|
|
| |
llvm-svn: 52836
|
| |
|
|
|
|
|
| |
of a std::string. This avoids copying the string to the heap in common
cases. Patch by Pratik Solanki!
llvm-svn: 52834
|
| |
|
|
| |
llvm-svn: 52829
|
| |
|
|
|
|
| |
Patch by Gary Benson!
llvm-svn: 52828
|
| |
|
|
|
|
| |
match normal naming scheme.
llvm-svn: 52820
|
| |
|
|
|
|
| |
This speeds up a particular testcase from 0.0302s to 0.0222s in LiveVariables.
llvm-svn: 52819
|
| |
|
|
|
|
|
|
| |
faster lookups.
This speeds up LiveVariables from 0.6279s to 0.6165s on kimwitu++.
llvm-svn: 52818
|
| |
|
|
|
|
|
| |
tolerate a non-nul-terminated string, and handling a direct global
reference.
llvm-svn: 52813
|
| |
|
|
|
|
| |
global is constant already. No functionality change.
llvm-svn: 52812
|
| |
|
|
| |
llvm-svn: 52810
|
| |
|
|
| |
llvm-svn: 52808
|
| |
|
|
| |
llvm-svn: 52806
|
| |
|
|
|
|
|
|
| |
know that there aren't any.
This speed up LiveVariables on instcombine at -O0 -g from 0.3855s to 0.3503s. Look for more improvements in this area soon!
llvm-svn: 52804
|
| |
|
|
|
|
|
| |
- Make sure that we're not recalculating the size of a vector
that never changes.
llvm-svn: 52803
|
| |
|
|
|
|
| |
some uses of std::vector, where it's return std::vector by value. Yuck!
llvm-svn: 52800
|