|
LLVM
7.0.0
|
The information necessary to create an outlined function for some class of candidate. More...
#include "llvm/CodeGen/MachineOutliner.h"
Public Member Functions | |
| unsigned | getOccurrenceCount () |
Return the number of candidates for this OutlinedFunction. More... | |
| unsigned | decrement () |
| Decrement the occurrence count of this OutlinedFunction and return the new count. More... | |
| unsigned | getOutliningCost () |
| Return the number of bytes it would take to outline this function. More... | |
| unsigned | getNotOutlinedCost () |
| Return the size in bytes of the unoutlined sequences. More... | |
| unsigned | getBenefit () |
| Return the number of instructions that would be saved by outlining this function. More... | |
| OutlinedFunction (std::vector< Candidate > &Cands, unsigned SequenceSize, unsigned FrameOverhead, unsigned FrameConstructionID) | |
| OutlinedFunction () | |
Public Attributes | |
| std::vector< std::shared_ptr< Candidate > > | Candidates |
| MachineFunction * | MF = nullptr |
| The actual outlined function created. More... | |
| unsigned | Name |
| A number assigned to this function which appears at the end of its name. More... | |
| std::vector< unsigned > | Sequence |
| The sequence of integers corresponding to the instructions in this function. More... | |
| unsigned | SequenceSize |
| Represents the size of a sequence in bytes. More... | |
| unsigned | FrameOverhead |
| Target-defined overhead of constructing a frame for this function. More... | |
| unsigned | FrameConstructionID |
| Target-defined identifier for constructing a frame for this function. More... | |
The information necessary to create an outlined function for some class of candidate.
Definition at line 159 of file MachineOutliner.h.
|
inline |
Definition at line 221 of file MachineOutliner.h.
|
inline |
Definition at line 235 of file MachineOutliner.h.
|
inline |
Decrement the occurrence count of this OutlinedFunction and return the new count.
Definition at line 194 of file MachineOutliner.h.
References assert().
|
inline |
Return the number of instructions that would be saved by outlining this function.
Definition at line 214 of file MachineOutliner.h.
|
inline |
Return the size in bytes of the unoutlined sequences.
Definition at line 210 of file MachineOutliner.h.
|
inline |
Return the number of candidates for this OutlinedFunction.
Definition at line 190 of file MachineOutliner.h.
|
inline |
Return the number of bytes it would take to outline this function.
Definition at line 202 of file MachineOutliner.h.
References C.
| std::vector<std::shared_ptr<Candidate> > llvm::outliner::OutlinedFunction::Candidates |
Definition at line 166 of file MachineOutliner.h.
| unsigned llvm::outliner::OutlinedFunction::FrameConstructionID |
Target-defined identifier for constructing a frame for this function.
Definition at line 187 of file MachineOutliner.h.
Referenced by llvm::AArch64InstrInfo::buildOutlinedFrame(), and llvm::X86InstrInfo::buildOutlinedFrame().
| unsigned llvm::outliner::OutlinedFunction::FrameOverhead |
Target-defined overhead of constructing a frame for this function.
Definition at line 184 of file MachineOutliner.h.
| MachineFunction* llvm::outliner::OutlinedFunction::MF = nullptr |
The actual outlined function created.
This is initialized after we go through and create the actual function.
Definition at line 170 of file MachineOutliner.h.
| unsigned llvm::outliner::OutlinedFunction::Name |
A number assigned to this function which appears at the end of its name.
Definition at line 173 of file MachineOutliner.h.
| std::vector<unsigned> llvm::outliner::OutlinedFunction::Sequence |
The sequence of integers corresponding to the instructions in this function.
Definition at line 177 of file MachineOutliner.h.
Referenced by INITIALIZE_PASS().
| unsigned llvm::outliner::OutlinedFunction::SequenceSize |
Represents the size of a sequence in bytes.
(Some instructions vary widely in size, so just counting the instructions isn't very useful.)
Definition at line 181 of file MachineOutliner.h.
1.8.13