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.
25 * Initialization of the tarval module.
27 * Call before init_mode().
29 void init_tarval_1(void);
32 * Initialization of the tarval module.
34 * Call after init_mode().
36 void init_tarval_2(void);
39 * Free all memory occupied by the tarval module.
41 void finish_tarval(void);
44 * This struct represents the afore mentioned tarvals.
46 * A tarval struct consists of an internal representation of the
47 * value and some additional fields further describing the value.
50 * - ir_mode *mode The mode of the stored value
51 * - void *value The internal representation
54 * irmode.h for predefined modes
57 ir_mode *mode; /**< the mode of the stored value */
58 const void *value; /**< the value stored in an internal way... */
59 unsigned int length; /**< the length of the stored value */
60 /* void *link; */ /**< some opaque information */
63 /** remove tarval representing an entity that is about to be destroyed */
64 void free_tarval_entity(entity *ent);