LLVM: llvm::outliner::GlobalOutlinedFunction Struct Reference (original) (raw)

The information necessary to create an outlined function that is matched globally. More...

#include "[llvm/CodeGen/MachineOutliner.h](MachineOutliner%5F8h%5Fsource.html)"

Public Member Functions
GlobalOutlinedFunction (std::unique_ptr< OutlinedFunction > OF, unsigned GlobalOccurrenceCount)
unsigned getOccurrenceCount () const override
Return the number of times that appear globally.
unsigned getOutliningCost () const override
Return the outlining cost using the global occurrence count with the same cost as the first (unique) candidate.
GlobalOutlinedFunction ()=delete
~GlobalOutlinedFunction () override=default
Public Member Functions inherited from llvm::outliner::OutlinedFunction
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
unsigned GlobalOccurrenceCount
Public Attributes inherited from llvm::outliner::OutlinedFunction
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 that is matched globally.

Definition at line 281 of file MachineOutliner.h.

llvm::outliner::GlobalOutlinedFunction::GlobalOutlinedFunction ( std::unique_ptr< OutlinedFunction > OF, unsigned GlobalOccurrenceCount ) inlineexplicit

GlobalOutlinedFunction() [2/2]

llvm::outliner::GlobalOutlinedFunction::GlobalOutlinedFunction ( ) delete

~GlobalOutlinedFunction()

llvm::outliner::GlobalOutlinedFunction::~GlobalOutlinedFunction ( ) overridedefault

getOccurrenceCount()

unsigned llvm::outliner::GlobalOutlinedFunction::getOccurrenceCount ( ) const inlineoverridevirtual

getOutliningCost()

unsigned llvm::outliner::GlobalOutlinedFunction::getOutliningCost ( ) const inlineoverridevirtual

GlobalOccurrenceCount

unsigned llvm::outliner::GlobalOutlinedFunction::GlobalOccurrenceCount


The documentation for this struct was generated from the following file: