Displaying 2 results from an estimated 2 matches for "initializemachineloopinfopass".
2012 Mar 29
2
[LLVMdev] VLIWPacketizerList: failing to schedule terminators
...endencies(SUnit *SUI, SUnit * SUJ)
{
return false;
}
class R600PacketizeInstrsPass : public MachineFunctionPass {
public:
static char ID;
R600PacketizeInstrsPass(TargetMachine &tm) : MachineFunctionPass(ID) {
initializeMachineDominatorTreePass(*PassRegistry::getPassRegistry());
initializeMachineLoopInfoPass(*PassRegistry::getPassRegistry());
}
const char *getPassName() const {
return "R600 Packetize Instructions";
}
virtual void getAnalysisUsage(AnalysisUsage &AU) const;
bool runOnMachineFunction(MachineFunction &MF);
};
char R600PacketizeInstrsPass::ID = 0;
void R60...
2011 Jan 18
1
[LLVMdev] adding a codegen pass into llvm
Thanks for your last reply.
Could I understand the way to adding a pass (built into the llvm rather than
dynamic loadable) includes:
1. Declaring a creator function for this pass
2. Implementing the creator function for this pass
3. Instantiating this pass and get a object of it
3. Register this pass into the PassRegistry
Then, for a built-into bytecode pass,
task 1(declaration of the