Lines Matching full:labels

1 //===-- lib/Semantics/resolve-labels.cpp ----------------------------------===//
9 #include "resolve-labels.h"
291 // Process labels of the DO and END DO statements, but not the
872 void AddLabelReference(const std::list<parser::Label> &labels) {
873 for (const parser::Label &label : labels) {
886 // For labels in derived type definitions and procedure
888 // of these labels can be used as a branch target, but they
921 const TargetStmtMap &labels, const parser::Label &label) {
922 const auto iter{labels.find(label)};
923 if (iter == labels.cend()) {
932 const TargetStmtMap &labels, const IndexList &loopBodies,
936 auto branchTarget{GetLabel(labels, label)};
988 const SourceStmtList &branches, const TargetStmtMap &labels,
995 auto doTarget{GetLabel(labels, label)};
1033 CheckBranchesIntoDoBody(branches, labels, loopBodies, context);
1039 const TargetStmtMap &labels, const std::vector<ScopeInfo> &scopes,
1045 auto target{GetLabel(labels, label)};
1090 const TargetStmtMap &labels, SemanticsContext &context) {
1093 auto branchTarget{GetLabel(labels, label)};
1119 const TargetStmtMap &labels, const std::vector<ScopeInfo> &scopes,
1121 CheckScopeConstraints(branches, labels, scopes, context);
1122 CheckBranchTargetConstraints(branches, labels, context);
1126 const TargetStmtMap &labels, SemanticsContext &context) {
1129 auto ioTarget{GetLabel(labels, label)};
1144 const TargetStmtMap &labels, const std::vector<ScopeInfo> &scopes,
1146 CheckScopeConstraints(dataTransfers, labels, scopes, context);
1147 CheckDataXferTargetConstraints(dataTransfers, labels, context);
1151 const TargetStmtMap &labels, SemanticsContext &context) {
1154 auto target{GetLabel(labels, label)};
1183 const TargetStmtMap &labels, const std::vector<ScopeInfo> &scopes,
1185 CheckScopeConstraints(assigns, labels, scopes, context);
1186 CheckAssignTargetConstraints(assigns, labels, context);
1194 const auto &labels{programUnit.targetStmts};
1196 CheckLabelDoConstraints(dos, branches, labels, scopes, context);
1197 CheckBranchConstraints(branches, labels, scopes, context);
1199 CheckDataTransferConstraints(dataTransfers, labels, scopes, context);
1201 CheckAssignConstraints(assigns, labels, scopes, context);