Lines Matching refs:Reduction

419   Value *Reduction;  in expandPredicationInReduction()  local
426 Reduction = Builder.CreateAddReduce(RedOp); in expandPredicationInReduction()
427 Reduction = Builder.CreateAdd(Reduction, Start); in expandPredicationInReduction()
430 Reduction = Builder.CreateMulReduce(RedOp); in expandPredicationInReduction()
431 Reduction = Builder.CreateMul(Reduction, Start); in expandPredicationInReduction()
434 Reduction = Builder.CreateAndReduce(RedOp); in expandPredicationInReduction()
435 Reduction = Builder.CreateAnd(Reduction, Start); in expandPredicationInReduction()
438 Reduction = Builder.CreateOrReduce(RedOp); in expandPredicationInReduction()
439 Reduction = Builder.CreateOr(Reduction, Start); in expandPredicationInReduction()
442 Reduction = Builder.CreateXorReduce(RedOp); in expandPredicationInReduction()
443 Reduction = Builder.CreateXor(Reduction, Start); in expandPredicationInReduction()
446 Reduction = Builder.CreateIntMaxReduce(RedOp, /*IsSigned*/ true); in expandPredicationInReduction()
447 Reduction = in expandPredicationInReduction()
448 Builder.CreateBinaryIntrinsic(Intrinsic::smax, Reduction, Start); in expandPredicationInReduction()
451 Reduction = Builder.CreateIntMinReduce(RedOp, /*IsSigned*/ true); in expandPredicationInReduction()
452 Reduction = in expandPredicationInReduction()
453 Builder.CreateBinaryIntrinsic(Intrinsic::smin, Reduction, Start); in expandPredicationInReduction()
456 Reduction = Builder.CreateIntMaxReduce(RedOp, /*IsSigned*/ false); in expandPredicationInReduction()
457 Reduction = in expandPredicationInReduction()
458 Builder.CreateBinaryIntrinsic(Intrinsic::umax, Reduction, Start); in expandPredicationInReduction()
461 Reduction = Builder.CreateIntMinReduce(RedOp, /*IsSigned*/ false); in expandPredicationInReduction()
462 Reduction = in expandPredicationInReduction()
463 Builder.CreateBinaryIntrinsic(Intrinsic::umin, Reduction, Start); in expandPredicationInReduction()
466 Reduction = Builder.CreateFPMaxReduce(RedOp); in expandPredicationInReduction()
467 transferDecorations(*Reduction, VPI); in expandPredicationInReduction()
468 Reduction = in expandPredicationInReduction()
469 Builder.CreateBinaryIntrinsic(Intrinsic::maxnum, Reduction, Start); in expandPredicationInReduction()
472 Reduction = Builder.CreateFPMinReduce(RedOp); in expandPredicationInReduction()
473 transferDecorations(*Reduction, VPI); in expandPredicationInReduction()
474 Reduction = in expandPredicationInReduction()
475 Builder.CreateBinaryIntrinsic(Intrinsic::minnum, Reduction, Start); in expandPredicationInReduction()
478 Reduction = Builder.CreateFAddReduce(Start, RedOp); in expandPredicationInReduction()
481 Reduction = Builder.CreateFMulReduce(Start, RedOp); in expandPredicationInReduction()
485 replaceOperation(*Reduction, VPI); in expandPredicationInReduction()
486 return Reduction; in expandPredicationInReduction()