llvm::TargetLoweringBase::findRepresentativeClass

Return the largest legal super-reg register class of the register class for the specified type and its associated "cost".

Synopsis

Declared in <llvm/CodeGen/TargetLowering.h>

virtual
std::pair<TargetRegisterClass const*, uint8_t>
findRepresentativeClass(
    TargetRegisterInfo const* TRI,
    MVT VT) const;

Return Value

The largest legal super-reg register class of the register class for the specified type and its associated "cost".

Parameters

NameDescription
TRITarget register info.
VTValue type being queried or transformed.