Lines Matching defs:TheModule
679 /// TheModule - The module for which we are holding slot numbers.
680 const Module* TheModule;
902 : TheModule(M), ShouldInitializeAllMetadata(ShouldInitializeAllMetadata) {}
907 : TheModule(F ? F->getParent() : nullptr), TheFunction(F),
911 : TheModule(nullptr), ShouldInitializeAllMetadata(false), TheIndex(Index) {}
914 if (TheModule) {
916 TheModule = nullptr; ///< Prevent re-processing next time we're called.
936 for (const GlobalVariable &Var : TheModule->globals()) {
945 for (const GlobalAlias &A : TheModule->aliases()) {
950 for (const GlobalIFunc &I : TheModule->ifuncs()) {
956 for (const NamedMDNode &NMD : TheModule->named_metadata()) {
961 for (const Function &F : *TheModule) {
2358 const Module *TheModule = nullptr;
2459 : Out(o), TheModule(M), Machine(Mac), TypePrinter(M), AnnotationWriter(AAW),
2462 if (!TheModule)
2464 for (const GlobalObject &GO : TheModule->global_objects())
2483 WriteAsOperandInternal(Out, Operand, &TypePrinter, &Machine, TheModule);
2542 WriteAsOperandInternal(Out, Operand, &TypePrinter, &Machine, TheModule);
2573 WriteAsOperandInternal(Out, Input, &TypePrinter, &Machine, TheModule);
4113 WriteAsOperandInternal(Out, I.second, &TypePrinter, &Machine, TheModule);
4136 WriteMDNodeBodyInternal(Out, Node, &TypePrinter, &Machine, TheModule);