|
LLVM
7.0.0
|
A single rule in a legalizer info ruleset. More...
#include "llvm/CodeGen/GlobalISel/LegalizerInfo.h"
Public Member Functions | |
| LegalizeRule (LegalityPredicate Predicate, LegalizeAction Action, LegalizeMutation Mutation=nullptr) | |
| bool | match (const LegalityQuery &Query) const |
| Test whether the LegalityQuery matches. More... | |
| LegalizeAction | getAction () const |
| std::pair< unsigned, LLT > | determineMutation (const LegalityQuery &Query) const |
| Determine the change to make. More... | |
A single rule in a legalizer info ruleset.
The specified action is chosen when the predicate is true. Where appropriate for the action (e.g. for WidenScalar) the new type is selected using the given mutator.
Definition at line 243 of file LegalizerInfo.h.
|
inline |
Definition at line 249 of file LegalizerInfo.h.
|
inline |
|
inline |
Definition at line 258 of file LegalizerInfo.h.
|
inline |
Test whether the LegalityQuery matches.
Definition at line 254 of file LegalizerInfo.h.
1.8.13