[MachineOutliner] Fix typo in getOutliningCandidateInfo function name

getOutlininingCandidateInfo -> getOutliningCandidateInfo

Differential Revision: https://reviews.llvm.org/D48867

llvm-svn: 336285
This commit is contained in:
Yvan Roux 2018-07-04 15:37:08 +00:00
parent d2af4d6f1b
commit eaececf5e0
6 changed files with 6 additions and 6 deletions

View File

@ -1604,7 +1604,7 @@ public:
/// 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<outliner::Candidate> &RepeatedSequenceLocs) const {
llvm_unreachable(
"Target didn't implement TargetInstrInfo::getOutliningCandidateInfo!");

View File

@ -912,7 +912,7 @@ unsigned MachineOutliner::findCandidates(
// 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<unsigned> Seq;
for (unsigned i = Leaf->SuffixIdx; i < Leaf->SuffixIdx + StringLen; i++)
Seq.push_back(ST.Str[i]);

View File

@ -4928,7 +4928,7 @@ enum MachineOutlinerMBBFlags {
};
outliner::TargetCostInfo
AArch64InstrInfo::getOutlininingCandidateInfo(
AArch64InstrInfo::getOutliningCandidateInfo(
std::vector<outliner::Candidate> &RepeatedSequenceLocs) const {
unsigned SequenceSize = std::accumulate(
RepeatedSequenceLocs[0].front(),

View File

@ -238,7 +238,7 @@ public:
bool isFunctionSafeToOutlineFrom(MachineFunction &MF,
bool OutlineFromLinkOnceODRs) const override;
outliner::TargetCostInfo getOutlininingCandidateInfo(
outliner::TargetCostInfo getOutliningCandidateInfo(
std::vector<outliner::Candidate> &RepeatedSequenceLocs) const override;
outliner::InstrType
getOutliningType(MachineBasicBlock::iterator &MIT, unsigned Flags) const override;

View File

@ -7406,7 +7406,7 @@ enum MachineOutlinerClass {
};
outliner::TargetCostInfo
X86InstrInfo::getOutlininingCandidateInfo(
X86InstrInfo::getOutliningCandidateInfo(
std::vector<outliner::Candidate> &RepeatedSequenceLocs) const {
unsigned SequenceSize = std::accumulate(
RepeatedSequenceLocs[0].front(), std::next(RepeatedSequenceLocs[0].back()),

View File

@ -544,7 +544,7 @@ public:
ArrayRef<std::pair<unsigned, const char *>>
getSerializableDirectMachineOperandTargetFlags() const override;
virtual outliner::TargetCostInfo getOutlininingCandidateInfo(
virtual outliner::TargetCostInfo getOutliningCandidateInfo(
std::vector<outliner::Candidate> &RepeatedSequenceLocs) const override;
bool isFunctionSafeToOutlineFrom(MachineFunction &MF,