LLVM 19.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"

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

Constructor & Destructor Documentation

◆ LegacyLegalizeActionStep()

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

Definition at line 109 of file LegacyLegalizerInfo.h.

Member Function Documentation

◆ operator==()

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

Definition at line 113 of file LegacyLegalizerInfo.h.

References Action, NewType, RHS, and TypeIdx.

Member Data Documentation

◆ Action

LegacyLegalizeActions::LegacyLegalizeAction llvm::LegacyLegalizeActionStep::Action

The action to take or the final answer.

Definition at line 103 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 107 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 105 of file LegacyLegalizerInfo.h.

Referenced by operator==().


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