Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
dvector.cxx File Reference
#include "dvector.h"
Include dependency graph for dvector.cxx:

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)
DEPVDEPV_Create (MEM_POOL *mem_pool, UINT8 num_dim)
DEPVDEPV_CreateStar (MEM_POOL *mem_pool, UINT8 num_dim)
DEPVDEPV_CreateEqual (MEM_POOL *mem_pool, UINT8 num_dim)
DEPVDEPV_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)

Function Documentation

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

void DEP_Print ( const DEP  dep,
FILE *  fp 
)

Definition at line 192 of file dvector.cxx.

References DEP_Direction(), DEP_Distance(), DEP_IsDistance(), DIRECTION_Print(), and fprintf().

Referenced by DEPV_Print().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

DEPV* DEPV_Copy ( MEM_POOL mem_pool,
DEPV depv,
UINT8  num_dim 
)

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines