LLVM 22.0.0git
|
The result of a query. More...
#include "llvm/CodeGen/GlobalISel/LegalizerInfo.h"
Public Member Functions | |
LegalizeActionStep (LegalizeAction Action, unsigned TypeIdx, const LLT NewType) | |
LegalizeActionStep (LegacyLegalizeActionStep Step) | |
bool | operator== (const LegalizeActionStep &RHS) const |
Public Attributes | |
LegalizeAction | Action |
The action to take or the final answer. | |
unsigned | TypeIdx |
If describing an action, the type index to change. Otherwise zero. | |
LLT | NewType |
If describing an action, the new type for TypeIdx. Otherwise LLT{}. |
The result of a query.
It either indicates a final answer of Legal or Unsupported or describes an action that must be taken to make an operation more legal.
Definition at line 142 of file LegalizerInfo.h.
|
inline |
Definition at line 150 of file LegalizerInfo.h.
References Action, NewType, and TypeIdx.
Referenced by operator==().
|
inline |
Definition at line 154 of file LegalizerInfo.h.
References llvm::LegacyLegalizeActionStep::Action, NewType, and TypeIdx.
|
inline |
Definition at line 193 of file LegalizerInfo.h.
References Action, LegalizeActionStep(), NewType, RHS, and TypeIdx.
LegalizeAction llvm::LegalizeActionStep::Action |
The action to take or the final answer.
Definition at line 144 of file LegalizerInfo.h.
Referenced by llvm::LegalizerInfo::getAction(), llvm::LegalizerInfo::isLegal(), llvm::LegalizerInfo::isLegalOrCustom(), LegalizeActionStep(), operator==(), and llvm::LegalizationArtifactCombiner::tryCombineUnmergeValues().
LLT llvm::LegalizeActionStep::NewType |
If describing an action, the new type for TypeIdx. Otherwise LLT{}.
Definition at line 148 of file LegalizerInfo.h.
Referenced by LegalizeActionStep(), LegalizeActionStep(), and operator==().
unsigned llvm::LegalizeActionStep::TypeIdx |
If describing an action, the type index to change. Otherwise zero.
Definition at line 146 of file LegalizerInfo.h.
Referenced by LegalizeActionStep(), LegalizeActionStep(), operator==(), and llvm::LegalizationArtifactCombiner::tryCombineUnmergeValues().