Returns true if there exists a value X where RHS.multiplyCoefficientBy(X) will result in a value whose quantity matches our own.

Synopsis

Declared in <llvm/Support/TypeSize.h>

constexpr
bool
hasKnownScalarFactor(FixedOrScalableQuantity<ElementCount, unsigned int> const& RHS) const;

Return Value

True if RHS is a known scalar factor of this quantity.

Parameters

Name

Description

RHS

Candidate scalar factor quantity.

Created with MrDocs