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

Go to the source code of this file.

Functions

static size_t read_source_desc (DopeVectorType *array, size_t src_extent[MAX_NARY_DIMS], size_t src_stride[MAX_NARY_DIMS], size_t src_offset[MAX_NARY_DIMS], int32_t ddim)
static void get_offset_and_stride (DopeVectorType *array, size_t src_extent[MAX_NARY_DIMS], size_t src_stride[MAX_NARY_DIMS], size_t src_offset[MAX_NARY_DIMS], int32_t ddim)
static int32_t read_dim (DopeVectorType *dim)
static void alloc_res (DopeVectorType *result, size_t src_extent[MAX_NARY_DIMS])
static void update_resloc (DopeVectorType *result, int32_t src_rank, size_t src_stride[MAX_NARY_DIMS], char *newaddr, char *base)
void _MINLOC__I1 (DopeVectorType *result, DopeVectorType *array, DopeVectorType *dim, DopeVectorType *mask)
void _MINLOC__I2 (DopeVectorType *result, DopeVectorType *array, DopeVectorType *dim, DopeVectorType *mask)
void _MINLOC__I4 (DopeVectorType *result, DopeVectorType *array, DopeVectorType *dim, DopeVectorType *mask)
void _MINLOC__J (DopeVectorType *result, DopeVectorType *array, DopeVectorType *dim, DopeVectorType *mask)
void _MINLOC__S4 (DopeVectorType *result, DopeVectorType *array, DopeVectorType *dim, DopeVectorType *mask)
void _MINLOC__S (DopeVectorType *result, DopeVectorType *array, DopeVectorType *dim, DopeVectorType *mask)
void _MINLOC__D (DopeVectorType *result, DopeVectorType *array, DopeVectorType *dim, DopeVectorType *mask)

Function Documentation

static void get_offset_and_stride ( DopeVectorType array,
size_t  src_extent[MAX_NARY_DIMS],
size_t  src_stride[MAX_NARY_DIMS],
size_t  src_offset[MAX_NARY_DIMS],
int32_t  ddim 
) [static]

Definition at line 1546 of file minloc_gen.c.

References GET_RANK_FROM_DESC, and GET_STRIDE_FROM_DESC().

Referenced by _MINLOC__D(), _MINLOC__I1(), _MINLOC__I2(), _MINLOC__I4(), _MINLOC__J(), _MINLOC__S(), _MINLOC__S4(), and read_source_desc().

Here is the call graph for this function:

static int32_t read_dim ( DopeVectorType dim) [static]
static size_t read_source_desc ( DopeVectorType array,
size_t  src_extent[MAX_NARY_DIMS],
size_t  src_stride[MAX_NARY_DIMS],
size_t  src_offset[MAX_NARY_DIMS],
int32_t  ddim 
) [static]

Definition at line 1519 of file minloc_gen.c.

References GET_EXTENT_FROM_DESC, get_offset_and_stride(), and GET_RANK_FROM_DESC.

Referenced by _MINLOC__D(), _MINLOC__I1(), _MINLOC__I2(), _MINLOC__I4(), _MINLOC__J(), _MINLOC__S(), and _MINLOC__S4().

Here is the call graph for this function:

static void update_resloc ( DopeVectorType result,
int32_t  src_rank,
size_t  src_stride[MAX_NARY_DIMS],
char *  newaddr,
char *  base 
) [static]

Definition at line 1568 of file minloc_gen.c.

References GET_ADDRESS_FROM_DESC, GET_ELEMENT_SZ_FROM_DESC, GET_STRIDE_FROM_DESC(), and stride.

Referenced by _MINLOC__D(), _MINLOC__I1(), _MINLOC__I2(), _MINLOC__I4(), _MINLOC__J(), _MINLOC__S(), and _MINLOC__S4().

Here is the call graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines