| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | OpenMPClause.cpp | 746 void OMPReductionClause::setReductionOps(ArrayRef<Expr *> ReductionOps) { in setReductionOps() argument 747 assert(ReductionOps.size() == varlist_size() && "Number of reduction " in setReductionOps() 750 std::copy(ReductionOps.begin(), ReductionOps.end(), getRHSExprs().end()); in setReductionOps() 785 ArrayRef<Expr *> RHSExprs, ArrayRef<Expr *> ReductionOps, in Create() argument 797 Clause->setReductionOps(ReductionOps); in Create() 849 std::copy(ReductionOps.begin(), ReductionOps.end(), getRHSExprs().end()); in setReductionOps() 866 Clause->setReductionOps(ReductionOps); in Create() 898 void OMPInReductionClause::setReductionOps(ArrayRef<Expr *> ReductionOps) { in setReductionOps() argument 902 std::copy(ReductionOps.begin(), ReductionOps.end(), getRHSExprs().end()); in setReductionOps() 919 ArrayRef<Expr *> RHSExprs, ArrayRef<Expr *> ReductionOps, in Create() argument [all …]
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntime.h | 104 SmallVector<const Expr *, 4> ReductionOps; member 172 ArrayRef<const Expr *> ReductionOps); 1419 ArrayRef<const Expr *> ReductionOps); 1479 ArrayRef<const Expr *> ReductionOps, 2319 ArrayRef<const Expr *> ReductionOps,
|
| H A D | CGOpenMPRuntimeGPU.h | 306 ArrayRef<const Expr *> ReductionOps,
|
| H A D | CGStmtOpenMP.cpp | 1201 SmallVector<const Expr *, 4> ReductionOps; in EmitOMPReductionClauseInit() local 1219 Data.ReductionOps.append(C->reduction_ops().begin(), in EmitOMPReductionClauseInit() 1414 llvm::SmallVector<const Expr *, 8> ReductionOps; in EmitOMPReductionClauseFinal() local 3488 SmallVector<const Expr *, 4> ReductionOps; in emitScanBasedDirectiveDecls() local 3606 SmallVector<const Expr *, 4> ReductionOps; in emitScanBasedDirective() local 3634 &ReductionOps, in emitScanBasedDirective() 3704 CGF, S.getEndLoc(), Privates, LHSs, RHSs, ReductionOps, in emitScanBasedDirective() 4615 Data.ReductionOps.append(C->reduction_ops().begin(), in EmitOMPTaskBasedDirective() 4964 Data.ReductionOps.append(C->reduction_ops().begin(), in EmitOMPTargetTaskBasedDirective() 5242 Data.ReductionOps.append(C->reduction_ops().begin(), in EmitOMPTaskgroupDirective() [all …]
|
| H A D | CGOpenMPRuntimeGPU.cpp | 3211 ArrayRef<const Expr *> ReductionOps, ReductionOptionsTy Options) { in emitReduction() argument 3224 ReductionOps, Options); in emitReduction() 3280 Privates, LHSExprs, RHSExprs, ReductionOps); in emitReduction() 3366 auto &&CodeGen = [Privates, LHSExprs, RHSExprs, ReductionOps, in emitReduction() 3371 for (const Expr *E : ReductionOps) { in emitReduction()
|
| H A D | CGOpenMPRuntime.cpp | 795 ArrayRef<const Expr *> ReductionOps) { in ReductionCodeGen() argument 802 const auto *IRed = ReductionOps.begin(); in ReductionCodeGen() 5387 for (const Expr *E : ReductionOps) { in emitReductionFunction() 5484 for (const Expr *E : ReductionOps) { in emitReduction() 5582 auto &&CodeGen = [Privates, LHSExprs, RHSExprs, ReductionOps]( in emitReduction() 5588 for (const Expr *E : ReductionOps) { in emitReduction() 5622 for (const Expr *E : ReductionOps) { in emitReduction() 5981 Data.ReductionCopies, Data.ReductionOps); in emitTaskReductionInit() 6031 CGM, Loc, RCG, Cnt, Data.ReductionOps[Cnt], LHSExprs[Cnt], in emitTaskReductionInit() 12944 ArrayRef<const Expr *> ReductionOps, ReductionOptionsTy Options) { in emitReduction() argument [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 10505 ReductionOpsListType ReductionOps; member in __anon9e073aa49111::HorizontalReduction 10621 bool UseSelect = ReductionOps.size() == 2 || in createOp() 10623 (ReductionOps.size() == 1 && in createOp() 10626 isa<SelectInst>(ReductionOps[1][0])) && in createOp() 10777 ReductionOps.assign(2, ReductionOpsType()); in initReductionOps() 10779 ReductionOps.assign(1, ReductionOpsType()); in initReductionOps() 10786 ReductionOps[1].emplace_back(I); in addReductionOps() 10788 ReductionOps[0].emplace_back(I); in addReductionOps() 10887 ReductionOps.push_back(EdgeInst); in matchAssociativeReduction() 11035 for (ReductionOpsType &RdxOps : ReductionOps) in tryToReduce() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | OpenMPClause.h | 3153 void setReductionOps(ArrayRef<Expr *> ReductionOps); 3245 ArrayRef<Expr *> ReductionOps, ArrayRef<Expr *> CopyOps, 3471 void setReductionOps(ArrayRef<Expr *> ReductionOps); 3520 ArrayRef<Expr *> ReductionOps, Stmt *PreInit, Expr *PostUpdate); 3702 void setReductionOps(ArrayRef<Expr *> ReductionOps); 3713 void setTaskgroupDescriptors(ArrayRef<Expr *> ReductionOps); 3764 ArrayRef<Expr *> ReductionOps, ArrayRef<Expr *> TaskgroupDescriptors,
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaOpenMP.cpp | 18635 SmallVector<Expr *, 8> ReductionOps; member 18658 ReductionOps.reserve(Size); in ReductionData() 18675 ReductionOps.emplace_back(ReductionOp); in push() 18691 ReductionOps.emplace_back(ReductionOp); in push() 19537 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps, RD.InscanCopyOps, in ActOnOpenMPReductionClause() 19558 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps, in ActOnOpenMPTaskReductionClause() 19578 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps, RD.TaskgroupDescriptors, in ActOnOpenMPInReductionClause()
|