Lines Matching refs:TheModule
963 TheModule.reset(); in ~CodeGenAction()
976 TheModule = BEConsumer->takeModule(); in EndSourceFileAction()
980 return std::move(TheModule); in takeModule()
1164 TheModule = loadModule(*MainFile); in ExecuteAction()
1165 if (!TheModule) in ExecuteAction()
1169 if (TheModule->getTargetTriple() != TargetOpts.Triple) { in ExecuteAction()
1172 TheModule->setTargetTriple(TargetOpts.Triple); in ExecuteAction()
1175 EmbedObject(TheModule.get(), CodeGenOpts, Diagnostics); in ExecuteAction()
1176 EmbedBitcode(TheModule.get(), CodeGenOpts, *MainFile); in ExecuteAction()
1178 LLVMContext &Ctx = TheModule->getContext(); in ExecuteAction()
1193 CI.getLangOpts(), TheModule.get(), in ExecuteAction()
1216 CI.getTarget().getDataLayoutString(), TheModule.get(), BA, in ExecuteAction()