|
LLVM
8.0.1
|
The LegalityQuery object bundles together all the information that's needed to decide whether a given operation is legal or not. More...
#include "llvm/CodeGen/GlobalISel/LegalizerInfo.h"

Classes | |
| struct | MemDesc |
Public Member Functions | |
| constexpr | LegalityQuery (unsigned Opcode, const ArrayRef< LLT > Types, const ArrayRef< MemDesc > MMODescrs) |
| constexpr | LegalityQuery (unsigned Opcode, const ArrayRef< LLT > Types) |
| raw_ostream & | print (raw_ostream &OS) const |
Public Attributes | |
| unsigned | Opcode |
| ArrayRef< LLT > | Types |
| ArrayRef< MemDesc > | MMODescrs |
| Operations which require memory can use this to place requirements on the memory type for each MMO. More... | |
The LegalityQuery object bundles together all the information that's needed to decide whether a given operation is legal or not.
For efficiency, it doesn't make a copy of Types so care must be taken not to free it before using the query.
Definition at line 120 of file LegalizerInfo.h.
|
inline |
Definition at line 133 of file LegalizerInfo.h.
|
inline |
Definition at line 136 of file LegalizerInfo.h.
References print().
| raw_ostream & LegalityQuery::print | ( | raw_ostream & | OS | ) | const |
Definition at line 46 of file LegalizerInfo.cpp.
Referenced by llvm::LegalizeRuleSet::apply().
Operations which require memory can use this to place requirements on the memory type for each MMO.
Definition at line 131 of file LegalizerInfo.h.
Referenced by llvm::AArch64LegalizerInfo::AArch64LegalizerInfo().
| unsigned llvm::LegalityQuery::Opcode |
Definition at line 121 of file LegalizerInfo.h.
Referenced by llvm::LegalizerInfo::getAction().
Definition at line 122 of file LegalizerInfo.h.
Referenced by llvm::AArch64LegalizerInfo::AArch64LegalizerInfo(), llvm::AMDGPULegalizerInfo::AMDGPULegalizerInfo(), llvm::LegalizeRuleSet::apply(), llvm::LegalizeRuleSet::clampMaxNumElements(), llvm::LegalizeRuleSet::clampMinNumElements(), llvm::LegalizerInfo::getAction(), and llvm::LegalizeRuleSet::minScalarSameAs().
1.8.13