LLVM  7.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::LegalityQuery Struct Reference

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"

Collaboration diagram for llvm::LegalityQuery:
Collaboration graph
[legend]

Public Member Functions

raw_ostreamprint (raw_ostream &OS) const
 

Public Attributes

unsigned Opcode
 
ArrayRef< LLTTypes
 

Detailed Description

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 114 of file LegalizerInfo.h.

Member Function Documentation

◆ print()

raw_ostream & LegalityQuery::print ( raw_ostream OS) const

Definition at line 39 of file LegalizerInfo.cpp.

Referenced by llvm::LegalizeRuleSet::apply().

Member Data Documentation

◆ Opcode

unsigned llvm::LegalityQuery::Opcode

Definition at line 115 of file LegalizerInfo.h.

Referenced by llvm::LegalizerInfo::getAction().

◆ Types

ArrayRef<LLT> llvm::LegalityQuery::Types

The documentation for this struct was generated from the following files: