search for: removenotpreservedanalysi

Displaying 4 results from an estimated 4 matches for "removenotpreservedanalysi".

2016 May 25
0
PassManager insights?
...e second CallGraph's AssertingValueHandles are removed when a function is deleted. My take is that this would be a bug in LegacyPassManager. Would anyone care to agree or disagree? If agreed, then the question is what to do about this. At first glance one would believe that LegacyPassManager::removeNotPreservedAnalysis() would actually destroy the CallGraph when it finds the analysis not preserved. However, it does not. I wonder if this is an error, but when I insert removal in that function, other stuff breaks, so I'm led to believe that the removeNotPreservedAnalysis() isn't meant to go that deep, and...
2013 Nov 19
2
[LLVMdev] Some MCJIT benchmark numbers
...t looks like about 47% of the time is spent in PassManagerImpl::run, and another 47% is spent in addPassesToEmitMC, which feels like it could be avoided by doing that just once. Of the time spent in PassManagerImpl::run, about 35% is spent in PassManager overhead such as initializeAnalysisImpl() / removeNotPreservedAnalysis() / removeDeadPasses(). For 10k iterations, the test took about 12.6s, or 1.26ms per module, so there's definitely some slowdown happening. Looking at the profiling output, it looks like the main difference is the appearance of MCJIT::finalizeLoadedModules(), which ultimately calls RuntimeDy...
2013 Nov 19
0
[LLVMdev] Some MCJIT benchmark numbers
...7% of the time is spent in PassManagerImpl::run, and another 47% is spent > in addPassesToEmitMC, which feels like it could be avoided by doing that > just once. Of the time spent in PassManagerImpl::run, about 35% is spent > in PassManager overhead such as initializeAnalysisImpl() / > removeNotPreservedAnalysis() / removeDeadPasses(). > > For 10k iterations, the test took about 12.6s, or 1.26ms per module, so > there's definitely some slowdown happening. Looking at the profiling > output, it looks like the main difference is the appearance of > MCJIT::finalizeLoadedModules(), which ul...
2015 Feb 24
2
[LLVMdev] Removing contention in PassRegistry accesses to speed up compiles
...*, unsigned char const*, unsigned int) + 1.10% caching_compile caching_compiler_test [.] operator new(unsigned long) + 1.07% caching_compile caching_compiler_test [.] llvm::SmallPtrSetImpl::insert_imp(void const*) + 1.00% caching_compile caching_compiler_test [.] llvm::PMDataManager::removeNotPreservedAnalysis(llvm::Pass*) + 0.99% caching_compile caching_compiler_test [.] operator delete(void*) + 0.69% caching_compile caching_compiler_test [.] llvm::sys::MemoryFence() + 0.64% caching_compile caching_compiler_test [.] llvm::PMDataManager::initializeAnalysisImpl(llvm::Pass*) + 0.59% cach...