Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use findRegisterUseOperand to find a kill of particular register. | Evan Cheng | 2007-02-23 | 1 | -3/+5 |
| | | | | llvm-svn: 34512 | ||||
* | Re-apply my liveintervalanalysis changes. Now with PR1207 fixes. | Evan Cheng | 2007-02-19 | 1 | -0/+11 |
| | | | | llvm-svn: 34428 | ||||
* | For PR1207: | Reid Spencer | 2007-02-19 | 1 | -11/+0 |
| | | | | | | | Revert patches that caused the problem. Evan, please investigate and reapply when you've discovered the problem. llvm-svn: 34399 | ||||
* | Added findRegisterDefOperand(). | Evan Cheng | 2007-02-17 | 1 | -0/+11 |
| | | | | llvm-svn: 34380 | ||||
* | Print <dead> def operands. | Evan Cheng | 2007-02-16 | 1 | -0/+2 |
| | | | | llvm-svn: 34343 | ||||
* | The best unbreakage yet, addressing Bill's concerns. | Jeff Cohen | 2006-12-16 | 1 | -41/+28 |
| | | | | llvm-svn: 32622 | ||||
* | An even better unbreakage... | Jeff Cohen | 2006-12-15 | 1 | -0/+12 |
| | | | | llvm-svn: 32617 | ||||
* | Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are | Bill Wendling | 2006-12-07 | 1 | -2/+1 |
| | | | | | | now cerr, cout, and NullStream resp. llvm-svn: 32298 | ||||
* | Move copyKillDeadInfo out-of-line. Add findRegisterUseOperand(). | Evan Cheng | 2006-12-06 | 1 | -0/+31 |
| | | | | llvm-svn: 32273 | ||||
* | - MachineInstr now keeps a ptr to TargetInstrDescriptor instead of Opcode. | Evan Cheng | 2006-11-30 | 1 | -42/+35 |
| | | | | | | - Remove the ugly TargetInstrDescriptors hack. llvm-svn: 32032 | ||||
* | Use llvm streams instead of <iostream> | Bill Wendling | 2006-11-28 | 1 | -2/+2 |
| | | | | llvm-svn: 31985 | ||||
* | Clean up. | Evan Cheng | 2006-11-28 | 1 | -2/+2 |
| | | | | llvm-svn: 31957 | ||||
* | Change MachineInstr ctor's to take a TargetInstrDescriptor reference instead | Evan Cheng | 2006-11-27 | 1 | -20/+14 |
| | | | | | | of opcode and number of operands. llvm-svn: 31947 | ||||
* | setOperand should not zap the operand list or add implicit operands to an | Chris Lattner | 2006-11-20 | 1 | -39/+0 |
| | | | | | | | | | instruction. Doing so breaks the FP stackifier, the alpha branch selector the sparc fpmover. This fixes PR1012 and CodeGen/X86/fp-stack-compare.ll llvm-svn: 31876 | ||||
* | Minor updates. | Evan Cheng | 2006-11-15 | 1 | -4/+4 |
| | | | | llvm-svn: 31761 | ||||
* | - Let MachineInstr ctors add implicit def and use operands. Other operands | Evan Cheng | 2006-11-13 | 1 | -16/+113 |
| | | | | | | | | | will be inserted before these operands. If the opcode changes (by setOpcode), the implicit operands are updated as well. - Added IsKill, IsDead fields to MachineOperand in preparation for changes that move kill / dead info to MachineInstr's. llvm-svn: 31711 | ||||
* | Add methods to add implicit def use operands to a MI. | Evan Cheng | 2006-11-11 | 1 | -0/+12 |
| | | | | llvm-svn: 31675 | ||||
* | Add implicit def / use operands to MachineInstr. | Evan Cheng | 2006-11-10 | 1 | -2/+6 |
| | | | | llvm-svn: 31633 | ||||
* | be more aggressive about matching identical instructions. | Chris Lattner | 2006-10-25 | 1 | -1/+1 |
| | | | | llvm-svn: 31179 | ||||
* | implement MachineOperand::isIdenticalTo | Chris Lattner | 2006-10-20 | 1 | -0/+29 |
| | | | | llvm-svn: 31088 | ||||
* | Only call isUse/isDef on register operands | Chris Lattner | 2006-09-05 | 1 | -11/+5 |
| | | | | llvm-svn: 30118 | ||||
* | Instructions with variable operands (variable_ops) can have a number required | Evan Cheng | 2006-06-15 | 1 | -1/+2 |
| | | | | | | | | | | | | | operands. e.g. def CALL32r : I<0xFF, MRM2r, (ops GR32:$dst, variable_ops), "call {*}$dst", [(X86call GR32:$dst)]>; TableGen should emit operand informations for the "required" operands. Added a target instruction info flag M_VARIABLE_OPS to indicate the target instruction may have more operands in addition to the minimum required operands. llvm-svn: 28791 | ||||
* | Remove a bogus cast. | Evan Cheng | 2006-05-26 | 1 | -1/+1 |
| | | | | llvm-svn: 28492 | ||||
* | Final pass of minor cleanups for MachineInstr | Chris Lattner | 2006-05-04 | 1 | -4/+0 |
| | | | | llvm-svn: 28110 | ||||
* | Remove redundancy and a level of indirection when creating machine operands | Chris Lattner | 2006-05-04 | 1 | -21/+5 |
| | | | | llvm-svn: 28107 | ||||
* | Remove and simplify some more machineinstr/machineoperand stuff. | Chris Lattner | 2006-05-04 | 1 | -1/+1 |
| | | | | llvm-svn: 28105 | ||||
* | Rename MO_VirtualRegister -> MO_Register. Clean up immediate handling. | Chris Lattner | 2006-05-04 | 1 | -2/+2 |
| | | | | llvm-svn: 28104 | ||||
* | Move some methods out of MachineInstr into MachineOperand | Chris Lattner | 2006-05-04 | 1 | -19/+0 |
| | | | | llvm-svn: 28102 | ||||
* | There shalt be only one "immediate" operand type! | Chris Lattner | 2006-05-04 | 1 | -8/+2 |
| | | | | llvm-svn: 28099 | ||||
* | Change "value" in MachineOperand to be a GlobalValue, as that is the only | Chris Lattner | 2006-05-04 | 1 | -14/+3 |
| | | | | | | thing that can be in it. Remove a dead method. llvm-svn: 28098 | ||||
* | Remove a bunch more dead V9 specific stuff | Chris Lattner | 2006-05-04 | 1 | -25/+2 |
| | | | | llvm-svn: 28094 | ||||
* | Remove a bunch more SparcV9 specific stuff | Chris Lattner | 2006-05-04 | 1 | -7/+1 |
| | | | | llvm-svn: 28093 | ||||
* | Remove some more V9-specific stuff. | Chris Lattner | 2006-05-04 | 1 | -32/+2 |
| | | | | llvm-svn: 28092 | ||||
* | Remove some more unused stuff from MachineInstr that was leftover from V9. | Chris Lattner | 2006-05-04 | 1 | -38/+0 |
| | | | | llvm-svn: 28091 | ||||
* | JumpTable support! What this represents is working asm and jit support for | Nate Begeman | 2006-04-22 | 1 | -0/+6 |
| | | | | | | | | x86 and ppc for 100% dense switch statements when relocations are non-PIC. This support will be extended and enhanced in the coming days to support PIC, and less dense forms of jump tables. llvm-svn: 27947 | ||||
* | This field no longer exists | Chris Lattner | 2006-04-20 | 1 | -2/+0 |
| | | | | llvm-svn: 27899 | ||||
* | Remove some of the obvious V9-specific cruft | Chris Lattner | 2006-04-20 | 1 | -101/+2 |
| | | | | llvm-svn: 27893 | ||||
* | Add a MachineInstr::eraseFromParent convenience method. | Chris Lattner | 2006-04-17 | 1 | -0/+9 |
| | | | | llvm-svn: 27775 | ||||
* | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -18/+18 |
| | | | | llvm-svn: 21420 | ||||
* | Allow machine operands to represent global variables with offsets. This is | Chris Lattner | 2004-10-15 | 1 | -5/+9 |
| | | | | | | | | | | | | | | | | | useful when you have a reference like: int A[100]; void foo() { A[10] = 1; } In this case, &A[10] is a single constant and should be treated as such. Only MO_GlobalAddress and MO_ExternalSymbol are allowed to use this field, no other operand type is. This is another fine patch contributed by Jeff Cohen!! llvm-svn: 17007 | ||||
* | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 1 | -1/+1 |
| | | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137 | ||||
* | * Doxygenify comments | Misha Brukman | 2004-07-09 | 1 | -104/+96 |
| | | | | | | | | | | | * Fix spacing, grammar in comment * Make code layout consistent * Wrap code at 80 cols * Delete spurious blank lines No functional changes. llvm-svn: 14721 | ||||
* | Add #include <iostream> since Value.h does not #include it any more. | Reid Spencer | 2004-07-04 | 1 | -0/+2 |
| | | | | llvm-svn: 14622 | ||||
* | Made a fix so that you can print out MachineInstrs that belong to a ↵ | Tanya Lattner | 2004-06-25 | 1 | -5/+18 |
| | | | | | | MachineBasicBlock that is not yet attached to a MachineFunction. This change includes changing the third operand (TargetMachine) to a pointer for the MachineInstr::print function. llvm-svn: 14389 | ||||
* | Make debugging dumps w/ multiple MachineBBs for a given LLVM BB readable. | Brian Gaeke | 2004-06-17 | 1 | -4/+4 |
| | | | | llvm-svn: 14205 | ||||
* | Adjust to new TargetMachine interface | Chris Lattner | 2004-06-02 | 1 | -1/+1 |
| | | | | llvm-svn: 13956 | ||||
* | Changed clone to be const. | Tanya Lattner | 2004-05-24 | 1 | -1/+7 |
| | | | | | | Changed copy constructor to set parent, prev, and next pointers to null. llvm-svn: 13706 | ||||
* | Fixed up my changes to add support for cloning Machine Instructions. | Tanya Lattner | 2004-05-23 | 1 | -2/+3 |
| | | | | llvm-svn: 13665 | ||||
* | Adding support to clone MachineInstr | Tanya Lattner | 2004-05-23 | 1 | -0/+19 |
| | | | | llvm-svn: 13661 | ||||
* | Make MachineOperand's value named 'contents'. Make really, really sure | Brian Gaeke | 2004-03-03 | 1 | -6/+6 |
| | | | | | | | it is always completely initialized and copied. Also, fix up many comments and asserts. llvm-svn: 12100 |