- Jul 01, 2008
-
-
Evan Cheng authored
llvm-svn: 52934
-
Evan Cheng authored
llvm-svn: 52933
-
Dan Gohman authored
llvm-svn: 52932
-
Dan Gohman authored
llvm-svn: 52931
-
Evan Cheng authored
llvm-svn: 52930
-
Dan Gohman authored
llvm-svn: 52929
-
- Jun 30, 2008
-
-
Dan Gohman authored
SelectionDAG::allnodes_size is linear, but that doesn't appear to outweigh the benefit of reducing heap traffic. If it does become a problem, we should teach SelectionDAG to keep a count of how many nodes are live, because there are several other places where that information would be useful as well. llvm-svn: 52926
-
Dan Gohman authored
llvm-svn: 52925
-
Dan Gohman authored
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
-
Evan Cheng authored
llvm-svn: 52923
-
Dale Johannesen authored
objects. Fixes a couple of tests on Linux. llvm-svn: 52921
-
Evan Cheng authored
llvm-svn: 52920
-
Dan Gohman authored
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
-
Dan Gohman authored
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
-
Devang Patel authored
llvm-svn: 52907
-
Duncan Sands authored
fixes CodeGen/PowerPC/2008-06-19-LegalizerCrash.ll when using the new LegalizeTypes infrastructure. llvm-svn: 52903
-
Duncan Sands authored
wrong for types like x86 long double and i1, but no worse than what is done in LegalizeDAG. llvm-svn: 52898
-
Duncan Sands authored
llvm-svn: 52895
-
Duncan Sands authored
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
-
Evan Cheng authored
- Re-apply 52748 and friends with fix. GetConstantStringInfo() returns an empty string for ConstantAggregateZero case which surprises selectiondag. - Correctly handle memcpy from constant string which is zero-initialized. llvm-svn: 52891
-
Chris Lattner authored
llvm-svn: 52887
-
Nick Lewycky authored
llvm-svn: 52885
-
- Jun 29, 2008
-
-
Anton Korobeynikov authored
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
-
- Jun 28, 2008
-
-
Anton Korobeynikov authored
Start refactoring of asmprinters: provide a TAI hook, which will select a 'section kind' for a global. llvm-svn: 52868
-
Anton Korobeynikov authored
llvm-svn: 52866
-
Anton Korobeynikov authored
llvm-svn: 52865
-
Anton Korobeynikov authored
llvm-svn: 52864
-
Anton Korobeynikov authored
llvm-svn: 52863
-
Anton Korobeynikov authored
llvm-svn: 52862
-
Anton Korobeynikov authored
llvm-svn: 52861
-
Anton Korobeynikov authored
llvm-svn: 52860
-
Anton Korobeynikov authored
llvm-svn: 52859
-
Anton Korobeynikov authored
Make intel asmprinter child of generic asmprinter, not x86 shared asm printer. This leads to some code duplication, which will be resolved later. llvm-svn: 52858
-
Anton Korobeynikov authored
llvm-svn: 52857
-
Anton Korobeynikov authored
llvm-svn: 52856
-
Chris Lattner authored
llvm-svn: 52854
-
Chris Lattner authored
GetConstantStringInfo. This will hopefully restore llvm-gcc to happy bootstrap land. llvm-svn: 52851
-
Chris Lattner authored
llvm-svn: 52850
-
Dan Gohman authored
information of the original load or store, which is checked to be at least as good, and possibly better. llvm-svn: 52849
-
Seo Sanghyeon authored
llvm-svn: 52847
-