| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | OpenMPClause.cpp | 760 void OMPReductionClause::setReductionOps(ArrayRef<Expr *> ReductionOps) { in setReductionOps() argument 761 assert(ReductionOps.size() == varlist_size() && "Number of reduction " in setReductionOps() 764 std::copy(ReductionOps.begin(), ReductionOps.end(), getRHSExprs().end()); in setReductionOps() 799 ArrayRef<Expr *> RHSExprs, ArrayRef<Expr *> ReductionOps, in Create() argument 811 Clause->setReductionOps(ReductionOps); in Create() 863 std::copy(ReductionOps.begin(), ReductionOps.end(), getRHSExprs().end()); in setReductionOps() 880 Clause->setReductionOps(ReductionOps); in Create() 912 void OMPInReductionClause::setReductionOps(ArrayRef<Expr *> ReductionOps) { in setReductionOps() argument 916 std::copy(ReductionOps.begin(), ReductionOps.end(), getRHSExprs().end()); in setReductionOps() 933 ArrayRef<Expr *> RHSExprs, ArrayRef<Expr *> ReductionOps, in Create() argument [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntime.h | 104 SmallVector<const Expr *, 4> ReductionOps; member 173 ArrayRef<const Expr *> ReductionOps); 1203 ArrayRef<const Expr *> RHSExprs, ArrayRef<const Expr *> ReductionOps); 1263 ArrayRef<const Expr *> ReductionOps, 2067 ArrayRef<const Expr *> ReductionOps,
|
| H A D | CGOpenMPRuntimeGPU.h | 281 ArrayRef<const Expr *> ReductionOps,
|
| H A D | CGStmtOpenMP.cpp | 1199 SmallVector<const Expr *, 4> ReductionOps; in EmitOMPReductionClauseInit() local 1217 Data.ReductionOps.append(C->reduction_ops().begin(), in EmitOMPReductionClauseInit() 1411 llvm::SmallVector<const Expr *, 8> ReductionOps; in EmitOMPReductionClauseFinal() local 3546 SmallVector<const Expr *, 4> ReductionOps; in emitScanBasedDirectiveDecls() local 3664 SmallVector<const Expr *, 4> ReductionOps; in emitScanBasedDirective() local 3692 &ReductionOps, in emitScanBasedDirective() 3762 CGF, S.getEndLoc(), Privates, LHSs, RHSs, ReductionOps, in emitScanBasedDirective() 4695 Data.ReductionOps.append(C->reduction_ops().begin(), in EmitOMPTaskBasedDirective() 5044 Data.ReductionOps.append(C->reduction_ops().begin(), in EmitOMPTargetTaskBasedDirective() 5340 Data.ReductionOps.append(C->reduction_ops().begin(), in EmitOMPTaskgroupDirective() [all …]
|
| H A D | CGOpenMPRuntimeGPU.cpp | 2803 ArrayRef<const Expr *> ReductionOps, ReductionOptionsTy Options) { in emitReduction() argument 2816 ReductionOps, Options); in emitReduction() 2882 Privates, LHSExprs, RHSExprs, ReductionOps); in emitReduction() 2951 auto &&CodeGen = [Privates, LHSExprs, RHSExprs, ReductionOps, in emitReduction() 2956 for (const Expr *E : ReductionOps) { in emitReduction()
|
| H A D | CGOpenMPRuntime.cpp | 770 ArrayRef<const Expr *> ReductionOps) { in ReductionCodeGen() argument 777 const auto *IRed = ReductionOps.begin(); in ReductionCodeGen() 4871 for (const Expr *E : ReductionOps) { in emitReductionFunction() 4968 for (const Expr *E : ReductionOps) { in emitReduction() 5017 Privates, LHSExprs, RHSExprs, ReductionOps); in emitReduction() 5066 auto &&CodeGen = [Privates, LHSExprs, RHSExprs, ReductionOps]( in emitReduction() 5072 for (const Expr *E : ReductionOps) { in emitReduction() 5106 for (const Expr *E : ReductionOps) { in emitReduction() 5464 Data.ReductionCopies, Data.ReductionOps); in emitTaskReductionInit() 5510 CGM, Loc, RCG, Cnt, Data.ReductionOps[Cnt], LHSExprs[Cnt], in emitTaskReductionInit() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 13936 ReductionOpsListType ReductionOps; member in __anon3e6d93aa10011::HorizontalReduction 14080 ReductionOps.size() == 2 || in createOp() 14082 (ReductionOps.size() == 1 && any_of(ReductionOps.front(), [](Value *V) { in createOp() 14243 ReductionOps.assign(2, ReductionOpsType()); in initReductionOps() 14245 ReductionOps.assign(1, ReductionOpsType()); in initReductionOps() 14252 ReductionOps[1].emplace_back(I); in addReductionOps() 14254 ReductionOps[0].emplace_back(I); in addReductionOps() 14327 ReductionOps.push_back(EdgeInst); in matchAssociativeReduction() 14529 ReductionOps); in tryToReduce() 14535 any_of(ReductionOps.back(), [](Value *V) { in tryToReduce() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | OpenMPClause.h | 3278 void setReductionOps(ArrayRef<Expr *> ReductionOps); 3370 ArrayRef<Expr *> ReductionOps, ArrayRef<Expr *> CopyOps, 3596 void setReductionOps(ArrayRef<Expr *> ReductionOps); 3645 ArrayRef<Expr *> ReductionOps, Stmt *PreInit, Expr *PostUpdate); 3827 void setReductionOps(ArrayRef<Expr *> ReductionOps); 3838 void setTaskgroupDescriptors(ArrayRef<Expr *> ReductionOps); 3889 ArrayRef<Expr *> ReductionOps, ArrayRef<Expr *> TaskgroupDescriptors,
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOpenMP.cpp | 19257 SmallVector<Expr *, 8> ReductionOps; member 19280 ReductionOps.reserve(Size); in ReductionData() 19297 ReductionOps.emplace_back(ReductionOp); in push() 19313 ReductionOps.emplace_back(ReductionOp); in push() 20178 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps, RD.InscanCopyOps, in ActOnOpenMPReductionClause() 20199 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps, in ActOnOpenMPTaskReductionClause() 20219 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps, RD.TaskgroupDescriptors, in ActOnOpenMPInReductionClause()
|