Compute Library
 22.11
repeat.h File Reference
#include "helpers.h"

Go to the source code of this file.

Macros

#define REPEAT_3_1(P_X, P_A, P_B, P_C)   P_X##_DEF(0, P_A, P_B, P_C)
 Macros that help in loop unrolling. More...
 
#define REPEAT_3_2(P_X, P_A, P_B, P_C)
 
#define REPEAT_3_3(P_X, P_A, P_B, P_C)
 
#define REPEAT_3_4(P_X, P_A, P_B, P_C)
 
#define REPEAT_3_5(P_X, P_A, P_B, P_C)
 
#define REPEAT_3_6(P_X, P_A, P_B, P_C)
 
#define REPEAT_3_7(P_X, P_A, P_B, P_C)
 
#define REPEAT_3_8(P_X, P_A, P_B, P_C)
 
#define REPEAT_3_9(P_X, P_A, P_B, P_C)
 
#define REPEAT_3_10(P_X, P_A, P_B, P_C)
 
#define REPEAT_3_11(P_X, P_A, P_B, P_C)
 
#define REPEAT_3_12(P_X, P_A, P_B, P_C)
 
#define REPEAT_3_13(P_X, P_A, P_B, P_C)
 
#define REPEAT_3_14(P_X, P_A, P_B, P_C)
 
#define REPEAT_3_15(P_X, P_A, P_B, P_C)
 
#define REPEAT_3_16(P_X, P_A, P_B, P_C)
 
#define REPEAT_DEF_3_N(P_NUM, P_OP, P_A, P_B, P_C)   REPEAT_3_##P_NUM(P_OP, P_A, P_B, P_C)
 
#define REPEAT_3_N(P_NUM, P_OP, P_A, P_B, P_C)   REPEAT_DEF_3_N(P_NUM, P_OP, P_A, P_B, P_C)
 
#define REPEAT_4_1(P_X, P_A, P_B, P_C, P_D)   P_X##_DEF(0, P_A, P_B, P_C, P_D)
 
#define REPEAT_4_2(P_X, P_A, P_B, P_C, P_D)
 
#define REPEAT_4_3(P_X, P_A, P_B, P_C, P_D)
 
#define REPEAT_4_4(P_X, P_A, P_B, P_C, P_D)
 
#define REPEAT_4_5(P_X, P_A, P_B, P_C, P_D)
 
#define REPEAT_4_6(P_X, P_A, P_B, P_C, P_D)
 
#define REPEAT_4_7(P_X, P_A, P_B, P_C, P_D)
 
#define REPEAT_4_8(P_X, P_A, P_B, P_C, P_D)
 
#define REPEAT_4_9(P_X, P_A, P_B, P_C, P_D)
 
#define REPEAT_4_10(P_X, P_A, P_B, P_C, P_D)
 
#define REPEAT_4_11(P_X, P_A, P_B, P_C, P_D)
 
#define REPEAT_4_12(P_X, P_A, P_B, P_C, P_D)
 
#define REPEAT_4_13(P_X, P_A, P_B, P_C, P_D)
 
#define REPEAT_4_14(P_X, P_A, P_B, P_C, P_D)
 
#define REPEAT_4_15(P_X, P_A, P_B, P_C, P_D)
 
#define REPEAT_4_16(P_X, P_A, P_B, P_C, P_D)
 
#define REPEAT_DEF_4_N(P_NUM, P_OP, P_A, P_B, P_C, P_D)   REPEAT_4_##P_NUM(P_OP, P_A, P_B, P_C, P_D)
 
#define REPEAT_4_N(P_NUM, P_OP, P_A, P_B, P_C, P_D)   REPEAT_DEF_4_N(P_NUM, P_OP, P_A, P_B, P_C, P_D)
 
#define VAR_INIT_TO_CONST_DEF(ID, TYPE, VAR, VAL)   TYPE VAR##ID = VAL
 
