struct LegalizeActionStep

Declaration

struct LegalizeActionStep { /* 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/LegalizerInfo.h:147

Member Variables

public llvm::LegalizeActions::LegalizeAction 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 LegalizeActionStep(llvm::LegalizeActions::LegalizeAction Action, unsigned int TypeIdx, const llvm::LLT & NewType)

Methods

ΒΆLegalizeActionStep(
    llvm::LegalizeActions::LegalizeAction Action,
    unsigned int TypeIdx,
    const llvm::LLT& NewType)

Declared at: llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h:155

Parameters

llvm::LegalizeActions::LegalizeAction Action
unsigned int TypeIdx
const llvm::LLT& NewType