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.
Declared in <llvm/CodeGen/GlobalISel/LegalizerInfo.h>
struct LegalityQuery;
| Name |
|---|
MemDesc |
| Name | Description |
|---|---|
LegalityQuery [constructor] | Constructor |
print |
| Name | Description |
|---|---|
Immediates | |
MMODescrs | Operations which require memory can use this to place requirements on the memory type for each MMO. |
Opcode | |
Types |