- Oct 29, 2009
-
-
Dan Gohman authored
bunch of associated comments, because it doesn't have anything to do with DAGs or scheduling. This is another step in decoupling MachineInstr emitting from scheduling. llvm-svn: 85517
-
- Oct 28, 2009
-
-
Evan Cheng authored
llvm-svn: 85361
-
- Oct 27, 2009
-
-
Evan Cheng authored
Do away with addLegalFPImmediate. Add a target hook isFPImmLegal which returns true if the fp immediate can be natively codegened by target. llvm-svn: 85281
-
- Oct 25, 2009
-
-
Nick Lewycky authored
VISIBILITY_HIDDEN removal. llvm-svn: 85043
-
Nick Lewycky authored
Chris claims we should never have visibility_hidden inside any .cpp file but that's still not true even after this commit. llvm-svn: 85042
-
- Oct 07, 2009
-
-
Jim Grosbach authored
a virtual register to eliminate a frame index, it can return that register and the constant stored there to PEI to track. When scavenging to allocate for those registers, PEI then tracks the last-used register and value, and if it is still available and matches the value for the next index, reuses the existing value rather and removes the re-materialization instructions. Fancier tracking and adjustment of scavenger allocations to keep more values live for longer is possible, but not yet implemented and would likely be better done via a different, less special-purpose, approach to the problem. eliminateFrameIndex() is modified so the target implementations can return the registers they wish to be tracked for reuse. ARM Thumb1 implements and utilizes the new mechanism. All other targets are simply modified to adjust for the changed eliminateFrameIndex() prototype. llvm-svn: 83467
-
- Oct 06, 2009
-
-
Dan Gohman authored
verbose-asm mode, print comments instead. This eliminates a non-comment difference between verbose-asm mode and non-verbose-asm mode. Also, factor out the relevant code out of all the targets and into target-independent code. llvm-svn: 83392
-
Devang Patel authored
Update processDebugLoc() so that it can be used to process debug info before and after printing an instruction. llvm-svn: 83363
-
- Oct 05, 2009
-
-
Dan Gohman authored
they make it less convenient to add new entries. llvm-svn: 83308
-
- Oct 01, 2009
-
-
Devang Patel authored
This will allow processDebugLoc() to handle scopes for DWARF debug info. llvm-svn: 83183
-
Bob Wilson authored
to emit target-specific things at the beginning of the asm output. This fixes a problem for PPC, where the text sections are not being kept together as expected. The base class doInitialization code calls DW->BeginModule() which emits a bunch of DWARF section directives. The PPC doInitialization code then emits all the TEXT section directives, with the intention that they will be kept together. But as I understand it, the Darwin assembler treats the default TEXT section as a special case and moves it to the beginning of the file, which means that all those DWARF sections are in the middle of the text. With this change, the EmitStartOfAsmFile hook is called before the DWARF section directives are emitted, so that all the PPC text section directives come out right at the beginning of the file. llvm-svn: 83176
-
- Sep 25, 2009
-
-
Dan Gohman authored
naming scheme used in SelectionDAG, where there are multiple kinds of "target" nodes, but "machine" nodes are nodes which represent a MachineInstr. llvm-svn: 82790
-
- Sep 19, 2009
-
-
Evan Cheng authored
Fix PR4926. When target hook EmitInstrWithCustomInserter() insert new basic blocks and update CFG, it should also inform sdisel of the changes so the phi source operands will come from the right basic blocks. llvm-svn: 82311
-
- Sep 18, 2009
-
-
Evan Cheng authored
Enhance EmitInstrWithCustomInserter() so target can specify CFG changes that sdisel will use to properly complete phi nodes. Not functionality change yet. llvm-svn: 82273
-
- Sep 13, 2009
-
-
Chris Lattner authored
llvm-svn: 81714
-
Chris Lattner authored
the object, make it static instead of const. llvm-svn: 81711
-
Chris Lattner authored
Nothing is using this info yet. llvm-svn: 81707
-
Chris Lattner authored
now that printBasicBlockLabel is only used for starting a MBB. This allows elimination of a bunch of arguments. llvm-svn: 81684
-
Chris Lattner authored
instead. llvm-svn: 81677
-
- Sep 10, 2009
-
-
Chris Lattner authored
the MCInst path of the asmprinter. Instead, pull comment printing out of the autogenerated asmprinter into each target that uses the autogenerated asmprinter. This causes code duplication into each target, but in a way that will be easier to clean up later when more asmprinter stuff is commonized into the base AsmPrinter class. This also fixes an xcore strangeness where it inserted two tabs before every instruction. llvm-svn: 81396
-
- Sep 02, 2009
-
-
Sandeep Patel authored
llvm-svn: 80773
-
- Sep 01, 2009
-
-
Bruno Cardoso Lopes authored
Add MO flags to simplify the printing of relocations. Remove the support for printing large code model relocs (which aren't supported anyway). llvm-svn: 80691
-
- Aug 31, 2009
-
-
Benjamin Kramer authored
llvm-svn: 80584
-
- Aug 27, 2009
-
-
Bruno Cardoso Lopes authored
llvm-svn: 80280
-
Bruno Cardoso Lopes authored
Add MO flags to simplify the printing of relocations. Remove the support for printing large code model relocs (which aren't supported anyway). llvm-svn: 80278
-
- Aug 23, 2009
-
-
Daniel Dunbar authored
- The world needs better C++ refactoring tools, can I get an Amen!? llvm-svn: 79843
-
Chris Lattner authored
llvm-svn: 79833
-
Chris Lattner authored
MachineInstr and MachineOperand. This required eliminating a bunch of stuff that was using DOUT, I hope that bill doesn't mind me stealing his fun. ;-) llvm-svn: 79813
-
Benjamin Kramer authored
llvm-svn: 79780
-
Benjamin Kramer authored
llvm-svn: 79779
-
- Aug 22, 2009
-
-
Chris Lattner authored
llvm-svn: 79777
-
Chris Lattner authored
llvm-svn: 79763
-
- Aug 19, 2009
-
-
Chris Lattner authored
talk to the MCStreamer directly instead. llvm-svn: 79405
-
- Aug 13, 2009
-
-
Chris Lattner authored
implemented somewhat differently than before, but it should have the same functionality and the previous testcase passes again. llvm-svn: 78900
-
Chris Lattner authored
llvm-svn: 78894
-
Dan Gohman authored
llvm-svn: 78848
-
- Aug 12, 2009
-
-
Chris Lattner authored
pair instead of from a virtual method on TargetMachine. This cuts the final ties of TargetAsmInfo to TargetMachine, meaning that MC can now use TargetAsmInfo. llvm-svn: 78802
-
- Aug 11, 2009
-
-
Owen Anderson authored
the latter is capable of representing either a primitive or an extended type. llvm-svn: 78713
-
Chris Lattner authored
LLVMTargetMachine ctor. It is currently unused. llvm-svn: 78711
-
Chris Lattner authored
no longer needs a targetmachine to initialize itself. llvm-svn: 78710
-