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

#include "Target/Hexagon/HexagonBlockRanges.h"

Collaboration diagram for llvm::HexagonBlockRanges::InstrIndexMap:
Collaboration graph
[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 123 of file HexagonBlockRanges.h.

Constructor & Destructor Documentation

◆ InstrIndexMap()

HexagonBlockRanges::InstrIndexMap::InstrIndexMap ( MachineBasicBlock B)

Member Function Documentation

◆ getBlock()

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

◆ getIndex()

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

◆ getInstr()

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

Definition at line 172 of file HexagonBlockRanges.cpp.

References F().

◆ getNextIndex()

HexagonBlockRanges::IndexType HexagonBlockRanges::InstrIndexMap::getNextIndex ( IndexType  Idx) const

◆ getPrevIndex()

HexagonBlockRanges::IndexType HexagonBlockRanges::InstrIndexMap::getPrevIndex ( IndexType  Idx) const

◆ replaceInstr()

void HexagonBlockRanges::InstrIndexMap::replaceInstr ( MachineInstr OldMI,
MachineInstr NewMI 
)

Definition at line 207 of file HexagonBlockRanges.cpp.

References I.

Friends And Related Function Documentation

◆ operator<<

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

Member Data Documentation

◆ First

IndexType llvm::HexagonBlockRanges::InstrIndexMap::First

Definition at line 136 of file HexagonBlockRanges.h.

Referenced by getPrevIndex(), and InstrIndexMap().

◆ Last

IndexType llvm::HexagonBlockRanges::InstrIndexMap::Last

Definition at line 136 of file HexagonBlockRanges.h.

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


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