Lines Matching full:accumulator
515 /// Returns `accumulator` if it has a valid value. Otherwise, creates and
516 /// returns a new accumulator value using `ReductionNeutral`.
520 Value accumulator) {
521 if (accumulator)
522 return accumulator;
560 Value vectorOperand, Value accumulator) {
564 if (accumulator)
565 result = rewriter.create<ScalarOp>(loc, accumulator, result);
572 /// the accumulator value if non-null.
576 Value vectorOperand, Value accumulator, LLVM::ICmpPredicate predicate) {
578 if (accumulator) {
580 rewriter.create<LLVM::ICmpOp>(loc, predicate, accumulator, result);
581 result = rewriter.create<LLVM::SelectOp>(loc, cmp, accumulator, result);
610 Value vectorOperand, Value accumulator, LLVM::FastmathFlagsAttr fmf) {
614 if (accumulator) {
617 loc, result, accumulator);
659 Value vectorOperand, Value accumulator,
666 rewriter, loc, llvmType, selectedVectorByMask, accumulator, fmf);
673 Value accumulator, LLVM::FastmathFlagsAttr fmf) {
674 accumulator = getOrCreateAccumulator<ReductionNeutral>(rewriter, loc,
675 llvmType, accumulator);
677 /*startValue=*/accumulator,
688 Value vectorOperand, Value accumulator) {
689 accumulator = getOrCreateAccumulator<ReductionNeutral>(rewriter, loc,
690 llvmType, accumulator);
692 /*startValue=*/accumulator,
699 Value vectorOperand, Value accumulator, Value mask) {
700 accumulator = getOrCreateAccumulator<ReductionNeutral>(rewriter, loc,
701 llvmType, accumulator);
705 /*startValue=*/accumulator,
713 Value vectorOperand, Value accumulator, Value mask) {
717 rewriter, loc, llvmType, vectorOperand, accumulator, mask);
722 rewriter, loc, llvmType, vectorOperand, accumulator, mask);