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

/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DOpenMPClause.cpp643 void OMPReductionClause::setReductionOps(ArrayRef<Expr *> ReductionOps) { argument
644 assert(ReductionOps.size() == varlist_size() && "Number of reduction "
647 std::copy(ReductionOps.begin(), ReductionOps.end(), getRHSExprs().end());
655 ArrayRef<Expr *> RHSExprs, ArrayRef<Expr *> ReductionOps, Stmt *PreInit,
664 Clause->setReductionOps(ReductionOps);
696 void OMPTaskReductionClause::setReductionOps(ArrayRef<Expr *> ReductionOps) { argument
697 assert(ReductionOps.size() == varlist_size() && "Number of task reduction "
700 std::copy(ReductionOps.begin(), ReductionOps
650 Create( const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VL, NestedNameSpecifierLoc QualifierLoc, const DeclarationNameInfo &NameInfo, ArrayRef<Expr *> Privates, ArrayRef<Expr *> LHSExprs, ArrayRef<Expr *> RHSExprs, ArrayRef<Expr *> ReductionOps, Stmt *PreInit, Expr *PostUpdate) argument
703 Create( const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VL, NestedNameSpecifierLoc QualifierLoc, const DeclarationNameInfo &NameInfo, ArrayRef<Expr *> Privates, ArrayRef<Expr *> LHSExprs, ArrayRef<Expr *> RHSExprs, ArrayRef<Expr *> ReductionOps, Stmt *PreInit, Expr *PostUpdate) argument
749 setReductionOps(ArrayRef<Expr *> ReductionOps) argument
765 Create( const ASTContext &C, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc, SourceLocation ColonLoc, ArrayRef<Expr *> VL, NestedNameSpecifierLoc QualifierLoc, const DeclarationNameInfo &NameInfo, ArrayRef<Expr *> Privates, ArrayRef<Expr *> LHSExprs, ArrayRef<Expr *> RHSExprs, ArrayRef<Expr *> ReductionOps, ArrayRef<Expr *> TaskgroupDescriptors, Stmt *PreInit, Expr *PostUpdate) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.h103 SmallVector<const Expr *, 4> ReductionOps; member in struct:clang::CodeGen::final
154 ArrayRef<const Expr *> ReductionOps);
1308 /// \param LHSExprs List of LHS in \a ReductionOps reduction operations.
1309 /// \param RHSExprs List of RHS in \a ReductionOps reduction operations.
1310 /// \param ReductionOps List of reduction operations in form 'LHS binop RHS'
1317 ArrayRef<const Expr *> ReductionOps);
1363 /// \param LHSExprs List of LHS in \a ReductionOps reduction operations.
1364 /// \param RHSExprs List of RHS in \a ReductionOps reduction operations.
1365 /// \param ReductionOps List of reduction operations in form 'LHS binop RHS'
1377 ArrayRef<const Expr *> ReductionOps,
[all...]
H A DCGOpenMPRuntimeNVPTX.h315 /// \param LHSExprs List of LHS in \a ReductionOps reduction operations.
316 /// \param RHSExprs List of RHS in \a ReductionOps reduction operations.
317 /// \param ReductionOps List of reduction operations in form 'LHS binop RHS'
329 ArrayRef<const Expr *> ReductionOps,
H A DCGStmtOpenMP.cpp1130 SmallVector<const Expr *, 4> ReductionOps; local
1141 ReductionOps.emplace_back(*IRed);
1150 ReductionCodeGen RedCG(Shareds, Privates, ReductionOps);
1234 llvm::SmallVector<const Expr *, 8> ReductionOps; local
1241 ReductionOps.append(C->reduction_ops().begin(), C->reduction_ops().end());
1251 *this, D.getEndLoc(), Privates, LHSExprs, RHSExprs, ReductionOps,
3198 Data.ReductionOps.emplace_back(*IRed);
3276 Data.ReductionOps);
3572 Data.ReductionOps.emplace_back(*IRed);
H A DCGOpenMPRuntime.cpp975 ArrayRef<const Expr *> ReductionOps) {
981 auto IRed = ReductionOps.begin();
5544 ArrayRef<const Expr *> ReductionOps) {
5581 for (unsigned I = 0, E = ReductionOps.size(); I < E; ++I, ++IPriv, ++Idx) {
5610 for (const Expr *E : ReductionOps) {
5657 ArrayRef<const Expr *> ReductionOps,
5707 for (const Expr *E : ReductionOps) {
5756 LHSExprs, RHSExprs, ReductionOps);
5804 auto &&CodeGen = [Privates, LHSExprs, RHSExprs, ReductionOps](
5810 for (const Expr *E : ReductionOps) {
973 ReductionCodeGen(ArrayRef<const Expr *> Shareds, ArrayRef<const Expr *> Privates, ArrayRef<const Expr *> ReductionOps) argument
5541 emitReductionFunction( SourceLocation Loc, llvm::Type *ArgsType, ArrayRef<const Expr *> Privates, ArrayRef<const Expr *> LHSExprs, ArrayRef<const Expr *> RHSExprs, ArrayRef<const Expr *> ReductionOps) argument
5653 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.cpp4276 ArrayRef<const Expr *> ReductionOps, ReductionOptionsTy Options) {
4289 ReductionOps, Options);
4345 LHSExprs, RHSExprs, ReductionOps);
4431 auto &&CodeGen = [Privates, LHSExprs, RHSExprs, ReductionOps,
4436 for (const Expr *E : ReductionOps) {
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp6101 ReductionOpsListType ReductionOps;
6259 void initReductionOps(ReductionOpsListType &ReductionOps) {
6263 ReductionOps.assign(2, ReductionOpsType());
6265 ReductionOps.assign(1, ReductionOpsType());
6269 void addReductionOps(Instruction *I, ReductionOpsListType &ReductionOps) {
6273 ReductionOps[0].emplace_back(cast<SelectInst>(I)->getCondition());
6274 ReductionOps[1].emplace_back(I);
6276 ReductionOps[0].emplace_back(I);
6338 /// from \p ReductionOps.
6340 const ReductionOpsListType &ReductionOps) cons
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DOpenMPClause.h2541 void setReductionOps(ArrayRef<Expr *> ReductionOps);
2571 /// \param ReductionOps List of helper expressions that represents reduction
2590 ArrayRef<Expr *> ReductionOps, Stmt *PreInit, Expr *PostUpdate);
2775 void setReductionOps(ArrayRef<Expr *> ReductionOps);
2805 /// \param ReductionOps List of helper expressions that represents reduction
2824 ArrayRef<Expr *> ReductionOps, Stmt *PreInit, Expr *PostUpdate);
3006 void setReductionOps(ArrayRef<Expr *> ReductionOps);
3017 void setTaskgroupDescriptors(ArrayRef<Expr *> ReductionOps);
3047 /// \param ReductionOps List of helper expressions that represents reduction
3068 ArrayRef<Expr *> ReductionOps, ArrayRe
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp13520 SmallVector<Expr *, 8> ReductionOps;
13535 ReductionOps.reserve(Size);
13547 ReductionOps.emplace_back(ReductionOp);
13557 ReductionOps.emplace_back(ReductionOp);
14277 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps,
14297 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps,
14317 RD.Privates, RD.LHSs, RD.RHSs, RD.ReductionOps, RD.TaskgroupDescriptors,

Completed in 384 milliseconds