• Home
  • Raw
  • Download

Lines Matching refs:defineMacro

596   Builder.defineMacro("__ARM_FEATURE_QRDMX", "1");  in getTargetDefinesARMV81A()
608 Builder.defineMacro("__ARM_FEATURE_COMPLEX", "1"); in getTargetDefinesARMV83A()
615 Builder.defineMacro("__arm"); in getTargetDefines()
616 Builder.defineMacro("__arm__"); in getTargetDefines()
621 Builder.defineMacro("__ELF__"); in getTargetDefines()
624 Builder.defineMacro("__REGISTER_PREFIX__", ""); in getTargetDefines()
629 Builder.defineMacro("__ARM_ARCH_7K__", "2"); in getTargetDefines()
632 Builder.defineMacro("__ARM_ARCH_" + CPUAttr + "__"); in getTargetDefines()
636 Builder.defineMacro("__ARM_ARCH", Twine(ArchVersion)); in getTargetDefines()
641 Builder.defineMacro("__ARM_FEATURE_CRYPTO", "1"); in getTargetDefines()
644 Builder.defineMacro("__ARM_FEATURE_CRC32", "1"); in getTargetDefines()
646 Builder.defineMacro("__ARM_FEATURE_NUMERIC_MAXMIN", "1"); in getTargetDefines()
648 Builder.defineMacro("__ARM_FEATURE_DIRECTED_ROUNDING", "1"); in getTargetDefines()
655 Builder.defineMacro("__ARM_ARCH_ISA_ARM", "1"); in getTargetDefines()
662 Builder.defineMacro("__ARM_ARCH_ISA_THUMB", "2"); in getTargetDefines()
664 Builder.defineMacro("__ARM_ARCH_ISA_THUMB", "1"); in getTargetDefines()
668 Builder.defineMacro("__ARM_32BIT_STATE", "1"); in getTargetDefines()
674 Builder.defineMacro("__ARM_ARCH_PROFILE", "'" + CPUProfile + "'"); in getTargetDefines()
678 Builder.defineMacro("__ARM_FEATURE_UNALIGNED", "1"); in getTargetDefines()
682 Builder.defineMacro("__ARM_FEATURE_LDREX", "0x" + Twine::utohexstr(LDREX)); in getTargetDefines()
687 Builder.defineMacro("__ARM_FEATURE_CLZ", "1"); in getTargetDefines()
691 Builder.defineMacro("__ARM_FP", "0x" + Twine::utohexstr(HW_FP)); in getTargetDefines()
694 Builder.defineMacro("__ARM_ACLE", "200"); in getTargetDefines()
697 Builder.defineMacro("__ARM_FP16_FORMAT_IEEE", "1"); in getTargetDefines()
698 Builder.defineMacro("__ARM_FP16_ARGS", "1"); in getTargetDefines()
702 Builder.defineMacro("__ARM_FEATURE_FMA", "1"); in getTargetDefines()
710 Builder.defineMacro("__THUMB_INTERWORK__"); in getTargetDefines()
716 Builder.defineMacro("__ARM_EABI__"); in getTargetDefines()
717 Builder.defineMacro("__ARM_PCS", "1"); in getTargetDefines()
721 Builder.defineMacro("__ARM_PCS_VFP", "1"); in getTargetDefines()
724 Builder.defineMacro("__SOFTFP__"); in getTargetDefines()
728 Builder.defineMacro("__ARM_ROPI", "1"); in getTargetDefines()
730 Builder.defineMacro("__ARM_RWPI", "1"); in getTargetDefines()
733 Builder.defineMacro("__XSCALE__"); in getTargetDefines()
736 Builder.defineMacro("__THUMBEL__"); in getTargetDefines()
737 Builder.defineMacro("__thumb__"); in getTargetDefines()
739 Builder.defineMacro("__thumb2__"); in getTargetDefines()
744 Builder.defineMacro("__ARM_FEATURE_SIMD32", "1"); in getTargetDefines()
749 Builder.defineMacro("__ARM_FEATURE_IDIV", "1"); in getTargetDefines()
750 Builder.defineMacro("__ARM_ARCH_EXT_IDIV__", "1"); in getTargetDefines()
754 Builder.defineMacro("__APCS_32__"); in getTargetDefines()
757 Builder.defineMacro("__VFP_FP__"); in getTargetDefines()
759 Builder.defineMacro("__ARM_VFPV2__"); in getTargetDefines()
761 Builder.defineMacro("__ARM_VFPV3__"); in getTargetDefines()
763 Builder.defineMacro("__ARM_VFPV4__"); in getTargetDefines()
765 Builder.defineMacro("__ARM_FPV5__"); in getTargetDefines()
773 Builder.defineMacro("__ARM_NEON", "1"); in getTargetDefines()
774 Builder.defineMacro("__ARM_NEON__"); in getTargetDefines()
777 Builder.defineMacro("__ARM_NEON_FP", in getTargetDefines()
782 Builder.defineMacro("__ARM_FEATURE_MVE", hasMVEFloat() ? "3" : "1"); in getTargetDefines()
786 Builder.defineMacro("__ARM_FEATURE_CDE", "1"); in getTargetDefines()
787 Builder.defineMacro("__ARM_FEATURE_CDE_COPROC", in getTargetDefines()
791 Builder.defineMacro("__ARM_SIZEOF_WCHAR_T", in getTargetDefines()
794 Builder.defineMacro("__ARM_SIZEOF_MINIMAL_ENUM", Opts.ShortEnums ? "1" : "4"); in getTargetDefines()
798 Builder.defineMacro("__ARM_FEATURE_CMSE", Opts.Cmse ? "3" : "1"); in getTargetDefines()
801 Builder.defineMacro("__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1"); in getTargetDefines()
802 Builder.defineMacro("__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2"); in getTargetDefines()
803 Builder.defineMacro("__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4"); in getTargetDefines()
804 Builder.defineMacro("__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8"); in getTargetDefines()
809 Builder.defineMacro("__ARM_FEATURE_DSP", "1"); in getTargetDefines()
815 Builder.defineMacro("__ARM_FEATURE_SAT", "1"); in getTargetDefines()
821 Builder.defineMacro("__ARM_FEATURE_QBIT", "1"); in getTargetDefines()
824 Builder.defineMacro("__ARM_FP_FAST", "1"); in getTargetDefines()
828 Builder.defineMacro("__ARM_FEATURE_FP16_VECTOR_ARITHMETIC", "1"); in getTargetDefines()
832 Builder.defineMacro("__ARM_FEATURE_FP16_SCALAR_ARITHMETIC", "1"); in getTargetDefines()
836 Builder.defineMacro("__ARM_FEATURE_DOTPROD", "1"); in getTargetDefines()
839 Builder.defineMacro("__ARM_FEATURE_MATMUL_INT8", "1"); in getTargetDefines()
842 Builder.defineMacro("__ARM_FEATURE_BF16", "1"); in getTargetDefines()
843 Builder.defineMacro("__ARM_FEATURE_BF16_VECTOR_ARITHMETIC", "1"); in getTargetDefines()
844 Builder.defineMacro("__ARM_BF16_FORMAT_ALTERNATIVE", "1"); in getTargetDefines()
1144 Builder.defineMacro("__ARMEL__"); in getTargetDefines()
1154 Builder.defineMacro("__ARMEB__"); in getTargetDefines()
1155 Builder.defineMacro("__ARM_BIG_ENDIAN"); in getTargetDefines()
1167 Builder.defineMacro("_M_ARM_NT", "1"); in getVisualStudioDefines()
1168 Builder.defineMacro("_M_ARMT", "_M_ARM"); in getVisualStudioDefines()
1169 Builder.defineMacro("_M_THUMB", "_M_ARM"); in getVisualStudioDefines()
1175 Builder.defineMacro("_M_ARM", Triple.getArchName().substr(Offset)); in getVisualStudioDefines()
1179 Builder.defineMacro("_M_ARM_FP", "31"); in getVisualStudioDefines()
1243 Builder.defineMacro("_ARM_"); in getTargetDefines()
1258 Builder.defineMacro("_ARM_"); in getTargetDefines()
1259 Builder.defineMacro("__CYGWIN__"); in getTargetDefines()
1260 Builder.defineMacro("__CYGWIN32__"); in getTargetDefines()
1263 Builder.defineMacro("_GNU_SOURCE"); in getTargetDefines()
1303 Builder.defineMacro("__RENDERSCRIPT__"); in getTargetDefines()