llvm::getCoverTy

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

NameDescription
OrigTyOriginal type being covered.
TargetTyTarget type that the result must be a multiple of.