ROSE  0.11.145.0
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. More...
 

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. More...
 
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. More...
 
 SharedObject (const SharedObject &)
 Copy constructor. More...
 
virtual ~SharedObject ()
 Virtual destructor. More...
 
SharedObjectoperator= (const SharedObject &)
 Assignment. More...
 

Static Public Member Functions

static Ptr instance ()
 Factory class method. More...
 

Member Typedef Documentation

Shared ownership pointer to a predicate object.

Definition at line 489 of file CfgPath.h.

Member Function Documentation

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

Factory class method.

Definition at line 492 of file CfgPath.h.

virtual HowInline Rose::BinaryAnalysis::Partitioner2::Inliner::ShouldInline::operator() ( const PartitionerConstPtr ,
const ControlFlowGraph::ConstEdgeIterator  cfgCallEdge,
const ControlFlowGraph paths,
const ControlFlowGraph::ConstVertexIterator &  pathsCallSite,
size_t  callDepth 
)
virtual

Whether to inline a function.


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