<div dir="ltr"><div>Thanks! I'm building again.<br><br></div>Let me know if I can provide more config info or test any experimental patches to fix it.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 20, 2016 at 11:00 AM, Benjamin Kramer <span dir="ltr"><<a href="mailto:benny.kra@gmail.com" target="_blank">benny.kra@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">r284745 reverts the problematic part of the change. I have no idea<br>
what is going on.<br>
<div><div class="h5"><br>
On Thu, Oct 20, 2016 at 6:34 PM, Sanjay Patel <<a href="mailto:spatel@rotateright.com">spatel@rotateright.com</a>> wrote:<br>
> I'm getting a build failure on macOS using the system clang after this<br>
> commit:<br>
><br>
> [100%] Linking CXX executable ../../bin/opt<br>
> Undefined symbols for architecture x86_64:<br>
> "llvm::PassManager<llvm::<wbr>LazyCallGraph::SCC,<br>
> llvm::AnalysisManager<llvm::<wbr>LazyCallGraph::SCC, llvm::LazyCallGraph&>,<br>
> llvm::LazyCallGraph&,<br>
> llvm::CGSCCUpdateResult&>::<wbr>PassManager(llvm::PassManager<<wbr>llvm::LazyCallGraph::SCC,<br>
> llvm::AnalysisManager<llvm::<wbr>LazyCallGraph::SCC, llvm::LazyCallGraph&>,<br>
> llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>&&)", referenced from:<br>
> llvm::PassBuilder::<wbr>parseModulePass(llvm::<wbr>PassManager<llvm::Module,<br>
> llvm::AnalysisManager<llvm::<wbr>Module> >&, llvm::PassBuilder::<wbr>PipelineElement<br>
> const&, bool, bool) in libLLVMPasses.a(PassBuilder.<wbr>cpp.o)<br>
><br>
> llvm::<wbr>ModuleToPostOrderCGSCCPassAdap<wbr>tor<llvm::PassManager<llvm::<wbr>LazyCallGraph::SCC,<br>
> llvm::AnalysisManager<llvm::<wbr>LazyCallGraph::SCC, llvm::LazyCallGraph&>,<br>
> llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&> ><br>
> llvm::<wbr>createModuleToPostOrderCGSCCPa<wbr>ssAdaptor<llvm::PassManager<<wbr>llvm::LazyCallGraph::SCC,<br>
> llvm::AnalysisManager<llvm::<wbr>LazyCallGraph::SCC, llvm::LazyCallGraph&>,<br>
> llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&><br>
>>(llvm::PassManager<llvm::<wbr>LazyCallGraph::SCC,<br>
> llvm::AnalysisManager<llvm::<wbr>LazyCallGraph::SCC, llvm::LazyCallGraph&>,<br>
> llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>, bool) in<br>
> libLLVMPasses.a(PassBuilder.<wbr>cpp.o)<br>
><br>
> llvm::PassBuilder::<wbr>parseCGSCCPass(llvm::<wbr>PassManager<llvm::<wbr>LazyCallGraph::SCC,<br>
> llvm::AnalysisManager<llvm::<wbr>LazyCallGraph::SCC, llvm::LazyCallGraph&>,<br>
> llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>&,<br>
> llvm::PassBuilder::<wbr>PipelineElement const&, bool, bool) in<br>
> libLLVMPasses.a(PassBuilder.<wbr>cpp.o)<br>
> void llvm::PassManager<llvm::<wbr>LazyCallGraph::SCC,<br>
> llvm::AnalysisManager<llvm::<wbr>LazyCallGraph::SCC, llvm::LazyCallGraph&>,<br>
> llvm::LazyCallGraph&,<br>
> llvm::CGSCCUpdateResult&>::<wbr>addPass<llvm::PassManager<<wbr>llvm::LazyCallGraph::SCC,<br>
> llvm::AnalysisManager<llvm::<wbr>LazyCallGraph::SCC, llvm::LazyCallGraph&>,<br>
> llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&><br>
>>(llvm::PassManager<llvm::<wbr>LazyCallGraph::SCC,<br>
> llvm::AnalysisManager<llvm::<wbr>LazyCallGraph::SCC, llvm::LazyCallGraph&>,<br>
> llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>) in<br>
> libLLVMPasses.a(PassBuilder.<wbr>cpp.o)<br>
> llvm::RepeatedPass<llvm::<wbr>PassManager<llvm::<wbr>LazyCallGraph::SCC,<br>
> llvm::AnalysisManager<llvm::<wbr>LazyCallGraph::SCC, llvm::LazyCallGraph&>,<br>
> llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&> ><br>
> llvm::createRepeatedPass<llvm:<wbr>:PassManager<llvm::<wbr>LazyCallGraph::SCC,<br>
> llvm::AnalysisManager<llvm::<wbr>LazyCallGraph::SCC, llvm::LazyCallGraph&>,<br>
> llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&> >(int,<br>
> llvm::PassManager<llvm::<wbr>LazyCallGraph::SCC,<br>
> llvm::AnalysisManager<llvm::<wbr>LazyCallGraph::SCC, llvm::LazyCallGraph&>,<br>
> llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>) in<br>
> libLLVMPasses.a(PassBuilder.<wbr>cpp.o)<br>
><br>
> llvm::<wbr>ModuleToPostOrderCGSCCPassAdap<wbr>tor<llvm::PassManager<llvm::<wbr>LazyCallGraph::SCC,<br>
> llvm::AnalysisManager<llvm::<wbr>LazyCallGraph::SCC, llvm::LazyCallGraph&>,<br>
> llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&><br>
>>::<wbr>ModuleToPostOrderCGSCCPassAdap<wbr>tor(llvm::PassManager<llvm::<wbr>LazyCallGraph::SCC,<br>
> llvm::AnalysisManager<llvm::<wbr>LazyCallGraph::SCC, llvm::LazyCallGraph&>,<br>
> llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>, bool) in<br>
> libLLVMPasses.a(PassBuilder.<wbr>cpp.o)<br>
><br>
> llvm::<wbr>ModuleToPostOrderCGSCCPassAdap<wbr>tor<llvm::PassManager<llvm::<wbr>LazyCallGraph::SCC,<br>
> llvm::AnalysisManager<llvm::<wbr>LazyCallGraph::SCC, llvm::LazyCallGraph&>,<br>
> llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&><br>
>>::<wbr>ModuleToPostOrderCGSCCPassAdap<wbr>tor(llvm::<wbr>ModuleToPostOrderCGSCCPassAdap<wbr>tor<llvm::PassManager<llvm::<wbr>LazyCallGraph::SCC,<br>
> llvm::AnalysisManager<llvm::<wbr>LazyCallGraph::SCC, llvm::LazyCallGraph&>,<br>
> llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&> >&&) in<br>
> libLLVMPasses.a(PassBuilder.<wbr>cpp.o)<br>
> ...<br>
> "llvm::PassManager<llvm::Loop, llvm::AnalysisManager<llvm::<wbr>Loop><br>
>>::PassManager(llvm::<wbr>PassManager<llvm::Loop,<br>
> llvm::AnalysisManager<llvm::<wbr>Loop> >&&)", referenced from:<br>
> llvm::PassBuilder::<wbr>parseFunctionPass(llvm::<wbr>PassManager<llvm::Function,<br>
> llvm::AnalysisManager<llvm::<wbr>Function> >&, llvm::PassBuilder::<wbr>PipelineElement<br>
> const&, bool, bool) in libLLVMPasses.a(PassBuilder.<wbr>cpp.o)<br>
> llvm::<wbr>FunctionToLoopPassAdaptor<<wbr>llvm::PassManager<llvm::Loop,<br>
> llvm::AnalysisManager<llvm::<wbr>Loop> > ><br>
> llvm::<wbr>createFunctionToLoopPassAdapto<wbr>r<llvm::PassManager<llvm::<wbr>Loop,<br>
> llvm::AnalysisManager<llvm::<wbr>Loop> > >(llvm::PassManager<llvm::<wbr>Loop,<br>
> llvm::AnalysisManager<llvm::<wbr>Loop> >) in libLLVMPasses.a(PassBuilder.<wbr>cpp.o)<br>
> llvm::PassBuilder::<wbr>parseLoopPass(llvm::<wbr>PassManager<llvm::Loop,<br>
> llvm::AnalysisManager<llvm::<wbr>Loop> >&, llvm::PassBuilder::<wbr>PipelineElement<br>
> const&, bool, bool) in libLLVMPasses.a(PassBuilder.<wbr>cpp.o)<br>
> void llvm::PassManager<llvm::Loop, llvm::AnalysisManager<llvm::<wbr>Loop><br>
>>::addPass<llvm::PassManager<<wbr>llvm::Loop, llvm::AnalysisManager<llvm::<wbr>Loop> ><br>
>>(llvm::PassManager<llvm::<wbr>Loop, llvm::AnalysisManager<llvm::<wbr>Loop> >) in<br>
> libLLVMPasses.a(PassBuilder.<wbr>cpp.o)<br>
> llvm::RepeatedPass<llvm::<wbr>PassManager<llvm::Loop,<br>
> llvm::AnalysisManager<llvm::<wbr>Loop> > ><br>
> llvm::createRepeatedPass<llvm:<wbr>:PassManager<llvm::Loop,<br>
> llvm::AnalysisManager<llvm::<wbr>Loop> > >(int, llvm::PassManager<llvm::Loop,<br>
> llvm::AnalysisManager<llvm::<wbr>Loop> >) in libLLVMPasses.a(PassBuilder.<wbr>cpp.o)<br>
> llvm::<wbr>FunctionToLoopPassAdaptor<<wbr>llvm::PassManager<llvm::Loop,<br>
> llvm::AnalysisManager<llvm::<wbr>Loop> ><br>
>>::FunctionToLoopPassAdaptor(<wbr>llvm::PassManager<llvm::Loop,<br>
> llvm::AnalysisManager<llvm::<wbr>Loop> >) in libLLVMPasses.a(PassBuilder.<wbr>cpp.o)<br>
> llvm::<wbr>FunctionToLoopPassAdaptor<<wbr>llvm::PassManager<llvm::Loop,<br>
> llvm::AnalysisManager<llvm::<wbr>Loop> ><br>
>>::FunctionToLoopPassAdaptor(<wbr>llvm::<wbr>FunctionToLoopPassAdaptor<<wbr>llvm::PassManager<llvm::Loop,<br>
> llvm::AnalysisManager<llvm::<wbr>Loop> > >&&) in<br>
> libLLVMPasses.a(PassBuilder.<wbr>cpp.o)<br>
> ...<br>
> "llvm::PassManager<llvm::<wbr>Module, llvm::AnalysisManager<llvm::<wbr>Module><br>
>>::PassManager(llvm::<wbr>PassManager<llvm::Module,<br>
> llvm::AnalysisManager<llvm::<wbr>Module> >&&)", referenced from:<br>
> llvm::PassBuilder::<wbr>parseModulePass(llvm::<wbr>PassManager<llvm::Module,<br>
> llvm::AnalysisManager<llvm::<wbr>Module> >&, llvm::PassBuilder::<wbr>PipelineElement<br>
> const&, bool, bool) in libLLVMPasses.a(PassBuilder.<wbr>cpp.o)<br>
> void llvm::PassManager<llvm::<wbr>Module,<br>
> llvm::AnalysisManager<llvm::<wbr>Module><br>
>>::addPass<llvm::PassManager<<wbr>llvm::Module,<br>
> llvm::AnalysisManager<llvm::<wbr>Module> > >(llvm::PassManager<llvm::<wbr>Module,<br>
> llvm::AnalysisManager<llvm::<wbr>Module> >) in libLLVMPasses.a(PassBuilder.<wbr>cpp.o)<br>
> llvm::RepeatedPass<llvm::<wbr>PassManager<llvm::Module,<br>
> llvm::AnalysisManager<llvm::<wbr>Module> > ><br>
> llvm::createRepeatedPass<llvm:<wbr>:PassManager<llvm::Module,<br>
> llvm::AnalysisManager<llvm::<wbr>Module> > >(int, llvm::PassManager<llvm::<wbr>Module,<br>
> llvm::AnalysisManager<llvm::<wbr>Module> >) in libLLVMPasses.a(PassBuilder.<wbr>cpp.o)<br>
> llvm::detail::PassModel<llvm::<wbr>Module, llvm::PassManager<llvm::<wbr>Module,<br>
> llvm::AnalysisManager<llvm::<wbr>Module> >, llvm::PreservedAnalyses,<br>
> llvm::AnalysisManager<llvm::<wbr>Module><br>
>>::PassModel(llvm::<wbr>PassManager<llvm::Module,<br>
> llvm::AnalysisManager<llvm::<wbr>Module> >) in libLLVMPasses.a(PassBuilder.<wbr>cpp.o)<br>
> llvm::RepeatedPass<llvm::<wbr>PassManager<llvm::Module,<br>
> llvm::AnalysisManager<llvm::<wbr>Module> > >::RepeatedPass(int,<br>
> llvm::PassManager<llvm::<wbr>Module, llvm::AnalysisManager<llvm::<wbr>Module> >) in<br>
> libLLVMPasses.a(PassBuilder.<wbr>cpp.o)<br>
> llvm::RepeatedPass<llvm::<wbr>PassManager<llvm::Module,<br>
> llvm::AnalysisManager<llvm::<wbr>Module> ><br>
>>::RepeatedPass(llvm::<wbr>RepeatedPass<llvm::<wbr>PassManager<llvm::Module,<br>
> llvm::AnalysisManager<llvm::<wbr>Module> > >&&) in<br>
> libLLVMPasses.a(PassBuilder.<wbr>cpp.o)<br>
> "llvm::PassManager<llvm::<wbr>Function, llvm::AnalysisManager<llvm::<wbr>Function><br>
>>::PassManager(llvm::<wbr>PassManager<llvm::Function,<br>
> llvm::AnalysisManager<llvm::<wbr>Function> >&&)", referenced from:<br>
><br>
> llvm::PassBuilder::<wbr>addPerModuleDefaultPipeline(<wbr>llvm::PassManager<llvm::<wbr>Module,<br>
> llvm::AnalysisManager<llvm::<wbr>Module> >&,<br>
> llvm::PassBuilder::<wbr>OptimizationLevel, bool) in<br>
> libLLVMPasses.a(PassBuilder.<wbr>cpp.o)<br>
> llvm::<wbr>ModuleToFunctionPassAdaptor<<wbr>llvm::PassManager<llvm::<wbr>Function,<br>
> llvm::AnalysisManager<llvm::<wbr>Function> > ><br>
> llvm::<wbr>createModuleToFunctionPassAdap<wbr>tor<llvm::PassManager<llvm::<wbr>Function,<br>
> llvm::AnalysisManager<llvm::<wbr>Function> > >(llvm::PassManager<llvm::<wbr>Function,<br>
> llvm::AnalysisManager<llvm::<wbr>Function> >) in<br>
> libLLVMPasses.a(PassBuilder.<wbr>cpp.o)<br>
><br>
> llvm::PassBuilder::<wbr>addLTODefaultPipeline(llvm::<wbr>PassManager<llvm::Module,<br>
> llvm::AnalysisManager<llvm::<wbr>Module> >&,<br>
> llvm::PassBuilder::<wbr>OptimizationLevel, bool) in<br>
> libLLVMPasses.a(PassBuilder.<wbr>cpp.o)<br>
> llvm::PassBuilder::<wbr>parseModulePass(llvm::<wbr>PassManager<llvm::Module,<br>
> llvm::AnalysisManager<llvm::<wbr>Module> >&, llvm::PassBuilder::<wbr>PipelineElement<br>
> const&, bool, bool) in libLLVMPasses.a(PassBuilder.<wbr>cpp.o)<br>
><br>
> llvm::PassBuilder::<wbr>parseCGSCCPass(llvm::<wbr>PassManager<llvm::<wbr>LazyCallGraph::SCC,<br>
> llvm::AnalysisManager<llvm::<wbr>LazyCallGraph::SCC, llvm::LazyCallGraph&>,<br>
> llvm::LazyCallGraph&, llvm::CGSCCUpdateResult&>&,<br>
> llvm::PassBuilder::<wbr>PipelineElement const&, bool, bool) in<br>
> libLLVMPasses.a(PassBuilder.<wbr>cpp.o)<br>
> llvm::<wbr>CGSCCToFunctionPassAdaptor<<wbr>llvm::PassManager<llvm::<wbr>Function,<br>
> llvm::AnalysisManager<llvm::<wbr>Function> > ><br>
> llvm::<wbr>createCGSCCToFunctionPassAdapt<wbr>or<llvm::PassManager<llvm::<wbr>Function,<br>
> llvm::AnalysisManager<llvm::<wbr>Function> > >(llvm::PassManager<llvm::<wbr>Function,<br>
> llvm::AnalysisManager<llvm::<wbr>Function> >, bool) in<br>
> libLLVMPasses.a(PassBuilder.<wbr>cpp.o)<br>
> llvm::PassBuilder::<wbr>parseFunctionPass(llvm::<wbr>PassManager<llvm::Function,<br>
> llvm::AnalysisManager<llvm::<wbr>Function> >&, llvm::PassBuilder::<wbr>PipelineElement<br>
> const&, bool, bool) in libLLVMPasses.a(PassBuilder.<wbr>cpp.o)<br>
> ...<br>
> ld: symbol(s) not found for architecture x86_64<br>
> clang: error: linker command failed with exit code 1 (use -v to see<br>
> invocation)<br>
><br>
><br>
> On Thu, Oct 20, 2016 at 6:20 AM, Benjamin Kramer via llvm-commits<br>
> <<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a>> wrote:<br>
>><br>
>> Author: d0k<br>
>> Date: Thu Oct 20 07:20:28 2016<br>
>> New Revision: 284721<br>
>><br>
>> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=284721&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project?rev=284721&view=rev</a><br>
>> Log:<br>
>> Do a sweep over move ctors and remove those that are identical to the<br>
>> default.<br>
>><br>
>> All of these existed because MSVC 2013 was unable to synthesize default<br>
>> move ctors. We recently dropped support for it so all that error-prone<br>
>> boilerplate can go.<br>
>><br>
>> No functionality change intended.<br>
>><br>
>> Modified:<br>
>> llvm/trunk/include/llvm/<wbr>Analysis/AliasAnalysis.h<br>
>> llvm/trunk/include/llvm/<wbr>Analysis/AssumptionCache.h<br>
>> llvm/trunk/include/llvm/<wbr>Analysis/DependenceAnalysis.h<br>
>> llvm/trunk/include/llvm/<wbr>Analysis/LoopAccessAnalysis.h<br>
>> llvm/trunk/include/llvm/<wbr>Analysis/LoopPassManager.h<br>
>> llvm/trunk/include/llvm/<wbr>Analysis/PostDominators.h<br>
>> llvm/trunk/include/llvm/<wbr>Analysis/ProfileSummaryInfo.h<br>
>> llvm/trunk/include/llvm/<wbr>Analysis/ScalarEvolution.h<br>
>> llvm/trunk/include/llvm/<wbr>Analysis/ScopedNoAliasAA.h<br>
>> llvm/trunk/include/llvm/<wbr>Analysis/TargetLibraryInfo.h<br>
>> llvm/trunk/include/llvm/<wbr>Analysis/<wbr>TargetTransformInfoImpl.h<br>
>> llvm/trunk/include/llvm/<wbr>Analysis/<wbr>TypeBasedAliasAnalysis.h<br>
>> llvm/trunk/include/llvm/<wbr>Bitcode/BitstreamReader.h<br>
>> llvm/trunk/include/llvm/<wbr>CodeGen/BasicTTIImpl.h<br>
>> llvm/trunk/include/llvm/<wbr>ExecutionEngine/Orc/<wbr>CompileOnDemandLayer.h<br>
>> llvm/trunk/include/llvm/<wbr>ExecutionEngine/Orc/RPCUtils.h<br>
>> llvm/trunk/include/llvm/IR/<wbr>DebugLoc.h<br>
>> llvm/trunk/include/llvm/IR/<wbr>Dominators.h<br>
>> llvm/trunk/include/llvm/IR/<wbr>ModuleSummaryIndex.h<br>
>> llvm/trunk/include/llvm/IR/<wbr>PassManager.h<br>
>> llvm/trunk/include/llvm/IR/<wbr>UseListOrder.h<br>
>> llvm/trunk/include/llvm/LTO/<wbr>Config.h<br>
>> llvm/trunk/include/llvm/<wbr>Object/ArchiveWriter.h<br>
>> llvm/trunk/include/llvm/<wbr>ProfileData/Coverage/<wbr>CoverageMapping.h<br>
>> llvm/trunk/include/llvm/<wbr>Support/SourceMgr.h<br>
>> llvm/trunk/include/llvm/<wbr>Transforms/InstCombine/<wbr>InstCombine.h<br>
>> llvm/trunk/include/llvm/<wbr>Transforms/InstCombine/<wbr>InstCombineWorklist.h<br>
>> llvm/trunk/include/llvm/<wbr>Transforms/Scalar/<wbr>JumpThreading.h<br>
>><br>
>> llvm/trunk/include/llvm/<wbr>Transforms/Utils/<wbr>ImportedFunctionsInliningStati<wbr>stics.h<br>
>> llvm/trunk/include/llvm/<wbr>Transforms/Utils/MemorySSA.h<br>
>> llvm/trunk/include/llvm/<wbr>Transforms/Utils/<wbr>SymbolRewriter.h<br>
>> llvm/trunk/lib/Analysis/<wbr>StratifiedSets.h<br>
>> llvm/trunk/lib/<wbr>ExecutionEngine/<wbr>GDBRegistrationListener.cpp<br>
>> llvm/trunk/lib/<wbr>ExecutionEngine/Interpreter/<wbr>Interpreter.h<br>
>> llvm/trunk/lib/Support/<wbr>SpecialCaseList.cpp<br>
>> llvm/trunk/lib/Target/AArch64/<wbr>AArch64TargetTransformInfo.h<br>
>> llvm/trunk/lib/Target/AMDGPU/<wbr>AMDGPUTargetTransformInfo.h<br>
>> llvm/trunk/lib/Target/ARM/<wbr>ARMTargetTransformInfo.h<br>
>> llvm/trunk/lib/Target/Hexagon/<wbr>HexagonTargetTransformInfo.h<br>
>> llvm/trunk/lib/Target/Lanai/<wbr>LanaiTargetTransformInfo.h<br>
>> llvm/trunk/lib/Target/NVPTX/<wbr>NVPTXTargetTransformInfo.h<br>
>> llvm/trunk/lib/Target/PowerPC/<wbr>PPCTargetTransformInfo.h<br>
>> llvm/trunk/lib/Target/SystemZ/<wbr>SystemZTargetTransformInfo.h<br>
>> llvm/trunk/lib/Target/<wbr>WebAssembly/<wbr>WebAssemblyTargetTransformInfo<wbr>.h<br>
>> llvm/trunk/lib/Target/X86/<wbr>X86TargetTransformInfo.h<br>
>> llvm/trunk/lib/Target/XCore/<wbr>XCoreTargetTransformInfo.h<br>
>> llvm/trunk/lib/Transforms/<wbr>Utils/ValueMapper.cpp<br>
>><br>
>> Modified: llvm/trunk/include/llvm/<wbr>Analysis/AliasAnalysis.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/AliasAnalysis.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Analysis/AliasAnalysis.h?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/<wbr>Analysis/AliasAnalysis.h (original)<br>
>> +++ llvm/trunk/include/llvm/<wbr>Analysis/AliasAnalysis.h Thu Oct 20 07:20:28<br>
>> 2016<br>
>> @@ -854,20 +854,6 @@ class AAManager : public AnalysisInfoMix<br>
>> public:<br>
>> typedef AAResults Result;<br>
>><br>
>> - // This type has value semantics. We have to spell these out because<br>
>> MSVC<br>
>> - // won't synthesize them.<br>
>> - AAManager() {}<br>
>> - AAManager(AAManager &&Arg) :<br>
>> ResultGetters(std::move(Arg.<wbr>ResultGetters)) {}<br>
>> - AAManager(const AAManager &Arg) : ResultGetters(Arg.<wbr>ResultGetters) {}<br>
>> - AAManager &operator=(AAManager &&RHS) {<br>
>> - ResultGetters = std::move(RHS.ResultGetters);<br>
>> - return *this;<br>
>> - }<br>
>> - AAManager &operator=(const AAManager &RHS) {<br>
>> - ResultGetters = RHS.ResultGetters;<br>
>> - return *this;<br>
>> - }<br>
>> -<br>
>> /// Register a specific AA result.<br>
>> template <typename AnalysisT> void registerFunctionAnalysis() {<br>
>> ResultGetters.push_back(&<wbr>getFunctionAAResultImpl<<wbr>AnalysisT>);<br>
>><br>
>> Modified: llvm/trunk/include/llvm/<wbr>Analysis/AssumptionCache.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/AssumptionCache.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Analysis/AssumptionCache.<wbr>h?rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/<wbr>Analysis/AssumptionCache.h (original)<br>
>> +++ llvm/trunk/include/llvm/<wbr>Analysis/AssumptionCache.h Thu Oct 20 07:20:28<br>
>> 2016<br>
>> @@ -100,12 +100,6 @@ class AssumptionAnalysis : public Analys<br>
>> public:<br>
>> typedef AssumptionCache Result;<br>
>><br>
>> - AssumptionAnalysis() {}<br>
>> - AssumptionAnalysis(const AssumptionAnalysis &Arg) {}<br>
>> - AssumptionAnalysis(<wbr>AssumptionAnalysis &&Arg) {}<br>
>> - AssumptionAnalysis &operator=(const AssumptionAnalysis &RHS) { return<br>
>> *this; }<br>
>> - AssumptionAnalysis &operator=(AssumptionAnalysis &&RHS) { return *this;<br>
>> }<br>
>> -<br>
>> AssumptionCache run(Function &F, FunctionAnalysisManager &) {<br>
>> return AssumptionCache(F);<br>
>> }<br>
>><br>
>> Modified: llvm/trunk/include/llvm/<wbr>Analysis/DependenceAnalysis.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/DependenceAnalysis.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Analysis/<wbr>DependenceAnalysis.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/<wbr>Analysis/DependenceAnalysis.h (original)<br>
>> +++ llvm/trunk/include/llvm/<wbr>Analysis/DependenceAnalysis.h Thu Oct 20<br>
>> 07:20:28 2016<br>
>> @@ -70,13 +70,8 @@ template <typename T> class ArrayRef;<br>
>> /// itelf.<br>
>> class Dependence {<br>
>> protected:<br>
>> - Dependence(const Dependence &) = default;<br>
>> -<br>
>> - // FIXME: When we move to MSVC 2015 as the base compiler for Visual<br>
>> Studio<br>
>> - // support, uncomment this line to allow a defaulted move constructor<br>
>> for<br>
>> - // Dependence. Currently, FullDependence relies on the copy<br>
>> constructor, but<br>
>> - // that is acceptable given the triviality of the class.<br>
>> - // Dependence(Dependence &&) = default;<br>
>> + Dependence(Dependence &&) = default;<br>
>> + Dependence &operator=(Dependence &&) = default;<br>
>><br>
>> public:<br>
>> Dependence(Instruction *Source,<br>
>> @@ -222,11 +217,6 @@ template <typename T> class ArrayRef;<br>
>> FullDependence(Instruction *Src, Instruction *Dst, bool<br>
>> LoopIndependent,<br>
>> unsigned Levels);<br>
>><br>
>> - FullDependence(FullDependence &&RHS)<br>
>> - : Dependence(std::move(RHS)), Levels(RHS.Levels),<br>
>> - LoopIndependent(RHS.<wbr>LoopIndependent),<br>
>> Consistent(RHS.Consistent),<br>
>> - DV(std::move(RHS.DV)) {}<br>
>> -<br>
>> /// isLoopIndependent - Returns true if this is a loop-independent<br>
>> /// dependence.<br>
>> bool isLoopIndependent() const override { return LoopIndependent; }<br>
>><br>
>> Modified: llvm/trunk/include/llvm/<wbr>Analysis/LoopAccessAnalysis.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/LoopAccessAnalysis.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Analysis/<wbr>LoopAccessAnalysis.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/<wbr>Analysis/LoopAccessAnalysis.h (original)<br>
>> +++ llvm/trunk/include/llvm/<wbr>Analysis/LoopAccessAnalysis.h Thu Oct 20<br>
>> 07:20:28 2016<br>
>> @@ -518,38 +518,6 @@ public:<br>
>> LoopAccessInfo(Loop *L, ScalarEvolution *SE, const TargetLibraryInfo<br>
>> *TLI,<br>
>> AliasAnalysis *AA, DominatorTree *DT, LoopInfo *LI);<br>
>><br>
>> - // FIXME:<br>
>> - // Hack for MSVC 2013 which sems like it can't synthesize this even<br>
>> - // with default keyword:<br>
>> - // LoopAccessInfo(LoopAccessInfo &&LAI) = default;<br>
>> - LoopAccessInfo(LoopAccessInfo &&LAI)<br>
>> - : PSE(std::move(LAI.PSE)),<br>
>> PtrRtChecking(std::move(LAI.<wbr>PtrRtChecking)),<br>
>> - DepChecker(std::move(LAI.<wbr>DepChecker)), TheLoop(LAI.TheLoop),<br>
>> - NumLoads(LAI.NumLoads), NumStores(LAI.NumStores),<br>
>> - MaxSafeDepDistBytes(LAI.<wbr>MaxSafeDepDistBytes),<br>
>> CanVecMem(LAI.CanVecMem),<br>
>> - StoreToLoopInvariantAddress(<wbr>LAI.<wbr>StoreToLoopInvariantAddress),<br>
>> - Report(std::move(LAI.Report)),<br>
>> - SymbolicStrides(std::move(LAI.<wbr>SymbolicStrides)),<br>
>> - StrideSet(std::move(LAI.<wbr>StrideSet)) {}<br>
>> - // LoopAccessInfo &operator=(LoopAccessInfo &&LAI) = default;<br>
>> - LoopAccessInfo &operator=(LoopAccessInfo &&LAI) {<br>
>> - assert(this != &LAI);<br>
>> -<br>
>> - PSE = std::move(LAI.PSE);<br>
>> - PtrRtChecking = std::move(LAI.PtrRtChecking);<br>
>> - DepChecker = std::move(LAI.DepChecker);<br>
>> - TheLoop = LAI.TheLoop;<br>
>> - NumLoads = LAI.NumLoads;<br>
>> - NumStores = LAI.NumStores;<br>
>> - MaxSafeDepDistBytes = LAI.MaxSafeDepDistBytes;<br>
>> - CanVecMem = LAI.CanVecMem;<br>
>> - StoreToLoopInvariantAddress = LAI.<wbr>StoreToLoopInvariantAddress;<br>
>> - Report = std::move(LAI.Report);<br>
>> - SymbolicStrides = std::move(LAI.SymbolicStrides)<wbr>;<br>
>> - StrideSet = std::move(LAI.StrideSet);<br>
>> - return *this;<br>
>> - }<br>
>> -<br>
>> /// Return true we can analyze the memory accesses in the loop and<br>
>> there are<br>
>> /// no memory dependence cycles.<br>
>> bool canVectorizeMemory() const { return CanVecMem; }<br>
>><br>
>> Modified: llvm/trunk/include/llvm/<wbr>Analysis/LoopPassManager.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/LoopPassManager.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Analysis/LoopPassManager.<wbr>h?rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/<wbr>Analysis/LoopPassManager.h (original)<br>
>> +++ llvm/trunk/include/llvm/<wbr>Analysis/LoopPassManager.h Thu Oct 20 07:20:28<br>
>> 2016<br>
>> @@ -64,21 +64,6 @@ class FunctionToLoopPassAdaptor<br>
>> public:<br>
>> explicit FunctionToLoopPassAdaptor(<wbr>LoopPassT Pass)<br>
>> : Pass(std::move(Pass)) {}<br>
>> - // We have to explicitly define all the special member functions<br>
>> because MSVC<br>
>> - // refuses to generate them.<br>
>> - FunctionToLoopPassAdaptor(<wbr>const FunctionToLoopPassAdaptor &Arg)<br>
>> - : Pass(Arg.Pass) {}<br>
>> - FunctionToLoopPassAdaptor(<wbr>FunctionToLoopPassAdaptor &&Arg)<br>
>> - : Pass(std::move(Arg.Pass)) {}<br>
>> - friend void swap(FunctionToLoopPassAdaptor &LHS,<br>
>> - FunctionToLoopPassAdaptor &RHS) {<br>
>> - using std::swap;<br>
>> - swap(LHS.Pass, RHS.Pass);<br>
>> - }<br>
>> - FunctionToLoopPassAdaptor &operator=(<wbr>FunctionToLoopPassAdaptor RHS) {<br>
>> - swap(*this, RHS);<br>
>> - return *this;<br>
>> - }<br>
>><br>
>> /// \brief Runs the loop passes across every loop in the function.<br>
>> PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM) {<br>
>><br>
>> Modified: llvm/trunk/include/llvm/<wbr>Analysis/PostDominators.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/PostDominators.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Analysis/PostDominators.<wbr>h?rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/<wbr>Analysis/PostDominators.h (original)<br>
>> +++ llvm/trunk/include/llvm/<wbr>Analysis/PostDominators.h Thu Oct 20 07:20:28<br>
>> 2016<br>
>> @@ -26,14 +26,6 @@ struct PostDominatorTree : public Domina<br>
>> typedef DominatorTreeBase<BasicBlock> Base;<br>
>><br>
>> PostDominatorTree() : DominatorTreeBase<BasicBlock>(<wbr>true) {}<br>
>> -<br>
>> - PostDominatorTree(<wbr>PostDominatorTree &&Arg)<br>
>> - : Base(std::move(static_cast<<wbr>Base &>(Arg))) {}<br>
>> -<br>
>> - PostDominatorTree &operator=(PostDominatorTree &&RHS) {<br>
>> - Base::operator=(std::move(<wbr>static_cast<Base &>(RHS)));<br>
>> - return *this;<br>
>> - }<br>
>> };<br>
>><br>
>> /// \brief Analysis pass which computes a \c PostDominatorTree.<br>
>><br>
>> Modified: llvm/trunk/include/llvm/<wbr>Analysis/ProfileSummaryInfo.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/ProfileSummaryInfo.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Analysis/<wbr>ProfileSummaryInfo.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/<wbr>Analysis/ProfileSummaryInfo.h (original)<br>
>> +++ llvm/trunk/include/llvm/<wbr>Analysis/ProfileSummaryInfo.h Thu Oct 20<br>
>> 07:20:28 2016<br>
>> @@ -86,16 +86,6 @@ class ProfileSummaryAnalysis<br>
>> public:<br>
>> typedef ProfileSummaryInfo Result;<br>
>><br>
>> - ProfileSummaryAnalysis() {}<br>
>> - ProfileSummaryAnalysis(const ProfileSummaryAnalysis &Arg) {}<br>
>> - ProfileSummaryAnalysis(<wbr>ProfileSummaryAnalysis &&Arg) {}<br>
>> - ProfileSummaryAnalysis &operator=(const ProfileSummaryAnalysis &RHS) {<br>
>> - return *this;<br>
>> - }<br>
>> - ProfileSummaryAnalysis &operator=(<wbr>ProfileSummaryAnalysis &&RHS) {<br>
>> - return *this;<br>
>> - }<br>
>> -<br>
>> Result run(Module &M, ModuleAnalysisManager &);<br>
>><br>
>> private:<br>
>><br>
>> Modified: llvm/trunk/include/llvm/<wbr>Analysis/ScalarEvolution.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/ScalarEvolution.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Analysis/ScalarEvolution.<wbr>h?rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/<wbr>Analysis/ScalarEvolution.h (original)<br>
>> +++ llvm/trunk/include/llvm/<wbr>Analysis/ScalarEvolution.h Thu Oct 20 07:20:28<br>
>> 2016<br>
>> @@ -609,22 +609,6 @@ private:<br>
>> std::unique_ptr<<wbr>SCEVUnionPredicate><br>
>> Predicate)<br>
>> : ExitingBlock(ExitingBlock), ExactNotTaken(ExactNotTaken),<br>
>> Predicate(std::move(Predicate)<wbr>) {}<br>
>> -<br>
>> - // Clang builds fine without this, but MSVC does not.<br>
>> - ExitNotTakenInfo(const ExitNotTakenInfo &) = delete;<br>
>> -<br>
>> - ExitNotTakenInfo(<wbr>ExitNotTakenInfo &&Other) {<br>
>> - ExitingBlock = std::move(Other.ExitingBlock);<br>
>> - ExactNotTaken = std::move(Other.ExactNotTaken)<wbr>;<br>
>> - Predicate = std::move(Other.Predicate);<br>
>> - }<br>
>> -<br>
>> - ExitNotTakenInfo &operator=(ExitNotTakenInfo &&Other) {<br>
>> - ExitingBlock = std::move(Other.ExitingBlock);<br>
>> - ExactNotTaken = std::move(Other.ExactNotTaken)<wbr>;<br>
>> - Predicate = std::move(Other.Predicate);<br>
>> - return *this;<br>
>> - }<br>
>> };<br>
>><br>
>> /// Information about the backedge-taken count of a loop. This<br>
>> currently<br>
>> @@ -653,18 +637,8 @@ private:<br>
>> public:<br>
>> BackedgeTakenInfo() : MaxAndComplete(nullptr, 0) {}<br>
>><br>
>> - BackedgeTakenInfo(const BackedgeTakenInfo &) = delete;<br>
>> -<br>
>> - BackedgeTakenInfo(<wbr>BackedgeTakenInfo &&Other) {<br>
>> - ExitNotTaken = std::move(Other.ExitNotTaken);<br>
>> - MaxAndComplete = std::move(Other.<wbr>MaxAndComplete);<br>
>> - }<br>
>> -<br>
>> - BackedgeTakenInfo &operator=(BackedgeTakenInfo &&Other) {<br>
>> - ExitNotTaken = std::move(Other.ExitNotTaken);<br>
>> - MaxAndComplete = std::move(Other.<wbr>MaxAndComplete);<br>
>> - return *this;<br>
>> - }<br>
>> + BackedgeTakenInfo(<wbr>BackedgeTakenInfo &&) = default;<br>
>> + BackedgeTakenInfo &operator=(BackedgeTakenInfo &&) = default;<br>
>><br>
>> typedef std::pair<BasicBlock *, ExitLimit> EdgeExitInfo;<br>
>><br>
>><br>
>> Modified: llvm/trunk/include/llvm/<wbr>Analysis/ScopedNoAliasAA.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/ScopedNoAliasAA.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Analysis/ScopedNoAliasAA.<wbr>h?rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/<wbr>Analysis/ScopedNoAliasAA.h (original)<br>
>> +++ llvm/trunk/include/llvm/<wbr>Analysis/ScopedNoAliasAA.h Thu Oct 20 07:20:28<br>
>> 2016<br>
>> @@ -27,10 +27,6 @@ class ScopedNoAliasAAResult : public AAR<br>
>> friend AAResultBase<<wbr>ScopedNoAliasAAResult>;<br>
>><br>
>> public:<br>
>> - explicit ScopedNoAliasAAResult() : AAResultBase() {}<br>
>> - ScopedNoAliasAAResult(<wbr>ScopedNoAliasAAResult &&Arg)<br>
>> - : AAResultBase(std::move(Arg)) {}<br>
>> -<br>
>> /// Handle invalidation events from the new pass manager.<br>
>> ///<br>
>> /// By definition, this result is stateless and so remains valid.<br>
>><br>
>> Modified: llvm/trunk/include/llvm/<wbr>Analysis/TargetLibraryInfo.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/TargetLibraryInfo.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Analysis/<wbr>TargetLibraryInfo.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/<wbr>Analysis/TargetLibraryInfo.h (original)<br>
>> +++ llvm/trunk/include/llvm/<wbr>Analysis/TargetLibraryInfo.h Thu Oct 20<br>
>> 07:20:28 2016<br>
>> @@ -297,15 +297,6 @@ public:<br>
>> TargetLibraryAnalysis(<wbr>TargetLibraryInfoImpl PresetInfoImpl)<br>
>> : PresetInfoImpl(std::move(<wbr>PresetInfoImpl)) {}<br>
>><br>
>> - // Move semantics. We spell out the constructors for MSVC.<br>
>> - TargetLibraryAnalysis(<wbr>TargetLibraryAnalysis &&Arg)<br>
>> - : PresetInfoImpl(std::move(Arg.<wbr>PresetInfoImpl)),<br>
>> Impls(std::move(Arg.Impls)) {}<br>
>> - TargetLibraryAnalysis &operator=(<wbr>TargetLibraryAnalysis &&RHS) {<br>
>> - PresetInfoImpl = std::move(RHS.PresetInfoImpl);<br>
>> - Impls = std::move(RHS.Impls);<br>
>> - return *this;<br>
>> - }<br>
>> -<br>
>> TargetLibraryInfo run(Module &M, ModuleAnalysisManager &);<br>
>> TargetLibraryInfo run(Function &F, FunctionAnalysisManager &);<br>
>><br>
>><br>
>> Modified: llvm/trunk/include/llvm/<wbr>Analysis/<wbr>TargetTransformInfoImpl.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/TargetTransformInfoImpl.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Analysis/<wbr>TargetTransformInfoImpl.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/<wbr>Analysis/<wbr>TargetTransformInfoImpl.h (original)<br>
>> +++ llvm/trunk/include/llvm/<wbr>Analysis/<wbr>TargetTransformInfoImpl.h Thu Oct 20<br>
>> 07:20:28 2016<br>
>> @@ -435,12 +435,6 @@ protected:<br>
>> explicit TargetTransformInfoImplCRTPBas<wbr>e(const DataLayout &DL) :<br>
>> BaseT(DL) {}<br>
>><br>
>> public:<br>
>> - // Provide value semantics. MSVC requires that we spell all of these<br>
>> out.<br>
>> - TargetTransformInfoImplCRTPBas<wbr>e(const TargetTransformInfoImplCRTPBas<wbr>e<br>
>> &Arg)<br>
>> - : BaseT(static_cast<const BaseT &>(Arg)) {}<br>
>> - TargetTransformInfoImplCRTPBas<wbr>e(<wbr>TargetTransformInfoImplCRTPBas<wbr>e &&Arg)<br>
>> - : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))) {}<br>
>> -<br>
>> using BaseT::getCallCost;<br>
>><br>
>> unsigned getCallCost(const Function *F, int NumArgs) {<br>
>><br>
>> Modified: llvm/trunk/include/llvm/<wbr>Analysis/<wbr>TypeBasedAliasAnalysis.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/TypeBasedAliasAnalysis.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Analysis/<wbr>TypeBasedAliasAnalysis.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/<wbr>Analysis/<wbr>TypeBasedAliasAnalysis.h (original)<br>
>> +++ llvm/trunk/include/llvm/<wbr>Analysis/<wbr>TypeBasedAliasAnalysis.h Thu Oct 20<br>
>> 07:20:28 2016<br>
>> @@ -27,9 +27,6 @@ class TypeBasedAAResult : public AAResul<br>
>> friend AAResultBase<<wbr>TypeBasedAAResult>;<br>
>><br>
>> public:<br>
>> - explicit TypeBasedAAResult() {}<br>
>> - TypeBasedAAResult(<wbr>TypeBasedAAResult &&Arg) :<br>
>> AAResultBase(std::move(Arg)) {}<br>
>> -<br>
>> /// Handle invalidation events from the new pass manager.<br>
>> ///<br>
>> /// By definition, this result is stateless and so remains valid.<br>
>><br>
>> Modified: llvm/trunk/include/llvm/<wbr>Bitcode/BitstreamReader.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Bitcode/BitstreamReader.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Bitcode/BitstreamReader.<wbr>h?rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/<wbr>Bitcode/BitstreamReader.h (original)<br>
>> +++ llvm/trunk/include/llvm/<wbr>Bitcode/BitstreamReader.h Thu Oct 20 07:20:28<br>
>> 2016<br>
>> @@ -58,9 +58,6 @@ private:<br>
>> /// information in the BlockInfo block. Only llvm-bcanalyzer uses this.<br>
>> bool IgnoreBlockInfoNames;<br>
>><br>
>> - BitstreamReader(const BitstreamReader&) = delete;<br>
>> - void operator=(const BitstreamReader&) = delete;<br>
>> -<br>
>> public:<br>
>> BitstreamReader() : IgnoreBlockInfoNames(true) {<br>
>> }<br>
>> @@ -73,18 +70,6 @@ public:<br>
>> BitstreamReader(std::unique_<wbr>ptr<MemoryObject> BitcodeBytes)<br>
>> : BitcodeBytes(std::move(<wbr>BitcodeBytes)), IgnoreBlockInfoNames(true)<br>
>> {}<br>
>><br>
>> - BitstreamReader(<wbr>BitstreamReader &&Other) {<br>
>> - *this = std::move(Other);<br>
>> - }<br>
>> -<br>
>> - BitstreamReader &operator=(BitstreamReader &&Other) {<br>
>> - BitcodeBytes = std::move(Other.BitcodeBytes);<br>
>> - // Explicitly swap block info, so that nothing gets destroyed twice.<br>
>> - std::swap(BlockInfoRecords, Other.BlockInfoRecords);<br>
>> - IgnoreBlockInfoNames = Other.IgnoreBlockInfoNames;<br>
>> - return *this;<br>
>> - }<br>
>> -<br>
>> void init(const unsigned char *Start, const unsigned char *End) {<br>
>> assert(((End-Start) & 3) == 0 &&"Bitcode stream not a multiple of 4<br>
>> bytes");<br>
>> BitcodeBytes.reset(<wbr>getNonStreamedMemoryObject(<wbr>Start, End));<br>
>><br>
>> Modified: llvm/trunk/include/llvm/<wbr>CodeGen/BasicTTIImpl.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/BasicTTIImpl.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/CodeGen/BasicTTIImpl.h?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/<wbr>CodeGen/BasicTTIImpl.h (original)<br>
>> +++ llvm/trunk/include/llvm/<wbr>CodeGen/BasicTTIImpl.h Thu Oct 20 07:20:28<br>
>> 2016<br>
>> @@ -97,12 +97,6 @@ protected:<br>
>> using TargetTransformInfoImplBase::<wbr>DL;<br>
>><br>
>> public:<br>
>> - // Provide value semantics. MSVC requires that we spell all of these<br>
>> out.<br>
>> - BasicTTIImplBase(const BasicTTIImplBase &Arg)<br>
>> - : BaseT(static_cast<const BaseT &>(Arg)) {}<br>
>> - BasicTTIImplBase(<wbr>BasicTTIImplBase &&Arg)<br>
>> - : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))) {}<br>
>> -<br>
>> /// \name Scalar TTI Implementations<br>
>> /// @{<br>
>> bool allowsMisalignedMemoryAccesses<wbr>(LLVMContext &Context,<br>
>> @@ -961,13 +955,6 @@ class BasicTTIImpl : public BasicTTIImpl<br>
>><br>
>> public:<br>
>> explicit BasicTTIImpl(const TargetMachine *ST, const Function &F);<br>
>> -<br>
>> - // Provide value semantics. MSVC requires that we spell all of these<br>
>> out.<br>
>> - BasicTTIImpl(const BasicTTIImpl &Arg)<br>
>> - : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI)<br>
>> {}<br>
>> - BasicTTIImpl(BasicTTIImpl &&Arg)<br>
>> - : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))),<br>
>> ST(std::move(Arg.ST)),<br>
>> - TLI(std::move(Arg.TLI)) {}<br>
>> };<br>
>><br>
>> }<br>
>><br>
>> Modified:<br>
>> llvm/trunk/include/llvm/<wbr>ExecutionEngine/Orc/<wbr>CompileOnDemandLayer.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/ExecutionEngine/Orc/<wbr>CompileOnDemandLayer.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/<wbr>ExecutionEngine/Orc/<wbr>CompileOnDemandLayer.h<br>
>> (original)<br>
>> +++ llvm/trunk/include/llvm/<wbr>ExecutionEngine/Orc/<wbr>CompileOnDemandLayer.h Thu<br>
>> Oct 20 07:20:28 2016<br>
>> @@ -89,15 +89,9 @@ private:<br>
>><br>
>> class StaticGlobalRenamer {<br>
>> public:<br>
>> - StaticGlobalRenamer() {}<br>
>> -<br>
>> - StaticGlobalRenamer(<wbr>StaticGlobalRenamer &&Other)<br>
>> - : NextId(Other.NextId) {}<br>
>> -<br>
>> - StaticGlobalRenamer& operator=(StaticGlobalRenamer &&Other) {<br>
>> - NextId = Other.NextId;<br>
>> - return *this;<br>
>> - }<br>
>> + StaticGlobalRenamer() = default;<br>
>> + StaticGlobalRenamer(<wbr>StaticGlobalRenamer &&) = default;<br>
>> + StaticGlobalRenamer &operator=(StaticGlobalRenamer &&) = default;<br>
>><br>
>> void rename(Module &M) {<br>
>> for (auto &F : M)<br>
>> @@ -124,45 +118,11 @@ private:<br>
>> struct SourceModuleEntry {<br>
>> std::unique_ptr<ResourceOwner<<wbr>Module>> SourceMod;<br>
>> std::set<Function*> StubsToClone;<br>
>> -<br>
>> - SourceModuleEntry() = default;<br>
>> - SourceModuleEntry(<wbr>SourceModuleEntry &&Other)<br>
>> - : SourceMod(std::move(Other.<wbr>SourceMod)),<br>
>> - StubsToClone(std::move(Other.<wbr>StubsToClone)) {}<br>
>> - SourceModuleEntry& operator=(SourceModuleEntry &&Other) {<br>
>> - SourceMod = std::move(Other.SourceMod);<br>
>> - StubsToClone = std::move(Other.StubsToClone);<br>
>> - return *this;<br>
>> - }<br>
>> };<br>
>><br>
>> typedef std::vector<SourceModuleEntry> SourceModulesList;<br>
>> typedef typename SourceModulesList::size_type SourceModuleHandle;<br>
>><br>
>> - LogicalDylib() = default;<br>
>> -<br>
>> - // Explicit move constructor to make MSVC happy.<br>
>> - LogicalDylib(LogicalDylib &&Other)<br>
>> - : ExternalSymbolResolver(std::<wbr>move(Other.<wbr>ExternalSymbolResolver)),<br>
>> - MemMgr(std::move(Other.MemMgr)<wbr>),<br>
>> - StubsMgr(std::move(Other.<wbr>StubsMgr)),<br>
>> - StaticRenamer(std::move(Other.<wbr>StaticRenamer)),<br>
>> - ModuleAdder(std::move(Other.<wbr>ModuleAdder)),<br>
>> - SourceModules(std::move(Other.<wbr>SourceModules)),<br>
>> - BaseLayerHandles(std::move(<wbr>Other.BaseLayerHandles)) {}<br>
>> -<br>
>> - // Explicit move assignment operator to make MSVC happy.<br>
>> - LogicalDylib& operator=(LogicalDylib &&Other) {<br>
>> - ExternalSymbolResolver = std::move(Other.<wbr>ExternalSymbolResolver);<br>
>> - MemMgr = std::move(Other.MemMgr);<br>
>> - StubsMgr = std::move(Other.StubsMgr);<br>
>> - StaticRenamer = std::move(Other.StaticRenamer)<wbr>;<br>
>> - ModuleAdder = std::move(Other.ModuleAdder);<br>
>> - SourceModules = std::move(Other.SourceModules)<wbr>;<br>
>> - BaseLayerHandles = std::move(Other.<wbr>BaseLayerHandles);<br>
>> - return *this;<br>
>> - }<br>
>> -<br>
>> SourceModuleHandle<br>
>> addSourceModule(std::unique_<wbr>ptr<ResourceOwner<Module>> M) {<br>
>> SourceModuleHandle H = SourceModules.size();<br>
>><br>
>> Modified: llvm/trunk/include/llvm/<wbr>ExecutionEngine/Orc/RPCUtils.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ExecutionEngine/Orc/RPCUtils.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/ExecutionEngine/Orc/<wbr>RPCUtils.h?rev=284721&r1=<wbr>284720&r2=284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/<wbr>ExecutionEngine/Orc/RPCUtils.h (original)<br>
>> +++ llvm/trunk/include/llvm/<wbr>ExecutionEngine/Orc/RPCUtils.h Thu Oct 20<br>
>> 07:20:28 2016<br>
>> @@ -409,24 +409,8 @@ public:<br>
>> RPC() = default;<br>
>><br>
>> /// RPC instances cannot be copied.<br>
>> - RPC(const RPC &) = delete;<br>
>> -<br>
>> - /// RPC instances cannot be copied.<br>
>> - RPC &operator=(const RPC &) = delete;<br>
>> -<br>
>> - /// RPC move constructor.<br>
>> - // FIXME: Remove once MSVC can synthesize move ops.<br>
>> - RPC(RPC &&Other)<br>
>> - : SequenceNumberMgr(std::move(<wbr>Other.SequenceNumberMgr)),<br>
>> - OutstandingResults(std::move(<wbr>Other.OutstandingResults)) {}<br>
>> -<br>
>> - /// RPC move assignment.<br>
>> - // FIXME: Remove once MSVC can synthesize move ops.<br>
>> - RPC &operator=(RPC &&Other) {<br>
>> - SequenceNumberMgr = std::move(Other.<wbr>SequenceNumberMgr);<br>
>> - OutstandingResults = std::move(Other.<wbr>OutstandingResults);<br>
>> - return *this;<br>
>> - }<br>
>> + RPC(RPC &&) = default;<br>
>> + RPC &operator=(RPC &&) = default;<br>
>><br>
>> /// Utility class for defining/referring to RPC procedures.<br>
>> ///<br>
>><br>
>> Modified: llvm/trunk/include/llvm/IR/<wbr>DebugLoc.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/DebugLoc.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/IR/DebugLoc.h?rev=284721&<wbr>r1=284720&r2=284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/IR/<wbr>DebugLoc.h (original)<br>
>> +++ llvm/trunk/include/llvm/IR/<wbr>DebugLoc.h Thu Oct 20 07:20:28 2016<br>
>> @@ -35,17 +35,7 @@ namespace llvm {<br>
>> TrackingMDNodeRef Loc;<br>
>><br>
>> public:<br>
>> - DebugLoc() {}<br>
>> - DebugLoc(DebugLoc &&X) : Loc(std::move(X.Loc)) {}<br>
>> - DebugLoc(const DebugLoc &X) : Loc(X.Loc) {}<br>
>> - DebugLoc &operator=(DebugLoc &&X) {<br>
>> - Loc = std::move(X.Loc);<br>
>> - return *this;<br>
>> - }<br>
>> - DebugLoc &operator=(const DebugLoc &X) {<br>
>> - Loc = X.Loc;<br>
>> - return *this;<br>
>> - }<br>
>> + DebugLoc() = default;<br>
>><br>
>> /// \brief Construct from an \a DILocation.<br>
>> DebugLoc(const DILocation *L);<br>
>><br>
>> Modified: llvm/trunk/include/llvm/IR/<wbr>Dominators.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/Dominators.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/IR/Dominators.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/IR/<wbr>Dominators.h (original)<br>
>> +++ llvm/trunk/include/llvm/IR/<wbr>Dominators.h Thu Oct 20 07:20:28 2016<br>
>> @@ -102,13 +102,6 @@ public:<br>
>> recalculate(F);<br>
>> }<br>
>><br>
>> - DominatorTree(DominatorTree &&Arg)<br>
>> - : Base(std::move(static_cast<<wbr>Base &>(Arg))) {}<br>
>> - DominatorTree &operator=(DominatorTree &&RHS) {<br>
>> - Base::operator=(std::move(<wbr>static_cast<Base &>(RHS)));<br>
>> - return *this;<br>
>> - }<br>
>> -<br>
>> /// \brief Returns *false* if the other dominator tree matches this<br>
>> dominator<br>
>> /// tree.<br>
>> inline bool compare(const DominatorTree &Other) const {<br>
>><br>
>> Modified: llvm/trunk/include/llvm/IR/<wbr>ModuleSummaryIndex.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/ModuleSummaryIndex.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/IR/ModuleSummaryIndex.h?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/IR/<wbr>ModuleSummaryIndex.h (original)<br>
>> +++ llvm/trunk/include/llvm/IR/<wbr>ModuleSummaryIndex.h Thu Oct 20 07:20:28<br>
>> 2016<br>
>> @@ -358,16 +358,6 @@ private:<br>
>> ModulePathStringTableTy ModulePathStringTable;<br>
>><br>
>> public:<br>
>> - ModuleSummaryIndex() = default;<br>
>> - ModuleSummaryIndex(<wbr>ModuleSummaryIndex &&Arg)<br>
>> - : GlobalValueMap(std::move(Arg.<wbr>GlobalValueMap)),<br>
>> - ModulePathStringTable(std::<wbr>move(Arg.<wbr>ModulePathStringTable)) {}<br>
>> - ModuleSummaryIndex &operator=(ModuleSummaryIndex &&RHS) {<br>
>> - GlobalValueMap = std::move(RHS.GlobalValueMap);<br>
>> - ModulePathStringTable = std::move(RHS.<wbr>ModulePathStringTable);<br>
>> - return *this;<br>
>> - }<br>
>> -<br>
>> gvsummary_iterator begin() { return GlobalValueMap.begin(); }<br>
>> const_gvsummary_iterator begin() const { return GlobalValueMap.begin();<br>
>> }<br>
>> gvsummary_iterator end() { return GlobalValueMap.end(); }<br>
>><br>
>> Modified: llvm/trunk/include/llvm/IR/<wbr>PassManager.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/PassManager.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/IR/PassManager.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/IR/<wbr>PassManager.h (original)<br>
>> +++ llvm/trunk/include/llvm/IR/<wbr>PassManager.h Thu Oct 20 07:20:28 2016<br>
>> @@ -65,22 +65,6 @@ namespace llvm {<br>
>> /// the IR is not mutated at all.<br>
>> class PreservedAnalyses {<br>
>> public:<br>
>> - // We have to explicitly define all the special member functions<br>
>> because MSVC<br>
>> - // refuses to generate them.<br>
>> - PreservedAnalyses() {}<br>
>> - PreservedAnalyses(const PreservedAnalyses &Arg)<br>
>> - : PreservedPassIDs(Arg.<wbr>PreservedPassIDs) {}<br>
>> - PreservedAnalyses(<wbr>PreservedAnalyses &&Arg)<br>
>> - : PreservedPassIDs(std::move(<wbr>Arg.PreservedPassIDs)) {}<br>
>> - friend void swap(PreservedAnalyses &LHS, PreservedAnalyses &RHS) {<br>
>> - using std::swap;<br>
>> - swap(LHS.PreservedPassIDs, RHS.PreservedPassIDs);<br>
>> - }<br>
>> - PreservedAnalyses &operator=(PreservedAnalyses RHS) {<br>
>> - swap(*this, RHS);<br>
>> - return *this;<br>
>> - }<br>
>> -<br>
>> /// \brief Convenience factory function for the empty preserved set.<br>
>> static PreservedAnalyses none() { return PreservedAnalyses(); }<br>
>><br>
>> @@ -257,16 +241,8 @@ public:<br>
>> ///<br>
>> /// It can be passed a flag to get debug logging as the passes are run.<br>
>> PassManager(bool DebugLogging = false) : DebugLogging(DebugLogging) {}<br>
>> - // We have to explicitly define all the special member functions<br>
>> because MSVC<br>
>> - // refuses to generate them.<br>
>> - PassManager(PassManager &&Arg)<br>
>> - : Passes(std::move(Arg.Passes)),<br>
>> - DebugLogging(std::move(Arg.<wbr>DebugLogging)) {}<br>
>> - PassManager &operator=(PassManager &&RHS) {<br>
>> - Passes = std::move(RHS.Passes);<br>
>> - DebugLogging = std::move(RHS.DebugLogging);<br>
>> - return *this;<br>
>> - }<br>
>> + PassManager(PassManager &&) = default;<br>
>> + PassManager &operator=(PassManager &&) = default;<br>
>><br>
>> /// \brief Run all of the passes in this manager over the IR.<br>
>> PreservedAnalyses run(IRUnitT &IR, AnalysisManagerT &AM,<br>
>> @@ -323,9 +299,6 @@ private:<br>
>> typedef detail::PassConcept<IRUnitT, AnalysisManagerT, ExtraArgTs...><br>
>> PassConceptT;<br>
>><br>
>> - PassManager(const PassManager &) = delete;<br>
>> - PassManager &operator=(const PassManager &) = delete;<br>
>> -<br>
>> std::vector<std::unique_ptr<<wbr>PassConceptT>> Passes;<br>
>><br>
>> /// \brief Flag indicating whether we should do debug logging.<br>
>> @@ -358,19 +331,8 @@ public:<br>
>> /// A flag can be passed to indicate that the manager should perform<br>
>> debug<br>
>> /// logging.<br>
>> AnalysisManager(bool DebugLogging = false) : DebugLogging(DebugLogging)<br>
>> {}<br>
>> -<br>
>> - // We have to explicitly define all the special member functions<br>
>> because MSVC<br>
>> - // refuses to generate them.<br>
>> - AnalysisManager(<wbr>AnalysisManager &&Arg)<br>
>> - : AnalysisPasses(std::move(Arg.<wbr>AnalysisPasses)),<br>
>> - AnalysisResults(std::move(Arg.<wbr>AnalysisResults)),<br>
>> - DebugLogging(std::move(Arg.<wbr>DebugLogging)) {}<br>
>> - AnalysisManager &operator=(AnalysisManager &&RHS) {<br>
>> - AnalysisPasses = std::move(RHS.AnalysisPasses);<br>
>> - AnalysisResults = std::move(RHS.AnalysisResults)<wbr>;<br>
>> - DebugLogging = std::move(RHS.DebugLogging);<br>
>> - return *this;<br>
>> - }<br>
>> + AnalysisManager(<wbr>AnalysisManager &&) = default;<br>
>> + AnalysisManager &operator=(AnalysisManager &&) = default;<br>
>><br>
>> /// \brief Returns true if the analysis manager has an empty results<br>
>> cache.<br>
>> bool empty() const {<br>
>> @@ -543,9 +505,6 @@ public:<br>
>> }<br>
>><br>
>> private:<br>
>> - AnalysisManager(const AnalysisManager &) = delete;<br>
>> - AnalysisManager &operator=(const AnalysisManager &) = delete;<br>
>> -<br>
>> /// \brief Lookup a registered analysis pass.<br>
>> PassConceptT &lookupPass(void *PassID) {<br>
>> typename AnalysisPassMapT::iterator PI = AnalysisPasses.find(PassID);<br>
>> @@ -731,16 +690,6 @@ public:<br>
>> };<br>
>><br>
>> explicit InnerAnalysisManagerProxy(<wbr>AnalysisManagerT &AM) : AM(&AM) {}<br>
>> - // We have to explicitly define all the special member functions<br>
>> because MSVC<br>
>> - // refuses to generate them.<br>
>> - InnerAnalysisManagerProxy(<wbr>const InnerAnalysisManagerProxy &Arg)<br>
>> - : AM(Arg.AM) {}<br>
>> - InnerAnalysisManagerProxy(<wbr>InnerAnalysisManagerProxy &&Arg)<br>
>> - : AM(std::move(Arg.AM)) {}<br>
>> - InnerAnalysisManagerProxy &operator=(<wbr>InnerAnalysisManagerProxy RHS) {<br>
>> - std::swap(AM, <a href="http://RHS.AM" rel="noreferrer" target="_blank">RHS.AM</a>);<br>
>> - return *this;<br>
>> - }<br>
>><br>
>> /// \brief Run the analysis pass and create our proxy result object.<br>
>> ///<br>
>> @@ -795,14 +744,6 @@ public:<br>
>> class Result {<br>
>> public:<br>
>> explicit Result(const AnalysisManagerT &AM) : AM(&AM) {}<br>
>> - // We have to explicitly define all the special member functions<br>
>> because<br>
>> - // MSVC refuses to generate them.<br>
>> - Result(const Result &Arg) : AM(Arg.AM) {}<br>
>> - Result(Result &&Arg) : AM(std::move(Arg.AM)) {}<br>
>> - Result &operator=(Result RHS) {<br>
>> - std::swap(AM, <a href="http://RHS.AM" rel="noreferrer" target="_blank">RHS.AM</a>);<br>
>> - return *this;<br>
>> - }<br>
>><br>
>> const AnalysisManagerT &getManager() const { return *AM; }<br>
>><br>
>> @@ -814,16 +755,6 @@ public:<br>
>> };<br>
>><br>
>> OuterAnalysisManagerProxy(<wbr>const AnalysisManagerT &AM) : AM(&AM) {}<br>
>> - // We have to explicitly define all the special member functions<br>
>> because MSVC<br>
>> - // refuses to generate them.<br>
>> - OuterAnalysisManagerProxy(<wbr>const OuterAnalysisManagerProxy &Arg)<br>
>> - : AM(Arg.AM) {}<br>
>> - OuterAnalysisManagerProxy(<wbr>OuterAnalysisManagerProxy &&Arg)<br>
>> - : AM(std::move(Arg.AM)) {}<br>
>> - OuterAnalysisManagerProxy &operator=(<wbr>OuterAnalysisManagerProxy RHS) {<br>
>> - std::swap(AM, <a href="http://RHS.AM" rel="noreferrer" target="_blank">RHS.AM</a>);<br>
>> - return *this;<br>
>> - }<br>
>><br>
>> /// \brief Run the analysis pass and create our proxy result object.<br>
>> /// Nothing to see here, it just forwards the \c AM reference into the<br>
>> @@ -879,21 +810,6 @@ class ModuleToFunctionPassAdaptor<br>
>> public:<br>
>> explicit ModuleToFunctionPassAdaptor(<wbr>FunctionPassT Pass)<br>
>> : Pass(std::move(Pass)) {}<br>
>> - // We have to explicitly define all the special member functions<br>
>> because MSVC<br>
>> - // refuses to generate them.<br>
>> - ModuleToFunctionPassAdaptor(<wbr>const ModuleToFunctionPassAdaptor &Arg)<br>
>> - : Pass(Arg.Pass) {}<br>
>> - ModuleToFunctionPassAdaptor(<wbr>ModuleToFunctionPassAdaptor &&Arg)<br>
>> - : Pass(std::move(Arg.Pass)) {}<br>
>> - friend void swap(<wbr>ModuleToFunctionPassAdaptor &LHS,<br>
>> - ModuleToFunctionPassAdaptor &RHS) {<br>
>> - using std::swap;<br>
>> - swap(LHS.Pass, RHS.Pass);<br>
>> - }<br>
>> - ModuleToFunctionPassAdaptor &operator=(<wbr>ModuleToFunctionPassAdaptor RHS)<br>
>> {<br>
>> - swap(*this, RHS);<br>
>> - return *this;<br>
>> - }<br>
>><br>
>> /// \brief Runs the function pass across every function in the module.<br>
>> PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM) {<br>
>> @@ -1014,19 +930,6 @@ template <typename PassT><br>
>> class RepeatedPass : public PassInfoMixin<RepeatedPass<<wbr>PassT>> {<br>
>> public:<br>
>> RepeatedPass(int Count, PassT P) : Count(Count), P(std::move(P)) {}<br>
>> - // We have to explicitly define all the special member functions<br>
>> because MSVC<br>
>> - // refuses to generate them.<br>
>> - RepeatedPass(const RepeatedPass &Arg) : Count(Arg.Count), P(Arg.P) {}<br>
>> - RepeatedPass(RepeatedPass &&Arg) : Count(Arg.Count),<br>
>> P(std::move(Arg.P)) {}<br>
>> - friend void swap(RepeatedPass &LHS, RepeatedPass &RHS) {<br>
>> - using std::swap;<br>
>> - swap(LHS.Count, RHS.Count);<br>
>> - swap(LHS.P, RHS.P);<br>
>> - }<br>
>> - RepeatedPass &operator=(RepeatedPass RHS) {<br>
>> - swap(*this, RHS);<br>
>> - return *this;<br>
>> - }<br>
>><br>
>> template <typename IRUnitT, typename AnalysisManagerT, typename... Ts><br>
>> PreservedAnalyses run(IRUnitT &Arg, AnalysisManagerT &AM, Ts &&...<br>
>> Args) {<br>
>><br>
>> Modified: llvm/trunk/include/llvm/IR/<wbr>UseListOrder.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/UseListOrder.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/IR/UseListOrder.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/IR/<wbr>UseListOrder.h (original)<br>
>> +++ llvm/trunk/include/llvm/IR/<wbr>UseListOrder.h Thu Oct 20 07:20:28 2016<br>
>> @@ -34,18 +34,8 @@ struct UseListOrder {<br>
>> : V(V), F(F), Shuffle(ShuffleSize) {}<br>
>><br>
>> UseListOrder() : V(nullptr), F(nullptr) {}<br>
>> - UseListOrder(UseListOrder &&X)<br>
>> - : V(X.V), F(X.F), Shuffle(std::move(X.Shuffle)) {}<br>
>> - UseListOrder &operator=(UseListOrder &&X) {<br>
>> - V = X.V;<br>
>> - F = X.F;<br>
>> - Shuffle = std::move(X.Shuffle);<br>
>> - return *this;<br>
>> - }<br>
>> -<br>
>> -private:<br>
>> - UseListOrder(const UseListOrder &X) = delete;<br>
>> - UseListOrder &operator=(const UseListOrder &X) = delete;<br>
>> + UseListOrder(UseListOrder &&) = default;<br>
>> + UseListOrder &operator=(UseListOrder &&) = default;<br>
>> };<br>
>><br>
>> typedef std::vector<UseListOrder> UseListOrderStack;<br>
>><br>
>> Modified: llvm/trunk/include/llvm/LTO/<wbr>Config.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/LTO/Config.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/LTO/Config.h?rev=284721&<wbr>r1=284720&r2=284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/LTO/<wbr>Config.h (original)<br>
>> +++ llvm/trunk/include/llvm/LTO/<wbr>Config.h Thu Oct 20 07:20:28 2016<br>
>> @@ -134,56 +134,6 @@ struct Config {<br>
>> CombinedIndexHookFn;<br>
>> CombinedIndexHookFn CombinedIndexHook;<br>
>><br>
>> - Config() {}<br>
>> - // FIXME: Remove once MSVC can synthesize move ops.<br>
>> - Config(Config &&X)<br>
>> - : CPU(std::move(X.CPU)), Features(std::move(X.Features)<wbr>),<br>
>> - Options(std::move(X.Options)), MAttrs(std::move(X.MAttrs)),<br>
>> - RelocModel(std::move(X.<wbr>RelocModel)),<br>
>> CodeModel(std::move(X.<wbr>CodeModel)),<br>
>> - CGOptLevel(std::move(X.<wbr>CGOptLevel)),<br>
>> OptLevel(std::move(X.OptLevel)<wbr>),<br>
>> - DisableVerify(std::move(X.<wbr>DisableVerify)),<br>
>> - OptPipeline(std::move(X.<wbr>OptPipeline)),<br>
>> - AAPipeline(std::move(X.<wbr>AAPipeline)),<br>
>> - OverrideTriple(std::move(X.<wbr>OverrideTriple)),<br>
>> - DefaultTriple(std::move(X.<wbr>DefaultTriple)),<br>
>> - ShouldDiscardValueNames(std::<wbr>move(X.<wbr>ShouldDiscardValueNames)),<br>
>> - DiagHandler(std::move(X.<wbr>DiagHandler)),<br>
>> - ResolutionFile(std::move(X.<wbr>ResolutionFile)),<br>
>> - PreOptModuleHook(std::move(X.<wbr>PreOptModuleHook)),<br>
>> - PostPromoteModuleHook(std::<wbr>move(X.PostPromoteModuleHook))<wbr>,<br>
>> -<br>
>> PostInternalizeModuleHook(std:<wbr>:move(X.<wbr>PostInternalizeModuleHook)),<br>
>> - PostImportModuleHook(std::<wbr>move(X.PostImportModuleHook)),<br>
>> - PostOptModuleHook(std::move(X.<wbr>PostOptModuleHook)),<br>
>> - PreCodeGenModuleHook(std::<wbr>move(X.PreCodeGenModuleHook)),<br>
>> - CombinedIndexHook(std::move(X.<wbr>CombinedIndexHook)) {}<br>
>> - // FIXME: Remove once MSVC can synthesize move ops.<br>
>> - Config &operator=(Config &&X) {<br>
>> - CPU = std::move(X.CPU);<br>
>> - Features = std::move(X.Features);<br>
>> - Options = std::move(X.Options);<br>
>> - MAttrs = std::move(X.MAttrs);<br>
>> - RelocModel = std::move(X.RelocModel);<br>
>> - CodeModel = std::move(X.CodeModel);<br>
>> - CGOptLevel = std::move(X.CGOptLevel);<br>
>> - OptLevel = std::move(X.OptLevel);<br>
>> - DisableVerify = std::move(X.DisableVerify);<br>
>> - OptPipeline = std::move(X.OptPipeline);<br>
>> - AAPipeline = std::move(X.AAPipeline);<br>
>> - OverrideTriple = std::move(X.OverrideTriple);<br>
>> - DefaultTriple = std::move(X.DefaultTriple);<br>
>> - ShouldDiscardValueNames = std::move(X.<wbr>ShouldDiscardValueNames);<br>
>> - DiagHandler = std::move(X.DiagHandler);<br>
>> - ResolutionFile = std::move(X.ResolutionFile);<br>
>> - PreOptModuleHook = std::move(X.PreOptModuleHook);<br>
>> - PostPromoteModuleHook = std::move(X.<wbr>PostPromoteModuleHook);<br>
>> - PostInternalizeModuleHook = std::move(X.<wbr>PostInternalizeModuleHook);<br>
>> - PostImportModuleHook = std::move(X.<wbr>PostImportModuleHook);<br>
>> - PostOptModuleHook = std::move(X.PostOptModuleHook)<wbr>;<br>
>> - PreCodeGenModuleHook = std::move(X.<wbr>PreCodeGenModuleHook);<br>
>> - CombinedIndexHook = std::move(X.CombinedIndexHook)<wbr>;<br>
>> - return *this;<br>
>> - }<br>
>> -<br>
>> /// This is a convenience function that configures this Config object<br>
>> to write<br>
>> /// temporary files named after the given OutputFileName for each of<br>
>> the LTO<br>
>> /// phases to disk. A client can use this function to implement<br>
>> -save-temps.<br>
>><br>
>> Modified: llvm/trunk/include/llvm/<wbr>Object/ArchiveWriter.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Object/ArchiveWriter.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Object/ArchiveWriter.h?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/<wbr>Object/ArchiveWriter.h (original)<br>
>> +++ llvm/trunk/include/llvm/<wbr>Object/ArchiveWriter.h Thu Oct 20 07:20:28<br>
>> 2016<br>
>> @@ -26,17 +26,6 @@ struct NewArchiveMember {<br>
>> unsigned UID = 0, GID = 0, Perms = 0644;<br>
>><br>
>> NewArchiveMember() = default;<br>
>> - NewArchiveMember(<wbr>NewArchiveMember &&Other)<br>
>> - : Buf(std::move(Other.Buf)), ModTime(Other.ModTime),<br>
>> UID(Other.UID),<br>
>> - GID(Other.GID), Perms(Other.Perms) {}<br>
>> - NewArchiveMember &operator=(NewArchiveMember &&Other) {<br>
>> - Buf = std::move(Other.Buf);<br>
>> - ModTime = Other.ModTime;<br>
>> - UID = Other.UID;<br>
>> - GID = Other.GID;<br>
>> - Perms = Other.Perms;<br>
>> - return *this;<br>
>> - }<br>
>> NewArchiveMember(<wbr>MemoryBufferRef BufRef);<br>
>><br>
>> static Expected<NewArchiveMember><br>
>><br>
>> Modified: llvm/trunk/include/llvm/<wbr>ProfileData/Coverage/<wbr>CoverageMapping.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ProfileData/Coverage/CoverageMapping.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/ProfileData/Coverage/<wbr>CoverageMapping.h?rev=284721&<wbr>r1=284720&r2=284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/<wbr>ProfileData/Coverage/<wbr>CoverageMapping.h<br>
>> (original)<br>
>> +++ llvm/trunk/include/llvm/<wbr>ProfileData/Coverage/<wbr>CoverageMapping.h Thu Oct<br>
>> 20 07:20:28 2016<br>
>> @@ -291,13 +291,8 @@ struct FunctionRecord {<br>
>> FunctionRecord(StringRef Name, ArrayRef<StringRef> Filenames)<br>
>> : Name(Name), Filenames(Filenames.begin(), Filenames.end()) {}<br>
>><br>
>> - FunctionRecord(FunctionRecord &&FR)<br>
>> - : Name(FR.Name), Filenames(std::move(FR.<wbr>Filenames)),<br>
>> - CountedRegions(std::move(FR.<wbr>CountedRegions)),<br>
>> - ExecutionCount(FR.<wbr>ExecutionCount) {}<br>
>> -<br>
>> - FunctionRecord(const FunctionRecord &) = delete;<br>
>> - const FunctionRecord &operator=(const FunctionRecord &) = delete;<br>
>> + FunctionRecord(FunctionRecord &&FR) = default;<br>
>> + FunctionRecord &operator=(FunctionRecord &&) = default;<br>
>><br>
>> void pushRegion(<wbr>CounterMappingRegion Region, uint64_t Count) {<br>
>> if (CountedRegions.empty())<br>
>> @@ -405,10 +400,6 @@ public:<br>
>><br>
>> CoverageData(StringRef Filename) : Filename(Filename) {}<br>
>><br>
>> - CoverageData(CoverageData &&RHS)<br>
>> - : Filename(std::move(RHS.<wbr>Filename)),<br>
>> Segments(std::move(RHS.<wbr>Segments)),<br>
>> - Expansions(std::move(RHS.<wbr>Expansions)) {}<br>
>> -<br>
>> /// \brief Get the name of the file this data covers.<br>
>> StringRef getFilename() const { return Filename; }<br>
>><br>
>><br>
>> Modified: llvm/trunk/include/llvm/<wbr>Support/SourceMgr.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/SourceMgr.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Support/SourceMgr.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/<wbr>Support/SourceMgr.h (original)<br>
>> +++ llvm/trunk/include/llvm/<wbr>Support/SourceMgr.h Thu Oct 20 07:20:28 2016<br>
>> @@ -51,11 +51,6 @@ private:<br>
>><br>
>> /// This is the location of the parent include, or null if at the top<br>
>> level.<br>
>> SMLoc IncludeLoc;<br>
>> -<br>
>> - SrcBuffer() {}<br>
>> -<br>
>> - SrcBuffer(SrcBuffer &&O)<br>
>> - : Buffer(std::move(O.Buffer)), IncludeLoc(O.IncludeLoc) {}<br>
>> };<br>
>><br>
>> /// This is all of the buffers that we are reading from.<br>
>><br>
>> Modified: llvm/trunk/include/llvm/<wbr>Transforms/InstCombine/<wbr>InstCombine.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/InstCombine/InstCombine.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Transforms/InstCombine/<wbr>InstCombine.h?rev=284721&r1=<wbr>284720&r2=284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/<wbr>Transforms/InstCombine/<wbr>InstCombine.h<br>
>> (original)<br>
>> +++ llvm/trunk/include/llvm/<wbr>Transforms/InstCombine/<wbr>InstCombine.h Thu Oct<br>
>> 20 07:20:28 2016<br>
>> @@ -31,17 +31,8 @@ class InstCombinePass : public PassInfoM<br>
>> public:<br>
>> static StringRef name() { return "InstCombinePass"; }<br>
>><br>
>> - // Explicitly define constructors for MSVC.<br>
>> - InstCombinePass(bool ExpensiveCombines = true)<br>
>> + explicit InstCombinePass(bool ExpensiveCombines = true)<br>
>> : ExpensiveCombines(<wbr>ExpensiveCombines) {}<br>
>> - InstCombinePass(<wbr>InstCombinePass &&Arg)<br>
>> - : Worklist(std::move(Arg.<wbr>Worklist)),<br>
>> - ExpensiveCombines(Arg.<wbr>ExpensiveCombines) {}<br>
>> - InstCombinePass &operator=(InstCombinePass &&RHS) {<br>
>> - Worklist = std::move(RHS.Worklist);<br>
>> - ExpensiveCombines = RHS.ExpensiveCombines;<br>
>> - return *this;<br>
>> - }<br>
>><br>
>> PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);<br>
>> };<br>
>><br>
>> Modified:<br>
>> llvm/trunk/include/llvm/<wbr>Transforms/InstCombine/<wbr>InstCombineWorklist.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/InstCombine/InstCombineWorklist.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Transforms/InstCombine/<wbr>InstCombineWorklist.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/<wbr>Transforms/InstCombine/<wbr>InstCombineWorklist.h<br>
>> (original)<br>
>> +++ llvm/trunk/include/llvm/<wbr>Transforms/InstCombine/<wbr>InstCombineWorklist.h<br>
>> Thu Oct 20 07:20:28 2016<br>
>> @@ -28,19 +28,11 @@ class InstCombineWorklist {<br>
>> SmallVector<Instruction*, 256> Worklist;<br>
>> DenseMap<Instruction*, unsigned> WorklistMap;<br>
>><br>
>> - void operator=(const InstCombineWorklist&RHS) = delete;<br>
>> - InstCombineWorklist(const InstCombineWorklist&) = delete;<br>
>> public:<br>
>> - InstCombineWorklist() {}<br>
>> + InstCombineWorklist() = default;<br>
>><br>
>> - InstCombineWorklist(<wbr>InstCombineWorklist &&Arg)<br>
>> - : Worklist(std::move(Arg.<wbr>Worklist)),<br>
>> - WorklistMap(std::move(Arg.<wbr>WorklistMap)) {}<br>
>> - InstCombineWorklist &operator=(InstCombineWorklist &&RHS) {<br>
>> - Worklist = std::move(RHS.Worklist);<br>
>> - WorklistMap = std::move(RHS.WorklistMap);<br>
>> - return *this;<br>
>> - }<br>
>> + InstCombineWorklist(<wbr>InstCombineWorklist &&) = default;<br>
>> + InstCombineWorklist &operator=(InstCombineWorklist &&) = default;<br>
>><br>
>> bool isEmpty() const { return Worklist.empty(); }<br>
>><br>
>><br>
>> Modified: llvm/trunk/include/llvm/<wbr>Transforms/Scalar/<wbr>JumpThreading.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Scalar/JumpThreading.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Transforms/Scalar/<wbr>JumpThreading.h?rev=284721&r1=<wbr>284720&r2=284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/<wbr>Transforms/Scalar/<wbr>JumpThreading.h (original)<br>
>> +++ llvm/trunk/include/llvm/<wbr>Transforms/Scalar/<wbr>JumpThreading.h Thu Oct 20<br>
>> 07:20:28 2016<br>
>> @@ -85,13 +85,6 @@ class JumpThreadingPass : public PassInf<br>
>><br>
>> public:<br>
>> JumpThreadingPass(int T = -1);<br>
>> - // Hack for MSVC 2013 which seems like it can't synthesize this.<br>
>> - JumpThreadingPass(<wbr>JumpThreadingPass &&Other)<br>
>> - : TLI(Other.TLI), LVI(Other.LVI), BFI(std::move(Other.BFI)),<br>
>> - BPI(std::move(Other.BPI)), HasProfileData(Other.<wbr>HasProfileData),<br>
>> - LoopHeaders(std::move(Other.<wbr>LoopHeaders)),<br>
>> - RecursionSet(std::move(Other.<wbr>RecursionSet)),<br>
>> - BBDupThreshold(Other.<wbr>BBDupThreshold) {}<br>
>><br>
>> // Glue for old PM.<br>
>> bool runImpl(Function &F, TargetLibraryInfo *TLI_, LazyValueInfo *LVI_,<br>
>><br>
>> Modified:<br>
>> llvm/trunk/include/llvm/<wbr>Transforms/Utils/<wbr>ImportedFunctionsInliningStati<wbr>stics.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Utils/ImportedFunctionsInliningStatistics.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Transforms/Utils/<wbr>ImportedFunctionsInliningStati<wbr>stics.h?rev=284721&r1=284720&<wbr>r2=284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> ---<br>
>> llvm/trunk/include/llvm/<wbr>Transforms/Utils/<wbr>ImportedFunctionsInliningStati<wbr>stics.h<br>
>> (original)<br>
>> +++<br>
>> llvm/trunk/include/llvm/<wbr>Transforms/Utils/<wbr>ImportedFunctionsInliningStati<wbr>stics.h<br>
>> Thu Oct 20 07:20:28 2016<br>
>> @@ -48,26 +48,8 @@ private:<br>
>> struct InlineGraphNode {<br>
>> // Default-constructible and movable.<br>
>> InlineGraphNode() = default;<br>
>> - // FIXME: make them default ctors when we won't support ancient<br>
>> compilers<br>
>> - // like MSVS-2013.<br>
>> - InlineGraphNode(<wbr>InlineGraphNode &&Other)<br>
>> - : InlinedCallees(std::move(<wbr>Other.InlinedCallees)),<br>
>> - NumberOfInlines(Other.<wbr>NumberOfInlines),<br>
>> - NumberOfRealInlines(Other.<wbr>NumberOfRealInlines),<br>
>> - Imported(Other.Imported),<br>
>> - Visited(Other.Visited) {}<br>
>> -<br>
>> - InlineGraphNode &operator=(InlineGraphNode &&Other) {<br>
>> - InlinedCallees = std::move(Other.<wbr>InlinedCallees);<br>
>> - NumberOfInlines = Other.NumberOfInlines;<br>
>> - NumberOfRealInlines = Other.NumberOfRealInlines;<br>
>> - Imported = Other.Imported;<br>
>> - Visited = Other.Visited;<br>
>> - return *this;<br>
>> - }<br>
>> -<br>
>> - InlineGraphNode(const InlineGraphNode &) = delete;<br>
>> - InlineGraphNode &operator=(const InlineGraphNode &) = delete;<br>
>> + InlineGraphNode(<wbr>InlineGraphNode &&) = default;<br>
>> + InlineGraphNode &operator=(InlineGraphNode &&) = default;<br>
>><br>
>> llvm::SmallVector<<wbr>InlineGraphNode *, 8> InlinedCallees;<br>
>> /// Incremented every direct inline.<br>
>><br>
>> Modified: llvm/trunk/include/llvm/<wbr>Transforms/Utils/MemorySSA.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Utils/MemorySSA.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Transforms/Utils/<wbr>MemorySSA.h?rev=284721&r1=<wbr>284720&r2=284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/<wbr>Transforms/Utils/MemorySSA.h (original)<br>
>> +++ llvm/trunk/include/llvm/<wbr>Transforms/Utils/MemorySSA.h Thu Oct 20<br>
>> 07:20:28 2016<br>
>> @@ -662,12 +662,8 @@ public:<br>
>> // unique_ptr<MemorySSA> to avoid build breakage on MSVC.<br>
>> struct Result {<br>
>> Result(std::unique_ptr<<wbr>MemorySSA> &&MSSA) : MSSA(std::move(MSSA)) {}<br>
>> - Result(Result &&R) : MSSA(std::move(R.MSSA)) {}<br>
>> MemorySSA &getMSSA() { return *MSSA.get(); }<br>
>><br>
>> - Result(const Result &) = delete;<br>
>> - void operator=(const Result &) = delete;<br>
>> -<br>
>> std::unique_ptr<MemorySSA> MSSA;<br>
>> };<br>
>><br>
>><br>
>> Modified: llvm/trunk/include/llvm/<wbr>Transforms/Utils/<wbr>SymbolRewriter.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Utils/SymbolRewriter.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/include/<wbr>llvm/Transforms/Utils/<wbr>SymbolRewriter.h?rev=284721&<wbr>r1=284720&r2=284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/include/llvm/<wbr>Transforms/Utils/<wbr>SymbolRewriter.h (original)<br>
>> +++ llvm/trunk/include/llvm/<wbr>Transforms/Utils/<wbr>SymbolRewriter.h Thu Oct 20<br>
>> 07:20:28 2016<br>
>> @@ -120,9 +120,6 @@ public:<br>
>> Descriptors.splice(<wbr>Descriptors.begin(), DL);<br>
>> }<br>
>><br>
>> - RewriteSymbolPass(<wbr>RewriteSymbolPass &&Other)<br>
>> - : Descriptors(std::move(Other.<wbr>Descriptors)) {}<br>
>> -<br>
>> PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);<br>
>><br>
>> // Glue for old PM<br>
>><br>
>> Modified: llvm/trunk/lib/Analysis/<wbr>StratifiedSets.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/StratifiedSets.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/<wbr>Analysis/StratifiedSets.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/lib/Analysis/<wbr>StratifiedSets.h (original)<br>
>> +++ llvm/trunk/lib/Analysis/<wbr>StratifiedSets.h Thu Oct 20 07:20:28 2016<br>
>> @@ -85,17 +85,8 @@ struct StratifiedLink {<br>
>> template <typename T> class StratifiedSets {<br>
>> public:<br>
>> StratifiedSets() = default;<br>
>> -<br>
>> - // TODO: Figure out how to make MSVC not call the copy ctor here, and<br>
>> delete<br>
>> - // it.<br>
>> -<br>
>> - // Can't default these due to compile errors in MSVC2013<br>
>> - StratifiedSets(StratifiedSets &&Other) { *this = std::move(Other); }<br>
>> - StratifiedSets &operator=(StratifiedSets &&Other) {<br>
>> - Values = std::move(Other.Values);<br>
>> - Links = std::move(Other.Links);<br>
>> - return *this;<br>
>> - }<br>
>> + StratifiedSets(StratifiedSets &&) = default;<br>
>> + StratifiedSets &operator=(StratifiedSets &&) = default;<br>
>><br>
>> StratifiedSets(DenseMap<T, StratifiedInfo> Map,<br>
>> std::vector<StratifiedLink> Links)<br>
>><br>
>> Modified: llvm/trunk/lib/<wbr>ExecutionEngine/<wbr>GDBRegistrationListener.cpp<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/GDBRegistrationListener.cpp?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/<wbr>ExecutionEngine/<wbr>GDBRegistrationListener.cpp?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/lib/<wbr>ExecutionEngine/<wbr>GDBRegistrationListener.cpp (original)<br>
>> +++ llvm/trunk/lib/<wbr>ExecutionEngine/<wbr>GDBRegistrationListener.cpp Thu Oct 20<br>
>> 07:20:28 2016<br>
>> @@ -69,16 +69,6 @@ struct RegisteredObjectInfo {<br>
>> OwningBinary<ObjectFile> Obj)<br>
>> : Size(Size), Entry(Entry), Obj(std::move(Obj)) {}<br>
>><br>
>> - RegisteredObjectInfo(<wbr>RegisteredObjectInfo &&Other)<br>
>> - : Size(Other.Size), Entry(Other.Entry), Obj(std::move(Other.Obj)) {}<br>
>> -<br>
>> - RegisteredObjectInfo& operator=(RegisteredObjectInfo &&Other) {<br>
>> - Size = Other.Size;<br>
>> - Entry = Other.Entry;<br>
>> - Obj = std::move(Other.Obj);<br>
>> - return *this;<br>
>> - }<br>
>> -<br>
>> std::size_t Size;<br>
>> jit_code_entry *Entry;<br>
>> OwningBinary<ObjectFile> Obj;<br>
>><br>
>> Modified: llvm/trunk/lib/<wbr>ExecutionEngine/Interpreter/<wbr>Interpreter.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/Interpreter/Interpreter.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/<wbr>ExecutionEngine/Interpreter/<wbr>Interpreter.h?rev=284721&r1=<wbr>284720&r2=284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/lib/<wbr>ExecutionEngine/Interpreter/<wbr>Interpreter.h (original)<br>
>> +++ llvm/trunk/lib/<wbr>ExecutionEngine/Interpreter/<wbr>Interpreter.h Thu Oct 20<br>
>> 07:20:28 2016<br>
>> @@ -41,12 +41,9 @@ class AllocaHolder {<br>
>> public:<br>
>> AllocaHolder() {}<br>
>><br>
>> - // Make this type move-only. Define explicit move special members for<br>
>> MSVC.<br>
>> - AllocaHolder(AllocaHolder &&RHS) :<br>
>> Allocations(std::move(RHS.<wbr>Allocations)) {}<br>
>> - AllocaHolder &operator=(AllocaHolder &&RHS) {<br>
>> - Allocations = std::move(RHS.Allocations);<br>
>> - return *this;<br>
>> - }<br>
>> + // Make this type move-only.<br>
>> + AllocaHolder(AllocaHolder &&) = default;<br>
>> + AllocaHolder &operator=(AllocaHolder &&RHS) = default;<br>
>><br>
>> ~AllocaHolder() {<br>
>> for (void *Allocation : Allocations)<br>
>> @@ -72,22 +69,6 @@ struct ExecutionContext {<br>
>> AllocaHolder Allocas; // Track memory allocated by alloca<br>
>><br>
>> ExecutionContext() : CurFunction(nullptr), CurBB(nullptr),<br>
>> CurInst(nullptr) {}<br>
>> -<br>
>> - ExecutionContext(<wbr>ExecutionContext &&O)<br>
>> - : CurFunction(O.CurFunction), CurBB(O.CurBB), CurInst(O.CurInst),<br>
>> - Caller(O.Caller), Values(std::move(O.Values)),<br>
>> - VarArgs(std::move(O.VarArgs)), Allocas(std::move(O.Allocas)) {}<br>
>> -<br>
>> - ExecutionContext &operator=(ExecutionContext &&O) {<br>
>> - CurFunction = O.CurFunction;<br>
>> - CurBB = O.CurBB;<br>
>> - CurInst = O.CurInst;<br>
>> - Caller = O.Caller;<br>
>> - Values = std::move(O.Values);<br>
>> - VarArgs = std::move(O.VarArgs);<br>
>> - Allocas = std::move(O.Allocas);<br>
>> - return *this;<br>
>> - }<br>
>> };<br>
>><br>
>> // Interpreter - This class represents the entirety of the interpreter.<br>
>><br>
>> Modified: llvm/trunk/lib/Support/<wbr>SpecialCaseList.cpp<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/SpecialCaseList.cpp?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/<wbr>Support/SpecialCaseList.cpp?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/lib/Support/<wbr>SpecialCaseList.cpp (original)<br>
>> +++ llvm/trunk/lib/Support/<wbr>SpecialCaseList.cpp Thu Oct 20 07:20:28 2016<br>
>> @@ -32,10 +32,6 @@ namespace llvm {<br>
>> /// reason for doing so is efficiency; StringSet is much faster at<br>
>> matching<br>
>> /// literal strings than Regex.<br>
>> struct SpecialCaseList::Entry {<br>
>> - Entry() {}<br>
>> - Entry(Entry &&Other)<br>
>> - : Strings(std::move(Other.<wbr>Strings)), RegEx(std::move(Other.RegEx))<br>
>> {}<br>
>> -<br>
>> StringSet<> Strings;<br>
>> std::unique_ptr<Regex> RegEx;<br>
>><br>
>><br>
>> Modified: llvm/trunk/lib/Target/AArch64/<wbr>AArch64TargetTransformInfo.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64TargetTransformInfo.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/Target/<wbr>AArch64/<wbr>AArch64TargetTransformInfo.h?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/lib/Target/AArch64/<wbr>AArch64TargetTransformInfo.h (original)<br>
>> +++ llvm/trunk/lib/Target/AArch64/<wbr>AArch64TargetTransformInfo.h Thu Oct 20<br>
>> 07:20:28 2016<br>
>> @@ -52,13 +52,6 @@ public:<br>
>> : BaseT(TM, F.getParent()->getDataLayout()<wbr>),<br>
>> ST(TM->getSubtargetImpl(F)),<br>
>> TLI(ST->getTargetLowering()) {}<br>
>><br>
>> - // Provide value semantics. MSVC requires that we spell all of these<br>
>> out.<br>
>> - AArch64TTIImpl(const AArch64TTIImpl &Arg)<br>
>> - : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI)<br>
>> {}<br>
>> - AArch64TTIImpl(AArch64TTIImpl &&Arg)<br>
>> - : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))),<br>
>> ST(std::move(Arg.ST)),<br>
>> - TLI(std::move(Arg.TLI)) {}<br>
>> -<br>
>> /// \name Scalar TTI Implementations<br>
>> /// @{<br>
>><br>
>><br>
>> Modified: llvm/trunk/lib/Target/AMDGPU/<wbr>AMDGPUTargetTransformInfo.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/Target/<wbr>AMDGPU/<wbr>AMDGPUTargetTransformInfo.h?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/lib/Target/AMDGPU/<wbr>AMDGPUTargetTransformInfo.h (original)<br>
>> +++ llvm/trunk/lib/Target/AMDGPU/<wbr>AMDGPUTargetTransformInfo.h Thu Oct 20<br>
>> 07:20:28 2016<br>
>> @@ -64,13 +64,6 @@ public:<br>
>> ST(TM->getSubtargetImpl(F)),<br>
>> TLI(ST->getTargetLowering()) {}<br>
>><br>
>> - // Provide value semantics. MSVC requires that we spell all of these<br>
>> out.<br>
>> - AMDGPUTTIImpl(const AMDGPUTTIImpl &Arg)<br>
>> - : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI)<br>
>> {}<br>
>> - AMDGPUTTIImpl(AMDGPUTTIImpl &&Arg)<br>
>> - : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))),<br>
>> ST(std::move(Arg.ST)),<br>
>> - TLI(std::move(Arg.TLI)) {}<br>
>> -<br>
>> bool hasBranchDivergence() { return true; }<br>
>><br>
>> void getUnrollingPreferences(Loop *L, TTI::UnrollingPreferences &UP);<br>
>><br>
>> Modified: llvm/trunk/lib/Target/ARM/<wbr>ARMTargetTransformInfo.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMTargetTransformInfo.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/Target/<wbr>ARM/ARMTargetTransformInfo.h?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/lib/Target/ARM/<wbr>ARMTargetTransformInfo.h (original)<br>
>> +++ llvm/trunk/lib/Target/ARM/<wbr>ARMTargetTransformInfo.h Thu Oct 20 07:20:28<br>
>> 2016<br>
>> @@ -45,13 +45,6 @@ public:<br>
>> : BaseT(TM, F.getParent()->getDataLayout()<wbr>),<br>
>> ST(TM->getSubtargetImpl(F)),<br>
>> TLI(ST->getTargetLowering()) {}<br>
>><br>
>> - // Provide value semantics. MSVC requires that we spell all of these<br>
>> out.<br>
>> - ARMTTIImpl(const ARMTTIImpl &Arg)<br>
>> - : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI)<br>
>> {}<br>
>> - ARMTTIImpl(ARMTTIImpl &&Arg)<br>
>> - : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))),<br>
>> ST(std::move(Arg.ST)),<br>
>> - TLI(std::move(Arg.TLI)) {}<br>
>> -<br>
>> bool enableInterleavedAccessVectori<wbr>zation() { return true; }<br>
>><br>
>> /// Floating-point computation using ARMv8 AArch32 Advanced<br>
>><br>
>> Modified: llvm/trunk/lib/Target/Hexagon/<wbr>HexagonTargetTransformInfo.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonTargetTransformInfo.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/Target/<wbr>Hexagon/<wbr>HexagonTargetTransformInfo.h?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/lib/Target/Hexagon/<wbr>HexagonTargetTransformInfo.h (original)<br>
>> +++ llvm/trunk/lib/Target/Hexagon/<wbr>HexagonTargetTransformInfo.h Thu Oct 20<br>
>> 07:20:28 2016<br>
>> @@ -40,13 +40,6 @@ public:<br>
>> : BaseT(TM, F.getParent()->getDataLayout()<wbr>),<br>
>> ST(TM->getSubtargetImpl(F)),<br>
>> TLI(ST->getTargetLowering()) {}<br>
>><br>
>> - // Provide value semantics. MSVC requires that we spell all of these<br>
>> out.<br>
>> - HexagonTTIImpl(const HexagonTTIImpl &Arg)<br>
>> - : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI)<br>
>> {}<br>
>> - HexagonTTIImpl(HexagonTTIImpl &&Arg)<br>
>> - : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))),<br>
>> ST(std::move(Arg.ST)),<br>
>> - TLI(std::move(Arg.TLI)) {}<br>
>> -<br>
>> /// \name Scalar TTI Implementations<br>
>> /// @{<br>
>><br>
>><br>
>> Modified: llvm/trunk/lib/Target/Lanai/<wbr>LanaiTargetTransformInfo.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Lanai/LanaiTargetTransformInfo.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/Target/<wbr>Lanai/<wbr>LanaiTargetTransformInfo.h?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/lib/Target/Lanai/<wbr>LanaiTargetTransformInfo.h (original)<br>
>> +++ llvm/trunk/lib/Target/Lanai/<wbr>LanaiTargetTransformInfo.h Thu Oct 20<br>
>> 07:20:28 2016<br>
>> @@ -41,11 +41,6 @@ public:<br>
>> : BaseT(TM, F.getParent()->getDataLayout()<wbr>),<br>
>> ST(TM->getSubtargetImpl(F)),<br>
>> TLI(ST->getTargetLowering()) {}<br>
>><br>
>> - LanaiTTIImpl(const LanaiTTIImpl &Arg)<br>
>> - : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI)<br>
>> {}<br>
>> - LanaiTTIImpl(LanaiTTIImpl &&Arg)<br>
>> - : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))), ST(Arg.ST),<br>
>> TLI(Arg.TLI) {}<br>
>> -<br>
>> bool shouldBuildLookupTables() const { return false; }<br>
>><br>
>> TargetTransformInfo::<wbr>PopcntSupportKind getPopcntSupport(unsigned<br>
>> TyWidth) {<br>
>><br>
>> Modified: llvm/trunk/lib/Target/NVPTX/<wbr>NVPTXTargetTransformInfo.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/NVPTX/NVPTXTargetTransformInfo.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/Target/<wbr>NVPTX/<wbr>NVPTXTargetTransformInfo.h?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/lib/Target/NVPTX/<wbr>NVPTXTargetTransformInfo.h (original)<br>
>> +++ llvm/trunk/lib/Target/NVPTX/<wbr>NVPTXTargetTransformInfo.h Thu Oct 20<br>
>> 07:20:28 2016<br>
>> @@ -41,13 +41,6 @@ public:<br>
>> : BaseT(TM, F.getParent()->getDataLayout()<wbr>),<br>
>> ST(TM->getSubtargetImpl()),<br>
>> TLI(ST->getTargetLowering()) {}<br>
>><br>
>> - // Provide value semantics. MSVC requires that we spell all of these<br>
>> out.<br>
>> - NVPTXTTIImpl(const NVPTXTTIImpl &Arg)<br>
>> - : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI)<br>
>> {}<br>
>> - NVPTXTTIImpl(NVPTXTTIImpl &&Arg)<br>
>> - : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))),<br>
>> ST(std::move(Arg.ST)),<br>
>> - TLI(std::move(Arg.TLI)) {}<br>
>> -<br>
>> bool hasBranchDivergence() { return true; }<br>
>><br>
>> bool isSourceOfDivergence(const Value *V);<br>
>><br>
>> Modified: llvm/trunk/lib/Target/PowerPC/<wbr>PPCTargetTransformInfo.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCTargetTransformInfo.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/Target/<wbr>PowerPC/<wbr>PPCTargetTransformInfo.h?rev=<wbr>284721&r1=284720&r2=284721&<wbr>view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/lib/Target/PowerPC/<wbr>PPCTargetTransformInfo.h (original)<br>
>> +++ llvm/trunk/lib/Target/PowerPC/<wbr>PPCTargetTransformInfo.h Thu Oct 20<br>
>> 07:20:28 2016<br>
>> @@ -41,13 +41,6 @@ public:<br>
>> : BaseT(TM, F.getParent()->getDataLayout()<wbr>),<br>
>> ST(TM->getSubtargetImpl(F)),<br>
>> TLI(ST->getTargetLowering()) {}<br>
>><br>
>> - // Provide value semantics. MSVC requires that we spell all of these<br>
>> out.<br>
>> - PPCTTIImpl(const PPCTTIImpl &Arg)<br>
>> - : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI)<br>
>> {}<br>
>> - PPCTTIImpl(PPCTTIImpl &&Arg)<br>
>> - : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))),<br>
>> ST(std::move(Arg.ST)),<br>
>> - TLI(std::move(Arg.TLI)) {}<br>
>> -<br>
>> /// \name Scalar TTI Implementations<br>
>> /// @{<br>
>><br>
>><br>
>> Modified: llvm/trunk/lib/Target/SystemZ/<wbr>SystemZTargetTransformInfo.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/SystemZ/SystemZTargetTransformInfo.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/Target/<wbr>SystemZ/<wbr>SystemZTargetTransformInfo.h?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/lib/Target/SystemZ/<wbr>SystemZTargetTransformInfo.h (original)<br>
>> +++ llvm/trunk/lib/Target/SystemZ/<wbr>SystemZTargetTransformInfo.h Thu Oct 20<br>
>> 07:20:28 2016<br>
>> @@ -32,13 +32,6 @@ public:<br>
>> : BaseT(TM, F.getParent()->getDataLayout()<wbr>),<br>
>> ST(TM->getSubtargetImpl(F)),<br>
>> TLI(ST->getTargetLowering()) {}<br>
>><br>
>> - // Provide value semantics. MSVC requires that we spell all of these<br>
>> out.<br>
>> - SystemZTTIImpl(const SystemZTTIImpl &Arg)<br>
>> - : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI)<br>
>> {}<br>
>> - SystemZTTIImpl(SystemZTTIImpl &&Arg)<br>
>> - : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))),<br>
>> ST(std::move(Arg.ST)),<br>
>> - TLI(std::move(Arg.TLI)) {}<br>
>> -<br>
>> /// \name Scalar TTI Implementations<br>
>> /// @{<br>
>><br>
>><br>
>> Modified:<br>
>> llvm/trunk/lib/Target/<wbr>WebAssembly/<wbr>WebAssemblyTargetTransformInfo<wbr>.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/Target/<wbr>WebAssembly/<wbr>WebAssemblyTargetTransformInfo<wbr>.h?rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/lib/Target/<wbr>WebAssembly/<wbr>WebAssemblyTargetTransformInfo<wbr>.h<br>
>> (original)<br>
>> +++ llvm/trunk/lib/Target/<wbr>WebAssembly/<wbr>WebAssemblyTargetTransformInfo<wbr>.h Thu<br>
>> Oct 20 07:20:28 2016<br>
>> @@ -42,13 +42,6 @@ public:<br>
>> : BaseT(TM, F.getParent()->getDataLayout()<wbr>),<br>
>> ST(TM->getSubtargetImpl(F)),<br>
>> TLI(ST->getTargetLowering()) {}<br>
>><br>
>> - // Provide value semantics. MSVC requires that we spell all of these<br>
>> out.<br>
>> - WebAssemblyTTIImpl(const WebAssemblyTTIImpl &Arg)<br>
>> - : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI)<br>
>> {}<br>
>> - WebAssemblyTTIImpl(<wbr>WebAssemblyTTIImpl &&Arg)<br>
>> - : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))),<br>
>> ST(std::move(Arg.ST)),<br>
>> - TLI(std::move(Arg.TLI)) {}<br>
>> -<br>
>> /// \name Scalar TTI Implementations<br>
>> /// @{<br>
>><br>
>><br>
>> Modified: llvm/trunk/lib/Target/X86/<wbr>X86TargetTransformInfo.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86TargetTransformInfo.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/Target/<wbr>X86/X86TargetTransformInfo.h?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/lib/Target/X86/<wbr>X86TargetTransformInfo.h (original)<br>
>> +++ llvm/trunk/lib/Target/X86/<wbr>X86TargetTransformInfo.h Thu Oct 20 07:20:28<br>
>> 2016<br>
>> @@ -43,13 +43,6 @@ public:<br>
>> : BaseT(TM, F.getParent()->getDataLayout()<wbr>),<br>
>> ST(TM->getSubtargetImpl(F)),<br>
>> TLI(ST->getTargetLowering()) {}<br>
>><br>
>> - // Provide value semantics. MSVC requires that we spell all of these<br>
>> out.<br>
>> - X86TTIImpl(const X86TTIImpl &Arg)<br>
>> - : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI)<br>
>> {}<br>
>> - X86TTIImpl(X86TTIImpl &&Arg)<br>
>> - : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))),<br>
>> ST(std::move(Arg.ST)),<br>
>> - TLI(std::move(Arg.TLI)) {}<br>
>> -<br>
>> /// \name Scalar TTI Implementations<br>
>> /// @{<br>
>> TTI::PopcntSupportKind getPopcntSupport(unsigned TyWidth);<br>
>><br>
>> Modified: llvm/trunk/lib/Target/XCore/<wbr>XCoreTargetTransformInfo.h<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/XCore/XCoreTargetTransformInfo.h?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/Target/<wbr>XCore/<wbr>XCoreTargetTransformInfo.h?<wbr>rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/lib/Target/XCore/<wbr>XCoreTargetTransformInfo.h (original)<br>
>> +++ llvm/trunk/lib/Target/XCore/<wbr>XCoreTargetTransformInfo.h Thu Oct 20<br>
>> 07:20:28 2016<br>
>> @@ -41,13 +41,6 @@ public:<br>
>> : BaseT(TM, F.getParent()->getDataLayout()<wbr>),<br>
>> ST(TM->getSubtargetImpl()),<br>
>> TLI(ST->getTargetLowering()) {}<br>
>><br>
>> - // Provide value semantics. MSVC requires that we spell all of these<br>
>> out.<br>
>> - XCoreTTIImpl(const XCoreTTIImpl &Arg)<br>
>> - : BaseT(static_cast<const BaseT &>(Arg)), ST(Arg.ST), TLI(Arg.TLI)<br>
>> {}<br>
>> - XCoreTTIImpl(XCoreTTIImpl &&Arg)<br>
>> - : BaseT(std::move(static_cast<<wbr>BaseT &>(Arg))),<br>
>> ST(std::move(Arg.ST)),<br>
>> - TLI(std::move(Arg.TLI)) {}<br>
>> -<br>
>> unsigned getNumberOfRegisters(bool Vector) {<br>
>> if (Vector) {<br>
>> return 0;<br>
>><br>
>> Modified: llvm/trunk/lib/Transforms/<wbr>Utils/ValueMapper.cpp<br>
>> URL:<br>
>> <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/ValueMapper.cpp?rev=284721&r1=284720&r2=284721&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/<wbr>Transforms/Utils/ValueMapper.<wbr>cpp?rev=284721&r1=284720&r2=<wbr>284721&view=diff</a><br>
>><br>
>> ==============================<wbr>==============================<wbr>==================<br>
>> --- llvm/trunk/lib/Transforms/<wbr>Utils/ValueMapper.cpp (original)<br>
>> +++ llvm/trunk/lib/Transforms/<wbr>Utils/ValueMapper.cpp Thu Oct 20 07:20:28<br>
>> 2016<br>
>> @@ -38,15 +38,6 @@ struct DelayedBasicBlock {<br>
>> BasicBlock *OldBB;<br>
>> std::unique_ptr<BasicBlock> TempBB;<br>
>><br>
>> - // Explicit move for MSVC.<br>
>> - DelayedBasicBlock(<wbr>DelayedBasicBlock &&X)<br>
>> - : OldBB(std::move(X.OldBB)), TempBB(std::move(X.TempBB)) {}<br>
>> - DelayedBasicBlock &operator=(DelayedBasicBlock &&X) {<br>
>> - OldBB = std::move(X.OldBB);<br>
>> - TempBB = std::move(X.TempBB);<br>
>> - return *this;<br>
>> - }<br>
>> -<br>
>> DelayedBasicBlock(const BlockAddress &Old)<br>
>> : OldBB(Old.getBasicBlock()),<br>
>> TempBB(BasicBlock::Create(Old.<wbr>getContext())) {}<br>
>> @@ -184,17 +175,6 @@ class MDNodeMapper {<br>
>> bool HasChanged = false;<br>
</div></div><span class="">>> unsigned ID = ~0u;<br>
>> TempMDNode Placeholder;<br>
>> -<br>
>> - Data() {}<br>
>> - Data(Data &&X)<br>
>> - : HasChanged(std::move(X.<wbr>HasChanged)), ID(std::move(<a href="http://X.ID" rel="noreferrer" target="_blank">X.ID</a>)),<br>
>> - Placeholder(std::move(X.<wbr>Placeholder)) {}<br>
>> - Data &operator=(Data &&X) {<br>
>> - HasChanged = std::move(X.HasChanged);<br>
>> - ID = std::move(<a href="http://X.ID" rel="noreferrer" target="_blank">X.ID</a>);<br>
>> - Placeholder = std::move(X.Placeholder);<br>
</span>>> - return *this;<br>
>> - }<br>
>> };<br>
>><br>
<div class="HOEnZb"><div class="h5">>> /// A graph of uniqued nodes.<br>
>><br>
>><br>
>> ______________________________<wbr>_________________<br>
>> llvm-commits mailing list<br>
>> <a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
>> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-commits</a><br>
><br>
><br>
</div></div></blockquote></div><br></div>