Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
bf8c5a11
Commit
bf8c5a11
authored
Mar 01, 2012
by
Matthias Braun
Browse files
expose get_opt_constant_folding in public API
parent
99656ee8
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/libfirm/irflag.h
View file @
bf8c5a11
...
...
@@ -70,6 +70,8 @@ FIRM_API int get_optimize(void);
* Default: opt_constant_folding == 1.
*/
FIRM_API
void
set_opt_constant_folding
(
int
value
);
/** returns 0 if constant_folding is disabled, !=0 otherwise */
FIRM_API
int
get_opt_constant_folding
(
void
);
/** Enables/Disables algebraic simplifications.
*
...
...
ir/ir/irflag_t.def
View file @
bf8c5a11
...
...
@@ -43,7 +43,7 @@ E_FLAG(cse , 1, ON)
I_FLAG(global_cse , 2, OFF)
/** Evaluate operations. */
I
_FLAG(constant_folding , 3, ON)
E
_FLAG(constant_folding , 3, ON)
/** Algebraic simplifications. */
I_FLAG(algebraic_simplification , 4, ON)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment