From 967be9e750221ab2ab783f95df79bb26d290a45e Mon Sep 17 00:00:00 2001 From: Martial Simon Date: Mon, 15 Sep 2025 01:07:58 +0200 Subject: add: added projects --- tiger-compiler/src/callgraph/tasks.hh | 46 +++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 tiger-compiler/src/callgraph/tasks.hh (limited to 'tiger-compiler/src/callgraph/tasks.hh') diff --git a/tiger-compiler/src/callgraph/tasks.hh b/tiger-compiler/src/callgraph/tasks.hh new file mode 100644 index 0000000..e1fc584 --- /dev/null +++ b/tiger-compiler/src/callgraph/tasks.hh @@ -0,0 +1,46 @@ +/** + ** \file callgraph/tasks.hh + ** \brief Callgraph module related tasks. + */ + +#pragma once + +#include +#include + +/// The Tasks of the escapes module. +namespace callgraph::tasks +{ + TASK_GROUP("3. Callgraph"); + + /*-------------. + | Call graph. | + `-------------*/ + + /// Build the call graph. + TASK_DECLARE("callgraph-compute", + "build the call graph", + callgraph_compute, + "bindings-compute"); + /// Dump the callgraph. + TASK_DECLARE("callgraph-dump", + "dump the call graph", + callgraph_dump, + "callgraph-compute"); + + /*---------------. + | Parent graph. | + `---------------*/ + + /// Build the parent graph. + TASK_DECLARE("parentgraph-compute", + "build the parent graph", + parentgraph_compute, + "parse"); + /// Dump the parentgraph. + TASK_DECLARE("parentgraph-dump", + "dump the parent graph", + parentgraph_dump, + "parentgraph-compute"); + +} // namespace callgraph::tasks -- cgit v1.2.3