Lines Matching refs:TheModule
569 /// TheModule - The module for which we are holding slot numbers.
570 const Module* TheModule;
740 : TheModule(M), TheFunction(nullptr), FunctionProcessed(false),
747 : TheModule(F ? F->getParent() : nullptr), TheFunction(F),
753 if (TheModule) {
755 TheModule = nullptr; ///< Prevent re-processing next time we're called.
768 for (const GlobalVariable &Var : TheModule->globals()) {
773 for (const GlobalAlias &A : TheModule->aliases()) {
779 for (const NamedMDNode &NMD : TheModule->named_metadata()) {
784 for (const Function &F : *TheModule) {
2004 const Module *TheModule;
2070 : Out(o), TheModule(M), Machine(Mac), AnnotationWriter(AAW),
2073 if (!TheModule)
2075 TypePrinter.incorporateTypes(*TheModule);
2076 for (const Function &F : *TheModule)
2079 for (const GlobalVariable &GV : TheModule->globals())
2093 WriteAsOperandInternal(Out, Operand, &TypePrinter, &Machine, TheModule);
2162 WriteAsOperandInternal(Out, Operand, &TypePrinter, &Machine, TheModule);
2193 WriteAsOperandInternal(Out, Input, &TypePrinter, &Machine, TheModule);
3135 WriteAsOperandInternal(Out, I.second, &TypePrinter, &Machine, TheModule);
3158 WriteMDNodeBodyInternal(Out, Node, &TypePrinter, &Machine, TheModule);