2016-09-24 20:46:08 +00:00
|
|
|
#include "mcg.h"
|
|
|
|
#include "mcgg.h"
|
2016-09-24 15:20:40 +00:00
|
|
|
|
|
|
|
#define PANIC printf
|
|
|
|
|
2016-09-24 20:46:08 +00:00
|
|
|
#define burm_assert(b, s) assert(b)
|
|
|
|
|
2016-10-03 18:52:36 +00:00
|
|
|
extern void burm_panic_cannot_match(NODEPTR_TYPE node);
|
2016-10-01 11:56:52 +00:00
|
|
|
|
2016-10-09 10:32:36 +00:00
|
|
|
extern bool burm_predicate_signed_constant(struct burm_node* node, arith size);
|
|
|
|
extern bool burm_predicate_unsigned_constant(struct burm_node* node, arith size);
|
|
|
|
extern bool burm_predicate_specific_constant(struct burm_node* node, arith value);
|
2018-09-17 21:59:49 +00:00
|
|
|
extern bool burm_predicate_constant_within_inclusive_range(struct burm_node* node, arith min, arith max);
|
2016-10-08 09:35:33 +00:00
|
|
|
|
2016-10-05 19:07:29 +00:00
|
|
|
/* vim: set sw=4 ts=4 expandtab : */
|
|
|
|
|