3 * File name: ir/tv/tv_t.h
4 * Purpose: Representation of and static computations on target machine
5 * values -- private header.
10 * Copyright: (c) 2003 Universität Karlsruhe
11 * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
23 * Initialization of the tarval module.
25 * Call before init_mode().
27 void init_tarval_1(void);
30 * Initialization of the tarval module.
32 * Call after init_mode().
34 void init_tarval_2(void);
37 * Free all memory occupied by the tarval module.
39 void finish_tarval(void);
42 * This struct represents the afore mentioned tarvals.
44 * A tarval struct consists of an internal representation of the
45 * value and some additional fields further describing the value.
48 * - ir_mode *mode The mode of the stored value
49 * - void *value The internal representation
52 * irmode.h for predefined modes
55 ir_mode *mode; /**< the mode of the stored value */
56 const void *value; /**< the value stored in an internal way... */
57 unsigned int length; /**< the length of the stored value */
58 /* void *link; */ /**< some opaque information */
61 /** remove tarval representing an entity that is about to be destroyed */
62 void free_tarval_entity(entity *ent);