#define REPEAT_VAR_INIT_TO_CONST(N, TYPE, VAR, VAL)   REPEAT_3_N(N, VAR_INIT_TO_CONST, TYPE, VAR, VAL)
 
#define VAR_INIT_CONVERT_DEF(ID, TYPE_OUT, VAR_IN, VAR_OUT)   TYPE_OUT VAR_OUT##ID = CONVERT(VAR_IN##ID, TYPE_OUT)
 
#define REPEAT_VAR_INIT_CONVERT(N, TYPE_OUT, VAR_IN, VAR_OUT)   REPEAT_3_N(N, VAR_INIT_CONVERT, TYPE_OUT, VAR_IN, VAR_OUT)
 
#define VAR_INIT_CONVERT_SAT_DEF(ID, TYPE_OUT, VAR_IN, VAR_OUT)   TYPE_OUT VAR_OUT##ID = CONVERT_SAT(VAR_IN##ID, TYPE_OUT)
 
#define REPEAT_VAR_INIT_CONVERT_SAT(N, TYPE_OUT, VAR_IN, VAR_OUT)   REPEAT_3_N(N, VAR_INIT_CONVERT_SAT, TYPE_OUT, VAR_IN, VAR_OUT)
 
#define ADD_CONST_TO_VAR_DEF(ID, TYPE, VAR, VAL)   VAR##ID += (TYPE)VAL
 
#define REPEAT_ADD_CONST_TO_VAR(N, TYPE, VAR, VAL)   REPEAT_3_N(N, ADD_CONST_TO_VAR, TYPE, VAR, VAL)
 
#define MLA_VAR_WITH_CONST_VEC_DEF(ID, VAR_A, VAR_B, VAL)   VAR_A##ID += VAR_B##ID * VAL
 
#define REPEAT_MLA_VAR_WITH_CONST_VEC(N, VAR_A, VAR_B, VAL)   REPEAT_3_N(N, MLA_VAR_WITH_CONST_VEC, VAR_A, VAR_B, VAL)
 
#define ADD_VECTOR_TO_VAR_DEF(ID, TYPE, VAR, VEC)   VAR##ID += VEC
 
#define REPEAT_ADD_VECTOR_TO_VAR(N, VAR, VEC)   REPEAT_3_N(N, ADD_VECTOR_TO_VAR, "", VAR, VEC)
 
#define ADD_TWO_VARS_DEF(ID, TYPE, VAR_A, VAR_B)   VAR_A##ID += VAR_B##ID
 
#define REPEAT_ADD_TWO_VARS(N, VAR_A, VAR_B)   REPEAT_3_N(N, ADD_TWO_VARS, "", VAR_A, VAR_B)
 
#define MAX_CONST_VAR_DEF(ID, TYPE, VAR, VAL)   VAR##ID = max(VAR##ID, (TYPE)VAL)
 
#define REPEAT_MAX_CONST_VAR(N, TYPE, VAR, VAL)   REPEAT_3_N(N, MAX_CONST_VAR, TYPE, VAR, VAL)
 
#define MIN_CONST_VAR_DEF(ID, TYPE, VAR, VAL)   VAR##ID = min(VAR##ID, (TYPE)VAL)
 
#define REPEAT_MIN_CONST_VAR(N, TYPE, VAR, VAL)   REPEAT_3_N(N, MIN_CONST_VAR, TYPE, VAR, VAL)
 
#define ASYMM_MULT_BY_QUANT_MULTIPLIER_GREATER_THAN_ONE_DEF(ID, SIZE, VAR, RES_MUL, RES_SHIFT)   VAR##ID = ASYMM_MULT_BY_QUANT_MULTIPLIER_GREATER_THAN_ONE(VAR##ID, RES_MUL, RES_SHIFT, SIZE)
 
