PIPS
|
#include "genC.h"
#include "linear.h"
#include "ri.h"
#include "effects.h"
#include "resources.h"
#include "misc.h"
#include "ri-util.h"
#include "effects-util.h"
#include "sac.h"
#include "patterns.h"
#include "pipsdbm.h"
Go to the source code of this file.
Data Structures | |
struct | oper_id_mapping |
Functions | |
void | set_simd_operator_mappings (void *m) |
operatorid.c More... | |
void | reset_simd_operator_mappings () |
static void | insert_mapping (oper_id_mapping *item) |
static int | do_get_operator_id (const char *ename) |
int | get_operator_id (entity e) |
bool | simd_operator_mappings (const string module_name) |
Variables | |
static operator_id_tree | mappings = NULL |
static oper_id_mapping | operators [] |
|
static |
Definition at line 143 of file operatorid.c.
References hash_get(), HASH_UNDEFINED_VALUE, intptr_t, mappings, operator_id_tree_id, operator_id_tree_sons, and UNKNOWN_TOK.
Referenced by get_operator_id().
retry with uppercase version, cos -> COS :)
Definition at line 161 of file operatorid.c.
References do_get_operator_id(), entity_local_name(), strdup(), strupper(), and UNKNOWN_TOK.
Referenced by match_call().
|
static |
Definition at line 116 of file operatorid.c.
References HASH_DEFAULT_SIZE, hash_get(), hash_int, hash_put(), hash_table_make(), HASH_UNDEFINED_VALUE, oper_id_mapping::id, intptr_t, make_operator_id_tree(), mappings, oper_id_mapping::name, operator_id_tree_id, operator_id_tree_sons, pips_user_warning, and UNKNOWN_TOK.
Referenced by simd_operator_mappings().
void reset_simd_operator_mappings | ( | void | ) |
Definition at line 48 of file operatorid.c.
References mappings, and pips_assert.
Referenced by simd_operator_mappings(), simd_unroll_as_needed(), and simdizer().
void set_simd_operator_mappings | ( | void * | m | ) |
Definition at line 43 of file operatorid.c.
References mappings, and pips_assert.
Referenced by simd_operator_mappings(), simd_unroll_as_needed(), and simdizer().
create a new operator id
put it in pipsdbm
module_name | odule_name |
Definition at line 174 of file operatorid.c.
References DB_PUT_MEMORY_RESOURCE, HASH_DEFAULT_SIZE, hash_int, hash_table_make(), insert_mapping(), make_operator_id_tree(), module_name(), oper_id_mapping::name, operators, pips_assert, reset_simd_operator_mappings(), set_simd_operator_mappings(), and UNKNOWN_TOK.
|
static |
Definition at line 42 of file operatorid.c.
Referenced by do_get_operator_id(), insert_mapping(), reset_simd_operator_mappings(), and set_simd_operator_mappings().
|
static |
Definition at line 66 of file operatorid.c.
Referenced by simd_operator_mappings().