Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/AST/
H A DOpenMPClause.cpp755 void OMPReductionClause::setReductionOps(ArrayRef<Expr *> ReductionOps) { in setReductionOps() argument
756 assert(ReductionOps.size() == varlist_size() && "Number of reduction " in setReductionOps()
759 std::copy(ReductionOps.begin(), ReductionOps.end(), getRHSExprs().end()); in setReductionOps()
794 ArrayRef<Expr *> RHSExprs, ArrayRef<Expr *> ReductionOps, in Create() argument
806 Clause->setReductionOps(ReductionOps); in Create()
854 void OMPTaskReductionClause::setReductionOps(ArrayRef<Expr *> ReductionOps) { in setReductionOps() argument
855 assert(ReductionOps.size() == varlist_size() && "Number of task reduction " in setReductionOps()
858 std::copy(ReductionOps.begin(), ReductionOps.end(), getRHSExprs().end()); in setReductionOps()
866 ArrayRef<Expr *> RHSExprs, ArrayRef<Expr *> ReductionOps, Stmt *PreInit, in Create() argument
875 Clause->setReductionOps(ReductionOps); in Create()
[all …]
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGOpenMPRuntime.h104 SmallVector<const Expr *, 4> ReductionOps; member
173 ArrayRef<const Expr *> ReductionOps);
1199 ArrayRef<const Expr *> ReductionOps);
1259 ArrayRef<const Expr *> ReductionOps,
2050 ArrayRef<const Expr *> ReductionOps,
H A DCGOpenMPRuntimeGPU.h294 ArrayRef<const Expr *> ReductionOps,
H A DCGStmtOpenMP.cpp1203 SmallVector<const Expr *, 4> ReductionOps; in EmitOMPReductionClauseInit() local
1214 ReductionOps.append(C->reduction_ops().begin(), C->reduction_ops().end()); in EmitOMPReductionClauseInit()
1221 Data.ReductionOps.append(C->reduction_ops().begin(), in EmitOMPReductionClauseInit()
1227 ReductionCodeGen RedCG(Shareds, Shareds, Privates, ReductionOps); in EmitOMPReductionClauseInit()
1417 llvm::SmallVector<const Expr *, 8> ReductionOps; in EmitOMPReductionClauseFinal() local
1428 ReductionOps.append(C->reduction_ops().begin(), C->reduction_ops().end()); in EmitOMPReductionClauseFinal()
1445 *this, D.getEndLoc(), Privates, LHSExprs, RHSExprs, ReductionOps, in EmitOMPReductionClauseFinal()
3546 SmallVector<const Expr *, 4> ReductionOps; in emitScanBasedDirectiveDecls() local
3553 ReductionOps.append(C->reduction_ops().begin(), C->reduction_ops().end()); in emitScanBasedDirectiveDecls()
3561 ReductionCodeGen RedCG(Shareds, Shareds, Privates, ReductionOps); in emitScanBasedDirectiveDecls()
[all …]
H A DCGOpenMPRuntimeGPU.cpp2859 ArrayRef<const Expr *> ReductionOps, ReductionOptionsTy Options) { in emitReduction() argument
2872 ReductionOps, Options); in emitReduction()
2928 Privates, LHSExprs, RHSExprs, ReductionOps); in emitReduction()
3014 auto &&CodeGen = [Privates, LHSExprs, RHSExprs, ReductionOps, in emitReduction()
3019 for (const Expr *E : ReductionOps) { in emitReduction()
H A DCGOpenMPRuntime.cpp796 ArrayRef<const Expr *> ReductionOps) { in ReductionCodeGen() argument
803 const auto *IRed = ReductionOps.begin(); in ReductionCodeGen()
5010 ArrayRef<const Expr *> RHSExprs, ArrayRef<const Expr *> ReductionOps) { in emitReductionFunction() argument
5049 for (unsigned I = 0, E = ReductionOps.size(); I < E; ++I, ++IPriv, ++Idx) { in emitReductionFunction()
5074 for (const Expr *E : ReductionOps) { in emitReductionFunction()
5121 ArrayRef<const Expr *> ReductionOps, in emitReduction() argument
5171 for (const Expr *E : ReductionOps) { in emitReduction()
5220 Privates, LHSExprs, RHSExprs, ReductionOps); in emitReduction()
5269 auto &&CodeGen = [Privates, LHSExprs, RHSExprs, ReductionOps]( in emitReduction()
5275 for (const Expr *E : ReductionOps) { in emitReduction()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp11850 ReductionOpsListType ReductionOps; member in __anonc518864bbf11::HorizontalReduction
11965 const ReductionOpsListType &ReductionOps) { in createOp() argument
11966 bool UseSelect = ReductionOps.size() == 2 || in createOp()
11968 (ReductionOps.size() == 1 && in createOp()
11969 isa<SelectInst>(ReductionOps.front().front())); in createOp()
11970 assert((!UseSelect || ReductionOps.size() != 2 || in createOp()
11971 isa<SelectInst>(ReductionOps[1][0])) && in createOp()
11976 propagateIRFlags(Sel->getCondition(), ReductionOps[0], nullptr, in createOp()
11978 propagateIRFlags(Op, ReductionOps[1], nullptr, in createOp()
11983 propagateIRFlags(Op, ReductionOps[0], nullptr, /*IncludeWrapFlags=*/false); in createOp()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DOpenMPClause.h3195 void setReductionOps(ArrayRef<Expr *> ReductionOps);
3287 ArrayRef<Expr *> ReductionOps, ArrayRef<Expr *> CopyOps,
3513 void setReductionOps(ArrayRef<Expr *> ReductionOps);
3562 ArrayRef<Expr *> ReductionOps, Stmt *PreInit, Expr *PostUpdate);
3744 void setReductionOps(ArrayRef<Expr *> ReductionOps);
3755 void setTaskgroupDescriptors(ArrayRef<Expr *> ReductionOps);
3806 ArrayRef<Expr *> ReductionOps, ArrayRef<Expr *> TaskgroupDescriptors,
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaOpenMP.cpp18918 SmallVector<Expr *, 8> ReductionOps; member
18941 ReductionOps.reserve(Size); in ReductionData()
18958 ReductionOps.emplace_back(ReductionOp); in push()
18974 ReductionOps.emplace_back(ReductionOp); in push()
19820 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps, RD.InscanCopyOps, in ActOnOpenMPReductionClause()
19841 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps, in ActOnOpenMPTaskReductionClause()
19861 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps, RD.TaskgroupDescriptors, in ActOnOpenMPInReductionClause()