#define REPEAT_ASYMM_MULT_BY_QUANT_MULTIPLIER_GREATER_THAN_ONE(N, SIZE, VAR, RES_MUL, RES_SHIFT)   REPEAT_4_N(N, ASYMM_MULT_BY_QUANT_MULTIPLIER_GREATER_THAN_ONE, SIZE, VAR, RES_MUL, RES_SHIFT)
 
#define ASYMM_MULT_BY_QUANT_MULTIPLIER_LESS_THAN_ONE_DEF(ID, SIZE, VAR, RES_MUL, RES_SHIFT)   VAR##ID = ASYMM_MULT_BY_QUANT_MULTIPLIER_LESS_THAN_ONE(VAR##ID, RES_MUL, RES_SHIFT, SIZE)
 
#define REPEAT_ASYMM_MULT_BY_QUANT_MULTIPLIER_LESS_THAN_ONE(N, SIZE, VAR, RES_MUL, RES_SHIFT)   REPEAT_4_N(N, ASYMM_MULT_BY_QUANT_MULTIPLIER_LESS_THAN_ONE, SIZE, VAR, RES_MUL, RES_SHIFT)
 
#define ASYMM_MULT_BY_QUANT_MULTIPLIER_PER_CHANNEL_DEF(ID, SIZE, VAR, RES_MUL, RES_SHIFT)
 
#define REPEAT_ASYMM_MULT_BY_QUANT_MULTIPLIER_PER_CHANNEL(N, SIZE, VAR, RES_MUL, RES_SHIFT)   REPEAT_4_N(N, ASYMM_MULT_BY_QUANT_MULTIPLIER_PER_CHANNEL, SIZE, VAR, RES_MUL, RES_SHIFT)
 

Macro Definition Documentation

◆ ADD_CONST_TO_VAR_DEF

#define ADD_CONST_TO_VAR_DEF (   ID,
  TYPE,
  VAR,
  VAL 
)    VAR##ID += (TYPE)VAL

Definition at line 145 of file repeat.h.

◆ ADD_TWO_VARS_DEF

#define ADD_TWO_VARS_DEF (   ID,
  TYPE,
  VAR_A,
  VAR_B 
)    VAR_A##ID += VAR_B##ID

Definition at line 157 of file repeat.h.

◆ ADD_VECTOR_TO_VAR_DEF

#define ADD_VECTOR_TO_VAR_DEF (   ID,
  TYPE,
  VAR,
  VEC 
)    VAR##ID += VEC

Definition at line 153 of file repeat.h.

◆ ASYMM_MULT_BY_QUANT_MULTIPLIER_GREATER_THAN_ONE_DEF

#define ASYMM_MULT_BY_QUANT_MULTIPLIER_GREATER_THAN_ONE_DEF (   ID,
  SIZE,
  VAR,
  RES_MUL,
  RES_SHIFT 
)    VAR##ID = ASYMM_MULT_BY_QUANT_MULTIPLIER_GREATER_THAN_ONE(VAR##ID, RES_MUL, RES_SHIFT, SIZE)

Definition at line 169 of file repeat.h.

◆ ASYMM_MULT_BY_QUANT_MULTIPLIER_LESS_THAN_ONE_DEF

#define ASYMM_MULT_BY_QUANT_MULTIPLIER_LESS_THAN_ONE_DEF (   ID,
  SIZE,
  VAR,
  RES_MUL,
  RES_SHIFT 
)    VAR##ID = ASYMM_MULT_BY_QUANT_MULTIPLIER_LESS_THAN_ONE(VAR##ID, RES_MUL, RES_SHIFT, SIZE)

Definition at line 173 of file repeat.h.

◆ ASYMM_MULT_BY_QUANT_MULTIPLIER_PER_CHANNEL_DEF

