Index: llvm/trunk/include/llvm/CodeGen/TargetInstrInfo.h =================================================================== --- llvm/trunk/include/llvm/CodeGen/TargetInstrInfo.h +++ llvm/trunk/include/llvm/CodeGen/TargetInstrInfo.h @@ -1604,7 +1604,7 @@ /// Returns a \p outliner::TargetCostInfo struct containing target-specific /// information for a set of outlining candidates. - virtual outliner::TargetCostInfo getOutlininingCandidateInfo( + virtual outliner::TargetCostInfo getOutliningCandidateInfo( std::vector &RepeatedSequenceLocs) const { llvm_unreachable( "Target didn't implement TargetInstrInfo::getOutliningCandidateInfo!"); Index: llvm/trunk/lib/CodeGen/MachineOutliner.cpp =================================================================== --- llvm/trunk/lib/CodeGen/MachineOutliner.cpp +++ llvm/trunk/lib/CodeGen/MachineOutliner.cpp @@ -912,7 +912,7 @@ // Create an OutlinedFunction to store it and check if it'd be beneficial // to outline. TargetCostInfo TCI = - TII.getOutlininingCandidateInfo(CandidatesForRepeatedSeq); + TII.getOutliningCandidateInfo(CandidatesForRepeatedSeq); std::vector Seq; for (unsigned i = Leaf->SuffixIdx; i < Leaf->SuffixIdx + StringLen; i++) Seq.push_back(ST.Str[i]); Index: llvm/trunk/lib/Target/AArch64/AArch64InstrInfo.h =================================================================== --- llvm/trunk/lib/Target/AArch64/AArch64InstrInfo.h +++ llvm/trunk/lib/Target/AArch64/AArch64InstrInfo.h @@ -238,7 +238,7 @@ bool isFunctionSafeToOutlineFrom(MachineFunction &MF, bool OutlineFromLinkOnceODRs) const override; - outliner::TargetCostInfo getOutlininingCandidateInfo( + outliner::TargetCostInfo getOutliningCandidateInfo( std::vector &RepeatedSequenceLocs) const override; outliner::InstrType getOutliningType(MachineBasicBlock::iterator &MIT, unsigned Flags) const override; Index: llvm/trunk/lib/Target/AArch64/AArch64InstrInfo.cpp =================================================================== --- llvm/trunk/lib/Target/AArch64/AArch64InstrInfo.cpp +++ llvm/trunk/lib/Target/AArch64/AArch64InstrInfo.cpp @@ -4928,7 +4928,7 @@ }; outliner::TargetCostInfo -AArch64InstrInfo::getOutlininingCandidateInfo( +AArch64InstrInfo::getOutliningCandidateInfo( std::vector &RepeatedSequenceLocs) const { unsigned SequenceSize = std::accumulate( RepeatedSequenceLocs[0].front(), Index: llvm/trunk/lib/Target/X86/X86InstrInfo.h =================================================================== --- llvm/trunk/lib/Target/X86/X86InstrInfo.h +++ llvm/trunk/lib/Target/X86/X86InstrInfo.h @@ -544,7 +544,7 @@ ArrayRef> getSerializableDirectMachineOperandTargetFlags() const override; - virtual outliner::TargetCostInfo getOutlininingCandidateInfo( + virtual outliner::TargetCostInfo getOutliningCandidateInfo( std::vector &RepeatedSequenceLocs) const override; bool isFunctionSafeToOutlineFrom(MachineFunction &MF, Index: llvm/trunk/lib/Target/X86/X86InstrInfo.cpp =================================================================== --- llvm/trunk/lib/Target/X86/X86InstrInfo.cpp +++ llvm/trunk/lib/Target/X86/X86InstrInfo.cpp @@ -7406,7 +7406,7 @@ }; outliner::TargetCostInfo -X86InstrInfo::getOutlininingCandidateInfo( +X86InstrInfo::getOutliningCandidateInfo( std::vector &RepeatedSequenceLocs) const { unsigned SequenceSize = std::accumulate( RepeatedSequenceLocs[0].front(), std::next(RepeatedSequenceLocs[0].back()),