Lines Matching refs:startswith
71 if (Name.size() <= 8 || !Name.startswith("llvm.")) in UpgradeIntrinsicFunction1()
78 if (Name.startswith("arm.neon.vclz")) { in UpgradeIntrinsicFunction1()
91 if (Name.startswith("arm.neon.vcnt")) { in UpgradeIntrinsicFunction1()
137 if (Name.startswith("ctlz.") && F->arg_size() == 1) { in UpgradeIntrinsicFunction1()
143 if (Name.startswith("cttz.") && F->arg_size() == 1) { in UpgradeIntrinsicFunction1()
153 if (Name.startswith("masked.load.")) { in UpgradeIntrinsicFunction1()
163 if (Name.startswith("masked.store.")) { in UpgradeIntrinsicFunction1()
180 if (F->arg_size() == 2 && Name.startswith("objectsize.")) { in UpgradeIntrinsicFunction1()
198 bool IsX86 = Name.startswith("x86."); in UpgradeIntrinsicFunction1()
203 (Name.startswith("sse2.pcmpeq.") || in UpgradeIntrinsicFunction1()
204 Name.startswith("sse2.pcmpgt.") || in UpgradeIntrinsicFunction1()
205 Name.startswith("avx2.pcmpeq.") || in UpgradeIntrinsicFunction1()
206 Name.startswith("avx2.pcmpgt.") || in UpgradeIntrinsicFunction1()
207 Name.startswith("avx512.mask.pcmpeq.") || in UpgradeIntrinsicFunction1()
208 Name.startswith("avx512.mask.pcmpgt.") || in UpgradeIntrinsicFunction1()
221 Name.startswith("avx2.pmax") || in UpgradeIntrinsicFunction1()
222 Name.startswith("avx2.pmin") || in UpgradeIntrinsicFunction1()
223 Name.startswith("avx2.vbroadcast") || in UpgradeIntrinsicFunction1()
224 Name.startswith("avx2.pbroadcast") || in UpgradeIntrinsicFunction1()
225 Name.startswith("avx.vpermil.") || in UpgradeIntrinsicFunction1()
226 Name.startswith("sse2.pshuf") || in UpgradeIntrinsicFunction1()
227 Name.startswith("avx512.pbroadcast") || in UpgradeIntrinsicFunction1()
228 Name.startswith("avx512.mask.broadcast.s") || in UpgradeIntrinsicFunction1()
229 Name.startswith("avx512.mask.movddup") || in UpgradeIntrinsicFunction1()
230 Name.startswith("avx512.mask.movshdup") || in UpgradeIntrinsicFunction1()
231 Name.startswith("avx512.mask.movsldup") || in UpgradeIntrinsicFunction1()
232 Name.startswith("avx512.mask.pshuf.d.") || in UpgradeIntrinsicFunction1()
233 Name.startswith("avx512.mask.pshufl.w.") || in UpgradeIntrinsicFunction1()
234 Name.startswith("avx512.mask.pshufh.w.") || in UpgradeIntrinsicFunction1()
235 Name.startswith("avx512.mask.vpermil.p") || in UpgradeIntrinsicFunction1()
236 Name.startswith("avx512.mask.perm.df.") || in UpgradeIntrinsicFunction1()
237 Name.startswith("avx512.mask.perm.di.") || in UpgradeIntrinsicFunction1()
238 Name.startswith("avx512.mask.punpckl") || in UpgradeIntrinsicFunction1()
239 Name.startswith("avx512.mask.punpckh") || in UpgradeIntrinsicFunction1()
240 Name.startswith("avx512.mask.unpckl.") || in UpgradeIntrinsicFunction1()
241 Name.startswith("avx512.mask.unpckh.") || in UpgradeIntrinsicFunction1()
242 Name.startswith("avx512.mask.pand.") || in UpgradeIntrinsicFunction1()
243 Name.startswith("avx512.mask.pandn.") || in UpgradeIntrinsicFunction1()
244 Name.startswith("avx512.mask.por.") || in UpgradeIntrinsicFunction1()
245 Name.startswith("avx512.mask.pxor.") || in UpgradeIntrinsicFunction1()
246 Name.startswith("sse41.pmovsx") || in UpgradeIntrinsicFunction1()
247 Name.startswith("sse41.pmovzx") || in UpgradeIntrinsicFunction1()
248 Name.startswith("avx2.pmovsx") || in UpgradeIntrinsicFunction1()
249 Name.startswith("avx2.pmovzx") || in UpgradeIntrinsicFunction1()
255 Name.startswith("avx.cvtt.") || in UpgradeIntrinsicFunction1()
256 Name.startswith("avx.vinsertf128.") || in UpgradeIntrinsicFunction1()
258 Name.startswith("avx.vextractf128.") || in UpgradeIntrinsicFunction1()
260 Name.startswith("sse4a.movnt.") || in UpgradeIntrinsicFunction1()
261 Name.startswith("avx.movnt.") || in UpgradeIntrinsicFunction1()
262 Name.startswith("avx512.storent.") || in UpgradeIntrinsicFunction1()
264 Name.startswith("sse.storeu.") || in UpgradeIntrinsicFunction1()
265 Name.startswith("sse2.storeu.") || in UpgradeIntrinsicFunction1()
266 Name.startswith("avx.storeu.") || in UpgradeIntrinsicFunction1()
267 Name.startswith("avx512.mask.storeu.p") || in UpgradeIntrinsicFunction1()
268 Name.startswith("avx512.mask.storeu.b.") || in UpgradeIntrinsicFunction1()
269 Name.startswith("avx512.mask.storeu.w.") || in UpgradeIntrinsicFunction1()
270 Name.startswith("avx512.mask.storeu.d.") || in UpgradeIntrinsicFunction1()
271 Name.startswith("avx512.mask.storeu.q.") || in UpgradeIntrinsicFunction1()
272 Name.startswith("avx512.mask.store.p") || in UpgradeIntrinsicFunction1()
273 Name.startswith("avx512.mask.store.b.") || in UpgradeIntrinsicFunction1()
274 Name.startswith("avx512.mask.store.w.") || in UpgradeIntrinsicFunction1()
275 Name.startswith("avx512.mask.store.d.") || in UpgradeIntrinsicFunction1()
276 Name.startswith("avx512.mask.store.q.") || in UpgradeIntrinsicFunction1()
277 Name.startswith("avx512.mask.loadu.p") || in UpgradeIntrinsicFunction1()
278 Name.startswith("avx512.mask.loadu.b.") || in UpgradeIntrinsicFunction1()
279 Name.startswith("avx512.mask.loadu.w.") || in UpgradeIntrinsicFunction1()
280 Name.startswith("avx512.mask.loadu.d.") || in UpgradeIntrinsicFunction1()
281 Name.startswith("avx512.mask.loadu.q.") || in UpgradeIntrinsicFunction1()
282 Name.startswith("avx512.mask.load.p") || in UpgradeIntrinsicFunction1()
283 Name.startswith("avx512.mask.load.b.") || in UpgradeIntrinsicFunction1()
284 Name.startswith("avx512.mask.load.w.") || in UpgradeIntrinsicFunction1()
285 Name.startswith("avx512.mask.load.d.") || in UpgradeIntrinsicFunction1()
286 Name.startswith("avx512.mask.load.q.") || in UpgradeIntrinsicFunction1()
288 Name.startswith("avx.vbroadcast.s") || in UpgradeIntrinsicFunction1()
289 Name.startswith("avx512.mask.palignr.") || in UpgradeIntrinsicFunction1()
290 Name.startswith("sse2.psll.dq") || in UpgradeIntrinsicFunction1()
291 Name.startswith("sse2.psrl.dq") || in UpgradeIntrinsicFunction1()
292 Name.startswith("avx2.psll.dq") || in UpgradeIntrinsicFunction1()
293 Name.startswith("avx2.psrl.dq") || in UpgradeIntrinsicFunction1()
294 Name.startswith("avx512.psll.dq") || in UpgradeIntrinsicFunction1()
295 Name.startswith("avx512.psrl.dq") || in UpgradeIntrinsicFunction1()
297 Name.startswith("sse41.blendp") || in UpgradeIntrinsicFunction1()
298 Name.startswith("avx.blend.p") || in UpgradeIntrinsicFunction1()
300 Name.startswith("avx2.pblendd.") || in UpgradeIntrinsicFunction1()
303 (Name.startswith("xop.vpcom") && F->arg_size() == 2))) { in UpgradeIntrinsicFunction1()
308 if (IsX86 && Name.startswith("sse41.ptest")) { in UpgradeIntrinsicFunction1()
338 if (IsX86 && Name.startswith("xop.vfrcz.ss") && F->arg_size() == 2) { in UpgradeIntrinsicFunction1()
344 if (IsX86 && Name.startswith("xop.vfrcz.sd") && F->arg_size() == 2) { in UpgradeIntrinsicFunction1()
350 if (IsX86 && (Name.startswith("avx512.mask.pslli.") || in UpgradeIntrinsicFunction1()
351 Name.startswith("avx512.mask.psrai.") || in UpgradeIntrinsicFunction1()
352 Name.startswith("avx512.mask.psrli."))) { in UpgradeIntrinsicFunction1()
368 if (IsX86 && Name.startswith("fma4.")) { in UpgradeIntrinsicFunction1()
374 if (IsX86 && Name.startswith("xop.vpermil2")) { in UpgradeIntrinsicFunction1()
648 assert(Name.startswith("llvm.") && "Intrinsic doesn't start with 'llvm.'"); in UpgradeIntrinsicCall()
651 bool IsX86 = Name.startswith("x86."); in UpgradeIntrinsicCall()
657 if (IsX86 && (Name.startswith("sse2.pcmpeq.") || in UpgradeIntrinsicCall()
658 Name.startswith("avx2.pcmpeq."))) { in UpgradeIntrinsicCall()
662 } else if (IsX86 && (Name.startswith("sse2.pcmpgt.") || in UpgradeIntrinsicCall()
663 Name.startswith("avx2.pcmpgt."))) { in UpgradeIntrinsicCall()
667 } else if (IsX86 && Name.startswith("avx512.mask.pcmpeq.")) { in UpgradeIntrinsicCall()
669 } else if (IsX86 && Name.startswith("avx512.mask.pcmpgt.")) { in UpgradeIntrinsicCall()
674 Name.startswith("avx2.pmaxs"))) { in UpgradeIntrinsicCall()
679 Name.startswith("avx2.pmaxu"))) { in UpgradeIntrinsicCall()
684 Name.startswith("avx2.pmins"))) { in UpgradeIntrinsicCall()
689 Name.startswith("avx2.pminu"))) { in UpgradeIntrinsicCall()
716 Name.startswith("avx.cvtt."))) { in UpgradeIntrinsicCall()
721 } else if (IsX86 && Name.startswith("sse4a.movnt.")) { in UpgradeIntrinsicCall()
745 } else if (IsX86 && (Name.startswith("avx.movnt.") || in UpgradeIntrinsicCall()
746 Name.startswith("avx512.storent."))) { in UpgradeIntrinsicCall()
783 } else if (IsX86 && (Name.startswith("sse.storeu.") || in UpgradeIntrinsicCall()
784 Name.startswith("sse2.storeu.") || in UpgradeIntrinsicCall()
785 Name.startswith("avx.storeu."))) { in UpgradeIntrinsicCall()
797 } else if (IsX86 && (Name.startswith("avx512.mask.storeu.p") || in UpgradeIntrinsicCall()
798 Name.startswith("avx512.mask.storeu.b.") || in UpgradeIntrinsicCall()
799 Name.startswith("avx512.mask.storeu.w.") || in UpgradeIntrinsicCall()
800 Name.startswith("avx512.mask.storeu.d.") || in UpgradeIntrinsicCall()
801 Name.startswith("avx512.mask.storeu.q."))) { in UpgradeIntrinsicCall()
808 } else if (IsX86 && (Name.startswith("avx512.mask.store.p") || in UpgradeIntrinsicCall()
809 Name.startswith("avx512.mask.store.b.") || in UpgradeIntrinsicCall()
810 Name.startswith("avx512.mask.store.w.") || in UpgradeIntrinsicCall()
811 Name.startswith("avx512.mask.store.d.") || in UpgradeIntrinsicCall()
812 Name.startswith("avx512.mask.store.q."))) { in UpgradeIntrinsicCall()
819 } else if (IsX86 && (Name.startswith("avx512.mask.loadu.p") || in UpgradeIntrinsicCall()
820 Name.startswith("avx512.mask.loadu.b.") || in UpgradeIntrinsicCall()
821 Name.startswith("avx512.mask.loadu.w.") || in UpgradeIntrinsicCall()
822 Name.startswith("avx512.mask.loadu.d.") || in UpgradeIntrinsicCall()
823 Name.startswith("avx512.mask.loadu.q."))) { in UpgradeIntrinsicCall()
827 } else if (IsX86 && (Name.startswith("avx512.mask.load.p") || in UpgradeIntrinsicCall()
828 Name.startswith("avx512.mask.load.b.") || in UpgradeIntrinsicCall()
829 Name.startswith("avx512.mask.load.w.") || in UpgradeIntrinsicCall()
830 Name.startswith("avx512.mask.load.d.") || in UpgradeIntrinsicCall()
831 Name.startswith("avx512.mask.load.q."))) { in UpgradeIntrinsicCall()
835 } else if (IsX86 && Name.startswith("xop.vpcom")) { in UpgradeIntrinsicCall()
858 if (Name.startswith("lt")) in UpgradeIntrinsicCall()
860 else if (Name.startswith("le")) in UpgradeIntrinsicCall()
862 else if (Name.startswith("gt")) in UpgradeIntrinsicCall()
864 else if (Name.startswith("ge")) in UpgradeIntrinsicCall()
866 else if (Name.startswith("eq")) in UpgradeIntrinsicCall()
868 else if (Name.startswith("ne")) in UpgradeIntrinsicCall()
870 else if (Name.startswith("false")) in UpgradeIntrinsicCall()
872 else if (Name.startswith("true")) in UpgradeIntrinsicCall()
897 } else if (IsX86 && Name.startswith("avx.vbroadcast")) { in UpgradeIntrinsicCall()
910 } else if (IsX86 && (Name.startswith("sse41.pmovsx") || in UpgradeIntrinsicCall()
911 Name.startswith("sse41.pmovzx") || in UpgradeIntrinsicCall()
912 Name.startswith("avx2.pmovsx") || in UpgradeIntrinsicCall()
913 Name.startswith("avx2.pmovzx"))) { in UpgradeIntrinsicCall()
938 } else if (IsX86 && (Name.startswith("avx2.pbroadcast") || in UpgradeIntrinsicCall()
939 Name.startswith("avx2.vbroadcast") || in UpgradeIntrinsicCall()
940 Name.startswith("avx512.pbroadcast") || in UpgradeIntrinsicCall()
941 Name.startswith("avx512.mask.broadcast.s"))) { in UpgradeIntrinsicCall()
952 } else if (IsX86 && Name.startswith("avx512.mask.palignr.")) { in UpgradeIntrinsicCall()
983 Name.startswith("sse41.blendp") || in UpgradeIntrinsicCall()
984 Name.startswith("avx.blend.p") || in UpgradeIntrinsicCall()
986 Name.startswith("avx2.pblendd."))) { in UpgradeIntrinsicCall()
998 } else if (IsX86 && (Name.startswith("avx.vinsertf128.") || in UpgradeIntrinsicCall()
1036 } else if (IsX86 && (Name.startswith("avx.vextractf128.") || in UpgradeIntrinsicCall()
1056 } else if (IsX86 && (Name.startswith("avx512.mask.perm.df.") || in UpgradeIntrinsicCall()
1057 Name.startswith("avx512.mask.perm.di."))) { in UpgradeIntrinsicCall()
1072 } else if (IsX86 && (Name.startswith("avx.vpermil.") || in UpgradeIntrinsicCall()
1074 Name.startswith("avx512.mask.vpermil.p") || in UpgradeIntrinsicCall()
1075 Name.startswith("avx512.mask.pshuf.d."))) { in UpgradeIntrinsicCall()
1097 Name.startswith("avx512.mask.pshufl.w."))) { in UpgradeIntrinsicCall()
1116 Name.startswith("avx512.mask.pshufh.w."))) { in UpgradeIntrinsicCall()
1134 } else if (IsX86 && (Name.startswith("avx512.mask.movddup") || in UpgradeIntrinsicCall()
1135 Name.startswith("avx512.mask.movshdup") || in UpgradeIntrinsicCall()
1136 Name.startswith("avx512.mask.movsldup"))) { in UpgradeIntrinsicCall()
1142 if (Name.startswith("avx512.mask.movshdup.")) in UpgradeIntrinsicCall()
1156 } else if (IsX86 && (Name.startswith("avx512.mask.punpckl") || in UpgradeIntrinsicCall()
1157 Name.startswith("avx512.mask.unpckl."))) { in UpgradeIntrinsicCall()
1172 } else if (IsX86 && (Name.startswith("avx512.mask.punpckh") || in UpgradeIntrinsicCall()
1173 Name.startswith("avx512.mask.unpckh."))) { in UpgradeIntrinsicCall()
1188 } else if (IsX86 && Name.startswith("avx512.mask.pand.")) { in UpgradeIntrinsicCall()
1192 } else if (IsX86 && Name.startswith("avx512.mask.pandn.")) { in UpgradeIntrinsicCall()
1197 } else if (IsX86 && Name.startswith("avx512.mask.por.")) { in UpgradeIntrinsicCall()
1201 } else if (IsX86 && Name.startswith("avx512.mask.pxor.")) { in UpgradeIntrinsicCall()
1493 return S->getString().startswith("llvm.vectorizer."); in isOldLoopArgument()
1498 assert(OldTag.startswith(OldPrefix) && "Expected old prefix"); in upgradeLoopTag()
1517 if (!OldTag->getString().startswith("llvm.vectorizer.")) in upgradeLoopArgument()