LLVM 20.0.0git
|
#include "Target/Hexagon/HexagonBlockRanges.h"
Public Member Functions | |
InstrIndexMap (MachineBasicBlock &B) | |
MachineInstr * | getInstr (IndexType Idx) const |
IndexType | getIndex (MachineInstr *MI) const |
MachineBasicBlock & | getBlock () 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_ostream & | operator<< (raw_ostream &OS, const InstrIndexMap &Map) |
Definition at line 125 of file HexagonBlockRanges.h.
HexagonBlockRanges::InstrIndexMap::InstrIndexMap | ( | MachineBasicBlock & | B | ) |
Definition at line 156 of file HexagonBlockRanges.cpp.
References assert(), B, llvm::HexagonBlockRanges::IndexType::First, First, getIndex(), Idx, Last, and llvm::HexagonBlockRanges::IndexType::None.
|
inline |
Definition at line 131 of file HexagonBlockRanges.h.
Referenced by llvm::HexagonBlockRanges::computeDeadMap().
HexagonBlockRanges::IndexType HexagonBlockRanges::InstrIndexMap::getIndex | ( | MachineInstr * | MI | ) | const |
Definition at line 175 of file HexagonBlockRanges.cpp.
References I, MI, and llvm::HexagonBlockRanges::IndexType::None.
Referenced by InstrIndexMap().
MachineInstr * HexagonBlockRanges::InstrIndexMap::getInstr | ( | IndexType | Idx | ) | const |
Definition at line 170 of file HexagonBlockRanges.cpp.
HexagonBlockRanges::IndexType HexagonBlockRanges::InstrIndexMap::getNextIndex | ( | IndexType | Idx | ) | const |
Definition at line 195 of file HexagonBlockRanges.cpp.
References assert(), llvm::HexagonBlockRanges::IndexType::Entry, llvm::HexagonBlockRanges::IndexType::Exit, llvm::HexagonBlockRanges::IndexType::First, Idx, llvm::Last, and llvm::HexagonBlockRanges::IndexType::None.
Referenced by llvm::HexagonBlockRanges::computeDeadMap().
HexagonBlockRanges::IndexType HexagonBlockRanges::InstrIndexMap::getPrevIndex | ( | IndexType | Idx | ) | const |
Definition at line 183 of file HexagonBlockRanges.cpp.
References assert(), llvm::HexagonBlockRanges::IndexType::Entry, llvm::HexagonBlockRanges::IndexType::Exit, llvm::First, Idx, llvm::Last, and llvm::HexagonBlockRanges::IndexType::None.
Referenced by llvm::HexagonBlockRanges::computeDeadMap().
void HexagonBlockRanges::InstrIndexMap::replaceInstr | ( | MachineInstr * | OldMI, |
MachineInstr * | NewMI | ||
) |
Definition at line 205 of file HexagonBlockRanges.cpp.
References I.
|
friend |
IndexType llvm::HexagonBlockRanges::InstrIndexMap::First |
Definition at line 138 of file HexagonBlockRanges.h.
Referenced by InstrIndexMap().
IndexType llvm::HexagonBlockRanges::InstrIndexMap::Last |
Definition at line 138 of file HexagonBlockRanges.h.
Referenced by InstrIndexMap().