LLVM
8.0.1
|
#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 123 of file HexagonBlockRanges.h.
HexagonBlockRanges::InstrIndexMap::InstrIndexMap | ( | MachineBasicBlock & | B | ) |
Definition at line 158 of file HexagonBlockRanges.cpp.
References assert(), llvm::HexagonBlockRanges::IndexType::First, First, getIndex(), llvm::tgtok::In, Last, and llvm::HexagonBlockRanges::IndexType::None.
|
inline |
Definition at line 129 of file HexagonBlockRanges.h.
References llvm::operator<<().
Referenced by llvm::HexagonBlockRanges::computeDeadMap(), and llvm::HexagonBlockRanges::expandToSubRegs().
HexagonBlockRanges::IndexType HexagonBlockRanges::InstrIndexMap::getIndex | ( | MachineInstr * | MI | ) | const |
Definition at line 177 of file HexagonBlockRanges.cpp.
References I, and llvm::HexagonBlockRanges::IndexType::None.
Referenced by llvm::HexagonFrameLowering::determineCalleeSaves(), llvm::HexagonBlockRanges::expandToSubRegs(), InstrIndexMap(), and llvm::operator<<().
MachineInstr * HexagonBlockRanges::InstrIndexMap::getInstr | ( | IndexType | Idx | ) | const |
Definition at line 172 of file HexagonBlockRanges.cpp.
References F().
HexagonBlockRanges::IndexType HexagonBlockRanges::InstrIndexMap::getNextIndex | ( | IndexType | Idx | ) | const |
Definition at line 197 of file HexagonBlockRanges.cpp.
References assert(), llvm::HexagonBlockRanges::IndexType::Entry, llvm::HexagonBlockRanges::IndexType::Exit, llvm::HexagonBlockRanges::IndexType::First, Last, and llvm::HexagonBlockRanges::IndexType::None.
Referenced by llvm::HexagonBlockRanges::computeDeadMap().
HexagonBlockRanges::IndexType HexagonBlockRanges::InstrIndexMap::getPrevIndex | ( | IndexType | Idx | ) | const |
Definition at line 185 of file HexagonBlockRanges.cpp.
References assert(), llvm::HexagonBlockRanges::IndexType::Entry, llvm::HexagonBlockRanges::IndexType::Exit, First, Last, and llvm::HexagonBlockRanges::IndexType::None.
Referenced by llvm::HexagonBlockRanges::computeDeadMap().
void HexagonBlockRanges::InstrIndexMap::replaceInstr | ( | MachineInstr * | OldMI, |
MachineInstr * | NewMI | ||
) |
Definition at line 207 of file HexagonBlockRanges.cpp.
References I.
|
friend |
IndexType llvm::HexagonBlockRanges::InstrIndexMap::First |
Definition at line 136 of file HexagonBlockRanges.h.
Referenced by getPrevIndex(), and InstrIndexMap().
IndexType llvm::HexagonBlockRanges::InstrIndexMap::Last |
Definition at line 136 of file HexagonBlockRanges.h.
Referenced by getNextIndex(), getPrevIndex(), InstrIndexMap(), and llvm::operator<<().