Return the smallest type that covers both types and is a multiple of TargetTy.

Synopsis

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

LLT
getCoverTy(
    LLT OrigTy,
    LLT TargetTy);

Return Value

The smallest covering type that is a multiple of TargetTy.

Parameters

Name

Description

OrigTy

Original type being covered.

TargetTy

Target type that the result must be a multiple of.

Created with MrDocs