- Feb 15, 2008
-
-
Evan Cheng authored
machine instr will change its definition register. llvm-svn: 47166
-
- Feb 13, 2008
-
-
Evan Cheng authored
llvm-svn: 47058
-
Evan Cheng authored
llvm-svn: 47043
-
- Jan 07, 2008
-
-
Chris Lattner authored
Make MachineInstr::getDesc return a reference instead of a pointer, since it can never be null. llvm-svn: 45695
-
Chris Lattner authored
over to using them, instead of diddling Flags directly. Change the various flags from const variables to enums. llvm-svn: 45677
-
Chris Lattner authored
that it is cheap and efficient to get. Move a variety of predicates from TargetInstrInfo into TargetInstrDescriptor, which makes it much easier to query a predicate when you don't have TII around. Now you can use MI->getDesc()->isBranch() instead of going through TII, and this is much more efficient anyway. Not all of the predicates have been moved over yet. Update old code that used MI->getInstrDescriptor()->Flags to use the new predicates in many places. llvm-svn: 45674
-
- Jan 01, 2008
-
-
Chris Lattner authored
a header file from libcodegen. This violates a layering order: codegen depends on target, not the other way around. The fix to this is to split TII into two classes, TII and TargetInstrInfoImpl, which defines stuff that depends on libcodegen. It is defined in libcodegen, where the base is not. llvm-svn: 45475
-
- Dec 31, 2007
-
-
Chris Lattner authored
e.g. MO.isMBB() instead of MO.isMachineBasicBlock(). I don't plan on switching everything over, so new clients should just start using the shorter names. Remove old long accessors, switching everything over to use the short accessor: getMachineBasicBlock() -> getMBB(), getConstantPoolIndex() -> getIndex(), setMachineBasicBlock -> setMBB(), etc. llvm-svn: 45464
-
- Dec 30, 2007
-
-
Chris Lattner authored
- Eliminate the static "print" method for operands, moving it into MachineOperand::print. - Change various set* methods for register flags to take a bool for the value to set it to. Remove unset* methods. - Group methods more logically by operand flavor in MachineOperand.h llvm-svn: 45461
-
Chris Lattner authored
Use MachineOperand::getImm instead of MachineOperand::getImmedValue. Likewise setImmedValue -> setImm llvm-svn: 45453
-
- Dec 29, 2007
-
-
Chris Lattner authored
llvm-svn: 45418
-
- Sep 14, 2007
-
-
Dan Gohman authored
isRegister, isImmediate, and isMachineBasicBlock, which are equivalent, and more popular. llvm-svn: 41958
-
- Jul 07, 2007
-
-
Evan Cheng authored
llvm-svn: 37960
-
- Jul 05, 2007
-
-
Evan Cheng authored
llvm-svn: 37891
-
- Jun 08, 2007
-
-
Evan Cheng authored
llvm-svn: 37528
-
- May 29, 2007
-
-
Evan Cheng authored
llvm-svn: 37341
-
- May 23, 2007
-
-
Evan Cheng authored
llvm-svn: 37307
-
- May 17, 2007
-
-
Evan Cheng authored
llvm-svn: 37139
-
Evan Cheng authored
llvm-svn: 37138
-
- May 16, 2007
-
-
Evan Cheng authored
llvm-svn: 37124
-
Evan Cheng authored
llvm-svn: 37123
-
- Dec 08, 2006
-
-
Evan Cheng authored
llvm-svn: 32366
-
Evan Cheng authored
llvm-svn: 32352
-
- Dec 01, 2006
-
-
Evan Cheng authored
llvm-svn: 32098
-
- Nov 30, 2006
-
-
Evan Cheng authored
llvm-svn: 32033
-
- Nov 15, 2006
-
-
Evan Cheng authored
llvm-svn: 31763
-
- Nov 02, 2006
-
-
Evan Cheng authored
llvm-svn: 31364
-
Evan Cheng authored
llvm-svn: 31360
-
- May 12, 2006
-
-
Evan Cheng authored
llvm-svn: 28229
-
- May 04, 2006
-
-
Chris Lattner authored
llvm-svn: 28102
-
- Apr 20, 2006
-
-
Chris Lattner authored
llvm-svn: 27900
-
- Apr 22, 2005
-
-
Misha Brukman authored
llvm-svn: 21452
-
Misha Brukman authored
llvm-svn: 21422
-
- Jan 19, 2005
-
-
Chris Lattner authored
Add default impl of commuteInstruction Add notes about ugly V9 code. llvm-svn: 19684
-
- Jul 27, 2004
-
-
Brian Gaeke authored
only user. llvm-svn: 15294
-
- Feb 29, 2004
-
-
Chris Lattner authored
llvm-svn: 11987
-
- Jan 15, 2004
-
-
Brian Gaeke authored
llvm-svn: 10879
-
- Nov 11, 2003
-
-
Brian Gaeke authored
llvm-svn: 9903
-
- Oct 20, 2003
-
-
John Criswell authored
Header files will be on the way. llvm-svn: 9298
-
- Jun 27, 2003
-
-
Brian Gaeke authored
SingleSource except oopack and Oscar. (Sorry, Oscar.) include/llvm/Target/TargetInstrInfo.h: Remove virtual print method. Add accessors for ImplicitUses/Defs. lib/Target/TargetInstrInfo.cpp: Remove virtual print method. If you really wanted this, just use MI->print(O, TM); instead... lib/Target/X86: FloatingPoint.cpp: ...like this. X86InstrInfo.h: Remove virtual print method. Define the PrintImplUses target-specific flag bit. X86InstrInfo.def: Add the PrintImplUses flag to all the instructions which implicitly use CL, because the assembler needs to see the CL in order to generate the right instruction. Printer.cpp: Ditch fnIndex at Chris's request. Now we use CurrentFnName to name constants in the constant pool for each function instead. This avoids keeping state between runOnMachineFunction() invocations, which is a no-no. Having MangledGlobals be global is a bogon I'd like to get rid of too, but making it a static member of Printer causes link errors (why???). Make NumberForBB into a member of Printer instead of a global, too. Make printOp and printMemReference into methods of Printer. X86InstrInfo::print is now Printer::printMachineInstruction, because TargetInstrInfo::print is history. (Because of this, we have to qualify the names of some TargetInstrInfo methods we call.) Print out the ImplicitUses field of any instruction we print that has the PrintImplUses bit set. llvm-svn: 6924
-