Lines Matching defs:TheModule
702 /// TheModule - The module for which we are holding slot numbers.
703 const Module* TheModule;
968 : TheModule(M), ShouldInitializeAllMetadata(ShouldInitializeAllMetadata) {}
973 : TheModule(F ? F->getParent() : nullptr), TheFunction(F),
977 : TheModule(nullptr), ShouldInitializeAllMetadata(false), TheIndex(Index) {}
980 if (TheModule) {
982 TheModule = nullptr; ///< Prevent re-processing next time we're called.
1003 for (const GlobalVariable &Var : TheModule->globals()) {
1012 for (const GlobalAlias &A : TheModule->aliases()) {
1017 for (const GlobalIFunc &I : TheModule->ifuncs()) {
1023 for (const NamedMDNode &NMD : TheModule->named_metadata()) {
1028 for (const Function &F : *TheModule) {
1044 ProcessModuleHookFn(this, TheModule, ShouldInitializeAllMetadata);
2692 const Module *TheModule = nullptr;
2717 return AsmWriterContext(&TypePrinter, &Machine, TheModule);
2803 : Out(o), TheModule(M), Machine(Mac), TypePrinter(M), AnnotationWriter(AAW),
2806 if (!TheModule)
2808 for (const GlobalObject &GO : TheModule->global_objects())