llvm::TargetLoweringBase::isLegalRC

Return true if the value types that can be represented by the specified register class are all legal.

Synopsis

Declared in <llvm/CodeGen/TargetLowering.h>

bool
isLegalRC(
    TargetRegisterInfo const& TRI,
    TargetRegisterClass const& RC) const;

Return Value

True if the value types that can be represented by the specified register class are all legal.

Parameters

NameDescription
TRITarget register info.
RCRegister class.