| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | OpenMPClause.cpp | 731 void OMPReductionClause::setReductionOps(ArrayRef<Expr *> ReductionOps) { in setReductionOps() argument 732 assert(ReductionOps.size() == varlist_size() && "Number of reduction " in setReductionOps() 735 std::copy(ReductionOps.begin(), ReductionOps.end(), getRHSExprs().end()); in setReductionOps() 770 ArrayRef<Expr *> RHSExprs, ArrayRef<Expr *> ReductionOps, in Create() argument 782 Clause->setReductionOps(ReductionOps); in Create() 834 std::copy(ReductionOps.begin(), ReductionOps.end(), getRHSExprs().end()); in setReductionOps() 851 Clause->setReductionOps(ReductionOps); in Create() 883 void OMPInReductionClause::setReductionOps(ArrayRef<Expr *> ReductionOps) { in setReductionOps() argument 887 std::copy(ReductionOps.begin(), ReductionOps.end(), getRHSExprs().end()); in setReductionOps() 904 ArrayRef<Expr *> RHSExprs, ArrayRef<Expr *> ReductionOps, in Create() argument [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntime.h | 106 SmallVector<const Expr *, 4> ReductionOps; member 174 ArrayRef<const Expr *> ReductionOps); 1418 ArrayRef<const Expr *> ReductionOps); 1478 ArrayRef<const Expr *> ReductionOps, 2315 ArrayRef<const Expr *> ReductionOps,
|
| H A D | CGOpenMPRuntimeGPU.h | 305 ArrayRef<const Expr *> ReductionOps,
|
| H A D | CGStmtOpenMP.cpp | 1210 SmallVector<const Expr *, 4> ReductionOps; in EmitOMPReductionClauseInit() local 1228 Data.ReductionOps.append(C->reduction_ops().begin(), in EmitOMPReductionClauseInit() 1234 ReductionCodeGen RedCG(Shareds, Shareds, Privates, ReductionOps); in EmitOMPReductionClauseInit() 1430 llvm::SmallVector<const Expr *, 8> ReductionOps; in EmitOMPReductionClauseFinal() local 3351 SmallVector<const Expr *, 4> ReductionOps; in emitScanBasedDirectiveDecls() local 3418 SmallVector<const Expr *, 4> ReductionOps; in emitScanBasedDirective() local 3446 &ReductionOps, in emitScanBasedDirective() 3516 CGF, S.getEndLoc(), Privates, LHSs, RHSs, ReductionOps, in emitScanBasedDirective() 4347 Data.ReductionOps.append(C->reduction_ops().begin(), in EmitOMPTaskBasedDirective() 4804 Data.ReductionOps.append(C->reduction_ops().begin(), in EmitOMPTaskgroupDirective() [all …]
|
| H A D | CGOpenMPRuntimeGPU.cpp | 3156 ArrayRef<const Expr *> ReductionOps, ReductionOptionsTy Options) { in emitReduction() argument 3169 ReductionOps, Options); in emitReduction() 3225 LHSExprs, RHSExprs, ReductionOps); in emitReduction() 3311 auto &&CodeGen = [Privates, LHSExprs, RHSExprs, ReductionOps, in emitReduction() 3316 for (const Expr *E : ReductionOps) { in emitReduction()
|
| H A D | CGOpenMPRuntime.cpp | 804 const auto *IRed = ReductionOps.begin(); in ReductionCodeGen() 5429 ArrayRef<const Expr *> ReductionOps) { in emitReductionFunction() argument 5495 for (const Expr *E : ReductionOps) { in emitReductionFunction() 5592 for (const Expr *E : ReductionOps) { in emitReduction() 5641 LHSExprs, RHSExprs, ReductionOps); in emitReduction() 5690 auto &&CodeGen = [Privates, LHSExprs, RHSExprs, ReductionOps]( in emitReduction() 5696 for (const Expr *E : ReductionOps) { in emitReduction() 5730 for (const Expr *E : ReductionOps) { in emitReduction() 6095 Data.ReductionCopies, Data.ReductionOps); in emitTaskReductionInit() 6145 CGM, Loc, RCG, Cnt, Data.ReductionOps[Cnt], LHSExprs[Cnt], in emitTaskReductionInit() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 7312 ReductionOpsListType ReductionOps; member in __anon75ab86282e11::HorizontalReduction 7437 bool UseSelect = ReductionOps.size() == 2; in createOp() 7444 propagateIRFlags(Op, ReductionOps[1]); in createOp() 7448 propagateIRFlags(Op, ReductionOps[0]); in createOp() 7601 ReductionOps.assign(2, ReductionOpsType()); in initReductionOps() 7603 ReductionOps.assign(1, ReductionOpsType()); in initReductionOps() 7610 ReductionOps[1].emplace_back(I); in addReductionOps() 7612 ReductionOps[0].emplace_back(I); in addReductionOps() 7772 for (ReductionOpsType &RdxOp : ReductionOps) { in tryToReduce() 7805 for (ReductionOpsType &RdxOp : ReductionOps) in tryToReduce() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | OpenMPClause.h | 3036 void setReductionOps(ArrayRef<Expr *> ReductionOps); 3128 ArrayRef<Expr *> ReductionOps, ArrayRef<Expr *> CopyOps, 3354 void setReductionOps(ArrayRef<Expr *> ReductionOps); 3403 ArrayRef<Expr *> ReductionOps, Stmt *PreInit, Expr *PostUpdate); 3585 void setReductionOps(ArrayRef<Expr *> ReductionOps); 3596 void setTaskgroupDescriptors(ArrayRef<Expr *> ReductionOps); 3647 ArrayRef<Expr *> ReductionOps, ArrayRef<Expr *> TaskgroupDescriptors,
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaOpenMP.cpp | 16564 SmallVector<Expr *, 8> ReductionOps; member 16587 ReductionOps.reserve(Size); in ReductionData() 16604 ReductionOps.emplace_back(ReductionOp); in push() 16620 ReductionOps.emplace_back(ReductionOp); in push() 17467 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps, RD.InscanCopyOps, in ActOnOpenMPReductionClause() 17488 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps, in ActOnOpenMPTaskReductionClause() 17508 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps, RD.TaskgroupDescriptors, in ActOnOpenMPInReductionClause()
|