/llvm-project/flang/lib/Lower/OpenMP/ |
H A D | ClauseProcessor.cpp | 46 getScheduleModifier(const omp::clause::Schedule &clause) { in getScheduleModifier() argument 56 getSimdModifier(const omp::clause::Schedule &clause) { in getSimdModifier() argument 67 genAllocateClause(lower::AbstractConverter & converter,const omp::clause::Allocate & clause,llvm::SmallVectorImpl<mlir::Value> & allocatorOperands,llvm::SmallVectorImpl<mlir::Value> & allocateOperands) genAllocateClause() argument 103 genProcBindKindAttr(fir::FirOpBuilder & firOpBuilder,const omp::clause::ProcBind & clause) genProcBindKindAttr() argument 149 getIfClauseOperand(lower::AbstractConverter & converter,const omp::clause::If & clause,omp::clause::If::DirectiveNameModifier directiveName,mlir::Location clauseLocation) getIfClauseOperand() argument 218 if (auto *clause = findUniqueClause<omp::clause::Collapse>()) { processCollapse() local 260 if (auto *clause = findUniqueClause<omp::clause::Default>()) { processDefault() local 284 if (auto *clause = findUniqueClause<omp::clause::Device>(&source)) { processDevice() local 303 if (auto *clause = findUniqueClause<omp::clause::DeviceType>()) { processDeviceType() local 324 if (auto *clause = findUniqueClause<omp::clause::DistSchedule>()) { processDistSchedule() local 338 if (auto *clause = findUniqueClause<omp::clause::Final>(&source)) { processFinal() local 352 if (auto *clause = findUniqueClause<omp::clause::Hint>()) { processHint() local 375 if (auto *clause = findUniqueClause<omp::clause::NumTeams>()) { processNumTeams() local 388 if (auto *clause = findUniqueClause<omp::clause::NumThreads>()) { processNumThreads() local 399 if (auto *clause = findUniqueClause<Order>()) { processOrder() local 421 if (auto *clause = findUniqueClause<omp::clause::Ordered>()) { processOrdered() local 435 if (auto *clause = findUniqueClause<omp::clause::Priority>()) { processPriority() local 445 if (auto *clause = findUniqueClause<omp::clause::ProcBind>()) { processProcBind() local 455 if (auto *clause = findUniqueClause<omp::clause::Safelen>()) { processSafelen() local 467 if (auto *clause = findUniqueClause<omp::clause::Schedule>()) { processSchedule() local 513 if (auto *clause = findUniqueClause<omp::clause::Simdlen>()) { processSimdlen() local 525 if (auto *clause = findUniqueClause<omp::clause::ThreadLimit>()) { processThreadLimit() local 556 addAlignedClause(lower::AbstractConverter & converter,const omp::clause::Aligned & clause,llvm::SmallVectorImpl<mlir::Value> & alignedVars,llvm::SmallVectorImpl<mlir::Attribute> & alignmentAttrs) addAlignedClause() argument 594 __anon6febe4830102(const omp::clause::Aligned &clause, const parser::CharBlock &) processAligned() argument 603 __anon6febe4830202(const omp::clause::Allocate &clause, const parser::CharBlock &) processAllocate() argument 622 __anon6febe4830402(const omp::clause::Copyin &clause, const parser::CharBlock &) processCopyin() argument 795 __anon6febe4830602(const clause::Copyprivate &clause, const parser::CharBlock &) processCopyprivate() argument 815 __anon6febe4830702(const omp::clause::Depend &clause, const parser::CharBlock &) processDepend() argument 863 __anon6febe4830902(const omp::clause::If &clause, const parser::CharBlock &source) processIf() argument 893 __anon6febe4830b02(const omp::clause::Link &clause, const parser::CharBlock &) processLink() argument 918 __anon6febe4830c02(const omp::clause::Map &clause, const parser::CharBlock &source) processMap() argument 1018 __anon6febe4830d02(const omp::clause::Reduction &clause, const parser::CharBlock &) processReduction() argument 1058 __anon6febe4831002(const omp::clause::To &clause, const parser::CharBlock &) processTo() argument 1068 __anon6febe4831102(const omp::clause::Enter &clause, const parser::CharBlock &) processEnter() argument 1081 __anon6febe4831202(const omp::clause::UseDeviceAddr &clause, const parser::CharBlock &) processUseDeviceAddr() argument 1093 __anon6febe4831302(const omp::clause::UseDevicePtr &clause, const parser::CharBlock &) processUseDevicePtr() argument [all...] |
H A D | DataSharingProcessor.cpp | 143 for (const omp::Clause &clause : clauses) { collectSymbolsForPrivatization() local 195 for (const omp::Clause &clause : clauses) { insertLastPrivateCompare() local 390 for (const omp::Clause &clause : clauses) { collectDefaultSymbols() local [all...] |
H A D | Decomposer.cpp | 116 for (auto &clause : uc.clauses) { buildConstructQueue() local
|
H A D | Utils.cpp | 50 __anon71fd80570102(const Clause &clause) getCollapseValue() argument 113 gatherFuncAndVarSyms(const ObjectList & objects,mlir::omp::DeclareTargetCaptureClause clause,llvm::SmallVectorImpl<DeclareTargetCapturePair> & symbolAndClause) gatherFuncAndVarSyms() argument [all...] |
H A D | Clauses.cpp | 40 getClauseId(const Fortran::parser::OmpClause & clause) getClauseId() argument 211 namespace clause { global() namespace [all...] |
H A D | OpenMP.cpp | 1517 for (const Clause &clause : item->clauses) { genSectionsOp() local 2368 for (const Clause &clause : clauses) { genOMP() local 2553 for (const parser::OmpClause &clause : clauseList.v) { getCollapseValue() local [all...] |
/llvm-project/llvm/include/llvm/Frontend/OpenMP/ |
H A D | ConstructDecompositionT.h | 98 for (const ClauseTy &clause : clauses) in ConstructDecompositionT() local 465 applyClause(const tomp::clause::CollapseT<TypeTy,IdTy,ExprTy> & clause,const ClauseTy * node) applyClause() argument 491 applyClause(const tomp::clause::PrivateT<TypeTy,IdTy,ExprTy> & clause,const ClauseTy * node) applyClause() argument 528 applyClause(const tomp::clause::FirstprivateT<TypeTy,IdTy,ExprTy> & clause,const ClauseTy * node) applyClause() argument 645 applyClause(const tomp::clause::LastprivateT<TypeTy,IdTy,ExprTy> & clause,const ClauseTy * node) applyClause() argument 725 applyClause(const tomp::clause::SharedT<TypeTy,IdTy,ExprTy> & clause,const ClauseTy * node) applyClause() argument 740 applyClause(const tomp::clause::DefaultT<TypeTy,IdTy,ExprTy> & clause,const ClauseTy * node) applyClause() argument 755 applyClause(const tomp::clause::ThreadLimitT<TypeTy,IdTy,ExprTy> & clause,const ClauseTy * node) applyClause() argument 770 applyClause(const tomp::clause::OrderT<TypeTy,IdTy,ExprTy> & clause,const ClauseTy * node) applyClause() argument 787 applyClause(const tomp::clause::AllocateT<TypeTy,IdTy,ExprTy> & clause,const ClauseTy * node) applyClause() argument 846 applyClause(const tomp::clause::ReductionT<TypeTy,IdTy,ExprTy> & clause,const ClauseTy * node) applyClause() argument 1008 applyClause(const tomp::clause::IfT<TypeTy,IdTy,ExprTy> & clause,const ClauseTy * node) applyClause() argument 1052 applyClause(const tomp::clause::LinearT<TypeTy,IdTy,ExprTy> & clause,const ClauseTy * node) applyClause() argument 1099 applyClause(const tomp::clause::NowaitT<TypeTy,IdTy,ExprTy> & clause,const ClauseTy * node) applyClause() argument [all...] |
H A D | ConstructCompositionT.h |
|
/llvm-project/flang/lib/Semantics/ |
H A D | check-directive-structure.h | 217 SetContextClause(const PC & clause) SetContextClause() argument 382 getClauseName(C clause) getClauseName() argument 407 CheckOnlyAllowedAfter(C clause,common::EnumSet<C,ClauseEnumSize> set) CheckOnlyAllowedAfter() argument 488 CheckAllowed(C clause,bool warnInsteadOfError) CheckAllowed() argument 546 CheckNotAllowedIfClause(C clause,common::EnumSet<C,ClauseEnumSize> set) CheckNotAllowedIfClause() argument 565 CheckAllowedOncePerGroup(C clause,C separator) CheckAllowedOncePerGroup() argument 586 CheckMutuallyExclusivePerGroup(C clause,C separator,common::EnumSet<C,ClauseEnumSize> set) CheckMutuallyExclusivePerGroup() argument 618 RequiresConstantPositiveParameter(const C & clause,const parser::ScalarIntConstantExpr & i) RequiresConstantPositiveParameter() argument 633 OptionalConstantPositiveParameter(const C & clause,const std::optional<parser::ScalarIntConstantExpr> & o) OptionalConstantPositiveParameter() argument 652 RequiresPositiveParameter(const C & clause,const parser::ScalarIntExpr & i,llvm::StringRef paramName) RequiresPositiveParameter() argument [all...] |
H A D | check-omp-structure.cpp | 351 for (const auto &clause : clauseList->v) { CheckHintClause() local 548 for (const auto &clause : clauses.v) { CheckSIMDNest() local 562 for (const auto &clause : clauses.v) { CheckSIMDNest() local 653 for (const auto &clause : clauseList.v) { GetOrdCollapseLevel() local 691 for (const auto &clause : clauses.v) { CheckDistLinear() local 913 if (const auto *clause{ ChecksOnOrderedAsBlock() local 1303 for (const auto &clause : clauseList->v) { Leave() local 1367 for (const auto &clause : clauseList.v) { Enter() local 1379 for (const auto &clause : clauseList.v) { Leave() local 1449 if (const auto *clause{ ChecksOnOrderedAsStandalone() local 1988 for (const auto &clause : clauseList->v) { CheckAtomicMemoryOrderClause() local 2092 if (auto *clause{FindClause(llvm::omp::Clause::OMPC_schedule)}) { Leave() local 2111 if (auto *clause{FindClause(llvm::omp::Clause::OMPC_ordered)}) { Leave() local 2143 if (auto *clause{FindClause(llvm::omp::Clause::OMPC_simdlen)}) { Leave() local 2187 const auto *clause = it.second; Leave() local 2548 CheckIntentInPointerAndDefinable(const parser::OmpObjectList & objectList,const llvm::omp::Clause clause) CheckIntentInPointerAndDefinable() argument 2597 const auto *clause = it.second; CheckSharedBindingInOuterContext() local 2692 CheckIsVarPartOfAnotherVar(const parser::CharBlock & source,const parser::OmpObjectList & objList,llvm::StringRef clause) CheckIsVarPartOfAnotherVar() argument 2772 CheckIsLoopIvPartOfClause(llvmOmpClause clause,const parser::OmpObjectList & ompObjectList) CheckIsLoopIvPartOfClause() argument 2806 if (const auto *clause{FindClause(llvm::omp::Clause::OMPC_acquire)}) { Leave() local 2810 if (const auto *clause{FindClause(llvm::omp::Clause::OMPC_acq_rel)}) { Leave() local 3033 CheckCopyingPolymorphicAllocatable(SymbolSourceMap & symbols,const llvm::omp::Clause clause) CheckCopyingPolymorphicAllocatable() argument 3102 CheckStructureElement(const parser::OmpObjectList & ompObjectList,const llvm::omp::Clause clause) CheckStructureElement() argument 3245 getClauseName(llvm::omp::Clause clause) getClauseName() argument 3280 CheckArraySection(const parser::ArrayElement & arrayElement,const parser::Name & name,const llvm::omp::Clause clause) CheckArraySection() argument 3326 CheckIntentInPointer(const parser::OmpObjectList & objectList,const llvm::omp::Clause clause) CheckIntentInPointer() argument 3361 CheckDefinableObjects(SymbolSourceMap & symbols,const llvm::omp::Clause clause) CheckDefinableObjects() argument 3510 GetOmpObjectList(const parser::OmpClause & clause) GetOmpObjectList() argument 3567 CheckAllowedRequiresClause(llvmOmpClause clause) CheckAllowedRequiresClause() argument [all...] |
H A D | canonicalize-acc.cpp | 60 for (const auto &clause : accClauseList.v) { in CheckTileClauseRestriction() local 100 for (const auto &clause : accClauseList.v) { in CheckDoConcurrentClauseRestriction() local
|
H A D | unparse-with-symbols.cpp | 39 bool Pre(const parser::AccClause &clause) { in Pre() argument 44 bool Pre(const parser::OmpClause &clause) { in Pre() argument
|
H A D | resolve-directives.cpp | 390 for (const auto &clause : std::get<parser::OmpClauseList>(x.t).v) { Pre() local 829 GetAccObjectList(const parser::AccClause & clause) GetAccObjectList() argument 876 for (const auto &clause : clauseList.v) { Post() local 960 for (const Fortran::parser::AccClause &clause : clauses.v) { AddRoutineInfoToSymbol() local 1215 for (const auto &clause : x.v) { GetAssociatedLoopLevelFromClauses() local 1307 EnsureAllocatableOrPointer(const llvm::acc::Clause clause,const parser::AccObjectList & objectList) EnsureAllocatableOrPointer() argument 1767 for (const auto &clause : x.v) { GetAssociatedLoopLevelFromClauses() local 1836 CheckAssocLoopLevel(std::int64_t level,const parser::OmpClause * clause) CheckAssocLoopLevel() argument 1886 for (const auto &clause : clauseList->v) { Pre() local 1927 for (const auto &clause : clauseList.v) { Pre() local 1972 for (const auto &clause : clauseList.v) { Post() local 2007 for (const auto &clause : clauseList.v) { Post() local [all...] |
H A D | rewrite-directives.cpp | 92 return std::get_if<parser::OmpMemoryOrderClause>(&clause.u); in Pre() argument [all...] |
H A D | check-acc-structure.cpp | 79 bool AccStructureChecker::CheckAllowedModifier(llvm::acc::Clause clause) { in CheckAllowedModifier() argument 446 CheckMultipleOccurrenceInDeclare(const parser::AccObjectListWithModifier & list,llvm::acc::Clause clause) CheckMultipleOccurrenceInDeclare() argument 822 getClauseName(llvm::acc::Clause clause) getClauseName() argument [all...] |
/llvm-project/flang/lib/Lower/ |
H A D | OpenACC.cpp | 139 addDeclareAttr(fir::FirOpBuilder & builder,mlir::Operation * op,mlir::acc::DataClause clause) addDeclareAttr() argument 182 createDeclareAllocFuncWithArg(mlir::OpBuilder & modBuilder,fir::FirOpBuilder & builder,mlir::Location loc,mlir::Type descTy,llvm::StringRef funcNamePrefix,std::stringstream & asFortran,mlir::acc::DataClause clause) createDeclareAllocFuncWithArg() argument 229 createDeclareDeallocFuncWithArg(mlir::OpBuilder & modBuilder,fir::FirOpBuilder & builder,mlir::Location loc,mlir::Type descTy,llvm::StringRef funcNamePrefix,std::stringstream & asFortran,mlir::acc::DataClause clause) createDeclareDeallocFuncWithArg() argument 411 genDeclareDataOperandOperationsWithModifier(const Clause * x,Fortran::lower::AbstractConverter & converter,Fortran::semantics::SemanticsContext & semanticsContext,Fortran::lower::StatementContext & stmtCtx,Fortran::parser::AccDataModifier::Modifier mod,llvm::SmallVectorImpl<mlir::Value> & dataClauseOperands,const mlir::acc::DataClause clause,const mlir::acc::DataClause clauseWithModifier) genDeclareDataOperandOperationsWithModifier() argument 1825 for (const Fortran::parser::AccClause &clause : accClauseList.v) { createLoopOp() local 2123 genDataOperandOperationsWithModifier(const Clause * x,Fortran::lower::AbstractConverter & converter,Fortran::semantics::SemanticsContext & semanticsContext,Fortran::lower::StatementContext & stmtCtx,Fortran::parser::AccDataModifier::Modifier mod,llvm::SmallVectorImpl<mlir::Value> & dataClauseOperands,const mlir::acc::DataClause clause,const mlir::acc::DataClause clauseWithModifier,llvm::ArrayRef<mlir::Value> async,llvm::ArrayRef<mlir::Attribute> asyncDeviceTypes,llvm::ArrayRef<mlir::Attribute> asyncOnlyDeviceTypes,bool setDeclareAttr=false) genDataOperandOperationsWithModifier() argument 2193 for (const Fortran::parser::AccClause &clause : accClauseList.v) { createComputeOp() local 2244 for (const Fortran::parser::AccClause &clause : accClauseList.v) { createComputeOp() local 2542 for (const Fortran::parser::AccClause &clause : accClauseList.v) { genACCDataOp() local 2562 for (const Fortran::parser::AccClause &clause : accClauseList.v) { genACCDataOp() local 2719 for (const Fortran::parser::AccClause &clause : accClauseList.v) { genACCHostDataOp() local 2870 for (const Fortran::parser::AccClause &clause : accClauseList.v) { genACCEnterDataOp() local 2891 for (const Fortran::parser::AccClause &clause : accClauseList.v) { genACCEnterDataOp() local 2920 mlir::acc::DataClause clause = mlir::acc::DataClause::acc_create; genACCEnterDataOp() local 2983 for (const Fortran::parser::AccClause &clause : accClauseList.v) { genACCExitDataOp() local 3004 for (const Fortran::parser::AccClause &clause : accClauseList.v) { genACCExitDataOp() local 3086 for (const Fortran::parser::AccClause &clause : accClauseList.v) { genACCInitShutdownOp() local 3130 for (const Fortran::parser::AccClause &clause : accClauseList.v) { genACCSetOp() local 3213 for (const Fortran::parser::AccClause &clause : accClauseList.v) { genACCUpdateOp() local 3234 for (const Fortran::parser::AccClause &clause : accClauseList.v) { genACCUpdateOp() local 3360 for (const Fortran::parser::AccClause &clause : accClauseList.v) { genACC() local 3391 createDeclareGlobalOp(mlir::OpBuilder & modBuilder,fir::FirOpBuilder & builder,mlir::Location loc,fir::GlobalOp globalOp,mlir::acc::DataClause clause,const std::string & declareGlobalName,bool implicit,std::stringstream & asFortran) createDeclareGlobalOp() argument 3432 createDeclareAllocFunc(mlir::OpBuilder & modBuilder,fir::FirOpBuilder & builder,mlir::Location loc,fir::GlobalOp & globalOp,mlir::acc::DataClause clause) createDeclareAllocFunc() argument 3483 createDeclareDeallocFunc(mlir::OpBuilder & modBuilder,fir::FirOpBuilder & builder,mlir::Location loc,fir::GlobalOp & globalOp,mlir::acc::DataClause clause) createDeclareDeallocFunc() argument 3553 genGlobalCtors(Fortran::lower::AbstractConverter & converter,mlir::OpBuilder & modBuilder,const Fortran::parser::AccObjectList & accObjectList,mlir::acc::DataClause clause) genGlobalCtors() argument 3643 genGlobalCtorsWithModifier(Fortran::lower::AbstractConverter & converter,mlir::OpBuilder & modBuilder,const Clause * x,Fortran::parser::AccDataModifier::Modifier mod,const mlir::acc::DataClause clause,const mlir::acc::DataClause clauseWithModifier) genGlobalCtorsWithModifier() argument 3668 for (const Fortran::parser::AccClause &clause : accClauseList.v) { genDeclareInFunction() local 3808 for (const Fortran::parser::AccClause &clause : accClauseList.v) { genDeclareInModule() local 4001 for (const Fortran::parser::AccClause &clause : clauses.v) { genOpenACCRoutineConstruct() local 4392 for (const Fortran::parser::AccClause &clause : clauseList.v) { getCollapseValue() local [all...] |
H A D | DirectivesCommon.h |
|
/llvm-project/flang/examples/FlangOmpReport/ |
H A D | FlangOmpReportVisitor.h | 25 std::string clause; member
|
/llvm-project/mlir/tools/mlir-tblgen/ |
H A D | OpFormatGen.cpp | 1425 for (auto clause : oilist->getClauses()) { genElementParser() local 2311 for (auto clause : oilist->getClauses()) { genElementPrinter() local
|
/llvm-project/mlir/lib/Dialect/SparseTensor/Transforms/ |
H A D | Sparsification.cpp | 913 Value clause; genIf() local
|
/llvm-project/llvm/unittests/Frontend/ |
H A D | OpenMPDecompositionTest.cpp | 57 namespace clause { namespace [all...] |