Home
last modified time | relevance | path

Searched refs:dirContext_ (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/flang/lib/Semantics/
Dcheck-acc-structure.cpp68 if (dirContext_.size() <= 1) in IsInsideComputeConstruct()
72 for (std::size_t i = dirContext_.size() - 1; i > 0; --i) { in IsInsideComputeConstruct()
73 if (IsComputeConstruct(dirContext_[i - 1].directive)) in IsInsideComputeConstruct()
127 dirContext_.pop_back(); in Leave()
140 dirContext_.pop_back(); in Leave()
173 dirContext_.pop_back(); in Leave()
194 dirContext_.pop_back(); in Leave()
233 dirContext_.pop_back(); in Leave()
245 dirContext_.pop_back(); in Leave()
253 dirContext_.pop_back(); in Leave()
[all …]
Dcheck-directive-structure.h141 CHECK(!dirContext_.empty()); in GetContext()
142 return dirContext_.back(); in GetContext()
151 CHECK(!dirContext_.empty()); in ResetPartialContext()
201 dirContext_.emplace_back(source, dir); in PushContext()
204 bool CurrentDirectiveIsNested() { return dirContext_.size() > 0; }; in CurrentDirectiveIsNested()
207 dirContext_.back().allowedClauses = directiveClausesMap_[dir].allowed; in SetClauseSets()
208 dirContext_.back().allowedOnceClauses = in SetClauseSets()
210 dirContext_.back().allowedExclusiveClauses = in SetClauseSets()
212 dirContext_.back().requiredClauses = in SetClauseSets()
262 std::vector<DirectiveContext> dirContext_; // used as a stack variable
Dcheck-omp-structure.cpp99 dirContext_.pop_back(); in Leave()
139 dirContext_.pop_back(); in Leave()
155 dirContext_.pop_back(); in Leave()
179 dirContext_.pop_back(); in Leave()
192 dirContext_.pop_back(); in Leave()
203 dirContext_.pop_back(); in Leave()
212 dirContext_.pop_back(); in Leave()
221 dirContext_.pop_back(); in Leave()
230 dirContext_.pop_back(); in Leave()
242 dirContext_.pop_back(); in Leave()
Dresolve-directives.cpp48 CHECK(!dirContext_.empty()); in GetContext()
49 return dirContext_.back(); in GetContext()
52 dirContext_.emplace_back(source, dir, context_.FindScope(source)); in PushContext()
54 void PopContext() { dirContext_.pop_back(); } in PopContext()
105 std::vector<DirContext> dirContext_; // used as a stack member in Fortran::semantics::DirectiveAttributeVisitor
593 if (!dirContext_.empty()) { in Post()
609 if (symbol && !dirContext_.empty() && GetContext().withinConstruct) { in Post()
858 auto targetIt{dirContext_.rbegin()}; in ResolveSeqLoopIndexInParallelOrTaskConstruct()
860 if (targetIt == dirContext_.rend()) { in ResolveSeqLoopIndexInParallelOrTaskConstruct()
872 for (auto it{dirContext_.rbegin()}; it != targetIt; ++it) { in ResolveSeqLoopIndexInParallelOrTaskConstruct()
[all …]