LLVM 20.0.0git
|
A chain of instructions that form a partial reduction. More...
#include "Transforms/Vectorize/VPRecipeBuilder.h"
Public Member Functions | |
PartialReductionChain (Instruction *Reduction, Instruction *ExtendA, Instruction *ExtendB, Instruction *BinOp) | |
Public Attributes | |
Instruction * | Reduction |
The top-level binary operation that forms the reduction to a scalar after the loop body. | |
Instruction * | ExtendA |
The extension of each of the inner binary operation's operands. | |
Instruction * | ExtendB |
Instruction * | BinOp |
The binary operation using the extends that is then reduced. | |
A chain of instructions that form a partial reduction.
Designed to match: reduction_bin_op (bin_op (extend (A), (extend (B))), accumulator).
Definition at line 30 of file VPRecipeBuilder.h.
|
inline |
Definition at line 31 of file VPRecipeBuilder.h.
Instruction* llvm::PartialReductionChain::BinOp |
The binary operation using the extends that is then reduced.
Definition at line 43 of file VPRecipeBuilder.h.
Instruction* llvm::PartialReductionChain::ExtendA |
The extension of each of the inner binary operation's operands.
Definition at line 39 of file VPRecipeBuilder.h.
Referenced by llvm::VPRecipeBuilder::collectScaledReductions().
Instruction* llvm::PartialReductionChain::ExtendB |
Definition at line 40 of file VPRecipeBuilder.h.
Referenced by llvm::VPRecipeBuilder::collectScaledReductions().
Instruction* llvm::PartialReductionChain::Reduction |
The top-level binary operation that forms the reduction to a scalar after the loop body.
Definition at line 37 of file VPRecipeBuilder.h.
Referenced by llvm::VPRecipeBuilder::collectScaledReductions().