graph_generator.hpp File Reference

#include <vector>
#include "angel_types.hpp"

Include dependency graph for graph_generator.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  angel

Classes

struct  angel::random_init_t

Functions

void angel::random_statement (int inputs, int expr, const std::vector< double > &p, c_graph_t &statement)
 Generates a random statement.
void angel::random_statement_vector (int max_expr, double unary, std::vector< c_graph_t > &statement_vector)
 Generates a vector of random statements.
void angel::stats2block (int inputs, int outputs, const std::vector< c_graph_t > &stats, c_graph_t &block)
 Build a block from a list of statements.
void angel::random_block (int inputs, int outputs, int stats, int max_exp, double unary, c_graph_t &block)
 Generates a random basic block.
void angel::block2loop (const c_graph_t &block, int loops, c_graph_t &loop)
 Generates a DAG that represents a loop over the block.

Variables

random_init_t angel::random_init_object


Generated on Wed Mar 11 10:33:17 2009 for angel by  doxygen 1.5.3