Searched refs:CXAAtExitFn (Results 1 – 3 of 3) sorted by relevance
82 bool OptimizeEmptyGlobalCXXDtors(Function *CXAAtExitFn);2768 bool GlobalOpt::OptimizeEmptyGlobalCXXDtors(Function *CXAAtExitFn) { in OptimizeEmptyGlobalCXXDtors() argument2785 for (Function::use_iterator I = CXAAtExitFn->use_begin(), in OptimizeEmptyGlobalCXXDtors()2786 E = CXAAtExitFn->use_end(); I != E;) { in OptimizeEmptyGlobalCXXDtors()2821 Function *CXAAtExitFn = FindCXAAtExit(M); in runOnModule() local2841 if (CXAAtExitFn) in runOnModule()2842 LocalChange |= OptimizeEmptyGlobalCXXDtors(CXAAtExitFn); in runOnModule()
2465 static bool OptimizeEmptyGlobalCXXDtors(Function *CXAAtExitFn) { in OptimizeEmptyGlobalCXXDtors() argument2482 for (auto I = CXAAtExitFn->user_begin(), E = CXAAtExitFn->user_end(); in OptimizeEmptyGlobalCXXDtors()2553 Function *CXAAtExitFn = FindCXAAtExit(M, TLI); in optimizeGlobalsInModule() local2554 if (CXAAtExitFn) in optimizeGlobalsInModule()2555 LocalChange |= OptimizeEmptyGlobalCXXDtors(CXAAtExitFn); in optimizeGlobalsInModule()
2841 static bool OptimizeEmptyGlobalCXXDtors(Function *CXAAtExitFn) { in OptimizeEmptyGlobalCXXDtors() argument2858 for (auto I = CXAAtExitFn->user_begin(), E = CXAAtExitFn->user_end(); in OptimizeEmptyGlobalCXXDtors()2931 Function *CXAAtExitFn = FindCXAAtExit(M, TLI); in optimizeGlobalsInModule() local2932 if (CXAAtExitFn) in optimizeGlobalsInModule()2933 LocalChange |= OptimizeEmptyGlobalCXXDtors(CXAAtExitFn); in optimizeGlobalsInModule()