* DEALINGS IN THE SOFTWARE.
*/
-#include <cstdio>
#include "glsl_symbol_table.h"
#include "ast.h"
#include "glsl_types.h"
* As a result, my preference is to put as little C code as possible in the
* parser (and lexer) sources.
*/
-#include <stdio.h>
+
#include "main/imports.h"
#include "glsl_symbol_table.h"
#include "glsl_parser_extras.h"
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
-#include <stdio.h>
+
+#include "ir.h"
#include "main/imports.h"
#include "symbol_table.h"
#include "glsl_parser_extras.h"
#include "ast.h"
#include "glsl_types.h"
-#include "ir.h"
struct ir_rvalue *
_mesa_ast_field_selection_to_hir(const ast_expression *expr,
#ifndef IR_H
#define IR_H
+#include <cstdio>
+#include <cstdlib>
+
#include "list.h"
#include "ir_visitor.h"
#include "ir_hierarchical_visitor.h"
* Basic block analysis of instruction streams.
*/
-#include <stdio.h>
#include "ir.h"
#include "ir_visitor.h"
#include "ir_basic_block.h"
* * Initializers for \c const variables
*/
-#define NULL 0
#include <math.h>
#include "ir.h"
#include "ir_visitor.h"
* Replace constant-valued expressions with references to constant values.
*/
-#define NULL 0
#include "ir.h"
#include "ir_visitor.h"
#include "ir_optimization.h"
* and calls to builtin functions.
*/
-#include <stdio.h>
-#include <stdlib.h>
#include "ir.h"
#include "ir_print_visitor.h"
#include "ir_visitor.h"
* help anyway by triggering other optimizations that live in the HIR.
*/
-#include <stdio.h>
#include "ir.h"
#include "ir_visitor.h"
#include "ir_print_visitor.h"
* Eliminates dead assignments and variable declarations from the code.
*/
-#define NULL 0
#include "ir.h"
#include "ir_visitor.h"
#include "ir_expression_flattening.h"
* for assignments to variables that are never read.
*/
-#include <stdio.h>
#include "ir.h"
#include "ir_print_visitor.h"
#include "ir_basic_block.h"
* instruction stream.
*/
-#define NULL 0
#include "ir.h"
#include "ir_visitor.h"
#include "ir_expression_flattening.h"
* (0) loop surrounding the function body.
*/
-#define NULL 0
#include "ir.h"
class ir_function_can_inline_visitor : public ir_hierarchical_visitor {
* Replaces calls to functions with the body of the function.
*/
-#define NULL 0
#include "ir.h"
#include "ir_visitor.h"
#include "ir_function_inlining.h"
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
-#define NULL 0
+
#include "ir.h"
#include "ir_hierarchical_visitor.h"
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
-#define NULL 0
+
#include "ir.h"
/**
* instruction stream.
*/
-#define NULL 0
#include "ir.h"
class ir_if_simplification_visitor : public ir_hierarchical_visitor {
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
-#include <cstdio>
+
#include "ir_print_visitor.h"
#include "glsl_types.h"
#include "glsl_parser_extras.h"
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
-#include <cstdio>
+
#include <cstdarg>
extern "C" {
* Eliminates the second swizzle in a swizzle chain.
*/
-#include <stdio.h>
#include "ir.h"
#include "ir_visitor.h"
#include "ir_optimization.h"
* DEALINGS IN THE SOFTWARE.
*/
-#include <stdio.h>
+#include "ir.h"
#include "glsl_parser_extras.h"
#include "glsl_symbol_table.h"
-#include "ir.h"
#include "builtin_variables.h"
#ifndef Elements
* and codegen backends not have to worry about this case.
*/
-#include <stdio.h>
#include "ir.h"
#include "ir_visitor.h"
#include "ir_optimization.h"