Home
last modified time | relevance | path

Searched refs:oldMain (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/LLVM/tools/bugpoint/
DMiscompilation.cpp771 if (Function *oldMain = Safe->getFunction("main")) in CleanupAndPrepareModules() local
772 if (!oldMain->isDeclaration()) { in CleanupAndPrepareModules()
774 oldMain->setName("llvm_bugpoint_old_main"); in CleanupAndPrepareModules()
776 Function *newMain = Function::Create(oldMain->getFunctionType(), in CleanupAndPrepareModules()
781 Function *oldMainProto = Function::Create(oldMain->getFunctionType(), in CleanupAndPrepareModules()
783 oldMain->getName(), Test); in CleanupAndPrepareModules()
788 OI = oldMain->arg_begin(); I != E; ++I, ++OI) { in CleanupAndPrepareModules()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/bugpoint/
DMiscompilation.cpp792 if (Function *oldMain = Safe->getFunction("main")) in CleanupAndPrepareModules() local
793 if (!oldMain->isDeclaration()) { in CleanupAndPrepareModules()
795 oldMain->setName("llvm_bugpoint_old_main"); in CleanupAndPrepareModules()
798 Function::Create(oldMain->getFunctionType(), in CleanupAndPrepareModules()
802 Function *oldMainProto = Function::Create(oldMain->getFunctionType(), in CleanupAndPrepareModules()
804 oldMain->getName(), Test.get()); in CleanupAndPrepareModules()
809 OI = oldMain->arg_begin(); in CleanupAndPrepareModules()
/external/llvm/tools/bugpoint/
DMiscompilation.cpp777 if (Function *oldMain = Safe->getFunction("main")) in CleanupAndPrepareModules() local
778 if (!oldMain->isDeclaration()) { in CleanupAndPrepareModules()
780 oldMain->setName("llvm_bugpoint_old_main"); in CleanupAndPrepareModules()
783 Function::Create(oldMain->getFunctionType(), in CleanupAndPrepareModules()
787 Function *oldMainProto = Function::Create(oldMain->getFunctionType(), in CleanupAndPrepareModules()
789 oldMain->getName(), Test.get()); in CleanupAndPrepareModules()
794 OI = oldMain->arg_begin(); I != E; ++I, ++OI) { in CleanupAndPrepareModules()
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateSidewaysView.java184 String oldMain = ""; in main() local
216 if (!main.equals(oldMain)) { in main()
217 oldMain = main; in main()
/external/cldr/tools/java/org/unicode/cldr/util/
DDayPeriodConverter.java297 void oldMain() { in oldMain() method in DayPeriodConverter