llvm::LegalityQuery

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.

Synopsis

Declared in <llvm/CodeGen/GlobalISel/LegalizerInfo.h>

struct LegalityQuery;

Types

Name
MemDesc

Member Functions

NameDescription
LegalityQuery [constructor]Constructor
print

Data Members

NameDescription
Immediates
MMODescrs Operations which require memory can use this to place requirements on the memory type for each MMO.
Opcode
Types