search for: mysch

Displaying 3 results from an estimated 3 matches for "mysch".

Did you mean: mypch
2013 May 09
0
[LLVMdev] Scheduling with RAW hazards
...switching over and start filing bugs. PPC is an example of using MI scheduler out-of-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 MySched...
2013 May 13
1
[LLVMdev] Scheduling with RAW hazards
...ugs. > PPC is an example of using MI scheduler out-of-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 ll...
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