21 #ifndef OTAWA_AST_FUN_AST_H
22 #define OTAWA_AST_FUN_AST_H
27 namespace otawa {
namespace ast {
51 #endif // OTAWA_AST_FUN_AST_H
void setAst(AST *ast)
Modify the AST representing the body of this function.
Definition: FunAST.cpp:111
This class represents functions in the AST representation.
Definition: FunAST.h:32
String & name(void)
Get the name of the function.
Definition: FunAST.h:43
AST * ast(void) const
Get the AST representing the body of this function.
Definition: FunAST.h:44
ASTInfo * info
Definition: FunAST.h:34
Inst * ent
Definition: FunAST.h:35
AST * _ast
Definition: FunAST.h:37
~FunAST(void)
Remove any link with the instruction representation.
Definition: FunAST.cpp:80
FunAST(WorkSpace *ws, Inst *entry, String name="")
Build a new function AST.
Definition: FunAST.cpp:58
void setName(const String &name)
Definition: FunAST.h:46
Inst * entry(void) const
Get the instruction entry of this function.
Definition: FunAST.h:42
A workspace represents a program, its run-time and all information about WCET computation or any othe...
Definition: WorkSpace.h:67
This class stores all the function known for the current framework.
Definition: ASTInfo.h:34
This is the base class for the representation of programs as Abstract Syntax Trees.
Definition: AST.h:53
This class represents assembly instruction of a piece of code.
Definition: Inst.h:62
String _name
Definition: FunAST.h:36