#include "llvm/CodeGen/SlotIndexes.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/InitializePasses.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
usingnamespacellvm;
#define DEBUG_TYPE …
AnalysisKey SlotIndexesAnalysis::Key;
SlotIndexesAnalysis::Result
SlotIndexesAnalysis::run(MachineFunction &MF,
MachineFunctionAnalysisManager &) { … }
PreservedAnalyses
SlotIndexesPrinterPass::run(MachineFunction &MF,
MachineFunctionAnalysisManager &MFAM) { … }
char SlotIndexesWrapperPass::ID = …;
SlotIndexesWrapperPass::SlotIndexesWrapperPass() : … { … }
SlotIndexes::~SlotIndexes() { … }
INITIALIZE_PASS(…)
STATISTIC(NumLocalRenum, "Number of local renumberings");
void SlotIndexesWrapperPass::getAnalysisUsage(AnalysisUsage &au) const { … }
void SlotIndexes::clear() { … }
void SlotIndexes::analyze(MachineFunction &fn) { … }
void SlotIndexes::removeMachineInstrFromMaps(MachineInstr &MI,
bool AllowBundled) { … }
void SlotIndexes::removeSingleMachineInstrFromMaps(MachineInstr &MI) { … }
void SlotIndexes::renumberIndexes(IndexList::iterator curItr) { … }
void SlotIndexes::repairIndexesInRange(MachineBasicBlock *MBB,
MachineBasicBlock::iterator Begin,
MachineBasicBlock::iterator End) { … }
void SlotIndexes::packIndexes() { … }
void SlotIndexes::print(raw_ostream &OS) const { … }
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
LLVM_DUMP_METHOD void SlotIndexes::dump() const { print(dbgs()); }
#endif
void SlotIndex::print(raw_ostream &os) const { … }
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
LLVM_DUMP_METHOD void SlotIndex::dump() const {
print(dbgs());
dbgs() << "\n";
}
#endif