aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
AgeCommit message (Collapse)AuthorFilesLines
2002-02-03* Prune #includesChris Lattner1-259/+1
* Remove MachineCodeFor(Method|VMInstr) code to their own .cpp files llvm-svn: 1649
2002-01-20Changes to build successfully with GCC 3.02Chris Lattner1-30/+23
llvm-svn: 1503
2001-12-04Renamed inst_const_iterator -> const_inst_iteratorChris Lattner1-2/+2
Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() llvm-svn: 1408
2001-11-15Added naming to inserted phi copy values - for easy debuggingRuchira Sasanka1-3/+3
llvm-svn: 1325
2001-11-15Modify AllocateLocalVar method to take a size argument.Vikram S. Adve1-3/+29
llvm-svn: 1318
2001-11-14Small changed to printing a machine operand - It the operand is a def, it printsRuchira Sasanka1-2/+6
a star after it - only for debugging llvm-svn: 1309
2001-11-12Bug fix in offset alignment computations: don't subtract the paddingVikram S. Adve1-37/+32
value from size *before* subtracting size from offset! llvm-svn: 1283
2001-11-12Improved printing routines.Vikram S. Adve1-4/+14
llvm-svn: 1263
2001-11-12Adjust all stack variable offsets to be aligned by size.Vikram S. Adve1-13/+55
llvm-svn: 1261
2001-11-11Fix errors in computing downgrowing offsets, and inVikram S. Adve1-11/+14
computing size of extra outgoing args. llvm-svn: 1256
2001-11-08Major overhaul of stack frame management.Vikram S. Adve1-20/+150
llvm-svn: 1185
2001-11-05Make reg. numbers signed ints.Vikram S. Adve1-1/+1
llvm-svn: 1137
2001-10-22Added class MachineCodeForMethod.Vikram S. Adve1-1/+39
llvm-svn: 947
2001-10-18Added implict operand printing for operator( ostream, MachineInstr&)Ruchira Sasanka1-0/+20
llvm-svn: 912
2001-10-171. Add a bottom-up pass on BURG trees that is used to fix constant operands.Vikram S. Adve1-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. llvm-svn: 859
2001-10-10Moved code generation support routines to InstrSelectionSupport.cpp.Vikram S. Adve1-215/+0
llvm-svn: 717
2001-10-01Convert more code to use new style castsChris Lattner1-4/+4
Eliminate old style casts from value.h llvm-svn: 696
2001-09-30Improved dump for disp type operand.Vikram S. Adve1-1/+7
llvm-svn: 679
2001-09-18Minor changes.Vikram S. Adve1-99/+93
llvm-svn: 613
2001-09-15added setRegForValue to MachineOperand classRuchira Sasanka1-1/+26
llvm-svn: 591
2001-09-11Eliminate MainTreeNode functionChris Lattner1-1/+2
llvm-svn: 550
2001-09-10Fix a bug I introduced (assertion failed: Unknown operand type), and convert ↵Chris Lattner1-16/+11
to predicate style for type checks llvm-svn: 531
2001-09-09Implement the subset of the GetConstantValueAsSignedInt function that is ↵Chris Lattner1-19/+32
needed, locally. llvm-svn: 524
2001-09-09Fix problems with freeing memory twiceChris Lattner1-40/+37
llvm-svn: 520
2001-09-09Fix build breakage. :(Chris Lattner1-3/+3
llvm-svn: 511
2001-09-07The header file for a translation unit should always be included firstChris Lattner1-8/+2
System headers should be last llvm-svn: 475
2001-08-28Moved function PrintMachineInstructions here.Vikram S. Adve1-5/+37
llvm-svn: 392
2001-08-13Always set isDef for operand in position resultPos.Vikram S. Adve1-7/+10
llvm-svn: 357
2001-08-13Changed SetMachineOpernad calls in Set3OperandsFromInstr so that theRuchira Sasanka1-4/+4
result position is a def (i.e., added true to the end of call) -- Ruchira llvm-svn: 356
2001-08-07*** empty log message ***Ruchira Sasanka1-1/+1
llvm-svn: 351
2001-08-07added a default isDef arg to SetMachineOperand method - RuchiraRuchira Sasanka1-3/+6
llvm-svn: 350
2001-07-31Allow machine instructions with variable numbers of arguments.Vikram S. Adve1-1/+12
This is used only by Phi for now. llvm-svn: 336
2001-07-28Eliminate separate enum for operand register type.Vikram S. Adve1-73/+63
Use union for alternative data for different operand types. Add iterator over Value* operands in a MachineInstr. llvm-svn: 307
2001-07-23Eliminated the Unique class in favor of NonCopyable and NonCopyableVChris Lattner1-4/+0
llvm-svn: 280
2001-07-21Eliminate lots of unnecessary #includes and forward declsChris Lattner1-14/+2
there are probably more to kill llvm-svn: 261
2001-07-21Renamed include/llvm/Codegen to include/llvm/CodeGenChris Lattner1-2/+2
llvm-svn: 253
2001-07-21Instruction selection via pattern matching on instruction trees using BURG.Vikram S. Adve1-0/+344
llvm-svn: 231