summaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)Author
2010-04-28Add stub ir_reader and new 'i' mode for reading IR rather than GLSL.Kenneth Graunke
2010-04-28Add a simple S-Expression reader and printer.Kenneth Graunke
2010-04-23ir_function_inlining: Implement inlining in many more cases.Eric Anholt
We still don't inline for control flow in the inlined function, and we don't have any limits on what we will inline.
2010-04-23Replace builtin_types.h generation with the generated output.Eric Anholt
The script to generate it was longer and more obfuscated than the output.
2010-04-19Remove dead code assignments and variable declarations.Eric Anholt
This pass only works on assignments where the variable is never referenced. There is no code flow analysis, so it can't do a better job of avoiding redundant assignments. For now, the optimizer only does do_dead_code_unlinked(), so it won't trim the builtin variable list or initializers outside of the scope of functions. This is because we don't have the visibility into other functions that might get linked in in order to eliminate work on global variables.
2010-04-16Add support for inlining calls done inside of expressions.Eric Anholt
2010-04-14Add an ir_if simplification pass.Eric Anholt
This is relatively simple at the moment, recognizing only constant values, and not (for example) values that are restricted to a range that make the branching constant. However, it does remove 59 lines from the printout of CorrectParse2.vert.
2010-04-08Inline functions consisting of a return of an expression.Eric Anholt
2010-04-06Add a constant folding optimization pass.Eric Anholt
2010-03-30Initial bits of constant expression evaluatorIan Romanick
Currently only works for constants. The rest will be added later.
2010-03-29Implement the first builtin function: exp().Eric Anholt
2010-03-23Include other generated sources in BUILT_SOURCES.Eric Anholt
Otherwise, having cleaned glsl_parser.h, we'd never regenerate it because glsl_parser.cpp was already right where it needed to be.
2010-03-23Use bash for the built file generation since builtin_types.sh requires it.Eric Anholt
2010-03-23Clean the built sources with make clean.Eric Anholt
2010-03-15Factor ast_type_specifier code out to ast_type.cppIan Romanick
2010-03-15Move ast_function_expression::hir to ast_function.cppIan Romanick
2010-03-11Initial pass at resolving function callsIan Romanick
The code is still really rough and *REALLY* incomplete. This at least passes the first few trivially simple test cases.
2010-03-10IR variable: Initial work to support GLSL built-in variablesIan Romanick
2010-03-09IR visitor: Add initial version of ir_visitor classesIan Romanick
The ir_visitor class is the abstract base class for all visitors. ir_print_visitor contains the beginnings of a concrete visitor class that will print out an IR sequence in a Lisp / Scheme-like syntax.
2010-03-09Make glsl_type a classIan Romanick
Among other benefits, this cleans up a the hackery invovled in initializing the union field in builtin_types.h.
2010-03-01Make AST->HIR conversion a method of ast_node, re-enableIan Romanick
2010-02-25autoconf for the ...Ian Romanick