Displaying 3 results from an estimated 3 matches for "createmysched".
2013 May 09
0
[LLVMdev] Scheduling with RAW hazards
...box. Hexagon is an example of customizing it at a high level. You could start off like PPC with minimal customization, but eventually you may want something in between--provide a custom MachineSchedStrategy:
class MyScheduler : public MachineSchedStrategy {...}
namespace llvm {
ScheduleDAGInstrs *createMySched(MachineSchedContext *C) {
ScheduleDAGMI *DAG = new ScheduleDAGMI(C, new MyScheduler());
DAG->addMutation(new MyDAGMutation());
return DAG;
}
} // namespace llvm
static MachineSchedRegistry
MySchedRegistry("mysched", "Custom My scheduler.", createMySched);
-Andy
>...
2013 May 13
1
[LLVMdev] Scheduling with RAW hazards
...mizing it at a high level. You could start off like
> PPC with minimal customization, but eventually you may want something
> in between--provide a custom MachineSchedStrategy:
>
> class MyScheduler : public MachineSchedStrategy {...}
>
> namespace llvm {
> ScheduleDAGInstrs *createMySched(MachineSchedContext *C) {
> ScheduleDAGMI *DAG = new ScheduleDAGMI(C, new MyScheduler());
> DAG->addMutation(new MyDAGMutation());
> return DAG;
> }
> } // namespace llvm
>
> static MachineSchedRegistry
> MySchedRegistry("mysched", "Custom My schedule...
2013 May 09
2
[LLVMdev] Scheduling with RAW hazards
I have an instruction that takes no operands, and produces two results,
in two consecutive cycles.
I tried both of the following to my Schedule.td file:
InstrItinData<IIMyInstr, [InstrStage<2, [FuncU]>], [1, 2]>,
InstrItinData<IIMyInstr, [InstrStage<1, [FuncU]>, InstrStage<1,
[FuncU]>], [1, 2]>,
From what I can see in examples, these say that the first