Lines Matching refs:TLI
54 static void initialize(TargetLibraryInfoImpl &TLI, const Triple &T, in initialize() argument
65 TLI.setUnavailable(LibFunc::ldexp); in initialize()
66 TLI.setUnavailable(LibFunc::ldexpf); in initialize()
67 TLI.setUnavailable(LibFunc::ldexpl); in initialize()
68 TLI.setUnavailable(LibFunc::exp10); in initialize()
69 TLI.setUnavailable(LibFunc::exp10f); in initialize()
70 TLI.setUnavailable(LibFunc::exp10l); in initialize()
71 TLI.setUnavailable(LibFunc::log10); in initialize()
72 TLI.setUnavailable(LibFunc::log10f); in initialize()
73 TLI.setUnavailable(LibFunc::log10l); in initialize()
80 TLI.setUnavailable(LibFunc::memcpy); in initialize()
81 TLI.setUnavailable(LibFunc::memset); in initialize()
82 TLI.setUnavailable(LibFunc::memset_pattern16); in initialize()
90 TLI.setUnavailable(LibFunc::memset_pattern16); in initialize()
93 TLI.setUnavailable(LibFunc::memset_pattern16); in initialize()
95 TLI.setUnavailable(LibFunc::memset_pattern16); in initialize()
99 TLI.setUnavailable(LibFunc::sinpi); in initialize()
100 TLI.setUnavailable(LibFunc::sinpif); in initialize()
101 TLI.setUnavailable(LibFunc::cospi); in initialize()
102 TLI.setUnavailable(LibFunc::cospif); in initialize()
103 TLI.setUnavailable(LibFunc::sincospi_stret); in initialize()
104 TLI.setUnavailable(LibFunc::sincospif_stret); in initialize()
114 TLI.setAvailableWithName(LibFunc::fwrite, "fwrite$UNIX2003"); in initialize()
115 TLI.setAvailableWithName(LibFunc::fputs, "fputs$UNIX2003"); in initialize()
120 TLI.setUnavailable(LibFunc::iprintf); in initialize()
121 TLI.setUnavailable(LibFunc::siprintf); in initialize()
122 TLI.setUnavailable(LibFunc::fiprintf); in initialize()
127 TLI.setUnavailable(LibFunc::acosl); in initialize()
128 TLI.setUnavailable(LibFunc::asinl); in initialize()
129 TLI.setUnavailable(LibFunc::atanl); in initialize()
130 TLI.setUnavailable(LibFunc::atan2l); in initialize()
131 TLI.setUnavailable(LibFunc::ceill); in initialize()
132 TLI.setUnavailable(LibFunc::copysignl); in initialize()
133 TLI.setUnavailable(LibFunc::cosl); in initialize()
134 TLI.setUnavailable(LibFunc::coshl); in initialize()
135 TLI.setUnavailable(LibFunc::expl); in initialize()
136 TLI.setUnavailable(LibFunc::fabsf); // Win32 and Win64 both lack fabsf in initialize()
137 TLI.setUnavailable(LibFunc::fabsl); in initialize()
138 TLI.setUnavailable(LibFunc::floorl); in initialize()
139 TLI.setUnavailable(LibFunc::fmaxl); in initialize()
140 TLI.setUnavailable(LibFunc::fminl); in initialize()
141 TLI.setUnavailable(LibFunc::fmodl); in initialize()
142 TLI.setUnavailable(LibFunc::frexpl); in initialize()
143 TLI.setUnavailable(LibFunc::ldexpf); in initialize()
144 TLI.setUnavailable(LibFunc::ldexpl); in initialize()
145 TLI.setUnavailable(LibFunc::logl); in initialize()
146 TLI.setUnavailable(LibFunc::modfl); in initialize()
147 TLI.setUnavailable(LibFunc::powl); in initialize()
148 TLI.setUnavailable(LibFunc::sinl); in initialize()
149 TLI.setUnavailable(LibFunc::sinhl); in initialize()
150 TLI.setUnavailable(LibFunc::sqrtl); in initialize()
151 TLI.setUnavailable(LibFunc::tanl); in initialize()
152 TLI.setUnavailable(LibFunc::tanhl); in initialize()
155 TLI.setUnavailable(LibFunc::acosh); in initialize()
156 TLI.setUnavailable(LibFunc::acoshf); in initialize()
157 TLI.setUnavailable(LibFunc::acoshl); in initialize()
158 TLI.setUnavailable(LibFunc::asinh); in initialize()
159 TLI.setUnavailable(LibFunc::asinhf); in initialize()
160 TLI.setUnavailable(LibFunc::asinhl); in initialize()
161 TLI.setUnavailable(LibFunc::atanh); in initialize()
162 TLI.setUnavailable(LibFunc::atanhf); in initialize()
163 TLI.setUnavailable(LibFunc::atanhl); in initialize()
164 TLI.setUnavailable(LibFunc::cbrt); in initialize()
165 TLI.setUnavailable(LibFunc::cbrtf); in initialize()
166 TLI.setUnavailable(LibFunc::cbrtl); in initialize()
167 TLI.setUnavailable(LibFunc::exp2); in initialize()
168 TLI.setUnavailable(LibFunc::exp2f); in initialize()
169 TLI.setUnavailable(LibFunc::exp2l); in initialize()
170 TLI.setUnavailable(LibFunc::expm1); in initialize()
171 TLI.setUnavailable(LibFunc::expm1f); in initialize()
172 TLI.setUnavailable(LibFunc::expm1l); in initialize()
173 TLI.setUnavailable(LibFunc::log2); in initialize()
174 TLI.setUnavailable(LibFunc::log2f); in initialize()
175 TLI.setUnavailable(LibFunc::log2l); in initialize()
176 TLI.setUnavailable(LibFunc::log1p); in initialize()
177 TLI.setUnavailable(LibFunc::log1pf); in initialize()
178 TLI.setUnavailable(LibFunc::log1pl); in initialize()
179 TLI.setUnavailable(LibFunc::logb); in initialize()
180 TLI.setUnavailable(LibFunc::logbf); in initialize()
181 TLI.setUnavailable(LibFunc::logbl); in initialize()
182 TLI.setUnavailable(LibFunc::nearbyint); in initialize()
183 TLI.setUnavailable(LibFunc::nearbyintf); in initialize()
184 TLI.setUnavailable(LibFunc::nearbyintl); in initialize()
185 TLI.setUnavailable(LibFunc::rint); in initialize()
186 TLI.setUnavailable(LibFunc::rintf); in initialize()
187 TLI.setUnavailable(LibFunc::rintl); in initialize()
188 TLI.setUnavailable(LibFunc::round); in initialize()
189 TLI.setUnavailable(LibFunc::roundf); in initialize()
190 TLI.setUnavailable(LibFunc::roundl); in initialize()
191 TLI.setUnavailable(LibFunc::trunc); in initialize()
192 TLI.setUnavailable(LibFunc::truncf); in initialize()
193 TLI.setUnavailable(LibFunc::truncl); in initialize()
196 TLI.setAvailableWithName(LibFunc::copysign, "_copysign"); in initialize()
200 TLI.setUnavailable(LibFunc::acosf); in initialize()
201 TLI.setUnavailable(LibFunc::asinf); in initialize()
202 TLI.setUnavailable(LibFunc::atanf); in initialize()
203 TLI.setUnavailable(LibFunc::atan2f); in initialize()
204 TLI.setUnavailable(LibFunc::ceilf); in initialize()
205 TLI.setUnavailable(LibFunc::copysignf); in initialize()
206 TLI.setUnavailable(LibFunc::cosf); in initialize()
207 TLI.setUnavailable(LibFunc::coshf); in initialize()
208 TLI.setUnavailable(LibFunc::expf); in initialize()
209 TLI.setUnavailable(LibFunc::floorf); in initialize()
210 TLI.setUnavailable(LibFunc::fminf); in initialize()
211 TLI.setUnavailable(LibFunc::fmaxf); in initialize()
212 TLI.setUnavailable(LibFunc::fmodf); in initialize()
213 TLI.setUnavailable(LibFunc::logf); in initialize()
214 TLI.setUnavailable(LibFunc::log10f); in initialize()
215 TLI.setUnavailable(LibFunc::modff); in initialize()
216 TLI.setUnavailable(LibFunc::powf); in initialize()
217 TLI.setUnavailable(LibFunc::sinf); in initialize()
218 TLI.setUnavailable(LibFunc::sinhf); in initialize()
219 TLI.setUnavailable(LibFunc::sqrtf); in initialize()
220 TLI.setUnavailable(LibFunc::tanf); in initialize()
221 TLI.setUnavailable(LibFunc::tanhf); in initialize()
226 TLI.setUnavailable(LibFunc::access); in initialize()
227 TLI.setUnavailable(LibFunc::bcmp); in initialize()
228 TLI.setUnavailable(LibFunc::bcopy); in initialize()
229 TLI.setUnavailable(LibFunc::bzero); in initialize()
230 TLI.setUnavailable(LibFunc::chmod); in initialize()
231 TLI.setUnavailable(LibFunc::chown); in initialize()
232 TLI.setUnavailable(LibFunc::closedir); in initialize()
233 TLI.setUnavailable(LibFunc::ctermid); in initialize()
234 TLI.setUnavailable(LibFunc::fdopen); in initialize()
235 TLI.setUnavailable(LibFunc::ffs); in initialize()
236 TLI.setUnavailable(LibFunc::fileno); in initialize()
237 TLI.setUnavailable(LibFunc::flockfile); in initialize()
238 TLI.setUnavailable(LibFunc::fseeko); in initialize()
239 TLI.setUnavailable(LibFunc::fstat); in initialize()
240 TLI.setUnavailable(LibFunc::fstatvfs); in initialize()
241 TLI.setUnavailable(LibFunc::ftello); in initialize()
242 TLI.setUnavailable(LibFunc::ftrylockfile); in initialize()
243 TLI.setUnavailable(LibFunc::funlockfile); in initialize()
244 TLI.setUnavailable(LibFunc::getc_unlocked); in initialize()
245 TLI.setUnavailable(LibFunc::getitimer); in initialize()
246 TLI.setUnavailable(LibFunc::getlogin_r); in initialize()
247 TLI.setUnavailable(LibFunc::getpwnam); in initialize()
248 TLI.setUnavailable(LibFunc::gettimeofday); in initialize()
249 TLI.setUnavailable(LibFunc::htonl); in initialize()
250 TLI.setUnavailable(LibFunc::htons); in initialize()
251 TLI.setUnavailable(LibFunc::lchown); in initialize()
252 TLI.setUnavailable(LibFunc::lstat); in initialize()
253 TLI.setUnavailable(LibFunc::memccpy); in initialize()
254 TLI.setUnavailable(LibFunc::mkdir); in initialize()
255 TLI.setUnavailable(LibFunc::ntohl); in initialize()
256 TLI.setUnavailable(LibFunc::ntohs); in initialize()
257 TLI.setUnavailable(LibFunc::open); in initialize()
258 TLI.setUnavailable(LibFunc::opendir); in initialize()
259 TLI.setUnavailable(LibFunc::pclose); in initialize()
260 TLI.setUnavailable(LibFunc::popen); in initialize()
261 TLI.setUnavailable(LibFunc::pread); in initialize()
262 TLI.setUnavailable(LibFunc::pwrite); in initialize()
263 TLI.setUnavailable(LibFunc::read); in initialize()
264 TLI.setUnavailable(LibFunc::readlink); in initialize()
265 TLI.setUnavailable(LibFunc::realpath); in initialize()
266 TLI.setUnavailable(LibFunc::rmdir); in initialize()
267 TLI.setUnavailable(LibFunc::setitimer); in initialize()
268 TLI.setUnavailable(LibFunc::stat); in initialize()
269 TLI.setUnavailable(LibFunc::statvfs); in initialize()
270 TLI.setUnavailable(LibFunc::stpcpy); in initialize()
271 TLI.setUnavailable(LibFunc::stpncpy); in initialize()
272 TLI.setUnavailable(LibFunc::strcasecmp); in initialize()
273 TLI.setUnavailable(LibFunc::strncasecmp); in initialize()
274 TLI.setUnavailable(LibFunc::times); in initialize()
275 TLI.setUnavailable(LibFunc::uname); in initialize()
276 TLI.setUnavailable(LibFunc::unlink); in initialize()
277 TLI.setUnavailable(LibFunc::unsetenv); in initialize()
278 TLI.setUnavailable(LibFunc::utime); in initialize()
279 TLI.setUnavailable(LibFunc::utimes); in initialize()
280 TLI.setUnavailable(LibFunc::write); in initialize()
284 TLI.setUnavailable(LibFunc::atoll); in initialize()
285 TLI.setUnavailable(LibFunc::frexpf); in initialize()
286 TLI.setUnavailable(LibFunc::llabs); in initialize()
294 TLI.setUnavailable(LibFunc::exp10l); in initialize()
296 TLI.setUnavailable(LibFunc::exp10); in initialize()
297 TLI.setUnavailable(LibFunc::exp10f); in initialize()
299 TLI.setAvailableWithName(LibFunc::exp10, "__exp10"); in initialize()
300 TLI.setAvailableWithName(LibFunc::exp10f, "__exp10f"); in initialize()
306 TLI.setUnavailable(LibFunc::exp10l); in initialize()
311 TLI.setUnavailable(LibFunc::exp10); in initialize()
312 TLI.setUnavailable(LibFunc::exp10f); in initialize()
314 TLI.setAvailableWithName(LibFunc::exp10, "__exp10"); in initialize()
315 TLI.setAvailableWithName(LibFunc::exp10f, "__exp10f"); in initialize()
326 TLI.setUnavailable(LibFunc::exp10); in initialize()
327 TLI.setUnavailable(LibFunc::exp10f); in initialize()
328 TLI.setUnavailable(LibFunc::exp10l); in initialize()
346 TLI.setUnavailable(LibFunc::ffsl); in initialize()
362 TLI.setUnavailable(LibFunc::ffsll); in initialize()
370 TLI.setUnavailable(LibFunc::fls); in initialize()
371 TLI.setUnavailable(LibFunc::flsl); in initialize()
372 TLI.setUnavailable(LibFunc::flsll); in initialize()
377 TLI.setUnavailable(LibFunc::dunder_strdup); in initialize()
378 TLI.setUnavailable(LibFunc::dunder_strtok_r); in initialize()
379 TLI.setUnavailable(LibFunc::dunder_isoc99_scanf); in initialize()
380 TLI.setUnavailable(LibFunc::dunder_isoc99_sscanf); in initialize()
381 TLI.setUnavailable(LibFunc::under_IO_getc); in initialize()
382 TLI.setUnavailable(LibFunc::under_IO_putc); in initialize()
383 TLI.setUnavailable(LibFunc::memalign); in initialize()
384 TLI.setUnavailable(LibFunc::fopen64); in initialize()
385 TLI.setUnavailable(LibFunc::fseeko64); in initialize()
386 TLI.setUnavailable(LibFunc::fstat64); in initialize()
387 TLI.setUnavailable(LibFunc::fstatvfs64); in initialize()
388 TLI.setUnavailable(LibFunc::ftello64); in initialize()
389 TLI.setUnavailable(LibFunc::lstat64); in initialize()
390 TLI.setUnavailable(LibFunc::open64); in initialize()
391 TLI.setUnavailable(LibFunc::stat64); in initialize()
392 TLI.setUnavailable(LibFunc::statvfs64); in initialize()
393 TLI.setUnavailable(LibFunc::tmpfile64); in initialize()
408 TLI.disableAllFunctions(); in initialize()
409 TLI.setAvailable(LibFunc::nvvm_reflect); in initialize()
411 TLI.setUnavailable(LibFunc::nvvm_reflect); in initialize()
414 TLI.addVectorizableFunctionsFromVecLib(ClVectorLibrary); in initialize()
431 TargetLibraryInfoImpl::TargetLibraryInfoImpl(const TargetLibraryInfoImpl &TLI) in TargetLibraryInfoImpl() argument
432 : CustomNames(TLI.CustomNames) { in TargetLibraryInfoImpl()
433 memcpy(AvailableArray, TLI.AvailableArray, sizeof(AvailableArray)); in TargetLibraryInfoImpl()
434 VectorDescs = TLI.VectorDescs; in TargetLibraryInfoImpl()
435 ScalarDescs = TLI.ScalarDescs; in TargetLibraryInfoImpl()
438 TargetLibraryInfoImpl::TargetLibraryInfoImpl(TargetLibraryInfoImpl &&TLI) in TargetLibraryInfoImpl() argument
439 : CustomNames(std::move(TLI.CustomNames)) { in TargetLibraryInfoImpl()
440 std::move(std::begin(TLI.AvailableArray), std::end(TLI.AvailableArray), in TargetLibraryInfoImpl()
442 VectorDescs = TLI.VectorDescs; in TargetLibraryInfoImpl()
443 ScalarDescs = TLI.ScalarDescs; in TargetLibraryInfoImpl()
446 TargetLibraryInfoImpl &TargetLibraryInfoImpl::operator=(const TargetLibraryInfoImpl &TLI) { in operator =() argument
447 CustomNames = TLI.CustomNames; in operator =()
448 memcpy(AvailableArray, TLI.AvailableArray, sizeof(AvailableArray)); in operator =()
452 TargetLibraryInfoImpl &TargetLibraryInfoImpl::operator=(TargetLibraryInfoImpl &&TLI) { in operator =() argument
453 CustomNames = std::move(TLI.CustomNames); in operator =()
454 std::move(std::begin(TLI.AvailableArray), std::end(TLI.AvailableArray), in operator =()
1150 : ImmutablePass(ID), TLIImpl(), TLI(TLIImpl) { in TargetLibraryInfoWrapperPass()
1155 : ImmutablePass(ID), TLIImpl(T), TLI(TLIImpl) { in TargetLibraryInfoWrapperPass()
1161 : ImmutablePass(ID), TLIImpl(TLIImpl), TLI(this->TLIImpl) { in TargetLibraryInfoWrapperPass()