|
#define | ECF_CONST (1 << 0) |
|
#define | ECF_PURE (1 << 1) |
|
#define | ECF_LOOPING_CONST_OR_PURE (1 << 2) |
|
#define | ECF_NORETURN (1 << 3) |
|
#define | ECF_MALLOC (1 << 4) |
|
#define | ECF_MAY_BE_ALLOCA (1 << 5) |
|
#define | ECF_NOTHROW (1 << 6) |
|
#define | ECF_RETURNS_TWICE (1 << 7) |
|
#define | ECF_SIBCALL (1 << 8) |
|
#define | ECF_NOVOPS (1 << 9) |
|
#define | ECF_LEAF (1 << 10) |
|
#define | ECF_RET1 (1 << 11) |
|
#define | ECF_TM_PURE (1 << 12) |
|
#define | ECF_TM_BUILTIN (1 << 13) |
|
#define | ECF_BY_DESCRIPTOR (1 << 14) |
|
#define | ECF_COLD (1 << 15) |
|
#define | ECF_XTHROW (1 << 16) |
|
#define | EAF_UNUSED (1 << 1) |
|
#define | EAF_NO_DIRECT_CLOBBER (1 << 2) |
|
#define | EAF_NO_INDIRECT_CLOBBER (1 << 3) |
|
#define | EAF_NO_DIRECT_ESCAPE (1 << 4) |
|
#define | EAF_NO_INDIRECT_ESCAPE (1 << 5) |
|
#define | EAF_NOT_RETURNED_DIRECTLY (1 << 6) |
|
#define | EAF_NOT_RETURNED_INDIRECTLY (1 << 7) |
|
#define | EAF_NO_DIRECT_READ (1 << 8) |
|
#define | EAF_NO_INDIRECT_READ (1 << 9) |
|
#define | ERF_RETURN_ARG_MASK (3) |
|
#define | ERF_RETURNS_ARG (1 << 2) |
|
#define | ERF_NOALIAS (1 << 3) |
|
#define | DEFTREECODE(SYM, STRING, TYPE, NARGS) |
|
#define | END_OF_BASE_TREE_CODES LAST_AND_UNUSED_TREE_CODE, |
|
#define | NUM_TREE_CODES ((int) LAST_AND_UNUSED_TREE_CODE) |
|
#define | CODE_CONTAINS_STRUCT(CODE, STRUCT) |
|
#define | BUILT_IN_LAST (BUILT_IN_NORMAL + 1) |
|
#define | DEF_BUILTIN(ENUM, N, C, T, LT, B, F, NA, AT, IM, COND) |
|
#define | DEF_GCC_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_SYNC_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_GCC_FLOATN_NX_BUILTINS(ENUM, NAME, TYPE_MACRO, ATTRS) |
|
#define | DEF_LIB_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_EXT_LIB_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_FLOATN_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_EXT_LIB_FLOATN_NX_BUILTINS(ENUM, NAME, TYPE_MACRO, ATTRS) |
|
#define | DEF_C94_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_C99_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_C11_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_C23_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_C2Y_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_C99_COMPL_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_C99_C90RES_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_EXT_C99RES_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_BUILTIN_STUB(ENUM, NAME) |
|
#define | DEF_COROUTINE_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_GOACC_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_GOACC_BUILTIN_COMPILER(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_GOACC_BUILTIN_ONLY(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_GOMP_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_GOMP_BUILTIN_COMPILER(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_TM_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_SANITIZER_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | ATTR_MATHFN_ERRNO |
|
#define | ATTR_MATHFN_FPROUNDING |
|
#define | ATTR_MATHFN_FPROUNDING_ERRNO |
|
#define | ATTR_MATHFN_FPROUNDING_STORE ATTR_NOTHROW_LEAF_LIST |
|
#define | ATTR_NOTHROWCALL_LEAF_LIST |
|
#define | ACOSH_TYPE(F) |
|
#define | ATAN2_TYPE(F) |
|
#define | ATANH_TYPE(F) |
|
#define | CEIL_TYPE(F) |
|
#define | COPYSIGN_TYPE(F) |
|
#define | COSH_TYPE(F) |
|
#define | FABS_TYPE(F) |
|
#define | FDIM_TYPE(F) |
|
#define | FLOOR_TYPE(F) |
|
#define | FMA_TYPE(F) |
|
#define | FMAX_TYPE(F) |
|
#define | FMIN_TYPE(F) |
|
#define | FREXP_TYPE(F) |
|
#define | HUGE_VAL_TYPE(F) |
|
#define | HYPOT_TYPE(F) |
|
#define | ILOGB_TYPE(F) |
|
#define | INF_TYPE(F) |
|
#define | LDEXP_TYPE(F) |
|
#define | LGAMMA_TYPE(F) |
|
#define | LLRINT_TYPE(F) |
|
#define | LOG10_TYPE(F) |
|
#define | LRINT_TYPE(F) |
|
#define | MODF_TYPE(F) |
|
#define | NAN_TYPE(F) |
|
#define | NEARBYINT_TYPE(F) |
|
#define | NEXTAFTER_TYPE(F) |
|
#define | REMQUO_TYPE(F) |
|
#define | RINT_TYPE(F) |
|
#define | ROUND_TYPE(F) |
|
#define | ROUNDEVEN_TYPE(F) |
|
#define | SCALBLN_TYPE(F) |
|
#define | SCALBN_TYPE(F) |
|
#define | SINH_TYPE(F) |
|
#define | SQRT_TYPE(F) |
|
#define | TRUNC_TYPE(F) |
|
#define | CABS_TYPE(F) |
|
#define | CACOSH_TYPE(F) |
|
#define | CARG_TYPE(F) |
|
#define | CASINH_TYPE(F) |
|
#define | CPOW_TYPE(F) |
|
#define | CPROJ_TYPE(F) |
|
#define | DEF_INTERNAL_FN(CODE, FLAGS, FNSPEC) |
|
#define | DEF_INTERNAL_OPTAB_FN(NAME, FLAGS, OPTAB, TYPE) |
|
#define | DEF_INTERNAL_SIGNED_OPTAB_FN(NAME, FLAGS, SELECTOR, SIGNED_OPTAB, UNSIGNED_OPTAB, TYPE) |
|
#define | DEF_INTERNAL_FLT_FN(NAME, FLAGS, OPTAB, TYPE) |
|
#define | DEF_INTERNAL_FLT_FLOATN_FN(NAME, FLAGS, OPTAB, TYPE) |
|
#define | DEF_INTERNAL_INT_FN(NAME, FLAGS, OPTAB, TYPE) |
|
#define | DEF_INTERNAL_INT_EXT_FN(NAME, FLAGS, OPTAB, TYPE) |
|
#define | DEF_INTERNAL_WIDENING_OPTAB_FN(NAME, FLAGS, SELECTOR, SOPTAB, UOPTAB, TYPE) |
|
#define | DEF_INTERNAL_COND_FN(NAME, FLAGS, OPTAB, TYPE) |
|
#define | DEF_INTERNAL_SIGNED_COND_FN(NAME, FLAGS, SELECTOR, SIGNED_OPTAB, UNSIGNED_OPTAB, TYPE) |
|
#define | DEF_BUILTIN(ENUM, N, C, T, LT, B, F, NA, AT, IM, COND) |
|
#define | DEF_GCC_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_SYNC_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_GCC_FLOATN_NX_BUILTINS(ENUM, NAME, TYPE_MACRO, ATTRS) |
|
#define | DEF_LIB_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_EXT_LIB_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_FLOATN_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_EXT_LIB_FLOATN_NX_BUILTINS(ENUM, NAME, TYPE_MACRO, ATTRS) |
|
#define | DEF_C94_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_C99_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_C11_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_C23_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_C2Y_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_C99_COMPL_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_C99_C90RES_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_EXT_C99RES_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_BUILTIN_STUB(ENUM, NAME) |
|
#define | DEF_COROUTINE_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_GOACC_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_GOACC_BUILTIN_COMPILER(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_GOACC_BUILTIN_ONLY(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_GOMP_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_GOMP_BUILTIN_COMPILER(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_TM_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | DEF_SANITIZER_BUILTIN(ENUM, NAME, TYPE, ATTRS) |
|
#define | ATTR_MATHFN_ERRNO |
|
#define | ATTR_MATHFN_FPROUNDING |
|
#define | ATTR_MATHFN_FPROUNDING_ERRNO |
|
#define | ATTR_MATHFN_FPROUNDING_STORE ATTR_NOTHROW_LEAF_LIST |
|
#define | ATTR_NOTHROWCALL_LEAF_LIST |
|
#define | ACOSH_TYPE(F) |
|
#define | ATAN2_TYPE(F) |
|
#define | ATANH_TYPE(F) |
|
#define | CEIL_TYPE(F) |
|
#define | COPYSIGN_TYPE(F) |
|
#define | COSH_TYPE(F) |
|
#define | FABS_TYPE(F) |
|
#define | FDIM_TYPE(F) |
|
#define | FLOOR_TYPE(F) |
|
#define | FMA_TYPE(F) |
|
#define | FMAX_TYPE(F) |
|
#define | FMIN_TYPE(F) |
|
#define | FREXP_TYPE(F) |
|
#define | HUGE_VAL_TYPE(F) |
|
#define | HYPOT_TYPE(F) |
|
#define | ILOGB_TYPE(F) |
|
#define | INF_TYPE(F) |
|
#define | LDEXP_TYPE(F) |
|
#define | LGAMMA_TYPE(F) |
|
#define | LLRINT_TYPE(F) |
|
#define | LOG10_TYPE(F) |
|
#define | LRINT_TYPE(F) |
|
#define | MODF_TYPE(F) |
|
#define | NAN_TYPE(F) |
|
#define | NEARBYINT_TYPE(F) |
|
#define | NEXTAFTER_TYPE(F) |
|
#define | REMQUO_TYPE(F) |
|
#define | RINT_TYPE(F) |
|
#define | ROUND_TYPE(F) |
|
#define | ROUNDEVEN_TYPE(F) |
|
#define | SCALBLN_TYPE(F) |
|
#define | SCALBN_TYPE(F) |
|
#define | SINH_TYPE(F) |
|
#define | SQRT_TYPE(F) |
|
#define | TRUNC_TYPE(F) |
|
#define | CABS_TYPE(F) |
|
#define | CACOSH_TYPE(F) |
|
#define | CARG_TYPE(F) |
|
#define | CASINH_TYPE(F) |
|
#define | CPOW_TYPE(F) |
|
#define | CPROJ_TYPE(F) |
|
#define | DEF_INTERNAL_FN(CODE, FLAGS, FNSPEC) |
|
#define | DEF_INTERNAL_OPTAB_FN(NAME, FLAGS, OPTAB, TYPE) |
|
#define | DEF_INTERNAL_SIGNED_OPTAB_FN(NAME, FLAGS, SELECTOR, SIGNED_OPTAB, UNSIGNED_OPTAB, TYPE) |
|
#define | DEF_INTERNAL_FLT_FN(NAME, FLAGS, OPTAB, TYPE) |
|
#define | DEF_INTERNAL_FLT_FLOATN_FN(NAME, FLAGS, OPTAB, TYPE) |
|
#define | DEF_INTERNAL_INT_FN(NAME, FLAGS, OPTAB, TYPE) |
|
#define | DEF_INTERNAL_INT_EXT_FN(NAME, FLAGS, OPTAB, TYPE) |
|
#define | DEF_INTERNAL_WIDENING_OPTAB_FN(NAME, FLAGS, SELECTOR, SOPTAB, UOPTAB, TYPE) |
|
#define | DEF_INTERNAL_COND_FN(NAME, FLAGS, OPTAB, TYPE) |
|
#define | DEF_INTERNAL_SIGNED_COND_FN(NAME, FLAGS, SELECTOR, SIGNED_OPTAB, UNSIGNED_OPTAB, TYPE) |
|
#define | DEFTREESTRUCT(ENUM, NAME) |
|
#define | OMP_FAIL_MEMORY_ORDER_SHIFT 3 |
|
#define | NUM_FLOATN_TYPES |
|
#define | NUM_FLOATNX_TYPES |
|
#define | NUM_FLOATN_NX_TYPES |
|
|
enum | tree_code { MAX_TREE_CODES
} |
|
enum | built_in_class { NOT_BUILT_IN = 0
, BUILT_IN_FRONTEND
, BUILT_IN_MD
, BUILT_IN_NORMAL
} |
|
enum | built_in_function {
DEF_BUILTIN
, BUILT_IN_COMPLEX_MUL_MAX
, BUILT_IN_COMPLEX_DIV_MIN
, BUILT_IN_COMPLEX_DIV_MAX
,
END_BUILTINS
} |
|
enum | internal_fn { DEF_INTERNAL_OPTAB_FN
, DEF_INTERNAL_OPTAB_FN
} |
|
enum | combined_fn { DEF_BUILTIN
, DEF_BUILTIN
} |
|
enum | tree_code_class {
tcc_exceptional
, tcc_constant
, tcc_type
, tcc_declaration
,
tcc_reference
, tcc_comparison
, tcc_unary
, tcc_binary
,
tcc_statement
, tcc_vl_exp
, tcc_expression
} |
|
enum | omp_clause_code {
OMP_CLAUSE_ERROR = 0
, OMP_CLAUSE_PRIVATE
, OMP_CLAUSE_SHARED
, OMP_CLAUSE_FIRSTPRIVATE
,
OMP_CLAUSE_LASTPRIVATE
, OMP_CLAUSE_REDUCTION
, OMP_CLAUSE_TASK_REDUCTION
, OMP_CLAUSE_IN_REDUCTION
,
OMP_CLAUSE_COPYIN
, OMP_CLAUSE_COPYPRIVATE
, OMP_CLAUSE_LINEAR
, OMP_CLAUSE_AFFINITY
,
OMP_CLAUSE_ALIGNED
, OMP_CLAUSE_ALLOCATE
, OMP_CLAUSE_DEPEND
, OMP_CLAUSE_NONTEMPORAL
,
OMP_CLAUSE_UNIFORM
, OMP_CLAUSE_ENTER
, OMP_CLAUSE_LINK
, OMP_CLAUSE_DETACH
,
OMP_CLAUSE_USE_DEVICE_PTR
, OMP_CLAUSE_USE_DEVICE_ADDR
, OMP_CLAUSE_IS_DEVICE_PTR
, OMP_CLAUSE_INCLUSIVE
,
OMP_CLAUSE_EXCLUSIVE
, OMP_CLAUSE_FROM
, OMP_CLAUSE_TO
, OMP_CLAUSE_MAP
,
OMP_CLAUSE_HAS_DEVICE_ADDR
, OMP_CLAUSE_DOACROSS
, OMP_CLAUSE__CACHE_
, OMP_CLAUSE_DESTROY
,
OMP_CLAUSE_INIT
, OMP_CLAUSE_USE
, OMP_CLAUSE_INTEROP
, OMP_CLAUSE_GANG
,
OMP_CLAUSE_ASYNC
, OMP_CLAUSE_WAIT
, OMP_CLAUSE_AUTO
, OMP_CLAUSE_SEQ
,
OMP_CLAUSE__LOOPTEMP_
, OMP_CLAUSE__REDUCTEMP_
, OMP_CLAUSE__CONDTEMP_
, OMP_CLAUSE__SCANTEMP_
,
OMP_CLAUSE_IF
, OMP_CLAUSE_SELF
, OMP_CLAUSE_NUM_THREADS
, OMP_CLAUSE_SCHEDULE
,
OMP_CLAUSE_NOWAIT
, OMP_CLAUSE_ORDERED
, OMP_CLAUSE_DEFAULT
, OMP_CLAUSE_COLLAPSE
,
OMP_CLAUSE_UNTIED
, OMP_CLAUSE_FINAL
, OMP_CLAUSE_MERGEABLE
, OMP_CLAUSE_DEVICE
,
OMP_CLAUSE_DIST_SCHEDULE
, OMP_CLAUSE_INBRANCH
, OMP_CLAUSE_NOTINBRANCH
, OMP_CLAUSE_NUM_TEAMS
,
OMP_CLAUSE_THREAD_LIMIT
, OMP_CLAUSE_PROC_BIND
, OMP_CLAUSE_SAFELEN
, OMP_CLAUSE_SIMDLEN
,
OMP_CLAUSE_DEVICE_TYPE
, OMP_CLAUSE_FOR
, OMP_CLAUSE_PARALLEL
, OMP_CLAUSE_SECTIONS
,
OMP_CLAUSE_TASKGROUP
, OMP_CLAUSE_PRIORITY
, OMP_CLAUSE_GRAINSIZE
, OMP_CLAUSE_NUM_TASKS
,
OMP_CLAUSE_NOGROUP
, OMP_CLAUSE_THREADS
, OMP_CLAUSE_SIMD
, OMP_CLAUSE_HINT
,
OMP_CLAUSE_DEFAULTMAP
, OMP_CLAUSE_ORDER
, OMP_CLAUSE_BIND
, OMP_CLAUSE_FILTER
,
OMP_CLAUSE_INDIRECT
, OMP_CLAUSE_PARTIAL
, OMP_CLAUSE_FULL
, OMP_CLAUSE_SIZES
,
OMP_CLAUSE__SIMDUID_
, OMP_CLAUSE__SIMT_
, OMP_CLAUSE_INDEPENDENT
, OMP_CLAUSE_WORKER
,
OMP_CLAUSE_VECTOR
, OMP_CLAUSE_NUM_GANGS
, OMP_CLAUSE_NUM_WORKERS
, OMP_CLAUSE_VECTOR_LENGTH
,
OMP_CLAUSE_TILE
, OMP_CLAUSE_IF_PRESENT
, OMP_CLAUSE_FINALIZE
, OMP_CLAUSE_NOHOST
,
OMP_CLAUSE_NOVARIANTS
, OMP_CLAUSE_NOCONTEXT
} |
|
enum | tree_node_structure_enum { LAST_TS_ENUM
} |
|
enum | omp_clause_schedule_kind {
OMP_CLAUSE_SCHEDULE_STATIC
, OMP_CLAUSE_SCHEDULE_DYNAMIC
, OMP_CLAUSE_SCHEDULE_GUIDED
, OMP_CLAUSE_SCHEDULE_AUTO
,
OMP_CLAUSE_SCHEDULE_RUNTIME
, OMP_CLAUSE_SCHEDULE_MASK = (1 << 3) - 1
, OMP_CLAUSE_SCHEDULE_MONOTONIC = (1 << 3)
, OMP_CLAUSE_SCHEDULE_NONMONOTONIC = (1 << 4)
,
OMP_CLAUSE_SCHEDULE_LAST = 2 * OMP_CLAUSE_SCHEDULE_NONMONOTONIC - 1
} |
|
enum | omp_clause_default_kind {
OMP_CLAUSE_DEFAULT_UNSPECIFIED
, OMP_CLAUSE_DEFAULT_SHARED
, OMP_CLAUSE_DEFAULT_NONE
, OMP_CLAUSE_DEFAULT_PRIVATE
,
OMP_CLAUSE_DEFAULT_FIRSTPRIVATE
, OMP_CLAUSE_DEFAULT_PRESENT
, OMP_CLAUSE_DEFAULT_LAST
} |
|
enum | omp_clause_defaultmap_kind {
OMP_CLAUSE_DEFAULTMAP_CATEGORY_UNSPECIFIED
, OMP_CLAUSE_DEFAULTMAP_CATEGORY_ALL
, OMP_CLAUSE_DEFAULTMAP_CATEGORY_SCALAR
, OMP_CLAUSE_DEFAULTMAP_CATEGORY_AGGREGATE
,
OMP_CLAUSE_DEFAULTMAP_CATEGORY_ALLOCATABLE
, OMP_CLAUSE_DEFAULTMAP_CATEGORY_POINTER
, OMP_CLAUSE_DEFAULTMAP_CATEGORY_MASK = 7
, OMP_CLAUSE_DEFAULTMAP_ALLOC = 1 * (OMP_CLAUSE_DEFAULTMAP_CATEGORY_MASK + 1)
,
OMP_CLAUSE_DEFAULTMAP_TO = 2 * (OMP_CLAUSE_DEFAULTMAP_CATEGORY_MASK + 1)
, OMP_CLAUSE_DEFAULTMAP_FROM = 3 * (OMP_CLAUSE_DEFAULTMAP_CATEGORY_MASK + 1)
, OMP_CLAUSE_DEFAULTMAP_TOFROM = 4 * (OMP_CLAUSE_DEFAULTMAP_CATEGORY_MASK + 1)
, OMP_CLAUSE_DEFAULTMAP_FIRSTPRIVATE = 5 * (OMP_CLAUSE_DEFAULTMAP_CATEGORY_MASK + 1)
,
OMP_CLAUSE_DEFAULTMAP_NONE = 6 * (OMP_CLAUSE_DEFAULTMAP_CATEGORY_MASK + 1)
, OMP_CLAUSE_DEFAULTMAP_DEFAULT = 7 * (OMP_CLAUSE_DEFAULTMAP_CATEGORY_MASK + 1)
, OMP_CLAUSE_DEFAULTMAP_PRESENT = 8 * (OMP_CLAUSE_DEFAULTMAP_CATEGORY_MASK + 1)
, OMP_CLAUSE_DEFAULTMAP_MASK = 15 * (OMP_CLAUSE_DEFAULTMAP_CATEGORY_MASK + 1)
} |
|
enum | omp_clause_bind_kind { OMP_CLAUSE_BIND_TEAMS
, OMP_CLAUSE_BIND_PARALLEL
, OMP_CLAUSE_BIND_THREAD
} |
|
enum | omp_memory_order {
OMP_MEMORY_ORDER_UNSPECIFIED
, OMP_MEMORY_ORDER_RELAXED
, OMP_MEMORY_ORDER_ACQUIRE
, OMP_MEMORY_ORDER_RELEASE
,
OMP_MEMORY_ORDER_ACQ_REL
, OMP_MEMORY_ORDER_SEQ_CST
, OMP_MEMORY_ORDER_MASK = 7
, OMP_FAIL_MEMORY_ORDER_UNSPECIFIED = OMP_MEMORY_ORDER_UNSPECIFIED * 8
,
OMP_FAIL_MEMORY_ORDER_RELAXED = OMP_MEMORY_ORDER_RELAXED * 8
, OMP_FAIL_MEMORY_ORDER_ACQUIRE = OMP_MEMORY_ORDER_ACQUIRE * 8
, OMP_FAIL_MEMORY_ORDER_RELEASE = OMP_MEMORY_ORDER_RELEASE * 8
, OMP_FAIL_MEMORY_ORDER_ACQ_REL = OMP_MEMORY_ORDER_ACQ_REL * 8
,
OMP_FAIL_MEMORY_ORDER_SEQ_CST = OMP_MEMORY_ORDER_SEQ_CST * 8
, OMP_FAIL_MEMORY_ORDER_MASK = OMP_MEMORY_ORDER_MASK * 8
} |
|
enum | cv_qualifier {
TYPE_UNQUALIFIED = 0x0
, TYPE_QUAL_CONST = 0x1
, TYPE_QUAL_VOLATILE = 0x2
, TYPE_QUAL_RESTRICT = 0x4
,
TYPE_QUAL_ATOMIC = 0x8
} |
|
enum | tree_index : unsigned {
TI_ERROR_MARK
, TI_INTQI_TYPE
, TI_INTHI_TYPE
, TI_INTSI_TYPE
,
TI_INTDI_TYPE
, TI_INTTI_TYPE
, TI_UINTQI_TYPE
, TI_UINTHI_TYPE
,
TI_UINTSI_TYPE
, TI_UINTDI_TYPE
, TI_UINTTI_TYPE
, TI_ATOMICQI_TYPE
,
TI_ATOMICHI_TYPE
, TI_ATOMICSI_TYPE
, TI_ATOMICDI_TYPE
, TI_ATOMICTI_TYPE
,
TI_UINT16_TYPE
, TI_UINT32_TYPE
, TI_UINT64_TYPE
, TI_UINT128_TYPE
,
TI_VOID
, TI_INTEGER_ZERO
, TI_INTEGER_ONE
, TI_INTEGER_MINUS_ONE
,
TI_NULL_POINTER
, TI_SIZE_ZERO
, TI_SIZE_ONE
, TI_BITSIZE_ZERO
,
TI_BITSIZE_ONE
, TI_BITSIZE_UNIT
, TI_PUBLIC
, TI_PROTECTED
,
TI_PRIVATE
, TI_BOOLEAN_FALSE
, TI_BOOLEAN_TRUE
, TI_FLOAT_TYPE
,
TI_DOUBLE_TYPE
, TI_LONG_DOUBLE_TYPE
, TI_BFLOAT16_TYPE
, TI_FLOAT16_TYPE
,
TI_FLOATN_TYPE_FIRST = TI_FLOAT16_TYPE
, TI_FLOATN_NX_TYPE_FIRST = TI_FLOAT16_TYPE
, TI_FLOAT32_TYPE
, TI_FLOAT64_TYPE
,
TI_FLOAT128_TYPE
, TI_FLOATN_TYPE_LAST = TI_FLOAT128_TYPE
, TI_FLOAT32X_TYPE
, TI_FLOATNX_TYPE_FIRST = TI_FLOAT32X_TYPE
,
TI_FLOAT64X_TYPE
, TI_FLOAT128X_TYPE
, TI_FLOATNX_TYPE_LAST = TI_FLOAT128X_TYPE
, TI_FLOATN_NX_TYPE_LAST = TI_FLOAT128X_TYPE
,
TI_FLOAT128T_TYPE
, TI_COMPLEX_INTEGER_TYPE
, TI_COMPLEX_FLOAT_TYPE
, TI_COMPLEX_DOUBLE_TYPE
,
TI_COMPLEX_LONG_DOUBLE_TYPE
, TI_COMPLEX_FLOAT16_TYPE
, TI_COMPLEX_FLOATN_NX_TYPE_FIRST = TI_COMPLEX_FLOAT16_TYPE
, TI_COMPLEX_FLOAT32_TYPE
,
TI_COMPLEX_FLOAT64_TYPE
, TI_COMPLEX_FLOAT128_TYPE
, TI_COMPLEX_FLOAT32X_TYPE
, TI_COMPLEX_FLOAT64X_TYPE
,
TI_COMPLEX_FLOAT128X_TYPE
, TI_FLOAT_PTR_TYPE
, TI_DOUBLE_PTR_TYPE
, TI_LONG_DOUBLE_PTR_TYPE
,
TI_INTEGER_PTR_TYPE
, TI_VOID_TYPE
, TI_PTR_TYPE
, TI_CONST_PTR_TYPE
,
TI_SIZE_TYPE
, TI_PID_TYPE
, TI_PTRDIFF_TYPE
, TI_VA_LIST_TYPE
,
TI_VA_LIST_GPR_COUNTER_FIELD
, TI_VA_LIST_FPR_COUNTER_FIELD
, TI_BOOLEAN_TYPE
, TI_FILEPTR_TYPE
,
TI_CONST_TM_PTR_TYPE
, TI_FENV_T_PTR_TYPE
, TI_CONST_FENV_T_PTR_TYPE
, TI_FEXCEPT_T_PTR_TYPE
,
TI_CONST_FEXCEPT_T_PTR_TYPE
, TI_POINTER_SIZED_TYPE
, TI_DFLOAT32_TYPE
, TI_DFLOAT64_TYPE
,
TI_DFLOAT128_TYPE
, TI_DFLOAT64X_TYPE
, TI_VOID_LIST_NODE
, TI_MAIN_IDENTIFIER
,
TI_SAT_SFRACT_TYPE
, TI_SAT_FRACT_TYPE
, TI_SAT_LFRACT_TYPE
, TI_SAT_LLFRACT_TYPE
,
TI_SAT_USFRACT_TYPE
, TI_SAT_UFRACT_TYPE
, TI_SAT_ULFRACT_TYPE
, TI_SAT_ULLFRACT_TYPE
,
TI_SFRACT_TYPE
, TI_FRACT_TYPE
, TI_LFRACT_TYPE
, TI_LLFRACT_TYPE
,
TI_USFRACT_TYPE
, TI_UFRACT_TYPE
, TI_ULFRACT_TYPE
, TI_ULLFRACT_TYPE
,
TI_SAT_SACCUM_TYPE
, TI_SAT_ACCUM_TYPE
, TI_SAT_LACCUM_TYPE
, TI_SAT_LLACCUM_TYPE
,
TI_SAT_USACCUM_TYPE
, TI_SAT_UACCUM_TYPE
, TI_SAT_ULACCUM_TYPE
, TI_SAT_ULLACCUM_TYPE
,
TI_SACCUM_TYPE
, TI_ACCUM_TYPE
, TI_LACCUM_TYPE
, TI_LLACCUM_TYPE
,
TI_USACCUM_TYPE
, TI_UACCUM_TYPE
, TI_ULACCUM_TYPE
, TI_ULLACCUM_TYPE
,
TI_QQ_TYPE
, TI_HQ_TYPE
, TI_SQ_TYPE
, TI_DQ_TYPE
,
TI_TQ_TYPE
, TI_UQQ_TYPE
, TI_UHQ_TYPE
, TI_USQ_TYPE
,
TI_UDQ_TYPE
, TI_UTQ_TYPE
, TI_SAT_QQ_TYPE
, TI_SAT_HQ_TYPE
,
TI_SAT_SQ_TYPE
, TI_SAT_DQ_TYPE
, TI_SAT_TQ_TYPE
, TI_SAT_UQQ_TYPE
,
TI_SAT_UHQ_TYPE
, TI_SAT_USQ_TYPE
, TI_SAT_UDQ_TYPE
, TI_SAT_UTQ_TYPE
,
TI_HA_TYPE
, TI_SA_TYPE
, TI_DA_TYPE
, TI_TA_TYPE
,
TI_UHA_TYPE
, TI_USA_TYPE
, TI_UDA_TYPE
, TI_UTA_TYPE
,
TI_SAT_HA_TYPE
, TI_SAT_SA_TYPE
, TI_SAT_DA_TYPE
, TI_SAT_TA_TYPE
,
TI_SAT_UHA_TYPE
, TI_SAT_USA_TYPE
, TI_SAT_UDA_TYPE
, TI_SAT_UTA_TYPE
,
TI_MODULE_HWM
, TI_OPTIMIZATION_DEFAULT
, TI_OPTIMIZATION_CURRENT
, TI_TARGET_OPTION_DEFAULT
,
TI_TARGET_OPTION_CURRENT
, TI_CURRENT_TARGET_PRAGMA
, TI_CURRENT_OPTIMIZE_PRAGMA
, TI_CHREC_DONT_KNOW
,
TI_CHREC_KNOWN
, TI_MAX
} |
|
enum | integer_type_kind {
itk_char
, itk_signed_char
, itk_unsigned_char
, itk_short
,
itk_unsigned_short
, itk_int
, itk_unsigned_int
, itk_long
,
itk_unsigned_long
, itk_long_long
, itk_unsigned_long_long
, itk_intN_0
,
itk_unsigned_intN_0
, itk_intN_1
, itk_unsigned_intN_1
, itk_intN_2
,
itk_unsigned_intN_2
, itk_intN_3
, itk_unsigned_intN_3
, itk_none
} |
|
enum | ptrmemfunc_vbit_where_t { ptrmemfunc_vbit_in_pfn
, ptrmemfunc_vbit_in_delta
} |
|
enum | attribute_flags {
ATTR_FLAG_DECL_NEXT = 1
, ATTR_FLAG_FUNCTION_NEXT = 2
, ATTR_FLAG_ARRAY_NEXT = 4
, ATTR_FLAG_TYPE_IN_PLACE = 8
,
ATTR_FLAG_BUILT_IN = 16
, ATTR_FLAG_CXX11 = 32
, ATTR_FLAG_INTERNAL = 64
} |
|
enum | size_type_kind {
stk_sizetype
, stk_ssizetype
, stk_bitsizetype
, stk_sbitsizetype
,
stk_type_kind_last
} |
|
enum | operand_equal_flag {
OEP_ONLY_CONST = 1
, OEP_PURE_SAME = 2
, OEP_MATCH_SIDE_EFFECTS = 4
, OEP_ADDRESS_OF = 8
,
OEP_NO_HASH_CHECK = 16
, OEP_HASH_CHECK = 32
, OEP_LEXICOGRAPHIC = 64
, OEP_BITWISE = 128
,
OEP_ADDRESS_OF_SAME_FIELD = 256
, OEP_DECL_NAME = 512
} |
|
enum | tree_node_kind {
d_kind
, t_kind
, b_kind
, s_kind
,
r_kind
, e_kind
, c_kind
, id_kind
,
vec_kind
, binfo_kind
, ssa_name_kind
, constr_kind
,
x_kind
, lang_decl
, lang_type
, omp_clause_kind
,
all_kinds
} |
|
enum | annot_expr_kind {
annot_expr_ivdep_kind
, annot_expr_unroll_kind
, annot_expr_no_vector_kind
, annot_expr_vector_kind
,
annot_expr_parallel_kind
, annot_expr_maybe_infinite_kind
, annot_expr_kind_last
} |
|
enum | clobber_kind {
CLOBBER_UNDEF
, CLOBBER_STORAGE_BEGIN
, CLOBBER_OBJECT_BEGIN
, CLOBBER_OBJECT_END
,
CLOBBER_STORAGE_END
, CLOBBER_LAST
} |
|
enum | omp_clause_depend_kind {
OMP_CLAUSE_DEPEND_IN
, OMP_CLAUSE_DEPEND_OUT
, OMP_CLAUSE_DEPEND_INOUT
, OMP_CLAUSE_DEPEND_MUTEXINOUTSET
,
OMP_CLAUSE_DEPEND_INOUTSET
, OMP_CLAUSE_DEPEND_DEPOBJ
, OMP_CLAUSE_DEPEND_INVALID
, OMP_CLAUSE_DEPEND_LAST
} |
|
enum | omp_clause_doacross_kind { OMP_CLAUSE_DOACROSS_SOURCE
, OMP_CLAUSE_DOACROSS_SINK
, OMP_CLAUSE_DOACROSS_LAST
} |
|
enum | omp_clause_proc_bind_kind {
OMP_CLAUSE_PROC_BIND_FALSE = 0
, OMP_CLAUSE_PROC_BIND_TRUE = 1
, OMP_CLAUSE_PROC_BIND_PRIMARY = 2
, OMP_CLAUSE_PROC_BIND_MASTER = 2
,
OMP_CLAUSE_PROC_BIND_CLOSE = 3
, OMP_CLAUSE_PROC_BIND_SPREAD = 4
, OMP_CLAUSE_PROC_BIND_LAST
} |
|
enum | omp_clause_device_type_kind { OMP_CLAUSE_DEVICE_TYPE_HOST = 1
, OMP_CLAUSE_DEVICE_TYPE_NOHOST = 2
, OMP_CLAUSE_DEVICE_TYPE_ANY = 3
} |
|
enum | omp_clause_linear_kind { OMP_CLAUSE_LINEAR_DEFAULT
, OMP_CLAUSE_LINEAR_REF
, OMP_CLAUSE_LINEAR_VAL
, OMP_CLAUSE_LINEAR_UVAL
} |
|
#define DEF_GCC_BUILTIN |
( |
| ENUM, |
|
|
| NAME, |
|
|
| TYPE, |
|
|
| ATTRS ) |
Value: DEF_BUILTIN (ENUM, "__builtin_" NAME, BUILT_IN_NORMAL, TYPE, BT_LAST, \
false, false, false, ATTRS, true, true)
This file contains the definitions and documentation for the
builtins used in the GNU compiler.
Copyright (C) 2000-2024 Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.
GCC is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>.
Before including this file, you should define a macro:
DEF_BUILTIN (ENUM, NAME, CLASS, TYPE, LIBTYPE, BOTH_P,
FALLBACK_P, NONANSI_P, ATTRS, IMPLICIT, COND)
This macro will be called once for each builtin function. The
ENUM will be of type `enum built_in_function', and will indicate
which builtin function is being processed. The NAME of the builtin
function (which will always start with `__builtin_') is a string
literal. The CLASS is of type `enum built_in_class' and indicates
what kind of builtin is being processed.
Some builtins are actually two separate functions. For example,
for `strcmp' there are two builtin functions; `__builtin_strcmp'
and `strcmp' itself. Both behave identically. Other builtins
define only the `__builtin' variant. If BOTH_P is TRUE, then this
builtin has both variants; otherwise, it is has only the first
variant.
TYPE indicates the type of the function. The symbols correspond to
enumerals from builtin-types.def. If BOTH_P is true, then LIBTYPE
is the type of the non-`__builtin_' variant. Otherwise, LIBTYPE
should be ignored.
If FALLBACK_P is true then, if for some reason, the compiler cannot
expand the builtin function directly, it will call the
corresponding library function (which does not have the
`__builtin_' prefix.
If NONANSI_P is true, then the non-`__builtin_' variant is not an
ANSI/ISO library function, and so we should pretend it does not
exist when compiling in ANSI conformant mode.
ATTRs is an attribute list as defined in builtin-attrs.def that
describes the attributes of this builtin function.
IMPLICIT specifies condition when the builtin can be produced by
compiler. For instance C90 reserves floorf function, but does not
define it's meaning. When user uses floorf we may assume that the
floorf has the meaning we expect, but we can't produce floorf by
simplifying floor((double)float) since the runtime need not implement
it.
The builtins is registered only if COND is true.
A GCC builtin (like __builtin_saveregs) is provided by the
compiler, but does not correspond to a function in the standard
library.
#define DEF_GCC_BUILTIN |
( |
| ENUM, |
|
|
| NAME, |
|
|
| TYPE, |
|
|
| ATTRS ) |
Value: DEF_BUILTIN (ENUM, "__builtin_" NAME, BUILT_IN_NORMAL, TYPE, BT_LAST, \
false, false, false, ATTRS, true, true)
This file contains the definitions and documentation for the
builtins used in the GNU compiler.
Copyright (C) 2000-2024 Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.
GCC is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>.
Before including this file, you should define a macro:
DEF_BUILTIN (ENUM, NAME, CLASS, TYPE, LIBTYPE, BOTH_P,
FALLBACK_P, NONANSI_P, ATTRS, IMPLICIT, COND)
This macro will be called once for each builtin function. The
ENUM will be of type `enum built_in_function', and will indicate
which builtin function is being processed. The NAME of the builtin
function (which will always start with `__builtin_') is a string
literal. The CLASS is of type `enum built_in_class' and indicates
what kind of builtin is being processed.
Some builtins are actually two separate functions. For example,
for `strcmp' there are two builtin functions; `__builtin_strcmp'
and `strcmp' itself. Both behave identically. Other builtins
define only the `__builtin' variant. If BOTH_P is TRUE, then this
builtin has both variants; otherwise, it is has only the first
variant.
TYPE indicates the type of the function. The symbols correspond to
enumerals from builtin-types.def. If BOTH_P is true, then LIBTYPE
is the type of the non-`__builtin_' variant. Otherwise, LIBTYPE
should be ignored.
If FALLBACK_P is true then, if for some reason, the compiler cannot
expand the builtin function directly, it will call the
corresponding library function (which does not have the
`__builtin_' prefix.
If NONANSI_P is true, then the non-`__builtin_' variant is not an
ANSI/ISO library function, and so we should pretend it does not
exist when compiling in ANSI conformant mode.
ATTRs is an attribute list as defined in builtin-attrs.def that
describes the attributes of this builtin function.
IMPLICIT specifies condition when the builtin can be produced by
compiler. For instance C90 reserves floorf function, but does not
define it's meaning. When user uses floorf we may assume that the
floorf has the meaning we expect, but we can't produce floorf by
simplifying floor((double)float) since the runtime need not implement
it.
The builtins is registered only if COND is true.
A GCC builtin (like __builtin_saveregs) is provided by the
compiler, but does not correspond to a function in the standard
library.
#define DEF_INTERNAL_OPTAB_FN |
( |
| NAME, |
|
|
| FLAGS, |
|
|
| OPTAB, |
|
|
| TYPE ) |
Value: DEF_INTERNAL_FN (NAME, FLAGS | ECF_LEAF, NULL)
Internal functions.
Copyright (C) 2011-2024 Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.
GCC is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>.
This file specifies a list of internal "functions". These functions
differ from built-in functions in that they have no linkage and cannot
be called directly by the user. They represent operations that are only
synthesised by GCC itself.
Internal functions are used instead of tree codes if the operation
and its operands are more naturally represented as a GIMPLE_CALL
than a GIMPLE_ASSIGN.
Each entry in this file has one of the forms:
DEF_INTERNAL_FN (NAME, FLAGS, FNSPEC)
DEF_INTERNAL_OPTAB_FN (NAME, FLAGS, OPTAB, TYPE)
DEF_INTERNAL_SIGNED_OPTAB_FN (NAME, FLAGS, SELECTOR, SIGNED_OPTAB,
UNSIGNED_OPTAB, TYPE)
DEF_INTERNAL_FLT_FN (NAME, FLAGS, OPTAB, TYPE)
DEF_INTERNAL_FLT_FLOATN_FN (NAME, FLAGS, OPTAB, TYPE)
DEF_INTERNAL_INT_FN (NAME, FLAGS, OPTAB, TYPE)
DEF_INTERNAL_INT_EXT_FN (NAME, FLAGS, OPTAB, TYPE)
DEF_INTERNAL_COND_FN (NAME, FLAGS, OPTAB, TYPE)
DEF_INTERNAL_SIGNED_COND_FN (NAME, FLAGS, OPTAB, TYPE)
DEF_INTERNAL_WIDENING_OPTAB_FN (NAME, FLAGS, SELECTOR, SOPTAB, UOPTAB,
TYPE)
where NAME is the name of the function, FLAGS is a set of
ECF_* flags and FNSPEC is a string describing functions fnspec.
DEF_INTERNAL_OPTAB_FN defines an internal function that maps to a
direct optab. The function should only be called with a given
set of types if the associated optab is available for the modes
of those types. OPTAB says what optab to use (without the trailing
"_optab") and TYPE categorizes the optab based on its inputs and
outputs. The possible types of optab are:
- mask_load: currently just maskload
- load_lanes: currently just vec_load_lanes
- mask_load_lanes: currently just vec_mask_load_lanes
- mask_len_load_lanes: currently just vec_mask_len_load_lanes
- gather_load: used for {mask_,mask_len_,}gather_load
- strided_load: currently just mask_len_strided_load
- len_load: currently just len_load
- mask_len_load: currently just mask_len_load
- mask_store: currently just maskstore
- store_lanes: currently just vec_store_lanes
- mask_store_lanes: currently just vec_mask_store_lanes
- mask_len_store_lanes: currently just vec_mask_len_store_lanes
- scatter_store: used for {mask_,mask_len_,}scatter_store
- strided_store: currently just mask_len_strided_store
- len_store: currently just len_store
- mask_len_store: currently just mask_len_store
- unary: a normal unary optab, such as vec_reverse_<mode>
- binary: a normal binary optab, such as vec_interleave_lo_<mode>
- ternary: a normal ternary optab, such as fma<mode>4
- unary_convert: a single-input conversion optab, such as
lround<srcmode><dstmode>2.
- cond_binary: a conditional binary optab, such as cond_add<mode>
- cond_unary: a conditional unary optab, such as cond_neg<mode>
- cond_ternary: a conditional ternary optab, such as cond_fma_rev<mode>
- fold_left: for scalar = FN (scalar, vector), keyed off the vector mode
- check_ptrs: used for check_{raw,war}_ptrs
- cond_len_unary: a conditional unary optab, such as cond_len_neg<mode>
- cond_len_binary: a conditional binary optab, such as cond_len_add<mode>
- cond_len_ternary: a conditional ternary optab, such as
cond_len_fma_rev<mode>
DEF_INTERNAL_SIGNED_OPTAB_FN defines an internal function that
maps to one of two optabs, depending on the signedness of an input.
SIGNED_OPTAB and UNSIGNED_OPTAB are the optabs for signed and
unsigned inputs respectively, both without the trailing "_optab".
SELECTOR says which type in the tree_pair determines the signedness.
DEF_INTERNAL_FLT_FN is like DEF_INTERNAL_OPTAB_FN, but in addition,
the function implements the computational part of a built-in math
function BUILT_IN_<NAME>{F,,L}. Unlike some built-in functions,
these internal functions never set errno.
DEF_INTERNAL_INT_FN is like DEF_INTERNAL_OPTAB_FN, but in addition
says that the function extends the C-level BUILT_IN_<NAME>{,L,LL,IMAX}
group of functions to any integral mode (including vector modes).
DEF_INTERNAL_INT_EXT_FN is like DEF_INTERNAL_INT_FN, except that it
has expand_##NAME defined in internal-fn.cc to override the
DEF_INTERNAL_INT_FN expansion behavior.
DEF_INTERNAL_WIDENING_OPTAB_FN is a wrapper that defines five internal
functions with DEF_INTERNAL_SIGNED_OPTAB_FN:
- one that describes a widening operation with the same number of elements
in the output and input vectors,
- two that describe a pair of high-low widening operations where the output
vectors each have half the number of elements of the input vectors,
corresponding to the result of the widening operation on the top half and
bottom half, these have the suffixes _HI and _LO,
- and two that describe a pair of even-odd widening operations where the
output vectors each have half the number of elements of the input vectors,
corresponding to the result of the widening operation on the even and odd
elements, these have the suffixes _EVEN and _ODD.
These five internal functions will require two optabs each, a SIGNED_OPTAB
and an UNSIGNED_OTPAB.
DEF_INTERNAL_COND_FN is a wrapper that defines 2 internal functions with
DEF_INTERNAL_OPTAB_FN:
- One is COND_* operations that are predicated by mask only. Such operations
make sense for both vectors and scalars.
- The other is COND_LEN_* operations that are predicated by mask and len
both. Such operations only make sense for vectors.
DEF_INTERNAL_SIGNED_COND_FN is like DEF_INTERNAL_COND_FN but defines intenal
functions with DEF_INTERNAL_SIGNED_OPTAB_FN.
Each entry must have a corresponding expander of the form:
void expand_NAME (gimple_call stmt)
where STMT is the statement that performs the call. These are generated
automatically for optab functions and call out to a function or macro
called expand_<TYPE>_optab_fn.
#define DEF_INTERNAL_OPTAB_FN |
( |
| NAME, |
|
|
| FLAGS, |
|
|
| OPTAB, |
|
|
| TYPE ) |
Value: DEF_INTERNAL_FN (NAME, FLAGS | ECF_LEAF, NULL)
Internal functions.
Copyright (C) 2011-2024 Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.
GCC is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>.
This file specifies a list of internal "functions". These functions
differ from built-in functions in that they have no linkage and cannot
be called directly by the user. They represent operations that are only
synthesised by GCC itself.
Internal functions are used instead of tree codes if the operation
and its operands are more naturally represented as a GIMPLE_CALL
than a GIMPLE_ASSIGN.
Each entry in this file has one of the forms:
DEF_INTERNAL_FN (NAME, FLAGS, FNSPEC)
DEF_INTERNAL_OPTAB_FN (NAME, FLAGS, OPTAB, TYPE)
DEF_INTERNAL_SIGNED_OPTAB_FN (NAME, FLAGS, SELECTOR, SIGNED_OPTAB,
UNSIGNED_OPTAB, TYPE)
DEF_INTERNAL_FLT_FN (NAME, FLAGS, OPTAB, TYPE)
DEF_INTERNAL_FLT_FLOATN_FN (NAME, FLAGS, OPTAB, TYPE)
DEF_INTERNAL_INT_FN (NAME, FLAGS, OPTAB, TYPE)
DEF_INTERNAL_INT_EXT_FN (NAME, FLAGS, OPTAB, TYPE)
DEF_INTERNAL_COND_FN (NAME, FLAGS, OPTAB, TYPE)
DEF_INTERNAL_SIGNED_COND_FN (NAME, FLAGS, OPTAB, TYPE)
DEF_INTERNAL_WIDENING_OPTAB_FN (NAME, FLAGS, SELECTOR, SOPTAB, UOPTAB,
TYPE)
where NAME is the name of the function, FLAGS is a set of
ECF_* flags and FNSPEC is a string describing functions fnspec.
DEF_INTERNAL_OPTAB_FN defines an internal function that maps to a
direct optab. The function should only be called with a given
set of types if the associated optab is available for the modes
of those types. OPTAB says what optab to use (without the trailing
"_optab") and TYPE categorizes the optab based on its inputs and
outputs. The possible types of optab are:
- mask_load: currently just maskload
- load_lanes: currently just vec_load_lanes
- mask_load_lanes: currently just vec_mask_load_lanes
- mask_len_load_lanes: currently just vec_mask_len_load_lanes
- gather_load: used for {mask_,mask_len_,}gather_load
- strided_load: currently just mask_len_strided_load
- len_load: currently just len_load
- mask_len_load: currently just mask_len_load
- mask_store: currently just maskstore
- store_lanes: currently just vec_store_lanes
- mask_store_lanes: currently just vec_mask_store_lanes
- mask_len_store_lanes: currently just vec_mask_len_store_lanes
- scatter_store: used for {mask_,mask_len_,}scatter_store
- strided_store: currently just mask_len_strided_store
- len_store: currently just len_store
- mask_len_store: currently just mask_len_store
- unary: a normal unary optab, such as vec_reverse_<mode>
- binary: a normal binary optab, such as vec_interleave_lo_<mode>
- ternary: a normal ternary optab, such as fma<mode>4
- unary_convert: a single-input conversion optab, such as
lround<srcmode><dstmode>2.
- cond_binary: a conditional binary optab, such as cond_add<mode>
- cond_unary: a conditional unary optab, such as cond_neg<mode>
- cond_ternary: a conditional ternary optab, such as cond_fma_rev<mode>
- fold_left: for scalar = FN (scalar, vector), keyed off the vector mode
- check_ptrs: used for check_{raw,war}_ptrs
- cond_len_unary: a conditional unary optab, such as cond_len_neg<mode>
- cond_len_binary: a conditional binary optab, such as cond_len_add<mode>
- cond_len_ternary: a conditional ternary optab, such as
cond_len_fma_rev<mode>
DEF_INTERNAL_SIGNED_OPTAB_FN defines an internal function that
maps to one of two optabs, depending on the signedness of an input.
SIGNED_OPTAB and UNSIGNED_OPTAB are the optabs for signed and
unsigned inputs respectively, both without the trailing "_optab".
SELECTOR says which type in the tree_pair determines the signedness.
DEF_INTERNAL_FLT_FN is like DEF_INTERNAL_OPTAB_FN, but in addition,
the function implements the computational part of a built-in math
function BUILT_IN_<NAME>{F,,L}. Unlike some built-in functions,
these internal functions never set errno.
DEF_INTERNAL_INT_FN is like DEF_INTERNAL_OPTAB_FN, but in addition
says that the function extends the C-level BUILT_IN_<NAME>{,L,LL,IMAX}
group of functions to any integral mode (including vector modes).
DEF_INTERNAL_INT_EXT_FN is like DEF_INTERNAL_INT_FN, except that it
has expand_##NAME defined in internal-fn.cc to override the
DEF_INTERNAL_INT_FN expansion behavior.
DEF_INTERNAL_WIDENING_OPTAB_FN is a wrapper that defines five internal
functions with DEF_INTERNAL_SIGNED_OPTAB_FN:
- one that describes a widening operation with the same number of elements
in the output and input vectors,
- two that describe a pair of high-low widening operations where the output
vectors each have half the number of elements of the input vectors,
corresponding to the result of the widening operation on the top half and
bottom half, these have the suffixes _HI and _LO,
- and two that describe a pair of even-odd widening operations where the
output vectors each have half the number of elements of the input vectors,
corresponding to the result of the widening operation on the even and odd
elements, these have the suffixes _EVEN and _ODD.
These five internal functions will require two optabs each, a SIGNED_OPTAB
and an UNSIGNED_OTPAB.
DEF_INTERNAL_COND_FN is a wrapper that defines 2 internal functions with
DEF_INTERNAL_OPTAB_FN:
- One is COND_* operations that are predicated by mask only. Such operations
make sense for both vectors and scalars.
- The other is COND_LEN_* operations that are predicated by mask and len
both. Such operations only make sense for vectors.
DEF_INTERNAL_SIGNED_COND_FN is like DEF_INTERNAL_COND_FN but defines intenal
functions with DEF_INTERNAL_SIGNED_OPTAB_FN.
Each entry must have a corresponding expander of the form:
void expand_NAME (gimple_call stmt)
where STMT is the statement that performs the call. These are generated
automatically for optab functions and call out to a function or macro
called expand_<TYPE>_optab_fn.