#define ASYMM_MULT_BY_QUANT_MULTIPLIER_PER_CHANNEL_DEF (   ID,
  SIZE,
  VAR,
  RES_MUL,
  RES_SHIFT 
)
Value:
({ \
VEC_DATA_TYPE(int, N0) \
VAR##ID_shift_lt0 = ASYMM_MULT_BY_QUANT_MULTIPLIER_GREATER_THAN_ONE(VAR##ID, RES_MUL, RES_SHIFT, N0); \
VEC_DATA_TYPE(int, N0) \
VAR##ID_shift_gt0 = ASYMM_MULT_BY_QUANT_MULTIPLIER_LESS_THAN_ONE(VAR##ID, RES_MUL, RES_SHIFT, N0); \
VAR##ID = select(VAR##ID_shift_lt0, VAR##ID_shift_gt0, RES_SHIFT >= 0); \
})
SimpleTensor< T > select(const SimpleTensor< uint8_t > &c, const SimpleTensor< T > &x, const SimpleTensor< T > &y)
Definition: Select.cpp:38
#define ASYMM_MULT_BY_QUANT_MULTIPLIER_GREATER_THAN_ONE(x, quantized_multiplier, left_shift, size)
#define ASYMM_MULT_BY_QUANT_MULTIPLIER_LESS_THAN_ONE(x, quantized_multiplier, right_shift, size)

Definition at line 177 of file repeat.h.

◆ MAX_CONST_VAR_DEF

#define MAX_CONST_VAR_DEF (   ID,
  TYPE,
  VAR,
  VAL 
)    VAR##ID = max(VAR##ID, (TYPE)VAL)

Definition at line 161 of file repeat.h.

◆ MIN_CONST_VAR_DEF

#define MIN_CONST_VAR_DEF (   ID,
  TYPE,
  VAR,
  VAL 
)    VAR##ID = min(VAR##ID, (TYPE)VAL)

Definition at line 165 of file repeat.h.

◆ MLA_VAR_WITH_CONST_VEC_DEF

#define MLA_VAR_WITH_CONST_VEC_DEF (   ID,
  VAR_A,
  VAR_B,
  VAL 
)    VAR_A##ID += VAR_B##ID * VAL

Definition at line 149 of file repeat.h.

◆ REPEAT_3_1

#define REPEAT_3_1 (   P_X,
  P_A,
  P_B,
  P_C 
)    P_X##_DEF(0, P_A, P_B, P_C)

Macros that help in loop unrolling.

Definition at line 31 of file repeat.h.

◆ REPEAT_3_10

#define REPEAT_3_10 (   P_X,
  P_A,
  P_B,
  P_C 
)
Value:
P_X##_DEF(9, P_A, P_B, P_C); \
REPEAT_3_9(P_X, P_A, P_B, P_C)

Definition at line 56 of file repeat.h.

◆ REPEAT_3_11

#define REPEAT_3_11 (   P_X,
  P_A,
  P_B,
  P_C 
)
Value:
P_X##_DEF(A, P_A, P_B, P_C); \
REPEAT_3_10(P_X, P_A, P_B, P_C)

Definition at line 59 of file repeat.h.

◆ REPEAT_3_12

#define REPEAT_3_12 (   P_X,
  P_A,
  P_B,
  P_C 
)
Value:
P_X##_DEF(B, P_A, P_B, P_C); \
REPEAT_3_11(P_X, P_A, P_B, P_C)

Definition at line 62 of file repeat.h.

◆ REPEAT_3_13

#define REPEAT_3_13 (   P_X,
  P_A,
  P_B,
  P_C 
)
Value:
P_X##_DEF(C, P_A, P_B, P_C); \
REPEAT_3_12(P_X, P_A, P_B, P_C)

Definition at line 65 of file repeat.h.

◆ REPEAT_3_14

#define REPEAT_3_14 (   P_X,
  P_A,
  P_B,
  P_C 
)
Value:
P_X##_DEF(D, P_A, P_B, P_C); \
REPEAT_3_13(P_X, P_A, P_B, P_C)

Definition at line 68 of file repeat.h.

◆ REPEAT_3_15

