Otawa
0.10
|
#include <otawa/prop/ContextualProperty.h>
Classes | |
class | Ref |
Public Member Functions | |
ContextualPath (void) | |
ContextualPath (const ContextualPath &path) | |
ContextualPath & | operator= (const ContextualPath &path) |
void | clear (void) |
void | push (const ContextualStep &step) |
void | push (ContextualStep::kind_t kind, const Address &addr) |
void | pop (void) |
bool | isEmpty (void) const |
int | count (void) const |
const ContextualStep & | step (int i) const |
const ContextualStep & | operator[] (int i) const |
operator bool (void) const | |
void | print (io::Output &out) const |
Print the contextual path. More... | |
Address | getEnclosingFunction (void) |
Get the address of the function enclosing immediately the current context. More... | |
template<class T > | |
const T & | get (const Identifier< T > &id, const PropList &props) const |
template<class T > | |
Ref< T > | ref (const Identifier< T > &id, PropList &props) const |
template<class T > | |
const T & | get (const Identifier< T > &id, const PropList *props) const |
template<class T > | |
Ref< T > | ref (const Identifier< T > &id, PropList *props) const |
template<class T > | |
const T & | operator() (const Identifier< T > &id, const PropList *props) const |
template<class T > | |
const T & | operator() (const Identifier< T > &id, const PropList &props) const |
template<class T > | |
Ref< T > | operator() (const Identifier< T > &id, PropList *props) const |
template<class T > | |
Ref< T > | operator() (const Identifier< T > &id, PropList &props) const |
Private Attributes | |
genstruct::Vector< ContextualStep > | stack |
|
inline |
otawa::ContextualPath::ContextualPath | ( | const ContextualPath & | path | ) |
|
inline |
Referenced by yyparse().
|
inline |
|
inline |
References otawa::ContextualProperty::find().
Referenced by otawa::Virtualizer::isInlined(), and otawa::Virtualizer::virtualize().
|
inline |
Address otawa::ContextualPath::getEnclosingFunction | ( | void | ) |
Get the address of the function enclosing immediately the current context.
References otawa::ContextualStep::FUNCTION, kind, otawa::Address::null, and stack.
Referenced by otawa::ipet::FlowFactLoader::processBB().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
ContextualPath & otawa::ContextualPath::operator= | ( | const ContextualPath & | path | ) |
|
inline |
|
inline |
Referenced by otawa::ipet::FlowFactLoader::leavingCall(), and otawa::Virtualizer::leavingCall().
void otawa::ContextualPath::print | ( | io::Output & | out | ) | const |
Print the contextual path.
out | Stream to output to. |
References stack.
Referenced by otawa::operator<<().
|
inline |
Referenced by otawa::ipet::FlowFactLoader::enteringCall(), otawa::Virtualizer::enteringCall(), operator=(), and yyparse().
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Referenced by getEnclosingFunction(), operator=(), and print().