Lines Matching defs:ReductionFunc
3419 Function *ReductionFunc =
3421 ReductionFunc->setAttributes(FuncAttrs);
3422 ReductionFunc->addParamAttr(0, Attribute::NoUndef);
3423 ReductionFunc->addParamAttr(1, Attribute::NoUndef);
3425 BasicBlock::Create(M.getContext(), "entry", ReductionFunc);
3432 Argument *Arg0 = ReductionFunc->getArg(0);
3433 Argument *Arg1 = ReductionFunc->getArg(1);
3483 return ReductionFunc;
3494 Builder.saveIP(), Index, &LHSFixupPtr, &RHSFixupPtr, ReductionFunc));
3499 LHSPtrs[Index], [ReductionFunc](const Use &U) {
3501 ReductionFunc;
3504 RHSPtrs[Index], [ReductionFunc](const Use &U) {
3506 ReductionFunc;
3511 return ReductionFunc;
3570 Function *ReductionFunc = *ReductionResult;
3577 Config.setGridValue(getGridValue(T, ReductionFunc));
3610 emitShuffleAndReduceFunction(ReductionInfos, ReductionFunc, FuncAttrs);
3649 ReductionInfos, ReductionFunc, ReductionsBufferTy, FuncAttrs);
3653 ReductionInfos, ReductionFunc, ReductionsBufferTy, FuncAttrs);
3702 LHSPtr->replaceUsesWithIf(LHS, [ReductionFunc](const Use &U) {
3704 ReductionFunc;
3706 RHSPtr->replaceUsesWithIf(RHS, [ReductionFunc](const Use &U) {
3708 ReductionFunc;
3791 Function *ReductionFunc = getFreshReductionFunc(*Module);
3799 ReductionFunc, Lock},
3873 BasicBlock::Create(Module->getContext(), "", ReductionFunc);
3875 Value *LHSArrayPtr = ReductionFunc->getArg(0);
3876 Value *RHSArrayPtr = ReductionFunc->getArg(1);