#define REPEAT_3_15 (   P_X,
  P_A,
  P_B,
  P_C 
)
Value:
P_X##_DEF(E, P_A, P_B, P_C); \
REPEAT_3_14(P_X, P_A, P_B, P_C)

Definition at line 71 of file repeat.h.

◆ REPEAT_3_16

#define REPEAT_3_16 (   P_X,
  P_A,
  P_B,
  P_C 
)
Value:
P_X##_DEF(F, P_A, P_B, P_C); \
REPEAT_3_15(P_X, P_A, P_B, P_C)

Definition at line 74 of file repeat.h.

◆ REPEAT_3_2

#define REPEAT_3_2 (   P_X,
  P_A,
  P_B,
  P_C 
)
Value:
P_X##_DEF(1, P_A, P_B, P_C); \
REPEAT_3_1(P_X, P_A, P_B, P_C)

Definition at line 32 of file repeat.h.

◆ REPEAT_3_3

#define REPEAT_3_3 (   P_X,
  P_A,
  P_B,
  P_C 
)
Value:
P_X##_DEF(2, P_A, P_B, P_C); \
REPEAT_3_2(P_X, P_A, P_B, P_C)

Definition at line 35 of file repeat.h.

◆ REPEAT_3_4

#define REPEAT_3_4 (   P_X,
  P_A,
  P_B,
  P_C 
)
Value:
P_X##_DEF(3, P_A, P_B, P_C); \
REPEAT_3_3(P_X, P_A, P_B, P_C)

Definition at line 38 of file repeat.h.

◆ REPEAT_3_5

#define REPEAT_3_5 (   P_X,
  P_A,
  P_B,
  P_C 
)
Value:
P_X##_DEF(4, P_A, P_B, P_C); \
REPEAT_3_4(P_X, P_A, P_B, P_C)

Definition at line 41 of file repeat.h.

◆ REPEAT_3_6

#define REPEAT_3_6 (   P_X,
  P_A,
  P_B,
  P_C 
)
Value:
P_X##_DEF(5, P_A, P_B, P_C); \
REPEAT_3_5(P_X, P_A, P_B, P_C)

Definition at line 44 of file repeat.h.

◆ REPEAT_3_7

#define REPEAT_3_7 (   P_X,
  P_A,
  P_B,
  P_C 
)
Value:
P_X##_DEF(6, P_A, P_B, P_C); \
REPEAT_3_6(P_X, P_A, P_B, P_C)

Definition at line 47 of file repeat.h.

◆ REPEAT_3_8

#define REPEAT_3_8 (   P_X,
  P_A,
  P_B,
  P_C 
)
Value:
P_X##_DEF(7, P_A, P_B, P_C); \
REPEAT_3_7(P_X, P_A, P_B, P_C)

Definition at line 50 of file repeat.h.

◆ REPEAT_3_9

#define REPEAT_3_9 (   P_X,
  P_A,
  P_B,
  P_C 
)
Value:
P_X##_DEF(8, P_A, P_B, P_C); \
REPEAT_3_8(P_X, P_A, P_B, P_C)

Definition at line 53 of file repeat.h.

◆ REPEAT_3_N

#define REPEAT_3_N (   P_NUM,
  P_OP,
  P_A,
  P_B,
  P_C 
)    REPEAT_DEF_3_N(P_NUM, P_OP, P_A, P_B, P_C)

Definition at line 79 of file repeat.h.

◆ REPEAT_4_1

#define REPEAT_4_1 (   P_X,
  P_A,
  P_B,
  P_C,
  P_D 
)    P_X##_DEF(0, P_A, P_B, P_C, P_D)

Definition at line 82 of file repeat.h.

◆ REPEAT_4_10

#define REPEAT_4_10 (   P_X,
  P_A,
  P_B,
  P_C,
  P_D 
)
Value:
P_X##_DEF(9, P_A, P_B, P_C, P_D); \
REPEAT_4_9(P_X, P_A, P_B, P_C, P_D)

Definition at line 107 of file repeat.h.

◆ REPEAT_4_11

#define REPEAT_4_11 (   P_X,
  P_A,
  P_B,
  P_C,
  P_D 
)
Value:
P_X##_DEF(A, P_A, P_B, P_C, P_D); \
REPEAT_4_10(P_X, P_A, P_B, P_C, P_D)

Definition at line 110 of file repeat.h.

◆ REPEAT_4_12

#define REPEAT_4_12 (   P_X,
  P_A,
  P_B,
  P_C,
  P_D 
)
Value:
P_X##_DEF(B, P_A, P_B, P_C, P_D); \
REPEAT_4_11(P_X, P_A, P_B, P_C, P_D)

Definition at line 113 of file repeat.h.

◆ REPEAT_4_13

#define REPEAT_4_13 (   P_X,
  P_A,
  P_B,
  P_C,
  P_D 
)
Value:
P_X##_DEF(C, P_A, P_B, P_C, P_D); \
REPEAT_4_12(P_X, P_A, P_B, P_C, P_D)

Definition at line 116 of file repeat.h.

◆ REPEAT_4_14

#define REPEAT_4_14 (   P_X,
  P_A,
  P_B,
  P_C,
  P_D 
)
Value:
P_X##_DEF(D, P_A, P_B, P_C, P_D); \
REPEAT_4_13(P_X, P_A, P_B, P_C, P_D)

Definition at line 119 of file repeat.h.

◆ REPEAT_4_15

#define REPEAT_4_15 (   P_X,
  P_A,
  P_B,
  P_C,
  P_D 
)
Value:
P_X##_DEF(E, P_A, P_B, P_C, P_D); \
REPEAT_4_14(P_X, P_A, P_B, P_C, P_D)

Definition at line 122 of file repeat.h.

◆ REPEAT_4_16

#define REPEAT_4_16 (   P_X,
  P_A,
  P_B,
  P_C,
  P_D 
)
Value:
P_X##_DEF(F, P_A, P_B, P_C, P_D); \
REPEAT_4_15(P_X, P_A, P_B, P_C, P_D)

Definition at line 125 of file repeat.h.

◆ REPEAT_4_2

#define REPEAT_4_2 (   P_X,
  P_A,
  P_B,
  P_C,
  P_D 
)
Value:
P_X##_DEF(1, P_A, P_B, P_C, P_D); \
REPEAT_4_1(P_X, P_A, P_B, P_C, P_D)

Definition at line 83 of file repeat.h.

◆ REPEAT_4_3

#define REPEAT_4_3 (   P_X,
  P_A,
  P_B,
  P_C,
  P_D 
)
Value:
P_X##_DEF(2, P_A, P_B, P_C, P_D); \
REPEAT_4_2(P_X, P_A, P_B, P_C, P_D)

Definition at line 86 of file repeat.h.

◆ REPEAT_4_4

#define REPEAT_4_4 (   P_X,
  P_A,
  P_B,
  P_C,
  P_D 
)
Value:
P_X##_DEF(3, P_A, P_B, P_C, P_D); \
REPEAT_4_3(P_X, P_A, P_B, P_C, P_D)

Definition at line 89 of file repeat.h.

◆ REPEAT_4_5

#define REPEAT_4_5 (   P_X,
  P_A,
  P_B,
  P_C,
  P_D 
)
Value:
P_X##_DEF(4, P_A, P_B, P_C, P_D); \
REPEAT_4_4(P_X, P_A, P_B, P_C, P_D)

Definition at line 92 of file repeat.h.

◆ REPEAT_4_6

#define REPEAT_4_6 (   P_X,
  P_A,
  P_B,
  P_C,
  P_D 
)
Value:
P_X##_DEF(5, P_A, P_B, P_C, P_D); \
REPEAT_4_5(P_X, P_A, P_B, P_C, P_D)

Definition at line 95 of file repeat.h.

◆ REPEAT_4_7

#define REPEAT_4_7 (   P_X,
  P_A,
  P_B,
  P_C,
  P_D 
)
Value:
P_X##_DEF(6, P_A, P_B, P_C, P_D); \
REPEAT_4_6(P_X, P_A, P_B, P_C, P_D)

Definition at line 98 of file repeat.h.

◆ REPEAT_4_8

#define REPEAT_4_8 (   P_X,
  P_A,
  P_B,
  P_C,
  P_D 
)
Value:
P_X##_DEF(7, P_A, P_B, P_C, P_D); \
REPEAT_4_7(P_X, P_A, P_B, P_C, P_D)

Definition at line 101 of file repeat.h.

◆ REPEAT_4_9

#define REPEAT_4_9 (   P_X,
  P_A,
  P_B,
  P_C,
  P_D 
)
Value:
P_X##_DEF(8, P_A, P_B, P_C, P_D); \
REPEAT_4_8(P_X, P_A, P_B, P_C, P_D)

Definition at line 104 of file repeat.h.

◆ REPEAT_4_N

#define REPEAT_4_N (   P_NUM,
  P_OP,
  P_A,
  P_B,
  P_C,
  P_D 
)    REPEAT_DEF_4_N(P_NUM, P_OP, P_A, P_B, P_C, P_D)

Definition at line 130 of file repeat.h.

◆ REPEAT_ADD_CONST_TO_VAR

#define REPEAT_ADD_CONST_TO_VAR (   N,
  TYPE,
  VAR,
  VAL 
)    REPEAT_3_N(N, ADD_CONST_TO_VAR, TYPE, VAR, VAL)

Definition at line 146 of file repeat.h.

◆ REPEAT_ADD_TWO_VARS

#define REPEAT_ADD_TWO_VARS (   N,
  VAR_A,
  VAR_B 
)    REPEAT_3_N(N, ADD_TWO_VARS, "", VAR_A, VAR_B)

Definition at line 158 of file repeat.h.

◆ REPEAT_ADD_VECTOR_TO_VAR

#define REPEAT_ADD_VECTOR_TO_VAR (   N,
  VAR,
  VEC 
)    REPEAT_3_N(N, ADD_VECTOR_TO_VAR, "", VAR, VEC)

Definition at line 154 of file repeat.h.

◆ REPEAT_ASYMM_MULT_BY_QUANT_MULTIPLIER_GREATER_THAN_ONE

#define REPEAT_ASYMM_MULT_BY_QUANT_MULTIPLIER_GREATER_THAN_ONE (   N,
  SIZE,
  VAR,
  RES_MUL,
  RES_SHIFT 
)    REPEAT_4_N(N, ASYMM_MULT_BY_QUANT_MULTIPLIER_GREATER_THAN_ONE, SIZE, VAR, RES_MUL, RES_SHIFT)

Definition at line 170 of file repeat.h.

◆ REPEAT_ASYMM_MULT_BY_QUANT_MULTIPLIER_LESS_THAN_ONE

#define REPEAT_ASYMM_MULT_BY_QUANT_MULTIPLIER_LESS_THAN_ONE (   N,
  SIZE,
  VAR,
  RES_MUL,
  RES_SHIFT 
)    REPEAT_4_N(N, ASYMM_MULT_BY_QUANT_MULTIPLIER_LESS_THAN_ONE, SIZE, VAR, RES_MUL, RES_SHIFT)

Definition at line 174 of file repeat.h.

◆ REPEAT_ASYMM_MULT_BY_QUANT_MULTIPLIER_PER_CHANNEL

#define REPEAT_ASYMM_MULT_BY_QUANT_MULTIPLIER_PER_CHANNEL (   N,
  SIZE,
  VAR,
  RES_MUL,
  RES_SHIFT 
)    REPEAT_4_N(N, ASYMM_MULT_BY_QUANT_MULTIPLIER_PER_CHANNEL, SIZE, VAR, RES_MUL, RES_SHIFT)

