flow: handle struct assignments later
[smatch.git] / target-bfin.c
blobb84cd5de8d5418a05d766e43973483092bad138f
1 #include "symbol.h"
2 #include "target.h"
3 #include "machine.h"
4 #include "builtin.h"
7 static void predefine_bfin(const struct target *self)
9 predefine("__BFIN__", 1, "1");
10 predefine("__bfin__", 1, "1");
13 static const struct builtin_fn builtins_bfin[] = {
14 { "__builtin_bfin_csync", &void_ctype, 0 },
15 { "__builtin_bfin_ssync", &void_ctype, 0 },
16 { "__builtin_bfin_norm_fr1x32", &int_ctype, 0, { &int_ctype }},
17 { }
20 const struct target target_bfin = {
21 .mach = MACH_BFIN,
22 .bitness = ARCH_LP32,
24 .predefine = predefine_bfin,
25 .builtins = builtins_bfin,