Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
maxval_gen.c File Reference
#include "f90_intrinsic.h"
Include dependency graph for maxval_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])
void _MAXVAL__I1 (DopeVectorType *result, DopeVectorType *array, DopeVectorType *dim, DopeVectorType *mask)
void _MAXVAL__I2 (DopeVectorType *result, DopeVectorType *array, DopeVectorType *dim, DopeVectorType *mask)
void _MAXVAL__I4 (DopeVectorType *result, DopeVectorType *array, DopeVectorType *dim, DopeVectorType *mask)
void _MAXVAL__J (DopeVectorType *result, DopeVectorType *array, DopeVectorType *dim, DopeVectorType *mask)
void _MAXVAL__S4 (DopeVectorType *result, DopeVectorType *array, DopeVectorType *dim, DopeVectorType *mask)
void _MAXVAL__S (DopeVectorType *result, DopeVectorType *array, DopeVectorType *dim, DopeVectorType *mask)
void _MAXVAL__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 1361 of file maxval_gen.c.

References GET_RANK_FROM_DESC, and GET_STRIDE_FROM_DESC().

Referenced by _MAXVAL__D(), _MAXVAL__I1(), _MAXVAL__I2(), _MAXVAL__I4(), _MAXVAL__J(), _MAXVAL__S(), _MAXVAL__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 1334 of file maxval_gen.c.

References GET_EXTENT_FROM_DESC, get_offset_and_stride(), and GET_RANK_FROM_DESC.

Referenced by _MAXVAL__D(), _MAXVAL__I1(), _MAXVAL__I2(), _MAXVAL__I4(), _MAXVAL__J(), _MAXVAL__S(), and _MAXVAL__S4().

Here is the call graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines