Lines Matching refs:TheModule
103 const Module *TheModule;
630 for (Module::const_global_iterator I = TheModule->global_begin(),
631 E = TheModule->global_end(); I != E; ++I) {
638 for (Module::const_iterator FI = TheModule->begin(), FE = TheModule->end();
880 for (Module::const_global_iterator I = TheModule->global_begin(),
881 E = TheModule->global_end(); I != E; ++I)
886 TheModule->begin(), FE = TheModule->end();
1670 const Function* F = TheModule->getFunction(func);
1700 printTypes(TheModule);
1705 for (Module::const_iterator I = TheModule->begin(), E = TheModule->end();
1712 for (Module::const_global_iterator I = TheModule->global_begin(),
1713 E = TheModule->global_end(); I != E; ++I) {
1721 printConstants(TheModule);
1727 for (Module::const_global_iterator I = TheModule->global_begin(),
1728 E = TheModule->global_end(); I != E; ++I) {
1734 for (Module::const_iterator I = TheModule->begin(), E = TheModule->end();
1788 if (!TheModule->getTargetTriple().empty()) {
1789 nl(Out) << "mod->setDataLayout(\"" << TheModule->getDataLayout() << "\");";
1791 if (!TheModule->getTargetTriple().empty()) {
1792 nl(Out) << "mod->setTargetTriple(\"" << TheModule->getTargetTriple()
1796 if (!TheModule->getModuleInlineAsm().empty()) {
1798 printEscapedString(TheModule->getModuleInlineAsm());
1804 Module::lib_iterator LI = TheModule->lib_begin();
1805 Module::lib_iterator LE = TheModule->lib_end();
1830 const Function* F = TheModule->getFunction(funcName);
1844 const Module::FunctionListType &funcs = TheModule->getFunctionList();
1860 const GlobalVariable* GV = TheModule->getNamedGlobal(varName);
1876 Type* Ty = TheModule->getTypeByName(typeName);
1888 TheModule = &M;