brintos

brintos / llvm-project-archived public Read only

0
0
Text · 10.9 KiB · 711c2a0 Raw
287 lines · c
1/// Check predefinitions for NEC Aurora VE2/// REQUIRES: ve-registered-target3 4// RUN: %clang_cc1 -E -dM -triple=ve < /dev/null | \5// RUN:     FileCheck -match-full-lines -check-prefixes=VE,VE-HOSTED %s6// RUN: %clang_cc1 -E -dM -triple=ve -ffreestanding < /dev/null | \7// RUN:     FileCheck -match-full-lines -check-prefixes=VE,VE-FREESTANDING %s8// RUN: %clang_cc1 -x c++ -E -dM -triple=ve < /dev/null | \9// RUN:     FileCheck -match-full-lines -check-prefixes=VE,VE-HOSTED,VE-CXX %s10//11// VE:#define _LP64 112// VE:#define __BIGGEST_ALIGNMENT__ 813// VE:#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__14// VE:#define __CHAR16_TYPE__ unsigned short15// VE:#define __CHAR32_TYPE__ unsigned int16// VE:#define __CHAR_BIT__ 817// VE:#define __DBL_DECIMAL_DIG__ 1718// VE:#define __DBL_DENORM_MIN__ 4.9406564584124654e-32419// VE:#define __DBL_DIG__ 1520// VE:#define __DBL_EPSILON__ 2.2204460492503131e-1621// VE:#define __DBL_HAS_DENORM__ 122// VE:#define __DBL_HAS_INFINITY__ 123// VE:#define __DBL_HAS_QUIET_NAN__ 124// VE:#define __DBL_MANT_DIG__ 5325// VE:#define __DBL_MAX_10_EXP__ 30826// VE:#define __DBL_MAX_EXP__ 102427// VE:#define __DBL_MAX__ 1.7976931348623157e+30828// VE:#define __DBL_MIN_10_EXP__ (-307)29// VE:#define __DBL_MIN_EXP__ (-1021)30// VE:#define __DBL_MIN__ 2.2250738585072014e-30831// VE:#define __DECIMAL_DIG__ __LDBL_DECIMAL_DIG__32// VE-NOT:#define __FAST_MATH__ 133// VE:#define __FLT_DECIMAL_DIG__ 934// VE:#define __FLT_DENORM_MIN__ 1.40129846e-45F35// VE:#define __FLT_DIG__ 636// VE:#define __FLT_EPSILON__ 1.19209290e-7F37// VE:#define __FLT_HAS_DENORM__ 138// VE:#define __FLT_HAS_INFINITY__ 139// VE:#define __FLT_HAS_QUIET_NAN__ 140// VE:#define __FLT_MANT_DIG__ 2441// VE:#define __FLT_MAX_10_EXP__ 3842// VE:#define __FLT_MAX_EXP__ 12843// VE:#define __FLT_MAX__ 3.40282347e+38F44// VE:#define __FLT_MIN_10_EXP__ (-37)45// VE:#define __FLT_MIN_EXP__ (-125)46// VE:#define __FLT_MIN__ 1.17549435e-38F47// VE:#define __FLT_RADIX__ 248// VE:#define __INT16_C(c) c49// VE:#define __INT16_C_SUFFIX__50// VE:#define __INT16_FMTd__ "hd"51// VE:#define __INT16_FMTi__ "hi"52// VE:#define __INT16_MAX__ 3276753// VE:#define __INT16_TYPE__ short54// VE:#define __INT32_C(c) c55// VE:#define __INT32_C_SUFFIX__56// VE:#define __INT32_FMTd__ "d"57// VE:#define __INT32_FMTi__ "i"58// VE:#define __INT32_MAX__ 214748364759// VE:#define __INT32_TYPE__ int60// VE:#define __INT64_C(c) c##L61// VE:#define __INT64_C_SUFFIX__ L62// VE:#define __INT64_FMTd__ "ld"63// VE:#define __INT64_FMTi__ "li"64// VE:#define __INT64_MAX__ 9223372036854775807L65// VE:#define __INT64_TYPE__ long int66// VE:#define __INT8_C(c) c67// VE:#define __INT8_C_SUFFIX__68// VE:#define __INT8_FMTd__ "hhd"69// VE:#define __INT8_FMTi__ "hhi"70// VE:#define __INT8_MAX__ 12771// VE:#define __INT8_TYPE__ signed char72// VE:#define __INTMAX_C(c) c##L73// VE:#define __INTMAX_C_SUFFIX__ L74// VE:#define __INTMAX_FMTd__ "ld"75// VE:#define __INTMAX_FMTi__ "li"76// VE:#define __INTMAX_MAX__ 9223372036854775807L77// VE:#define __INTMAX_TYPE__ long int78// VE:#define __INTMAX_WIDTH__ 6479// VE:#define __INTPTR_FMTd__ "ld"80// VE:#define __INTPTR_FMTi__ "li"81// VE:#define __INTPTR_MAX__ 9223372036854775807L82// VE:#define __INTPTR_TYPE__ long int83// VE:#define __INTPTR_WIDTH__ 6484// VE:#define __INT_FAST16_FMTd__ "hd"85// VE:#define __INT_FAST16_FMTi__ "hi"86// VE:#define __INT_FAST16_MAX__ 3276787// VE:#define __INT_FAST16_TYPE__ short88// VE:#define __INT_FAST32_FMTd__ "d"89// VE:#define __INT_FAST32_FMTi__ "i"90// VE:#define __INT_FAST32_MAX__ 214748364791// VE:#define __INT_FAST32_TYPE__ int92// VE:#define __INT_FAST64_FMTd__ "ld"93// VE:#define __INT_FAST64_FMTi__ "li"94// VE:#define __INT_FAST64_MAX__ 9223372036854775807L95// VE:#define __INT_FAST64_TYPE__ long int96// VE:#define __INT_FAST8_FMTd__ "hhd"97// VE:#define __INT_FAST8_FMTi__ "hhi"98// VE:#define __INT_FAST8_MAX__ 12799// VE:#define __INT_FAST8_TYPE__ signed char100// VE:#define __INT_LEAST16_FMTd__ "hd"101// VE:#define __INT_LEAST16_FMTi__ "hi"102// VE:#define __INT_LEAST16_MAX__ 32767103// VE:#define __INT_LEAST16_TYPE__ short104// VE:#define __INT_LEAST32_FMTd__ "d"105// VE:#define __INT_LEAST32_FMTi__ "i"106// VE:#define __INT_LEAST32_MAX__ 2147483647107// VE:#define __INT_LEAST32_TYPE__ int108// VE:#define __INT_LEAST64_FMTd__ "ld"109// VE:#define __INT_LEAST64_FMTi__ "li"110// VE:#define __INT_LEAST64_MAX__ 9223372036854775807L111// VE:#define __INT_LEAST64_TYPE__ long int112// VE:#define __INT_LEAST8_FMTd__ "hhd"113// VE:#define __INT_LEAST8_FMTi__ "hhi"114// VE:#define __INT_LEAST8_MAX__ 127115// VE:#define __INT_LEAST8_TYPE__ signed char116// VE:#define __INT_MAX__ 2147483647117// VE:#define __LDBL_DECIMAL_DIG__ 36118// VE:#define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L119// VE:#define __LDBL_DIG__ 33120// VE:#define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L121// VE:#define __LDBL_HAS_DENORM__ 1122// VE:#define __LDBL_HAS_INFINITY__ 1123// VE:#define __LDBL_HAS_QUIET_NAN__ 1124// VE:#define __LDBL_MANT_DIG__ 113125// VE:#define __LDBL_MAX_10_EXP__ 4932126// VE:#define __LDBL_MAX_EXP__ 16384127// VE:#define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L128// VE:#define __LDBL_MIN_10_EXP__ (-4931)129// VE:#define __LDBL_MIN_EXP__ (-16381)130// VE:#define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L131// VE:#define __LITTLE_ENDIAN__ 1132// VE-NOT:#define __LONGDOUBLE128 1133// VE-NOT:#define __LONG_DOUBLE_128__ 1134// VE:#define __LONG_LONG_MAX__ 9223372036854775807LL135// VE:#define __LONG_MAX__ 9223372036854775807L136// VE:#define __LP64__ 1137// VE:#define __NEC__ 1138// VE-NOT:#define __OPTIMIZE__139// VE:#define __POINTER_WIDTH__ 64140// VE:#define __PTRDIFF_FMTd__ "ld"141// VE:#define __PTRDIFF_FMTi__ "li"142// VE:#define __PTRDIFF_MAX__ 9223372036854775807L143// VE:#define __PTRDIFF_TYPE__ long int144// VE:#define __PTRDIFF_WIDTH__ 64145// VE:#define __SCHAR_MAX__ 127146// VE:#define __SHRT_MAX__ 32767147// VE:#define __SIG_ATOMIC_MAX__ 2147483647148// VE:#define __SIG_ATOMIC_WIDTH__ 32149// VE:#define __SIZEOF_DOUBLE__ 8150// VE:#define __SIZEOF_FLOAT__ 4151// VE:#define __SIZEOF_INT128__ 16152// VE:#define __SIZEOF_INT__ 4153// VE:#define __SIZEOF_LONG_DOUBLE__ 16154// VE:#define __SIZEOF_LONG_LONG__ 8155// VE:#define __SIZEOF_LONG__ 8156// VE:#define __SIZEOF_POINTER__ 8157// VE:#define __SIZEOF_PTRDIFF_T__ 8158// VE:#define __SIZEOF_SHORT__ 2159// VE:#define __SIZEOF_SIZE_T__ 8160// VE:#define __SIZEOF_WCHAR_T__ 4161// VE:#define __SIZEOF_WINT_T__ 4162// VE:#define __SIZE_FMTX__ "lX"163// VE:#define __SIZE_FMTo__ "lo"164// VE:#define __SIZE_FMTu__ "lu"165// VE:#define __SIZE_FMTx__ "lx"166// VE:#define __SIZE_MAX__ 18446744073709551615UL167// VE:#define __SIZE_TYPE__ long unsigned int168// VE:#define __SIZE_WIDTH__ 64169// VE-CXX:#define __STDCPP_DEFAULT_NEW_ALIGNMENT__ 16UL170// VE-HOSTED:#define __STDC_HOSTED__ 1171// VE-FREESTANDING:#define __STDC_HOSTED__ 0172// VE:#define __UINT16_C(c) c173// VE:#define __UINT16_C_SUFFIX__174// VE:#define __UINT16_FMTX__ "hX"175// VE:#define __UINT16_FMTo__ "ho"176// VE:#define __UINT16_FMTu__ "hu"177// VE:#define __UINT16_FMTx__ "hx"178// VE:#define __UINT16_MAX__ 65535179// VE:#define __UINT16_TYPE__ unsigned short180// VE:#define __UINT32_C(c) c##U181// VE:#define __UINT32_C_SUFFIX__ U182// VE:#define __UINT32_FMTX__ "X"183// VE:#define __UINT32_FMTo__ "o"184// VE:#define __UINT32_FMTu__ "u"185// VE:#define __UINT32_FMTx__ "x"186// VE:#define __UINT32_MAX__ 4294967295U187// VE:#define __UINT32_TYPE__ unsigned int188// VE:#define __UINT64_C(c) c##UL189// VE:#define __UINT64_C_SUFFIX__ UL190// VE:#define __UINT64_FMTX__ "lX"191// VE:#define __UINT64_FMTo__ "lo"192// VE:#define __UINT64_FMTu__ "lu"193// VE:#define __UINT64_FMTx__ "lx"194// VE:#define __UINT64_MAX__ 18446744073709551615UL195// VE:#define __UINT64_TYPE__ long unsigned int196// VE:#define __UINT8_C(c) c197// VE:#define __UINT8_C_SUFFIX__198// VE:#define __UINT8_FMTX__ "hhX"199// VE:#define __UINT8_FMTo__ "hho"200// VE:#define __UINT8_FMTu__ "hhu"201// VE:#define __UINT8_FMTx__ "hhx"202// VE:#define __UINT8_MAX__ 255203// VE:#define __UINT8_TYPE__ unsigned char204// VE:#define __UINTMAX_C(c) c##UL205// VE:#define __UINTMAX_C_SUFFIX__ UL206// VE:#define __UINTMAX_FMTX__ "lX"207// VE:#define __UINTMAX_FMTo__ "lo"208// VE:#define __UINTMAX_FMTu__ "lu"209// VE:#define __UINTMAX_FMTx__ "lx"210// VE:#define __UINTMAX_MAX__ 18446744073709551615UL211// VE:#define __UINTMAX_TYPE__ long unsigned int212// VE:#define __UINTMAX_WIDTH__ 64213// VE:#define __UINTPTR_FMTX__ "lX"214// VE:#define __UINTPTR_FMTo__ "lo"215// VE:#define __UINTPTR_FMTu__ "lu"216// VE:#define __UINTPTR_FMTx__ "lx"217// VE:#define __UINTPTR_MAX__ 18446744073709551615UL218// VE:#define __UINTPTR_TYPE__ long unsigned int219// VE:#define __UINTPTR_WIDTH__ 64220// VE:#define __UINT_FAST16_FMTX__ "hX"221// VE:#define __UINT_FAST16_FMTo__ "ho"222// VE:#define __UINT_FAST16_FMTu__ "hu"223// VE:#define __UINT_FAST16_FMTx__ "hx"224// VE:#define __UINT_FAST16_MAX__ 65535225// VE:#define __UINT_FAST16_TYPE__ unsigned short226// VE:#define __UINT_FAST32_FMTX__ "X"227// VE:#define __UINT_FAST32_FMTo__ "o"228// VE:#define __UINT_FAST32_FMTu__ "u"229// VE:#define __UINT_FAST32_FMTx__ "x"230// VE:#define __UINT_FAST32_MAX__ 4294967295U231// VE:#define __UINT_FAST32_TYPE__ unsigned int232// VE:#define __UINT_FAST64_FMTX__ "lX"233// VE:#define __UINT_FAST64_FMTo__ "lo"234// VE:#define __UINT_FAST64_FMTu__ "lu"235// VE:#define __UINT_FAST64_FMTx__ "lx"236// VE:#define __UINT_FAST64_MAX__ 18446744073709551615UL237// VE:#define __UINT_FAST64_TYPE__ long unsigned int238// VE:#define __UINT_FAST8_FMTX__ "hhX"239// VE:#define __UINT_FAST8_FMTo__ "hho"240// VE:#define __UINT_FAST8_FMTu__ "hhu"241// VE:#define __UINT_FAST8_FMTx__ "hhx"242// VE:#define __UINT_FAST8_MAX__ 255243// VE:#define __UINT_FAST8_TYPE__ unsigned char244// VE:#define __UINT_LEAST16_FMTX__ "hX"245// VE:#define __UINT_LEAST16_FMTo__ "ho"246// VE:#define __UINT_LEAST16_FMTu__ "hu"247// VE:#define __UINT_LEAST16_FMTx__ "hx"248// VE:#define __UINT_LEAST16_MAX__ 65535249// VE:#define __UINT_LEAST16_TYPE__ unsigned short250// VE:#define __UINT_LEAST32_FMTX__ "X"251// VE:#define __UINT_LEAST32_FMTo__ "o"252// VE:#define __UINT_LEAST32_FMTu__ "u"253// VE:#define __UINT_LEAST32_FMTx__ "x"254// VE:#define __UINT_LEAST32_MAX__ 4294967295U255// VE:#define __UINT_LEAST32_TYPE__ unsigned int256// VE:#define __UINT_LEAST64_FMTX__ "lX"257// VE:#define __UINT_LEAST64_FMTo__ "lo"258// VE:#define __UINT_LEAST64_FMTu__ "lu"259// VE:#define __UINT_LEAST64_FMTx__ "lx"260// VE:#define __UINT_LEAST64_MAX__ 18446744073709551615UL261// VE:#define __UINT_LEAST64_TYPE__ long unsigned int262// VE:#define __UINT_LEAST8_FMTX__ "hhX"263// VE:#define __UINT_LEAST8_FMTo__ "hho"264// VE:#define __UINT_LEAST8_FMTu__ "hhu"265// VE:#define __UINT_LEAST8_FMTx__ "hhx"266// VE:#define __UINT_LEAST8_MAX__ 255267// VE:#define __UINT_LEAST8_TYPE__ unsigned char268// VE:#define __USER_LABEL_PREFIX__269// VE-NOT:#define __VECTOR__270// VE:#define __WCHAR_MAX__ 4294967295U271// VE:#define __WCHAR_TYPE__ unsigned int272// VE:#define __WCHAR_UNSIGNED__ 1273// VE:#define __WCHAR_WIDTH__ 32274// VE:#define __WINT_MAX__ 4294967295U275// VE:#define __WINT_TYPE__ unsigned int276// VE:#define __WINT_UNSIGNED__ 1277// VE:#define __WINT_WIDTH__ 32278// VE:#define __linux 1279// VE:#define __linux__ 1280// VE:#define __llvm__ 1281// VE:#define __unix 1282// VE:#define __unix__ 1283// VE:#define __ve 1284// VE:#define __ve__ 1285// VE:#define linux 1286// VE:#define unix 1287