llvm::TargetTransformInfoImplBase::hasDivRemOp

Return true if the target has a combined div/rem operation for the type.

Synopsis

Declared in <llvm/Analysis/TargetTransformInfoImpl.h>

virtual
bool
hasDivRemOp(
    Type* DataType,
    bool IsSigned) const;

Return Value

True if the target has a unified division-and-remainder operation.

Parameters

NameDescription
DataTypeElement or vector data type of the memory operation.
IsSignedWhether the operation is signed.