21 #ifndef OTAWA_AST_CALL_AST_H
22 #define OTAWA_AST_CALL_AST_H
27 namespace otawa {
namespace ast {
35 inline FunAST *
function(void)
const {
return fun; };
44 #endif // OTAWA_AST_CALL_AST_H
This class represents functions in the AST representation.
Definition: FunAST.h:32
This class is a specialized block AST ended by a function call.
Definition: CallAST.h:30
dtd::RefAttr< CFG * > called("called", dtd::STRICT)
t::uint32 size
Definition: base.h:46
Inst * block(void) const
Get the entry basic block of the AST block.
Definition: BlockAST.h:38
FunAST * fun
Definition: CallAST.h:31
A workspace represents a program, its run-time and all information about WCET computation or any othe...
Definition: WorkSpace.h:67
CallAST(Inst *block, ot::size size, FunAST *fun)
Build a new AST call calling the given function.
Definition: CallAST.cpp:41
This class represents the leafs of the AST.
Definition: BlockAST.h:30
This class represents assembly instruction of a piece of code.
Definition: Inst.h:62
virtual CallAST * toCall(void)
Get the call AST if this AST is a call, null else.
Definition: CallAST.h:39
virtual ast_kind_t kind(void) const
Get the kind of the AST.
Definition: CallAST.h:38
ast_kind_t
Definition: AST.h:40