Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DOpenMPClause.cpp731 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()
830 void OMPTaskReductionClause::setReductionOps(ArrayRef<Expr *> ReductionOps) { in setReductionOps() argument
831 assert(ReductionOps.size() == varlist_size() && "Number of task reduction " in setReductionOps()
834 std::copy(ReductionOps.begin(), ReductionOps.end(), getRHSExprs().end()); in setReductionOps()
842 ArrayRef<Expr *> RHSExprs, ArrayRef<Expr *> ReductionOps, Stmt *PreInit, in Create() argument
851 Clause->setReductionOps(ReductionOps); in Create()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGOpenMPRuntime.h106 SmallVector<const Expr *, 4> ReductionOps; member
174 ArrayRef<const Expr *> ReductionOps);
1393 ArrayRef<const Expr *> ReductionOps);
1453 ArrayRef<const Expr *> ReductionOps,
2295 ArrayRef<const Expr *> ReductionOps,
H A DCGStmtOpenMP.cpp1202 SmallVector<const Expr *, 4> ReductionOps; in EmitOMPReductionClauseInit() local
1213 ReductionOps.append(C->reduction_ops().begin(), C->reduction_ops().end()); in EmitOMPReductionClauseInit()
1220 Data.ReductionOps.append(C->reduction_ops().begin(), in EmitOMPReductionClauseInit()
1226 ReductionCodeGen RedCG(Shareds, Shareds, Privates, ReductionOps); in EmitOMPReductionClauseInit()
1422 llvm::SmallVector<const Expr *, 8> ReductionOps; in EmitOMPReductionClauseFinal() local
1433 ReductionOps.append(C->reduction_ops().begin(), C->reduction_ops().end()); in EmitOMPReductionClauseFinal()
1450 *this, D.getEndLoc(), Privates, LHSExprs, RHSExprs, ReductionOps, in EmitOMPReductionClauseFinal()
3325 SmallVector<const Expr *, 4> ReductionOps; in emitScanBasedDirectiveDecls() local
3332 ReductionOps.append(C->reduction_ops().begin(), C->reduction_ops().end()); in emitScanBasedDirectiveDecls()
3340 ReductionCodeGen RedCG(Shareds, Shareds, Privates, ReductionOps); in emitScanBasedDirectiveDecls()
[all …]
H A DCGOpenMPRuntimeGPU.h331 ArrayRef<const Expr *> ReductionOps,
H A DCGOpenMPRuntime.cpp794 ArrayRef<const Expr *> ReductionOps) { in ReductionCodeGen() argument
801 const auto *IRed = ReductionOps.begin(); in ReductionCodeGen()
5416 ArrayRef<const Expr *> ReductionOps) { in emitReductionFunction() argument
5453 for (unsigned I = 0, E = ReductionOps.size(); I < E; ++I, ++IPriv, ++Idx) { in emitReductionFunction()
5482 for (const Expr *E : ReductionOps) { in emitReductionFunction()
5529 ArrayRef<const Expr *> ReductionOps, in emitReduction() argument
5579 for (const Expr *E : ReductionOps) { in emitReduction()
5628 LHSExprs, RHSExprs, ReductionOps); in emitReduction()
5677 auto &&CodeGen = [Privates, LHSExprs, RHSExprs, ReductionOps]( in emitReduction()
5683 for (const Expr *E : ReductionOps) { in emitReduction()
[all …]
H A DCGOpenMPRuntimeGPU.cpp3742 ArrayRef<const Expr *> ReductionOps, ReductionOptionsTy Options) { in emitReduction() argument
3755 ReductionOps, Options); in emitReduction()
3811 LHSExprs, RHSExprs, ReductionOps); in emitReduction()
3897 auto &&CodeGen = [Privates, LHSExprs, RHSExprs, ReductionOps, in emitReduction()
3902 for (const Expr *E : ReductionOps) { in emitReduction()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp6994 ReductionOpsListType ReductionOps; member in __anon7a00047f2a11::HorizontalReduction
7090 const ReductionOpsListType &ReductionOps) { in createOp() argument
7091 bool UseSelect = ReductionOps.size() == 2; in createOp()
7092 assert((!UseSelect || isa<SelectInst>(ReductionOps[1][0])) && in createOp()
7097 propagateIRFlags(Sel->getCondition(), ReductionOps[0]); in createOp()
7098 propagateIRFlags(Op, ReductionOps[1]); in createOp()
7102 propagateIRFlags(Op, ReductionOps[0]); in createOp()
7253 ReductionOps.assign(2, ReductionOpsType()); in initReductionOps()
7255 ReductionOps.assign(1, ReductionOpsType()); in initReductionOps()
7261 ReductionOps[0].emplace_back(Sel->getCondition()); in addReductionOps()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DOpenMPClause.h2928 void setReductionOps(ArrayRef<Expr *> ReductionOps);
3020 ArrayRef<Expr *> ReductionOps, ArrayRef<Expr *> CopyOps,
3246 void setReductionOps(ArrayRef<Expr *> ReductionOps);
3295 ArrayRef<Expr *> ReductionOps, Stmt *PreInit, Expr *PostUpdate);
3477 void setReductionOps(ArrayRef<Expr *> ReductionOps);
3488 void setTaskgroupDescriptors(ArrayRef<Expr *> ReductionOps);
3539 ArrayRef<Expr *> ReductionOps, ArrayRef<Expr *> TaskgroupDescriptors,
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaOpenMP.cpp16181 SmallVector<Expr *, 8> ReductionOps; member
16204 ReductionOps.reserve(Size); in ReductionData()
16221 ReductionOps.emplace_back(ReductionOp); in push()
16237 ReductionOps.emplace_back(ReductionOp); in push()
17084 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps, RD.InscanCopyOps, in ActOnOpenMPReductionClause()
17105 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps, in ActOnOpenMPTaskReductionClause()
17125 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps, RD.TaskgroupDescriptors, in ActOnOpenMPInReductionClause()