LLVM 20.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 143 of file LegalizerInfo.h.
|
inline |
Definition at line 151 of file LegalizerInfo.h.
|
inline |
Definition at line 155 of file LegalizerInfo.h.
References llvm::LegacyLegalizeActionStep::Action, Action, llvm::LegacyLegalizeActions::Bitcast, llvm::LegalizeActions::Bitcast, llvm::LegacyLegalizeActions::Custom, llvm::LegalizeActions::Custom, llvm::LegacyLegalizeActions::FewerElements, llvm::LegalizeActions::FewerElements, llvm::LegacyLegalizeActions::Legal, llvm::LegalizeActions::Legal, llvm::LegacyLegalizeActions::Libcall, llvm::LegalizeActions::Libcall, llvm::LegacyLegalizeActions::Lower, llvm::LegalizeActions::Lower, llvm::LegacyLegalizeActions::MoreElements, llvm::LegalizeActions::MoreElements, llvm::LegacyLegalizeActions::NarrowScalar, llvm::LegalizeActions::NarrowScalar, llvm::LegacyLegalizeActions::NotFound, llvm::LegalizeActions::NotFound, llvm::LegacyLegalizeActions::Unsupported, llvm::LegalizeActions::Unsupported, llvm::LegacyLegalizeActions::WidenScalar, and llvm::LegalizeActions::WidenScalar.
|
inline |
LegalizeAction llvm::LegalizeActionStep::Action |
The action to take or the final answer.
Definition at line 145 of file LegalizerInfo.h.
Referenced by llvm::LegalizerInfo::getAction(), llvm::CombinerHelper::isLegal(), llvm::LegalizerInfo::isLegal(), llvm::LegalizerInfo::isLegalOrCustom(), LegalizeActionStep(), llvm::LegalizerHelper::lowerBitCount(), operator==(), and llvm::LegalizationArtifactCombiner::tryCombineUnmergeValues().
LLT llvm::LegalizeActionStep::NewType |
If describing an action, the new type for TypeIdx. Otherwise LLT{}.
Definition at line 149 of file LegalizerInfo.h.
Referenced by operator==().
unsigned llvm::LegalizeActionStep::TypeIdx |
If describing an action, the type index to change. Otherwise zero.
Definition at line 147 of file LegalizerInfo.h.
Referenced by operator==(), and llvm::LegalizationArtifactCombiner::tryCombineUnmergeValues().