docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
lift_report.h
Go to the documentation of this file.
1#pragma once
2
3#include <llvm/IR/InstrTypes.h>
4
5#include <nlohmann/json.hpp>
6
7#include "sdfg/element.h"
8
9namespace docc {
10namespace lifting {
11
13private:
14 nlohmann::json report_;
15 bool do_reporting_;
16
17 void add_successful_lift_internal(const sdfg::DebugInfo& dbg_info);
18
19 void add_failed_lift_internal(const sdfg::DebugInfo& dbg_info, const std::string& reason, const std::string& element);
20
21 void dump_report_internal(std::filesystem::path report_path);
22
23public:
25
26 static void add_successful_lift(const sdfg::DebugInfo& dbg_info);
27
28 static void add_failed_lift(const sdfg::DebugInfo& dbg_info, const std::string& reason, const std::string& element);
29
30 static void dump_report(std::filesystem::path report_path);
31};
32
33} // namespace lifting
34} // namespace docc
static void add_failed_lift(const sdfg::DebugInfo &dbg_info, const std::string &reason, const std::string &element)
static void dump_report(std::filesystem::path report_path)
static void add_successful_lift(const sdfg::DebugInfo &dbg_info)
Definition element.h:30
Definition exceptions.h:9
Definition targets.h:8