| 
    LLVM 22.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 *ExtendUser) | |
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 * | ExtendUser | 
| The user of the extends that is then reduced.   | |
A chain of instructions that form a partial reduction.
Designed to match either: reduction_bin_op (extend (A), accumulator), or 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.
References ExtendA, ExtendB, ExtendUser, and Reduction.
| 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(), and PartialReductionChain().
| Instruction* llvm::PartialReductionChain::ExtendB | 
Definition at line 40 of file VPRecipeBuilder.h.
Referenced by llvm::VPRecipeBuilder::collectScaledReductions(), and PartialReductionChain().
| Instruction* llvm::PartialReductionChain::ExtendUser | 
The user of the extends that is then reduced.
Definition at line 43 of file VPRecipeBuilder.h.
Referenced by PartialReductionChain().
| 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(), and PartialReductionChain().