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

#include "Target/Hexagon/HexagonBlockRanges.h"

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 125 of file HexagonBlockRanges.h.

Constructor & Destructor Documentation

◆ InstrIndexMap()

HexagonBlockRanges::InstrIndexMap::InstrIndexMap ( MachineBasicBlock B)

Member Function Documentation

◆ getBlock()

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

Definition at line 131 of file HexagonBlockRanges.h.

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

◆ getIndex()

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

Definition at line 176 of file HexagonBlockRanges.cpp.

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

Referenced by InstrIndexMap().

◆ getInstr()

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

Definition at line 171 of file HexagonBlockRanges.cpp.

References F, and Idx.

◆ 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 206 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 138 of file HexagonBlockRanges.h.

Referenced by InstrIndexMap().

◆ Last

IndexType llvm::HexagonBlockRanges::InstrIndexMap::Last

Definition at line 138 of file HexagonBlockRanges.h.

Referenced by InstrIndexMap().


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