Return true if reductions of Kind should stay inside the loop.

Synopsis

Declared in <llvm/Analysis/TargetTransformInfo.h>

bool
preferInLoopReduction(
    RecurKind Kind,
    Type* Ty) const;

Return Value

True if reductions of Kind should stay inside the loop.

Parameters

Name

Description

Kind

Recurrence kind of the reduction.

Ty

Type of the reduction.

Created with MrDocs