blob: a43eac43008e9b93f5935700ee54048ed2c4e436 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#ifndef CHILL_ERROR_HH
#define CHILL_ERROR_HH
/*!
* \file
* \brief CHiLL runtime exceptions
*/
namespace chill {
namespace error {
//! for loop transformation problem
struct loop : public std::runtime_error {
loop(const std::string &msg) : std::runtime_error(msg) {}
};
//! for generic compiler intermediate code handling problem
struct ir : public std::runtime_error {
ir(const std::string &msg) : std::runtime_error(msg) {}
};
struct build : public std::runtime_error {
build(const std::string &msg) : std::runtime_error(msg) {}
};
//! for specific for expression to preburger math translation problem
struct ir_exp : public ir {
ir_exp(const std::string &msg) : ir(msg) {}
};
struct omega : public std::runtime_error {
omega(const std::string &msg) : std::runtime_error(msg) {}
};
}
}
#endif
|