Lines Matching refs:Reduction
330 Value *Reduction; in expandPredicationInReduction() local
337 Reduction = Builder.CreateAddReduce(RedOp); in expandPredicationInReduction()
338 Reduction = Builder.CreateAdd(Reduction, Start); in expandPredicationInReduction()
341 Reduction = Builder.CreateMulReduce(RedOp); in expandPredicationInReduction()
342 Reduction = Builder.CreateMul(Reduction, Start); in expandPredicationInReduction()
345 Reduction = Builder.CreateAndReduce(RedOp); in expandPredicationInReduction()
346 Reduction = Builder.CreateAnd(Reduction, Start); in expandPredicationInReduction()
349 Reduction = Builder.CreateOrReduce(RedOp); in expandPredicationInReduction()
350 Reduction = Builder.CreateOr(Reduction, Start); in expandPredicationInReduction()
353 Reduction = Builder.CreateXorReduce(RedOp); in expandPredicationInReduction()
354 Reduction = Builder.CreateXor(Reduction, Start); in expandPredicationInReduction()
357 Reduction = Builder.CreateIntMaxReduce(RedOp, /*IsSigned*/ true); in expandPredicationInReduction()
358 Reduction = in expandPredicationInReduction()
359 Builder.CreateBinaryIntrinsic(Intrinsic::smax, Reduction, Start); in expandPredicationInReduction()
362 Reduction = Builder.CreateIntMinReduce(RedOp, /*IsSigned*/ true); in expandPredicationInReduction()
363 Reduction = in expandPredicationInReduction()
364 Builder.CreateBinaryIntrinsic(Intrinsic::smin, Reduction, Start); in expandPredicationInReduction()
367 Reduction = Builder.CreateIntMaxReduce(RedOp, /*IsSigned*/ false); in expandPredicationInReduction()
368 Reduction = in expandPredicationInReduction()
369 Builder.CreateBinaryIntrinsic(Intrinsic::umax, Reduction, Start); in expandPredicationInReduction()
372 Reduction = Builder.CreateIntMinReduce(RedOp, /*IsSigned*/ false); in expandPredicationInReduction()
373 Reduction = in expandPredicationInReduction()
374 Builder.CreateBinaryIntrinsic(Intrinsic::umin, Reduction, Start); in expandPredicationInReduction()
377 Reduction = Builder.CreateFPMaxReduce(RedOp); in expandPredicationInReduction()
378 transferDecorations(*Reduction, VPI); in expandPredicationInReduction()
379 Reduction = in expandPredicationInReduction()
380 Builder.CreateBinaryIntrinsic(Intrinsic::maxnum, Reduction, Start); in expandPredicationInReduction()
383 Reduction = Builder.CreateFPMinReduce(RedOp); in expandPredicationInReduction()
384 transferDecorations(*Reduction, VPI); in expandPredicationInReduction()
385 Reduction = in expandPredicationInReduction()
386 Builder.CreateBinaryIntrinsic(Intrinsic::minnum, Reduction, Start); in expandPredicationInReduction()
389 Reduction = Builder.CreateFAddReduce(Start, RedOp); in expandPredicationInReduction()
392 Reduction = Builder.CreateFMulReduce(Start, RedOp); in expandPredicationInReduction()
396 replaceOperation(*Reduction, VPI); in expandPredicationInReduction()
397 return Reduction; in expandPredicationInReduction()