Lines Matching refs:Builder

72                                       MacroBuilder &Builder) const {  in getTargetDefines()
74 DefineStd(Builder, "MIPSEB", Opts); in getTargetDefines()
75 Builder.defineMacro("_MIPSEB"); in getTargetDefines()
77 DefineStd(Builder, "MIPSEL", Opts); 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()
153 Builder.defineMacro("_MIPS_SPFPSET", Twine(16)); in getTargetDefines()
155 Builder.defineMacro("_MIPS_SPFPSET", Twine(32)); in getTargetDefines()
158 Builder.defineMacro("__mips16", Twine(1)); in getTargetDefines()
161 Builder.defineMacro("__mips_micromips", Twine(1)); in getTargetDefines()
164 Builder.defineMacro("__mips_nan2008", Twine(1)); in getTargetDefines()
167 Builder.defineMacro("__mips_abs2008", Twine(1)); in getTargetDefines()
173 Builder.defineMacro("__mips_dsp_rev", Twine(1)); in getTargetDefines()
174 Builder.defineMacro("__mips_dsp", Twine(1)); in getTargetDefines()
177 Builder.defineMacro("__mips_dsp_rev", Twine(2)); in getTargetDefines()
178 Builder.defineMacro("__mips_dspr2", Twine(1)); in getTargetDefines()
179 Builder.defineMacro("__mips_dsp", Twine(1)); in getTargetDefines()
184 Builder.defineMacro("__mips_msa", Twine(1)); in getTargetDefines()
187 Builder.defineMacro("__mips_no_madd4", Twine(1)); in getTargetDefines()
189 Builder.defineMacro("_MIPS_SZPTR", Twine(getPointerWidth(LangAS::Default))); in getTargetDefines()
190 Builder.defineMacro("_MIPS_SZINT", Twine(getIntWidth())); in getTargetDefines()
191 Builder.defineMacro("_MIPS_SZLONG", Twine(getLongWidth())); in getTargetDefines()
193 Builder.defineMacro("_MIPS_ARCH", "\"" + CPU + "\""); in getTargetDefines()
195 Builder.defineMacro("_MIPS_ARCH_OCTEONP"); in getTargetDefines()
197 Builder.defineMacro("_MIPS_ARCH_" + StringRef(CPU).upper()); in getTargetDefines()
200 Builder.defineMacro("__OCTEON__"); in getTargetDefines()
203 Builder.defineMacro("__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1"); in getTargetDefines()
204 Builder.defineMacro("__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2"); in getTargetDefines()
205 Builder.defineMacro("__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4"); in getTargetDefines()
213 Builder.defineMacro("__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8"); in getTargetDefines()