search for: expandcheckfunction

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

2018 May 11
0
[RFC] MC support for variant scheduling classes.
...t> : MCPredicate { string MCinstFn = MCInstVariant; string MachineInstrFn = MachineInstrVariant; } ``` Then we teach the PredicateExpander (in utils/Tablegen/PredicateExpander.cpp|.h) how to lower that new predicate. Here is an example of how this could be done: ``` void PredicateExpander::expandCheckFunction(formatted_raw_ostream &OS, StringRef MCInstVariant, StringRef MachineInstrVariant) { if (shouldExpandForMC()) OS << MCInstVariant; else OS << MachineInstrVariant; OS << "(MI)"; } ``` Basically, if we are generating code for MC, then we expand a call to...
2018 May 10
2
[RFC] MC support for variant scheduling classes.
On 10 May 2018 at 21:58, Andrew Trick <atrick at apple.com> wrote: > Fantastic writeup! It’s great to see so much progress on fundamental > infrastructure. > > My time for LLVM code review is extremely limited. Can someone work with > Andrea to get these patches in? Hi Andrew, Same here, but this has been a long goal for me, too, so I'll do my best. -- cheers,