Home | History | Annotate | Download | only in IR

Lines Matching defs:TheModule

586   /// TheModule - The module for which we are holding slot numbers.
587 const Module* TheModule;
774 : TheModule(M), TheFunction(nullptr), FunctionProcessed(false),
781 : TheModule(F ? F->getParent() : nullptr), TheFunction(F),
787 if (TheModule) {
789 TheModule = nullptr; ///< Prevent re-processing next time we're called.
802 for (const GlobalVariable &Var : TheModule->globals()) {
808 for (const GlobalAlias &A : TheModule->aliases()) {
813 for (const GlobalIFunc &I : TheModule->ifuncs()) {
819 for (const NamedMDNode &NMD : TheModule->named_metadata()) {
824 for (const Function &F : *TheModule) {
2058 const Module *TheModule;
2124 : Out(o), TheModule(M), Machine(Mac), AnnotationWriter(AAW),
2127 if (!TheModule)
2129 TypePrinter.incorporateTypes(*TheModule);
2130 for (const GlobalObject &GO : TheModule->global_objects())
2144 WriteAsOperandInternal(Out, Operand, &TypePrinter, &Machine, TheModule);
2189 WriteAsOperandInternal(Out, Operand, &TypePrinter, &Machine, TheModule);
2220 WriteAsOperandInternal(Out, Input, &TypePrinter, &Machine, TheModule);
3213 WriteAsOperandInternal(Out, I.second, &TypePrinter, &Machine, TheModule);
3236 WriteMDNodeBodyInternal(Out, Node, &TypePrinter, &Machine, TheModule);