Lines Matching defs:needed
70 // Collect symbols needed for a subprogram interface
83 SymbolVector need_; // symbols that are needed
85 UnorderedSymbolSet useSet_; // use-associations that might be needed
86 std::set<SourceName> imports_; // imports from host that are needed
302 // Collect symbols needed from other modules
306 // to their names in this scope, creating those new names when needed.
755 // walk symbols, collect ones needed for interface
1639 bool needed{useSet_.count(ultimate) > 0};
1641 // The generic may not be needed itself, but the specific procedure
1642 // &/or derived type that it shadows may be needed.
1645 needed = needed || (spec && useSet_.count(spec->GetUltimate()) > 0) ||
1649 needed = needed || (interface && useSet_.count(*interface) > 0);
1651 if (needed) {
1655 // An internal subprogram is needed if it is used as interface
1657 bool needed{false};
1670 needed = needed || hasInterface(dummyArg);
1672 needed =
1673 needed || (details.isFunction() && hasInterface(&details.result()));
1674 if (needed && needSet_.insert(symbol).second) {
1791 return false; // IMPORT needed only for external and dummy procedure