LLVM: llvm::outliner::OutlinedFunction Struct Reference (original) (raw)
The information necessary to create an outlined function for some class of candidate. More...
#include "[llvm/CodeGen/MachineOutliner.h](MachineOutliner%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| virtual unsigned | getOccurrenceCount () const |
| Return the number of candidates for this OutlinedFunction. | |
| virtual unsigned | getOutliningCost () const |
| Return the number of bytes it would take to outline this function. | |
| unsigned | getNotOutlinedCost () const |
| Return the size in bytes of the unoutlined sequences. | |
| unsigned | getBenefit () const |
| Return the number of instructions that would be saved by outlining this function. | |
| unsigned | getNumInstrs () const |
| Return the number of instructions in this sequence. | |
| OutlinedFunction (std::vector< Candidate > &Candidates, unsigned SequenceSize, unsigned FrameOverhead, unsigned FrameConstructionID) | |
| OutlinedFunction ()=delete | |
| virtual | ~OutlinedFunction ()=default |
| Public Attributes | |
|---|---|
| std::vector< Candidate > | Candidates |
| MachineFunction * | MF = nullptr |
| The actual outlined function created. | |
| unsigned | SequenceSize = 0 |
| Represents the size of a sequence in bytes. | |
| unsigned | FrameOverhead = 0 |
| Target-defined overhead of constructing a frame for this function. | |
| unsigned | FrameConstructionID = 0 |
| Target-defined identifier for constructing a frame for this function. |
The information necessary to create an outlined function for some class of candidate.
Definition at line 218 of file MachineOutliner.h.
| llvm::outliner::OutlinedFunction::OutlinedFunction ( std::vector< Candidate > & Candidates, unsigned SequenceSize, unsigned FrameOverhead, unsigned FrameConstructionID ) | inline |
|---|
◆ OutlinedFunction() [2/2]
| llvm::outliner::OutlinedFunction::OutlinedFunction ( ) | delete |
|---|
◆ ~OutlinedFunction()
| virtual llvm::outliner::OutlinedFunction::~OutlinedFunction ( ) | virtualdefault |
|---|
◆ getBenefit()
| unsigned llvm::outliner::OutlinedFunction::getBenefit ( ) const | inline |
|---|
◆ getNotOutlinedCost()
| unsigned llvm::outliner::OutlinedFunction::getNotOutlinedCost ( ) const | inline |
|---|
◆ getNumInstrs()
| unsigned llvm::outliner::OutlinedFunction::getNumInstrs ( ) const | inline |
|---|
◆ getOccurrenceCount()
| virtual unsigned llvm::outliner::OutlinedFunction::getOccurrenceCount ( ) const | inlinevirtual |
|---|
◆ getOutliningCost()
| virtual unsigned llvm::outliner::OutlinedFunction::getOutliningCost ( ) const | inlinevirtual |
|---|
◆ Candidates
std::vector<Candidate> llvm::outliner::OutlinedFunction::Candidates
◆ FrameConstructionID
unsigned llvm::outliner::OutlinedFunction::FrameConstructionID = 0
◆ FrameOverhead
unsigned llvm::outliner::OutlinedFunction::FrameOverhead = 0
◆ MF
The actual outlined function created.
This is initialized after we go through and create the actual function.
Definition at line 225 of file MachineOutliner.h.
◆ SequenceSize
unsigned llvm::outliner::OutlinedFunction::SequenceSize = 0
The documentation for this struct was generated from the following file:
- include/llvm/CodeGen/MachineOutliner.h