LLVM  14.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::LegacyLegalizeActionStep Struct Reference

The result of a query. More...

#include "llvm/CodeGen/GlobalISel/LegacyLegalizerInfo.h"

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

Public Member Functions

 LegacyLegalizeActionStep (LegacyLegalizeActions::LegacyLegalizeAction Action, unsigned TypeIdx, const LLT NewType)
 
bool operator== (const LegacyLegalizeActionStep &RHS) const
 

Public Attributes

LegacyLegalizeActions::LegacyLegalizeAction Action
 The action to take or the final answer. More...
 
unsigned TypeIdx
 If describing an action, the type index to change. Otherwise zero. More...
 
LLT NewType
 If describing an action, the new type for TypeIdx. Otherwise LLT{}. More...
 

Detailed Description

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 100 of file LegacyLegalizerInfo.h.

Constructor & Destructor Documentation

◆ LegacyLegalizeActionStep()

llvm::LegacyLegalizeActionStep::LegacyLegalizeActionStep ( LegacyLegalizeActions::LegacyLegalizeAction  Action,
unsigned  TypeIdx,
const LLT  NewType 
)
inline

Definition at line 108 of file LegacyLegalizerInfo.h.

Member Function Documentation

◆ operator==()

bool llvm::LegacyLegalizeActionStep::operator== ( const LegacyLegalizeActionStep RHS) const
inline

Definition at line 112 of file LegacyLegalizerInfo.h.

References Action, NewType, and TypeIdx.

Member Data Documentation

◆ Action

LegacyLegalizeActions::LegacyLegalizeAction llvm::LegacyLegalizeActionStep::Action

The action to take or the final answer.

Definition at line 102 of file LegacyLegalizerInfo.h.

Referenced by llvm::LegalizeActionStep::LegalizeActionStep(), and operator==().

◆ NewType

LLT llvm::LegacyLegalizeActionStep::NewType

If describing an action, the new type for TypeIdx. Otherwise LLT{}.

Definition at line 106 of file LegacyLegalizerInfo.h.

Referenced by operator==().

◆ TypeIdx

unsigned llvm::LegacyLegalizeActionStep::TypeIdx

If describing an action, the type index to change. Otherwise zero.

Definition at line 104 of file LegacyLegalizerInfo.h.

Referenced by operator==().


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