search for: mcpredicate

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

Did you mean: _predicate
2018 May 10
2
[RFC] MC support for variant scheduling classes.
...------------------ MCSchedPredicate allows the definition of scheduling predicates that have a well-defined portable semantic. They can be used in place of SchedPredicate to define SchedReadVariant and SchedWriteVariant definitions in tablegen. An MCSchedPredicate definition is built on top of an MCPredicate. MCPredicate definitions can be composed together to form complex boolean expressions. To better understand how these new predicates work, let's have a look at the following example. ``` def M3BranchLinkFastPred : SchedPredicate<[{MI->getOpcode() == AArch64::BLR &&...
2018 May 11
0
[RFC] MC support for variant scheduling classes.
...e, in a declarative way, and then we let tablegen generate code for us. If for some reason, a user doesn't want to use this approach, then they can still provide their own implementation for variant 2. (i.e. the version of `isGPRZero` that takes a MCInst as input). We can then introduce a new MCPredicate as follows: ``` // MCInstVariant and MachineInstVariant are both function names. // // MCinstVariant 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 MCInstVaria...
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,