Lines Matching refs:TheModule
97 const Module *TheModule; member in __anon12aff8cd0111::CppWriter
692 for (Module::const_global_iterator I = TheModule->global_begin(), in printTypes()
693 E = TheModule->global_end(); I != E; ++I) { in printTypes()
700 for (Module::const_iterator FI = TheModule->begin(), FE = TheModule->end(); in printTypes()
949 for (Module::const_global_iterator I = TheModule->global_begin(), in printConstants()
950 E = TheModule->global_end(); I != E; ++I) in printConstants()
955 for (Module::const_iterator FI = TheModule->begin(), FE = TheModule->end(); in printConstants()
1855 const Function* F = TheModule->getFunction(func); in printInline()
1885 printTypes(TheModule); in printModuleBody()
1890 for (const Function &I : *TheModule) in printModuleBody()
1896 for (const GlobalVariable &I : TheModule->globals()) in printModuleBody()
1903 printConstants(TheModule); in printModuleBody()
1909 for (const GlobalVariable &I : TheModule->globals()) in printModuleBody()
1914 for (const Function &I : *TheModule) { in printModuleBody()
1968 if (!TheModule->getTargetTriple().empty()) { in printModule()
1969 nl(Out) << "mod->setDataLayout(\"" << TheModule->getDataLayoutStr() in printModule()
1972 if (!TheModule->getTargetTriple().empty()) { in printModule()
1973 nl(Out) << "mod->setTargetTriple(\"" << TheModule->getTargetTriple() in printModule()
1977 if (!TheModule->getModuleInlineAsm().empty()) { in printModule()
1979 printEscapedString(TheModule->getModuleInlineAsm()); in printModule()
2003 const Function* F = TheModule->getFunction(funcName); in printFunction()
2017 const Module::FunctionListType &funcs = TheModule->getFunctionList(); in printFunctions()
2033 const GlobalVariable* GV = TheModule->getNamedGlobal(varName); in printVariable()
2049 Type* Ty = TheModule->getTypeByName(typeName); in printType()
2061 TheModule = &M; in runOnModule()