Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
minloc.c File Reference
#include <stddef.h>
#include <liberrno.h>
#include <fmath.h>
#include <cray/dopevec.h>
#include <cray/portdefs.h>
#include "arraydefs.h"
Include dependency graph for minloc.c:

Go to the source code of this file.

Defines

#define _LOAD_DM_MK()
#define _SET_INDEX()
#define _FINAL_INDEX()
#define _INTERM_INDEX()
#define _INCREMENT_ONE()
#define _INCREMENT_TWO()
#define _INCREMENT_D_ONE()
#define _INCREMENT_D_TWO()

Functions

void _MINLOC_I4 (DopeVectorType *result, DopeVectorType *source, DopeVectorType *mask)
void _MINLOC__I4 (DopeVectorType *result, DopeVectorType *source, DopeVectorType *dimension, DopeVectorType *mask)
void _MINLOC_I2 (DopeVectorType *result, DopeVectorType *source, DopeVectorType *mask)
void _MINLOC__I2 (DopeVectorType *result, DopeVectorType *source, DopeVectorType *dimension, DopeVectorType *mask)
void _MINLOC_I1 (DopeVectorType *result, DopeVectorType *source, DopeVectorType *mask)
void _MINLOC__I1 (DopeVectorType *result, DopeVectorType *source, DopeVectorType *dimension, DopeVectorType *mask)
void _MINLOC_I (DopeVectorType *result, DopeVectorType *source, DopeVectorType *mask)
void _MINLOC__I (DopeVectorType *result, DopeVectorType *source, DopeVectorType *dimension, DopeVectorType *mask)
void _MINLOC_J (DopeVectorType *result, DopeVectorType *source, DopeVectorType *mask)
void _MINLOC__J (DopeVectorType *result, DopeVectorType *source, DopeVectorType *dimension, DopeVectorType *mask)
void _MINLOC_S (DopeVectorType *result, DopeVectorType *source, DopeVectorType *mask)
void _MINLOC__S (DopeVectorType *result, DopeVectorType *source, DopeVectorType *dimension, DopeVectorType *mask)
void _MINLOC_S4 (DopeVectorType *result, DopeVectorType *source, DopeVectorType *mask)
void _MINLOC__S4 (DopeVectorType *result, DopeVectorType *source, DopeVectorType *dimension, DopeVectorType *mask)
void __minloc (DopeVectorType *result, DopeVectorType *source, DopeVectorType *dimension, DopeVectorType *mask, _f_int subtype)

Variables

static char USMID [] = "@(#) libfi/array/minloc.c 92.0 10/08/98 14:37:14"

Define Documentation

#define _FINAL_INDEX ( )

Definition at line 361 of file minloc.c.

Referenced by __minloc().

#define _INCREMENT_D_ONE ( )

Definition at line 595 of file minloc.c.

Referenced by __minloc().

#define _INCREMENT_D_TWO ( )

Definition at line 660 of file minloc.c.

Referenced by __minloc().

#define _INCREMENT_ONE ( )

Definition at line 498 of file minloc.c.

Referenced by __minloc().

#define _INCREMENT_TWO ( )

Definition at line 543 of file minloc.c.

Referenced by __minloc().

#define _INTERM_INDEX ( )
Value:
switch (typeflag) {                                             \
        case 4 :                                                        \
            rptr_4[rindx] = res_indx1 + 1;                              \
            break;                                                      \
        case 8 :                                                        \
            rptr_8[rindx] = res_indx1 + 1;                              \
        }

Definition at line 468 of file minloc.c.

Referenced by __minloc().

#define _LOAD_DM_MK ( )
Value:
dm = dimension;                                                 \
        mk = mask;                                                      \
        /* if last arg = NULL, is last-1 arg mask or dim? */            \
        if (mask == NULL) {                                             \
            /* last arg = NULL, is last-1 arg mask or dim? */           \
            if (dimension != NULL) {                                    \
                if (dimension->type_lens.type == DVTYPE_LOGICAL) {      \
                    /* last-1 argument is mask. */                      \
                    mk = dimension;                                     \
                    dm = mask;                                          \
                }                                                       \
            }                                                           \
        }

Definition at line 47 of file minloc.c.

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

#define _SET_INDEX ( )