Definition at line 185 of file repeat.h.

◆ REPEAT_DEF_3_N

#define REPEAT_DEF_3_N (   P_NUM,
  P_OP,
  P_A,
  P_B,
  P_C 
)    REPEAT_3_##P_NUM(P_OP, P_A, P_B, P_C)

Definition at line 78 of file repeat.h.

◆ REPEAT_DEF_4_N

#define REPEAT_DEF_4_N (   P_NUM,
  P_OP,
  P_A,
  P_B,
  P_C,
  P_D 
)    REPEAT_4_##P_NUM(P_OP, P_A, P_B, P_C, P_D)

Definition at line 129 of file repeat.h.

◆ REPEAT_MAX_CONST_VAR

#define REPEAT_MAX_CONST_VAR (   N,
  TYPE,
  VAR,
  VAL 
)    REPEAT_3_N(N, MAX_CONST_VAR, TYPE, VAR, VAL)

Definition at line 162 of file repeat.h.

◆ REPEAT_MIN_CONST_VAR

#define REPEAT_MIN_CONST_VAR (   N,
  TYPE,
  VAR,
  VAL 
)    REPEAT_3_N(N, MIN_CONST_VAR, TYPE, VAR, VAL)

Definition at line 166 of file repeat.h.

◆ REPEAT_MLA_VAR_WITH_CONST_VEC

#define REPEAT_MLA_VAR_WITH_CONST_VEC (   N,
  VAR_A,
  VAR_B,
  VAL 
)    REPEAT_3_N(N, MLA_VAR_WITH_CONST_VEC, VAR_A, VAR_B, VAL)

Definition at line 150 of file repeat.h.

◆ REPEAT_VAR_INIT_CONVERT

#define REPEAT_VAR_INIT_CONVERT (   N,
  TYPE_OUT,
  VAR_IN,
  VAR_OUT 
)    REPEAT_3_N(N, VAR_INIT_CONVERT, TYPE_OUT, VAR_IN, VAR_OUT)

Definition at line 138 of file repeat.h.

◆ REPEAT_VAR_INIT_CONVERT_SAT

#define REPEAT_VAR_INIT_CONVERT_SAT (   N,
  TYPE_OUT,
  VAR_IN,
  VAR_OUT 
)    REPEAT_3_N(N, VAR_INIT_CONVERT_SAT, TYPE_OUT, VAR_IN, VAR_OUT)

Definition at line 142 of file repeat.h.

◆ REPEAT_VAR_INIT_TO_CONST

#define REPEAT_VAR_INIT_TO_CONST (   N,
  TYPE,
  VAR,
  VAL 
)    REPEAT_3_N(N, VAR_INIT_TO_CONST, TYPE, VAR, VAL)

Definition at line 134 of file repeat.h.

◆ VAR_INIT_CONVERT_DEF

#define VAR_INIT_CONVERT_DEF (   ID,
  TYPE_OUT,
  VAR_IN,
  VAR_OUT 
)    TYPE_OUT VAR_OUT##ID = CONVERT(VAR_IN##ID, TYPE_OUT)

Definition at line 137 of file repeat.h.

◆ VAR_INIT_CONVERT_SAT_DEF

#define VAR_INIT_CONVERT_SAT_DEF (   ID,
  TYPE_OUT,
  VAR_IN,
  VAR_OUT 
)    TYPE_OUT VAR_OUT##ID = CONVERT_SAT(VAR_IN##ID, TYPE_OUT)

Definition at line 141 of file repeat.h.

◆ VAR_INIT_TO_CONST_DEF

#define VAR_INIT_TO_CONST_DEF (   ID,
  TYPE,
  VAR,
  VAL 
)    TYPE VAR##ID = VAL

Definition at line 133 of file repeat.h.