#include "Mips.h"
#include "MipsTargetMachine.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/StackProtector.h"
#include "llvm/CodeGen/TargetPassConfig.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
usingnamespacellvm;
#define DEBUG_TYPE …
namespace {
class MipsModuleDAGToDAGISel : public MachineFunctionPass { … };
char MipsModuleDAGToDAGISel::ID = …;
}
bool MipsModuleDAGToDAGISel::runOnMachineFunction(MachineFunction &MF) { … }
llvm::FunctionPass *llvm::createMipsModuleISelDagPass() { … }