Searched refs:oldMain (Results 1 – 1 of 1) sorted by relevance
794 if (Function *oldMain = Safe->getFunction("main")) in CleanupAndPrepareModules() local795 if (!oldMain->isDeclaration()) { in CleanupAndPrepareModules()797 oldMain->setName("llvm_bugpoint_old_main"); in CleanupAndPrepareModules()800 Function::Create(oldMain->getFunctionType(), in CleanupAndPrepareModules()804 Function *oldMainProto = Function::Create(oldMain->getFunctionType(), in CleanupAndPrepareModules()806 oldMain->getName(), Test.get()); in CleanupAndPrepareModules()811 OI = oldMain->arg_begin(); in CleanupAndPrepareModules()