LLVM 22.0.0git
llvm::LegacyLegalizeActionStep Struct Reference

The result of a query. More...

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

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.
unsigned TypeIdx
 If describing an action, the type index to change. Otherwise zero.
LLT NewType
 If describing an action, the new type for TypeIdx. Otherwise LLT{}.

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

Constructor & Destructor Documentation

◆ LegacyLegalizeActionStep()

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

Definition at line 110 of file LegacyLegalizerInfo.h.

References Action, NewType, and TypeIdx.

Referenced by operator==().

Member Function Documentation

◆ operator==()

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

Definition at line 114 of file LegacyLegalizerInfo.h.

References Action, LegacyLegalizeActionStep(), NewType, RHS, and TypeIdx.

Member Data Documentation

◆ Action

LegacyLegalizeActions::LegacyLegalizeAction llvm::LegacyLegalizeActionStep::Action

The action to take or the final answer.

Definition at line 104 of file LegacyLegalizerInfo.h.

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

◆ NewType

LLT llvm::LegacyLegalizeActionStep::NewType

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

Definition at line 108 of file LegacyLegalizerInfo.h.

Referenced by LegacyLegalizeActionStep(), and operator==().

◆ TypeIdx

unsigned llvm::LegacyLegalizeActionStep::TypeIdx

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

Definition at line 106 of file LegacyLegalizerInfo.h.

Referenced by LegacyLegalizeActionStep(), and operator==().


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