aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/MachineInstr.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Added implict operand printing for operator( ostream, MachineInstr&)Ruchira Sasanka2001-10-181-0/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@912 91177308-0d34-0410-b5e6-96231b3b80d8
* 1. Add a bottom-up pass on BURG trees that is used to fix constant operands.Vikram S. Adve2001-10-171-2/+3
| | | | | | | | | | Needs to be bottom up because constant values may be forward-substituted to their uses (i.e., into the parent in the BURG tree). 2. Move most of the constant-fixup code into machine-indepedent file InstrSelectionSupport.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@859 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved code generation support routines to InstrSelectionSupport.cpp.Vikram S. Adve2001-10-101-215/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@717 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert more code to use new style castsChris Lattner2001-10-011-4/+4
| | | | | | | Eliminate old style casts from value.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@696 91177308-0d34-0410-b5e6-96231b3b80d8
* Improved dump for disp type operand.Vikram S. Adve2001-09-301-1/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@679 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor changes.Vikram S. Adve2001-09-181-99/+93
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@613 91177308-0d34-0410-b5e6-96231b3b80d8
* added setRegForValue to MachineOperand classRuchira Sasanka2001-09-151-1/+26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@591 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate MainTreeNode functionChris Lattner2001-09-111-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@550 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bug I introduced (assertion failed: Unknown operand type), and convert ↵Chris Lattner2001-09-101-16/+11
| | | | | | to predicate style for type checks git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@531 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement the subset of the GetConstantValueAsSignedInt function that is ↵Chris Lattner2001-09-091-19/+32
| | | | | | needed, locally. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@524 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix problems with freeing memory twiceChris Lattner2001-09-091-40/+37
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@520 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix build breakage. :(Chris Lattner2001-09-091-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@511 91177308-0d34-0410-b5e6-96231b3b80d8
* The header file for a translation unit should always be included firstChris Lattner2001-09-071-8/+2
| | | | | | | System headers should be last git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@475 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved function PrintMachineInstructions here.Vikram S. Adve2001-08-281-5/+37
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@392 91177308-0d34-0410-b5e6-96231b3b80d8
* Always set isDef for operand in position resultPos.Vikram S. Adve2001-08-131-7/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357 91177308-0d34-0410-b5e6-96231b3b80d8
* Changed SetMachineOpernad calls in Set3OperandsFromInstr so that theRuchira Sasanka2001-08-131-4/+4
| | | | | | | result position is a def (i.e., added true to the end of call) -- Ruchira git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Ruchira Sasanka2001-08-071-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351 91177308-0d34-0410-b5e6-96231b3b80d8
* added a default isDef arg to SetMachineOperand method - RuchiraRuchira Sasanka2001-08-071-3/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow machine instructions with variable numbers of arguments.Vikram S. Adve2001-07-311-1/+12
| | | | | | | This is used only by Phi for now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@336 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate separate enum for operand register type.Vikram S. Adve2001-07-281-73/+63
| | | | | | | | Use union for alternative data for different operand types. Add iterator over Value* operands in a MachineInstr. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminated the Unique class in favor of NonCopyable and NonCopyableVChris Lattner2001-07-231-4/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate lots of unnecessary #includes and forward declsChris Lattner2001-07-211-14/+2
| | | | | | | there are probably more to kill git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@261 91177308-0d34-0410-b5e6-96231b3b80d8
* Renamed include/llvm/Codegen to include/llvm/CodeGenChris Lattner2001-07-211-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253 91177308-0d34-0410-b5e6-96231b3b80d8
* Instruction selection via pattern matching on instruction trees using BURG.Vikram S. Adve2001-07-211-0/+344
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231 91177308-0d34-0410-b5e6-96231b3b80d8