Displaying 1 result from an estimated 1 matches for "writezpr".
Did you mean:
writer
2018 May 10
2
[RFC] MC support for variant scheduling classes.
..., tablegen backends
gained
the ability to "lower" scheduling predicates into code that work on MCInst
too.
A more complicated example involving TII method calls.
------------------------------------------------------
This code is taken from the AArch64 Cyclone scheduling model:
```
def WriteZPred : SchedPredicate<[{TII->isGPRZero(*MI)}]>;
def WriteImmZ : SchedWriteVariant<[
SchedVar<WriteZPred, [WriteX]>,
SchedVar<NoSchedPred, [WriteImm]>]>;
```
Predicate WriteZPred is used to check if a GPR instruction is a zero-idiom.
Th...