Definition at line 323 of file minloc.c.

Referenced by __minloc().


Function Documentation

void _MINLOC__I ( DopeVectorType result,
DopeVectorType source,
DopeVectorType dimension,
DopeVectorType mask 
)

Definition at line 192 of file minloc.c.

References __minloc(), _LOAD_DM_MK, and DVSUBTYPE_INT64.

Here is the call graph for this function:

void _MINLOC__I1 ( DopeVectorType result,
DopeVectorType source,
DopeVectorType dimension,
DopeVectorType mask 
)

Definition at line 157 of file minloc.c.

References __minloc(), _LOAD_DM_MK, DVSUBTYPE_BIT8, and DVSUBTYPE_INT32.

Here is the call graph for this function:

void _MINLOC__I2 ( DopeVectorType result,
DopeVectorType source,
DopeVectorType dimension,
DopeVectorType mask 
)

Definition at line 125 of file minloc.c.

References __minloc(), _LOAD_DM_MK, DVSUBTYPE_BIT16, and DVSUBTYPE_INT32.

Here is the call graph for this function:

void _MINLOC__I4 ( DopeVectorType result,
DopeVectorType source,
DopeVectorType dimension,
DopeVectorType mask 
)

Definition at line 95 of file minloc.c.

References __minloc(), _LOAD_DM_MK, and DVSUBTYPE_INT32.

Here is the call graph for this function:

void _MINLOC__J ( DopeVectorType result,
DopeVectorType source,
DopeVectorType dimension,
DopeVectorType mask 
)

Definition at line 221 of file minloc.c.

References __minloc(), _LOAD_DM_MK, and DVSUBTYPE_INT64.

Here is the call graph for this function:

void _MINLOC__S ( DopeVectorType result,
DopeVectorType source,
DopeVectorType dimension,
DopeVectorType mask 
)

Definition at line 246 of file minloc.c.

References __minloc(), _LOAD_DM_MK, and DVSUBTYPE_REAL64.

Here is the call graph for this function:

void _MINLOC__S4 ( DopeVectorType result,
DopeVectorType source,
DopeVectorType dimension,
DopeVectorType mask 
)

Definition at line 303 of file minloc.c.

References __minloc(), _LOAD_DM_MK, DVSUBTYPE_REAL32, and DVSUBTYPE_REAL64.

Here is the call graph for this function:

void _MINLOC_I ( DopeVectorType result,
DopeVectorType source,
DopeVectorType mask 
)

Definition at line 178 of file minloc.c.

References __minloc(), and DVSUBTYPE_INT64.

Here is the call graph for this function:

void _MINLOC_I1 ( DopeVectorType result,
DopeVectorType source,
DopeVectorType mask 
)

Definition at line 143 of file minloc.c.

References __minloc(), and DVSUBTYPE_INT32.

Here is the call graph for this function:

void _MINLOC_I2 ( DopeVectorType result,
DopeVectorType source,
DopeVectorType mask 
)

Definition at line 111 of file minloc.c.

References __minloc(), and DVSUBTYPE_INT32.

Here is the call graph for this function:

void _MINLOC_I4 ( DopeVectorType result,
DopeVectorType source,
DopeVectorType mask 
)

Definition at line 81 of file minloc.c.

References __minloc(), and DVSUBTYPE_INT32.

Here is the call graph for this function:

void _MINLOC_J ( DopeVectorType result,
DopeVectorType source,
DopeVectorType mask 
)

Definition at line 211 of file minloc.c.

References __minloc(), and DVSUBTYPE_INT64.

Here is the call graph for this function:

void _MINLOC_S ( DopeVectorType result,
DopeVectorType source,
DopeVectorType mask 
)

Definition at line 236 of file minloc.c.

References __minloc(), and DVSUBTYPE_REAL64.

Here is the call graph for this function:

void _MINLOC_S4 ( DopeVectorType result,
DopeVectorType source,
DopeVectorType mask 
)

Definition at line 289 of file minloc.c.

References __minloc(), DVSUBTYPE_REAL32, and DVSUBTYPE_REAL64.

Here is the call graph for this function:


Variable Documentation

char USMID[] = "@(#) libfi/array/minloc.c 92.0 10/08/98 14:37:14" [static]

Definition at line 37 of file minloc.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines