ROSE 0.11.145.192
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Rose::BinaryAnalysis::Partitioner2::Inliner::ShouldInline Class Reference

Description

Predicate to determine whether inlining should be performed.

This is the base class for a predicate that determines whether a function should be inlined.

Definition at line 481 of file CfgPath.h.

#include <Rose/BinaryAnalysis/Partitioner2/CfgPath.h>

Inheritance diagram for Rose::BinaryAnalysis::Partitioner2::Inliner::ShouldInline:
Inheritance graph
[legend]
Collaboration diagram for Rose::BinaryAnalysis::Partitioner2::Inliner::ShouldInline:
Collaboration graph
[legend]

Public Types

typedef Sawyer::SharedPointer< ShouldInlinePtr
 Shared ownership pointer to a predicate object.
 

Public Member Functions

virtual HowInline operator() (const PartitionerConstPtr &, const ControlFlowGraph::ConstEdgeIterator cfgCallEdge, const ControlFlowGraph &paths, const ControlFlowGraph::ConstVertexIterator &pathsCallSite, size_t callDepth)
 Whether to inline a function.
 
size_t maxCallDepth () const
 Property: maximum call depth.
 
void maxCallDepth (size_t n)
 Property: maximum call depth.
 
- Public Member Functions inherited from Sawyer::SharedObject
 SharedObject ()
 Default constructor.
 
 SharedObject (const SharedObject &)
 Copy constructor.
 
virtual ~SharedObject ()
 Virtual destructor.
 
SharedObjectoperator= (const SharedObject &)
 Assignment.
 

Static Public Member Functions

static Ptr instance ()
 Factory class method.
 

Member Typedef Documentation

◆ Ptr

Shared ownership pointer to a predicate object.

Definition at line 489 of file CfgPath.h.

Constructor & Destructor Documentation

◆ ShouldInline()

Rose::BinaryAnalysis::Partitioner2::Inliner::ShouldInline::ShouldInline ( )
inlineprotected

Definition at line 484 of file CfgPath.h.

◆ ~ShouldInline()

virtual Rose::BinaryAnalysis::Partitioner2::Inliner::ShouldInline::~ShouldInline ( )
inlinevirtual

Definition at line 486 of file CfgPath.h.

Member Function Documentation

◆ instance()

static Ptr Rose::BinaryAnalysis::Partitioner2::Inliner::ShouldInline::instance ( )
inlinestatic

Factory class method.

Definition at line 492 of file CfgPath.h.

◆ maxCallDepth() [1/2]

size_t Rose::BinaryAnalysis::Partitioner2::Inliner::ShouldInline::maxCallDepth ( ) const
inline

Property: maximum call depth.

Definition at line 497 of file CfgPath.h.

◆ maxCallDepth() [2/2]

void Rose::BinaryAnalysis::Partitioner2::Inliner::ShouldInline::maxCallDepth ( size_t  n)
inline

Property: maximum call depth.

Definition at line 498 of file CfgPath.h.


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