LLVM  4.0.0
Public Member Functions | Public Attributes | Friends | List of all members
llvm::HexagonBlockRanges::InstrIndexMap Class Reference

#include <HexagonBlockRanges.h>

Collaboration diagram for llvm::HexagonBlockRanges::InstrIndexMap:
[legend]

Public Member Functions

 InstrIndexMap (MachineBasicBlock &B)
 
MachineInstrgetInstr (IndexType Idx) const
 
IndexType getIndex (MachineInstr *MI) const
 
MachineBasicBlockgetBlock () const
 
IndexType getPrevIndex (IndexType Idx) const
 
IndexType getNextIndex (IndexType Idx) const
 
void replaceInstr (MachineInstr *OldMI, MachineInstr *NewMI)
 

Public Attributes

IndexType First
 
IndexType Last
 

Friends

raw_ostreamoperator<< (raw_ostream &OS, const InstrIndexMap &Map)
 

Detailed Description

Definition at line 121 of file HexagonBlockRanges.h.

Constructor & Destructor Documentation

HexagonBlockRanges::InstrIndexMap::InstrIndexMap ( MachineBasicBlock B)

Member Function Documentation

MachineBasicBlock& llvm::HexagonBlockRanges::InstrIndexMap::getBlock ( ) const
inline

Definition at line 127 of file HexagonBlockRanges.h.

Referenced by llvm::HexagonBlockRanges::computeDeadMap().

HexagonBlockRanges::IndexType HexagonBlockRanges::InstrIndexMap::getIndex ( MachineInstr MI) const

Definition at line 174 of file HexagonBlockRanges.cpp.

References I, and llvm::HexagonBlockRanges::IndexType::None.

Referenced by InstrIndexMap(), and llvm::operator<<().

MachineInstr * HexagonBlockRanges::InstrIndexMap::getInstr ( IndexType  Idx) const

Definition at line 169 of file HexagonBlockRanges.cpp.

References F.

HexagonBlockRanges::IndexType HexagonBlockRanges::InstrIndexMap::getNextIndex ( IndexType  Idx) const
HexagonBlockRanges::IndexType HexagonBlockRanges::InstrIndexMap::getPrevIndex ( IndexType  Idx) const
void HexagonBlockRanges::InstrIndexMap::replaceInstr ( MachineInstr OldMI,
MachineInstr NewMI 
)

Definition at line 204 of file HexagonBlockRanges.cpp.

References I.

Friends And Related Function Documentation

raw_ostream& operator<< ( raw_ostream OS,
const InstrIndexMap Map 
)
friend

Member Data Documentation

IndexType llvm::HexagonBlockRanges::InstrIndexMap::First

Definition at line 134 of file HexagonBlockRanges.h.

Referenced by InstrIndexMap().

IndexType llvm::HexagonBlockRanges::InstrIndexMap::Last

Definition at line 134 of file HexagonBlockRanges.h.

Referenced by InstrIndexMap(), and llvm::operator<<().


The documentation for this class was generated from the following files: