Create a reduction of the given vector Src for a reduction of kind RecurKind::AnyOf. The start value of the reduction is InitVal.

Synopsis

Declared in <llvm/Transforms/Utils/LoopUtils.h>

Value*
createAnyOfReduction(
    IRBuilderBase& B,
    Value* Src,
    Value* InitVal,
    PHINode* OrigPhi);

Return Value

LLVM Value Representation

Parameters

Name

Description

B

Common base class shared among various IRBuilders.

Src

LLVM Value Representation

InitVal

LLVM Value Representation

Created with MrDocs