search for: mydagmut

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

2013 May 09
0
[LLVMdev] Scheduling with RAW hazards
...lly 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 > Thanks, > Fraser > > -- > Fraser Cormack > Compiler Developer > Codeplay Software Ltd > 45 York Place,...
2013 May 13
1
[LLVMdev] Scheduling with RAW hazards
...ween--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 > I've had a quick experiment with the MI Scheduler, and have a few further question...
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