Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
#include "dvector.h"
Go to the source code of this file.
Functions | |
DEP | DEP_SetDirection (DIRECTION direction) |
DEP | DEP_UnionDirection (DEP dep, DIRECTION direction) |
DEP | DEP_Negate (DEP dep) |
DEP | DEP_SetDistance (INT32 distance) |
void | DIRECTION_Print (DIRECTION dir, FILE *fp) |
void | DEP_Print (const DEP dep, FILE *fp) |
void | DEP_PrintBound (const DEP dep, FILE *fp) |
DEPV * | DEPV_Create (MEM_POOL *mem_pool, UINT8 num_dim) |
DEPV * | DEPV_CreateStar (MEM_POOL *mem_pool, UINT8 num_dim) |
DEPV * | DEPV_CreateEqual (MEM_POOL *mem_pool, UINT8 num_dim) |
DEPV * | DEPV_Copy (MEM_POOL *mem_pool, DEPV *depv, UINT8 num_dim) |
void | DEPV_Print (const DEPV *depv, FILE *fp, UINT8 num_dim) |
void | DEPV_PrintBound (const DEPV *depv, FILE *fp, UINT8 num_dim) |
void | DEP_Lex_Pos_Decompose (DEP dep, MEM_POOL *pool, DEP **pos, DEP **neg, BOOL keep_pos_equals, BOOL keep_neg_equals) |
DEP | DEP_Lex_Pos_Compose (DEP *pos, DEP *neg, BOOL *pos_has_eq, BOOL *neg_has_eq) |
Definition at line 341 of file dvector.cxx.
References DEP_Direction(), DEP_Negate(), DEP_UnionDirection(), DIR_EQ, DIR_POSEQ, FALSE, Is_True, and TRUE.
void DEP_Lex_Pos_Decompose | ( | DEP | dep, |
MEM_POOL * | pool, | ||
DEP ** | pos, | ||
DEP ** | neg, | ||
BOOL | keep_pos_equals, | ||
BOOL | keep_neg_equals | ||
) |
Definition at line 274 of file dvector.cxx.
References DEP_Direction(), DEP_Negate(), DEP_SetDirection(), DIR_EQ, DIR_NEG, DIR_NEGEQ, DIR_POS, DIR_POSEQ, DIR_POSNEG, DIR_STAR, NULL, and TYPE_MEM_POOL_ALLOC.
DEP DEP_Negate | ( | DEP | dep | ) |
Definition at line 126 of file dvector.cxx.
References DEP_Direction(), DEP_Distance(), DEP_IsDistance(), DEP_MAKE_DIST_NON_CONST_PRIVATE(), DEP_SET_DIR_PRIVATE(), DEP_SET_DIST_PRIVATE(), DEP_SetDistance(), DIR_NEG, DIR_NEGEQ, DIR_POS, and DIR_POSEQ.
Referenced by DEP_Lex_Pos_Compose(), and DEP_Lex_Pos_Decompose().
Definition at line 192 of file dvector.cxx.
References DEP_Direction(), DEP_Distance(), DEP_IsDistance(), DIRECTION_Print(), and fprintf().
Referenced by DEPV_Print().
void DEP_PrintBound | ( | const DEP | dep, |
FILE * | fp | ||
) |
Definition at line 198 of file dvector.cxx.
References DEP_DistanceBound(), and fprintf().
Referenced by DEPV_PrintBound().
DEP DEP_SetDirection | ( | DIRECTION | direction | ) |
Dependence Vectors -------------------
Description:
This is the basic data structure used to represent loop dependences. A dependence vector is an array of dependences, one for each enclosing do loop. Each dependence is a mixed distance direction: i.e. either a constant integer or a union of directions.
See dvector.h for exported routines
Definition at line 83 of file dvector.cxx.
References DEP_MAKE_DIST_NON_CONST_PRIVATE(), DEP_SET_DIR_PRIVATE(), DEP_SET_DIST_PRIVATE(), DEP_SetDistance(), DIR_EQ, DIR_NEG, and DIR_POS.
Referenced by DEP_Lex_Pos_Decompose(), DEPV_CreateEqual(), and DEPV_CreateStar().
DEP DEP_SetDistance | ( | INT32 | distance | ) |
Definition at line 152 of file dvector.cxx.
References DEP_MAKE_DIST_CONST_PRIVATE(), DEP_MAKE_DIST_NON_CONST_PRIVATE(), DEP_SET_DIR_PRIVATE(), DEP_SET_DIST_PRIVATE(), DIR_EQ, DIR_NEG, DIR_POS, MAX_BOUND_PRIVATE, MAX_DISTANCE_PRIVATE, and MIN_DISTANCE_PRIVATE.
Referenced by DEP_Negate(), and DEP_SetDirection().
DEP DEP_UnionDirection | ( | DEP | dep, |
DIRECTION | direction | ||
) |
Definition at line 105 of file dvector.cxx.
References DEP_Direction(), DEP_MAKE_DIST_NON_CONST_PRIVATE(), DEP_SET_DIST_PRIVATE(), DIR_EQ, DIR_NEG, and DIR_POS.
Referenced by DEP_Lex_Pos_Compose().
Definition at line 237 of file dvector.cxx.
References result, and TYPE_MEM_POOL_ALLOC_N.
DEPV* DEPV_Create | ( | MEM_POOL * | mem_pool, |
UINT8 | num_dim | ||
) |
Definition at line 204 of file dvector.cxx.
References TYPE_MEM_POOL_ALLOC_N.
DEPV* DEPV_CreateEqual | ( | MEM_POOL * | mem_pool, |
UINT8 | num_dim | ||
) |
Definition at line 225 of file dvector.cxx.
References DEP_SetDirection(), DIR_EQ, and TYPE_MEM_POOL_ALLOC_N.
DEPV* DEPV_CreateStar | ( | MEM_POOL * | mem_pool, |
UINT8 | num_dim | ||
) |
Definition at line 213 of file dvector.cxx.
References DEP_SetDirection(), DIR_STAR, and TYPE_MEM_POOL_ALLOC_N.
void DEPV_Print | ( | const DEPV * | depv, |
FILE * | fp, | ||
UINT8 | num_dim | ||
) |
Definition at line 251 of file dvector.cxx.
References DEP_Print(), DEPV_Dep, and fprintf().
void DEPV_PrintBound | ( | const DEPV * | depv, |
FILE * | fp, | ||
UINT8 | num_dim | ||
) |
Definition at line 262 of file dvector.cxx.
References DEP_PrintBound(), DEPV_Dep, and fprintf().
void DIRECTION_Print | ( | DIRECTION | dir, |
FILE * | fp | ||
) |
Definition at line 178 of file dvector.cxx.
References DIR_EQ, DIR_NEG, DIR_NEGEQ, DIR_POS, DIR_POSEQ, DIR_POSNEG, DIR_STAR, fprintf(), and Is_True.
Referenced by DEP_Print().