libFirm
Main Page
Related Pages
Modules
Data Structures
All
Data Structures
Functions
Variables
Typedefs
Enumerations
Enumerator
Groups
Pages
irarch.h
1
/*
2
* This file is part of libFirm.
3
* Copyright (C) 2012 University of Karlsruhe.
4
*/
5
12
#ifndef FIRM_IR_IRARCH_H
13
#define FIRM_IR_IRARCH_H
14
15
#include "firm_types.h"
16
#include "begin.h"
17
26
typedef
enum
arch_dep_opts_t
{
27
arch_dep_none
= 0,
28
arch_dep_mul_to_shift
= 1u << 0,
29
arch_dep_div_by_const
= 1u << 1,
30
arch_dep_mod_by_const
= 1u << 2
31
}
arch_dep_opts_t
;
32
ENUM_BITSET(
arch_dep_opts_t
)
33
34
typedef struct
ir_settings_arch_dep_t
ir_settings_arch_dep_t
;
35
40
FIRM_API
void
arch_dep_set_opts
(
arch_dep_opts_t
opts);
41
44
#include "end.h"
45
46
#endif
arch_dep_div_by_const
optimize Div into Shift/Add/Mulh
Definition:
irarch.h:29
arch_dep_set_opts
void arch_dep_set_opts(arch_dep_opts_t opts)
Sets the optimizations that shall be applied.
arch_dep_mul_to_shift
optimize Mul into Shift/Add/Sub
Definition:
irarch.h:28
arch_dep_none
Definition:
irarch.h:27
arch_dep_opts_t
arch_dep_opts_t
Optimization flags.
Definition:
irarch.h:26
arch_dep_mod_by_const
optimize Mod into Shift/Add/Mulh
Definition:
irarch.h:30
ir_settings_arch_dep_t
struct ir_settings_arch_dep_t ir_settings_arch_dep_t
Definition:
irarch.h:34
libfirm
irarch.h
Generated on Tue Dec 29 2015 15:10:36 for libFirm by
1.8.6