search for: resolvevariantschedclass

Displaying 2 results from an estimated 2 matches for "resolvevariantschedclass".

2018 May 10
2
[RFC] MC support for variant scheduling classes.
...X]>, SchedVar<SchedDefault, [WriteImm]>]>; ``` How to resolve scheduling classes from MC ----------------------------------------- MCSubtargetInfo will gain a new method: ``` /// Resolve a variant scheduling class for the given MCInst and CPU. virtual unsigned resolveVariantSchedClass(unsigned SchedClass, const MCInst *MI, unsigned CPUID) const { return 0; } ``` The SubtargetEmitter is resonsible for processing scheduling classes and generate an override for that method. This is what the SubtargetEmitter generates for the Cyclone and Exynos3M i...
2018 May 10
0
[RFC] MC support for variant scheduling classes.
...tructionInfoEmitter and the SubtargetEmitter how to expand MCSchedPredicate > definitions. > The first patch is up for review here: https:://reviews.llvm.org/D46695 <http://reviews.llvm.org/D46695>. > > The second patch would teach the SubtargetEmitter how to generate method > resolveVariantSchedClass(). > > The last patch of the sequence will teach llvm-mca how to use method > `resolveVariantSchedClass()` to resolve variant classes. llvm-mca will generate an error if the variant scheduling class cannot be resolved. > > Review https://reviews.llvm.org/D46697 <https://reviews....