diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2001-07-30 18:49:07 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2001-07-30 18:49:07 +0000 |
commit | f6445837e9733e5657884f529879c5db2ca51f50 (patch) | |
tree | 38e9200691a1aae93dbf81f00f10128000db328f /include/llvm/CodeGen/MachineInstr.h | |
parent | 76d3520f3e2d9c3ff306155a32ddedfcfa26ad16 (diff) |
Added class MachineCodeForBasicBlock.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineInstr.h')
-rw-r--r-- | include/llvm/CodeGen/MachineInstr.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index bb2f930d5f..a26c61accc 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -303,7 +303,7 @@ public: //--------------------------------------------------------------------------- -// class MachineInstructionsForVMInstr +// class MachineCodeForVMInstr // // Purpose: // Representation of the sequence of machine instructions created @@ -356,6 +356,23 @@ MachineCodeForVMInstr::~MachineCodeForVMInstr() delete (*this)[i]; } + +//--------------------------------------------------------------------------- +// class MachineCodeForBasicBlock +// +// Purpose: +// Representation of the sequence of machine instructions created +// for a basic block. +//--------------------------------------------------------------------------- + + +class MachineCodeForBasicBlock: public vector<const MachineInstr*> { +public: + typedef vector<const MachineInstr*>::iterator iterator; + typedef vector<const MachineInstr*>::const_iterator const_iterator; +}; + + //--------------------------------------------------------------------------- // Target-independent utility routines for creating machine instructions //--------------------------------------------------------------------------- |