changeTo overloads

Synopses

Declared in <llvm/CodeGen/GlobalISel/LegalizerInfo.h>

Select this specific type for the given type index.

LegalizeMutation
changeTo(
    unsigned int TypeIdx,
    LLT Ty);

Keep the same type as the given type index.

LegalizeMutation
changeTo(
    unsigned int TypeIdx,
    unsigned int FromTypeIdx);

Return Value

  • A mutation that selects Ty for type index TypeIdx.

  • A mutation that copies the type from FromTypeIdx.

Parameters

Name

Description

TypeIdx

Type index being rewritten.

Ty

Replacement type to select.

FromTypeIdx

Type index whose type is copied.

Created with MrDocs