struct LegacyLegalizeActionStep

Declaration

struct LegacyLegalizeActionStep { /* full declaration omitted */ };

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.

Declared at: llvm/include/llvm/CodeGen/GlobalISel/LegacyLegalizerInfo.h:100

Member Variables

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

Method Overview

  • public LegacyLegalizeActionStep(LegacyLegalizeActions::LegacyLegalizeAction Action, unsigned int TypeIdx, const llvm::LLT NewType)

Methods

ΒΆLegacyLegalizeActionStep(
    LegacyLegalizeActions::LegacyLegalizeAction
        Action,
    unsigned int TypeIdx,
    const llvm::LLT NewType)

Declared at: llvm/include/llvm/CodeGen/GlobalISel/LegacyLegalizerInfo.h:108

Parameters

LegacyLegalizeActions::LegacyLegalizeAction Action
unsigned int TypeIdx
const llvm::LLT NewType