- Aug 22, 2009
-
-
Chris Lattner authored
llvm-svn: 79763
-
- Aug 02, 2009
-
-
Chris Lattner authored
the only real caller (GetFunctionSizeInBytes) uses it. The custom ARM implementation of this is basically reimplementing an assembler poorly for negligible gain. It should be removed IMNSHO, but I'll leave that to ARMish folks to decide. llvm-svn: 77877
-
Chris Lattner authored
in a header. llvm-svn: 77874
-
- Jul 29, 2009
-
-
Chris Lattner authored
now that TargetOperandInfo does the heavy lifting. llvm-svn: 77508
-
Chris Lattner authored
and convert code to using it, instead of having lots of things poke the isLookupPtrRegClass() method directly. 2. Make PointerLikeRegClass contain a 'kind' int, and store it in the existing regclass field of TargetOperandInfo when the isLookupPtrRegClass() predicate is set. Make getRegClass pass this into TargetRegisterInfo::getPointerRegClass(), allowing targets to have multiple ptr_rc things. llvm-svn: 77504
-
- May 05, 2009
-
-
Evan Cheng authored
llvm-svn: 70950
-
- Apr 09, 2009
-
-
Bob Wilson authored
register destinations that are tied to source operands. The TargetInstrDescr::findTiedToSrcOperand method silently fails for inline assembly. The existing MachineInstr::isRegReDefinedByTwoAddr was very close to doing what is needed, so this revision makes a few changes to that method and also renames it to isRegTiedToUseOperand (for consistency with the very similar isRegTiedToDefOperand and because it handles both two-address instructions and inline assembly with tied registers). llvm-svn: 68714
-
- 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
llvm-svn: 45680
-
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
-