android: [InlineAdvisor] New inliner advisor to replay inlining
Porting of commit
577e58bcc754 ("[InlineAdvisor] New inliner advisor to replay inlining from optimization remarks")
Fixes the following building errors:
ld.lld: error: undefined symbol: llvm::ReplayInlineAdvisor::ReplayInlineAdvisor(llvm::Module&, llvm::AnalysisManager<llvm::Function>&, llvm::LLVMContext&, std::__1::unique_ptr<llvm::InlineAdvisor, std::__1::default_delete<llvm::InlineAdvisor> >, llvm::StringRef, bool)
>>> referenced by memory:3132 (external/libcxx/include/memory:3132)
>>> Inliner.o:(llvm::InlinerPass::getAdvisor(llvm::OuterAnalysisManagerProxy<llvm::AnalysisManager<llvm::Module>, llvm::LazyCallGraph::SCC, llvm::LazyCallGraph&>::Result const&, llvm::AnalysisManager<llvm::Function>&, llvm::Module&)) in archive out/soong/.intermediates/external/llvm-project/llvm/lib/Transforms/IPO/libLLVM12ipo/android_x86_x86_64_core_static/libLLVM12ipo.a
ld.lld: error: undefined symbol: llvm::ReplayInlineAdvisor::ReplayInlineAdvisor(llvm::Module&, llvm::AnalysisManager<llvm::Function>&, llvm::LLVMContext&, std::__1::unique_ptr<llvm::InlineAdvisor, std::__1::default_delete<llvm::InlineAdvisor> >, llvm::StringRef, bool)
>>> referenced by memory:3132 (external/libcxx/include/memory:3132)
>>> SampleProfile.o:((anonymous namespace)::SampleProfileLoader::doInitialization(llvm::Module&, llvm::AnalysisManager<llvm::Function>*)) in archive out/soong/.intermediates/external/llvm-project/llvm/lib/Transforms/IPO/libLLVM12ipo/android_x86_x86_64_core_static/libLLVM12ipo.a