Searched refs:ReductionOps (Results 1 - 9 of 9) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DOpenMPClause.cpp711 void OMPReductionClause::setReductionOps(ArrayRef<Expr *> ReductionOps) {
712 assert(ReductionOps.size() == varlist_size() && "Number of reduction "
715 std::copy(ReductionOps.begin(), ReductionOps.end(), getRHSExprs().end());
750 ArrayRef<Expr *> RHSExprs, ArrayRef<Expr *> ReductionOps,
762 Clause->setReductionOps(ReductionOps);
810 void OMPTaskReductionClause::setReductionOps(ArrayRef<Expr *> ReductionOps) {
811 assert(ReductionOps.size() == varlist_size() && "Number of task reduction "
814 std::copy(ReductionOps.begin(), ReductionOps
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeNVPTX.h303 /// \param LHSExprs List of LHS in \a ReductionOps reduction operations.
304 /// \param RHSExprs List of RHS in \a ReductionOps reduction operations.
305 /// \param ReductionOps List of reduction operations in form 'LHS binop RHS'
317 ArrayRef<const Expr *> ReductionOps,
H A DCGOpenMPRuntime.h107 SmallVector<const Expr *, 4> ReductionOps; member in struct:clang::CodeGen::final
174 ArrayRef<const Expr *> ReductionOps);
1349 /// \param LHSExprs List of LHS in \a ReductionOps reduction operations.
1350 /// \param RHSExprs List of RHS in \a ReductionOps reduction operations.
1351 /// \param ReductionOps List of reduction operations in form 'LHS binop RHS'
1358 ArrayRef<const Expr *> ReductionOps);
1404 /// \param LHSExprs List of LHS in \a ReductionOps reduction operations.
1405 /// \param RHSExprs List of RHS in \a ReductionOps reduction operations.
1406 /// \param ReductionOps List of reduction operations in form 'LHS binop RHS'
1418 ArrayRef<const Expr *> ReductionOps,
[all...]
H A DCGStmtOpenMP.cpp1178 SmallVector<const Expr *, 4> ReductionOps; local
1189 ReductionOps.append(C->reduction_ops().begin(), C->reduction_ops().end());
1196 Data.ReductionOps.append(C->reduction_ops().begin(),
1202 ReductionCodeGen RedCG(Shareds, Shareds, Privates, ReductionOps);
1398 llvm::SmallVector<const Expr *, 8> ReductionOps; local
1409 ReductionOps.append(C->reduction_ops().begin(), C->reduction_ops().end());
1426 *this, D.getEndLoc(), Privates, LHSExprs, RHSExprs, ReductionOps,
3152 SmallVector<const Expr *, 4> ReductionOps; local
3163 ReductionOps.append(C->reduction_ops().begin(), C->reduction_ops().end());
3176 ReductionCodeGen RedCG(Shareds, Shareds, Privates, ReductionOps);
4327 SmallVector<const Expr *, 4> ReductionOps; local
[all...]
H A DCGOpenMPRuntime.cpp783 ArrayRef<const Expr *> ReductionOps) {
790 const auto *IRed = ReductionOps.begin();
5291 ArrayRef<const Expr *> ReductionOps) {
5328 for (unsigned I = 0, E = ReductionOps.size(); I < E; ++I, ++IPriv, ++Idx) {
5357 for (const Expr *E : ReductionOps) {
5404 ArrayRef<const Expr *> ReductionOps,
5454 for (const Expr *E : ReductionOps) {
5503 LHSExprs, RHSExprs, ReductionOps);
5552 auto &&CodeGen = [Privates, LHSExprs, RHSExprs, ReductionOps](
5558 for (const Expr *E : ReductionOps) {
780 ReductionCodeGen(ArrayRef<const Expr *> Shareds, ArrayRef<const Expr *> Origs, ArrayRef<const Expr *> Privates, ArrayRef<const Expr *> ReductionOps) argument
5288 emitReductionFunction( SourceLocation Loc, llvm::Type *ArgsType, ArrayRef<const Expr *> Privates, ArrayRef<const Expr *> LHSExprs, ArrayRef<const Expr *> RHSExprs, ArrayRef<const Expr *> ReductionOps) argument
5400 emitReduction(CodeGenFunction &CGF, SourceLocation Loc, ArrayRef<const Expr *> Privates, ArrayRef<const Expr *> LHSExprs, ArrayRef<const Expr *> RHSExprs, ArrayRef<const Expr *> ReductionOps, ReductionOptionsTy Options) argument
[all...]
H A DCGOpenMPRuntimeNVPTX.cpp4318 ArrayRef<const Expr *> ReductionOps, ReductionOptionsTy Options) {
4331 ReductionOps, Options);
4387 LHSExprs, RHSExprs, ReductionOps);
4473 auto &&CodeGen = [Privates, LHSExprs, RHSExprs, ReductionOps,
4478 for (const Expr *E : ReductionOps) {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp6227 ReductionOpsListType ReductionOps;
6385 void initReductionOps(ReductionOpsListType &ReductionOps) {
6389 ReductionOps.assign(2, ReductionOpsType());
6391 ReductionOps.assign(1, ReductionOpsType());
6395 void addReductionOps(Instruction *I, ReductionOpsListType &ReductionOps) {
6399 ReductionOps[0].emplace_back(cast<SelectInst>(I)->getCondition());
6400 ReductionOps[1].emplace_back(I);
6402 ReductionOps[0].emplace_back(I);
6464 /// from \p ReductionOps.
6466 const ReductionOpsListType &ReductionOps) cons
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DOpenMPClause.h2832 void setReductionOps(ArrayRef<Expr *> ReductionOps);
2898 /// \param ReductionOps List of helper expressions that represents reduction
2924 ArrayRef<Expr *> ReductionOps, ArrayRef<Expr *> CopyOps,
3150 void setReductionOps(ArrayRef<Expr *> ReductionOps);
3180 /// \param ReductionOps List of helper expressions that represents reduction
3199 ArrayRef<Expr *> ReductionOps, Stmt *PreInit, Expr *PostUpdate);
3381 void setReductionOps(ArrayRef<Expr *> ReductionOps);
3392 void setTaskgroupDescriptors(ArrayRef<Expr *> ReductionOps);
3422 /// \param ReductionOps List of helper expressions that represents reduction
3443 ArrayRef<Expr *> ReductionOps, ArrayRe
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp14669 SmallVector<Expr *, 8> ReductionOps;
14692 ReductionOps.reserve(Size);
14709 ReductionOps.emplace_back(ReductionOp);
14725 ReductionOps.emplace_back(ReductionOp);
15535 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps, RD.InscanCopyOps,
15556 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps,
15576 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps, RD.TaskgroupDescriptors,

Completed in 196 milliseconds