Lines Matching defs:Primary
916 Module *Primary = nullptr;
922 Primary = M;
924 << "' is the Primary Module at index #" << Idx << "\n";
929 if (Primary) {
930 if (!Primary->submodules().empty())
932 for (auto *MI : Primary->submodules()) {
935 if (!Primary->Imports.empty())
937 for (auto *IMP : Primary->Imports) {
940 if (!Primary->Exports.empty())
942 for (unsigned MN = 0, N = Primary->Exports.size(); MN != N; ++MN) {
943 if (Module *M = Primary->Exports[MN].getPointer()) {
962 // Now let's print out any modules we did not see as part of the Primary.
967 << " has no direct reference in the Primary\n";