Returns the reduction intrinsic id corresponding to the binary operation.

Synopsis

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

Intrinsic::ID
getReductionForBinop(Instruction::BinaryOps Opc);

Return Value

The reduction intrinsic id corresponding to Opc.

Parameters

Name

Description

Opc

Binary opcode to map to a reduction intrinsic.

Created with MrDocs