#include "MCTargetDesc/R600MCTargetDesc.h"
#include "R600.h"
#include "R600Subtarget.h"
#include "llvm/CodeGen/DFAPacketizer.h"
#include "llvm/CodeGen/MachineDominators.h"
#include "llvm/CodeGen/MachineLoopInfo.h"
#include "llvm/CodeGen/ScheduleDAG.h"
usingnamespacellvm;
#define DEBUG_TYPE …
namespace {
class R600Packetizer : public MachineFunctionPass { … };
class R600PacketizerList : public VLIWPacketizerList { … };
bool R600Packetizer::runOnMachineFunction(MachineFunction &Fn) { … }
}
INITIALIZE_PASS_BEGIN(R600Packetizer, DEBUG_TYPE,
"R600 Packetizer", false, false)
INITIALIZE_PASS_END(R600Packetizer, DEBUG_TYPE,
"R600 Packetizer", false, false)
char R600Packetizer::ID = …;
char &llvm::R600PacketizerID = …;
llvm::FunctionPass *llvm::createR600Packetizer() { … }