Lines Matching refs:defineMacro
75 Builder.defineMacro("_MIPSEB"); in getTargetDefines()
78 Builder.defineMacro("_MIPSEL"); in getTargetDefines()
81 Builder.defineMacro("__mips__"); in getTargetDefines()
82 Builder.defineMacro("_mips"); in getTargetDefines()
84 Builder.defineMacro("mips"); in getTargetDefines()
87 Builder.defineMacro("__mips", "32"); in getTargetDefines()
88 Builder.defineMacro("_MIPS_ISA", "_MIPS_ISA_MIPS32"); in getTargetDefines()
90 Builder.defineMacro("__mips", "64"); in getTargetDefines()
91 Builder.defineMacro("__mips64"); in getTargetDefines()
92 Builder.defineMacro("__mips64__"); in getTargetDefines()
93 Builder.defineMacro("_MIPS_ISA", "_MIPS_ISA_MIPS64"); in getTargetDefines()
99 Builder.defineMacro("__mips_isa_rev", ISARev); in getTargetDefines()
102 Builder.defineMacro("__mips_o32"); in getTargetDefines()
103 Builder.defineMacro("_ABIO32", "1"); in getTargetDefines()
104 Builder.defineMacro("_MIPS_SIM", "_ABIO32"); in getTargetDefines()
106 Builder.defineMacro("__mips_n32"); in getTargetDefines()
107 Builder.defineMacro("_ABIN32", "2"); in getTargetDefines()
108 Builder.defineMacro("_MIPS_SIM", "_ABIN32"); in getTargetDefines()
110 Builder.defineMacro("__mips_n64"); in getTargetDefines()
111 Builder.defineMacro("_ABI64", "3"); in getTargetDefines()
112 Builder.defineMacro("_MIPS_SIM", "_ABI64"); in getTargetDefines()
117 Builder.defineMacro("__mips_abicalls"); in getTargetDefines()
119 Builder.defineMacro("__ABICALLS__"); in getTargetDefines()
122 Builder.defineMacro("__REGISTER_PREFIX__", ""); in getTargetDefines()
126 Builder.defineMacro("__mips_hard_float", Twine(1)); in getTargetDefines()
129 Builder.defineMacro("__mips_soft_float", Twine(1)); in getTargetDefines()
134 Builder.defineMacro("__mips_single_float", Twine(1)); in getTargetDefines()
138 Builder.defineMacro("__mips_fpr", Twine(0)); in getTargetDefines()
141 Builder.defineMacro("__mips_fpr", Twine(32)); in getTargetDefines()
144 Builder.defineMacro("__mips_fpr", Twine(64)); in getTargetDefines()
149 Builder.defineMacro("_MIPS_FPSET", Twine(32)); in getTargetDefines()
151 Builder.defineMacro("_MIPS_FPSET", Twine(16)); in getTargetDefines()
154 Builder.defineMacro("__mips16", Twine(1)); in getTargetDefines()
157 Builder.defineMacro("__mips_micromips", Twine(1)); in getTargetDefines()
160 Builder.defineMacro("__mips_nan2008", Twine(1)); in getTargetDefines()
163 Builder.defineMacro("__mips_abs2008", Twine(1)); in getTargetDefines()
169 Builder.defineMacro("__mips_dsp_rev", Twine(1)); in getTargetDefines()
170 Builder.defineMacro("__mips_dsp", Twine(1)); in getTargetDefines()
173 Builder.defineMacro("__mips_dsp_rev", Twine(2)); in getTargetDefines()
174 Builder.defineMacro("__mips_dspr2", Twine(1)); in getTargetDefines()
175 Builder.defineMacro("__mips_dsp", Twine(1)); in getTargetDefines()
180 Builder.defineMacro("__mips_msa", Twine(1)); in getTargetDefines()
183 Builder.defineMacro("__mips_no_madd4", Twine(1)); in getTargetDefines()
185 Builder.defineMacro("_MIPS_SZPTR", Twine(getPointerWidth(0))); in getTargetDefines()
186 Builder.defineMacro("_MIPS_SZINT", Twine(getIntWidth())); in getTargetDefines()
187 Builder.defineMacro("_MIPS_SZLONG", Twine(getLongWidth())); in getTargetDefines()
189 Builder.defineMacro("_MIPS_ARCH", "\"" + CPU + "\""); in getTargetDefines()
191 Builder.defineMacro("_MIPS_ARCH_OCTEONP"); in getTargetDefines()
193 Builder.defineMacro("_MIPS_ARCH_" + StringRef(CPU).upper()); in getTargetDefines()
196 Builder.defineMacro("__OCTEON__"); in getTargetDefines()
200 Builder.defineMacro("__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1"); in getTargetDefines()
201 Builder.defineMacro("__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2"); in getTargetDefines()
202 Builder.defineMacro("__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4"); in getTargetDefines()
209 Builder.defineMacro("__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8"); in getTargetDefines()