Displaying 2 results from an estimated 2 matches for "machineinstrfn".
Did you mean:
machineinstr
2018 May 11
0
[RFC] MC support for variant scheduling classes.
...Variant is the function to call if we want to check properties on
MCInst.
// MachineInstrVariant is the function to call if we want to check
properties on MachineInstr.
CheckFunction<string MCInstVariant, string MachineInstrVariant> :
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, Stri...
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,