forked from OSchip/llvm-project
[MachineOutliner] Fix typo in getOutliningCandidateInfo function name
getOutlininingCandidateInfo -> getOutliningCandidateInfo Differential Revision: https://reviews.llvm.org/D48867 llvm-svn: 336285
This commit is contained in:
parent
d2af4d6f1b
commit
eaececf5e0
|
@ -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!");
|
||||
|
|
|
@ -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]);
|
||||
|
|
|
@ -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(),
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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()),
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue