- Nov 12, 2009
-
-
David Greene authored
Do some cleanups suggested by Chris. llvm-svn: 87034
-
David Greene authored
Set the ReloadReuse AsmPrinter flag where appropriate. llvm-svn: 87030
-
Daniel Dunbar authored
llvm-svn: 87024
-
Bill Wendling authored
and don't assume that the call doesn't throw. It would be nice if there were a way to determine which is the callee and which is a parameter. In practice, the architecture we care about normally only have one operand for a call instruction (x86 and arm). llvm-svn: 87023
-
David Greene authored
Add a bool flag to StackObjects telling whether they reference spill slots. The AsmPrinter will use this information to determine whether to print a spill/reload comment. Remove default argument values. It's too easy to pass a wrong argument value when multiple arguments have default values. Make everything explicit to trap bugs early. Update all targets to adhere to the new interfaces.. llvm-svn: 87022
-
Benjamin Kramer authored
StringsEqualNoCase (from StringExtras.h) to it. llvm-svn: 87020
-
David Greene authored
Make FixedStackPseudoSourceValue a first-class PseudoSourceValue by making it visible to clients and adding LLVM-style cast capability. This will be used by AsmPrinter to determine when to emit spill comments for an instruction. llvm-svn: 87019
-
David Goodwin authored
llvm-svn: 87015
-
Devang Patel authored
"Attach debug info with llvm instructions" mode was enabled a month ago. Now make it permanent and remove old way of inserting intrinsics to encode debug info for line number and scopes. llvm-svn: 87014
-
Evan Cheng authored
llvm-svn: 86972
-
Jim Grosbach authored
MachineBasicBlock so other passes can utilize it. llvm-svn: 86947
-
Dan Gohman authored
llvm-svn: 86928
-
Dan Gohman authored
llvm-svn: 86926
-
Lang Hames authored
Fixed an iteration condition in PreAllocSplitting. This should fix some miscompilations casued by PreAllocSplitting. llvm-svn: 86919
-
Dan Gohman authored
can be made to fall through into the other. llvm-svn: 86909
-
Bill Wendling authored
"nounwind" attribute. llvm-svn: 86897
-
- Nov 11, 2009
-
-
Dan Gohman authored
instead of typedefs for std::pair. This simplifies the type of SameTails, which previously was std::vector<std::pair<std::vector<std::pair<unsigned, MachineBasicBlock *> >::iterator, MachineBasicBlock::iterator> llvm-svn: 86885
-
Kenneth Uildriks authored
x86 users can now return arbitrary sized structs. Structs too large to fit in return registers will be returned through a hidden sret parameter introduced during SelectionDAG construction. llvm-svn: 86876
-
Dan Gohman authored
llvm-svn: 86875
-
Devang Patel authored
llvm-svn: 86874
-
Dan Gohman authored
llvm-svn: 86873
-
Dan Gohman authored
tail merging support to handle more cases. - Recognize several cases where tail merging is beneficial even when the tail size is smaller than the generic threshold. - Make use of MachineInstrDesc::isBarrier to help detect non-fallthrough blocks. - Check for and avoid disrupting fall-through edges in more cases. llvm-svn: 86871
-
Jakob Stoklund Olesen authored
- Edges are split before any phis are eliminated, so the code is SSA. - Create a proper IR BasicBlock for the split edges. - LiveVariables::addNewBlock now has same syntax as MachineDominatorTree::addNewBlock. Algorithm calculates predecessor live-out set rather than successor live-in set. This feature still causes some miscompilations. llvm-svn: 86867
-
Dan Gohman authored
llvm-svn: 86856
-
Dan Gohman authored
llvm-svn: 86855
-
Dan Gohman authored
the numbers mean. llvm-svn: 86854
-
Dan Gohman authored
llvm-svn: 86853
-
Daniel Dunbar authored
llvm-svn: 86794
-
Bill Wendling authored
function it's generated for. llvm-svn: 86779
-
Devang Patel authored
llvm-svn: 86771
-
Devang Patel authored
llvm-svn: 86763
-
Devang Patel authored
llvm-svn: 86753
-
Dale Johannesen authored
constant whose component type is not a legal type for the target. (If the target ConstantPool cannot handle this type either, it has an opportunity to merge elements. In practice any target with 8-bit bytes must support i8 *as data*). 7320806 (partial). llvm-svn: 86751
-
Devang Patel authored
llvm-svn: 86748
-
- Nov 10, 2009
-
-
Jakob Stoklund Olesen authored
Critical edges leading to a PHI node are split when the PHI source variable is live out from the predecessor block. This help the coalescer eliminate more PHI joins. llvm-svn: 86725
-
Jakob Stoklund Olesen authored
Clean up some whitespace. No functional changes. llvm-svn: 86724
-
Duncan Sands authored
just throw them away. llvm-svn: 86678
-
Dan Gohman authored
llvm-svn: 86642
-
Dan Gohman authored
llvm-svn: 86641
-
Jeffrey Yasskin authored
This patch forbids implicit conversion of DenseMap::const_iterator to DenseMap::iterator which was possible because DenseMapIterator inherited (publicly) from DenseMapConstIterator. Conversion the other way around is now allowed as one may expect. The template DenseMapConstIterator is removed and the template parameter IsConst which specifies whether the iterator is constant is added to DenseMapIterator. Actually IsConst parameter is not necessary since the constness can be determined from KeyT but this is not relevant to the fix and can be addressed later. Patch by Victor Zverovich! llvm-svn: 86636
-