reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Analysis/BasicAliasAnalysis.cpp
  785       F == LibFunc_memset_pattern16 && TLI.has(F))
lib/Analysis/ConstantFolding.cpp
 1824       if (TLI->has(Func))
 1831       if (TLI->has(Func))
 1836       if (TLI->has(Func))
 1841       if (TLI->has(Func)) {
 1848       if (TLI->has(Func))
 1855       if (TLI->has(Func))
 1862       if (TLI->has(Func))
 1869       if (TLI->has(Func))
 1875       if (TLI->has(Func)) {
 1882       if (TLI->has(Func)) {
 1891       if (V > 0.0 && TLI->has(Func))
 1898       if (V > 0.0 && TLI->has(Func))
 1906       if (V > 0.0 && TLI->has(Func))
 1914       if (TLI->has(Func)) {
 1921       if (TLI->has(Func)) {
 1928       if (TLI->has(Func))
 1935       if (TLI->has(Func))
 1940       if (V >= 0.0 && TLI->has(Func))
 1945       if (TLI->has(Func))
 1950       if (TLI->has(Func))
 1955       if (TLI->has(Func)) {
 2087         if (TLI->has(Func))
 2092         if (TLI->has(Func)) {
 2102         if (TLI->has(Func))
lib/Analysis/MemoryBuiltins.cpp
  140   if (!TLI || !TLI->getLibFunc(FnName, TLIFn) || !TLI->has(TLIFn))
  471   if (!TLI || !TLI->getLibFunc(FnName, TLIFn) || !TLI->has(TLIFn))
lib/Analysis/MemoryLocation.cpp
  197       F == LibFunc_memset_pattern16 && TLI->has(F)) {
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
12737     if (!DAG.getLibInfo().has(LibFunc_cbrt) ||
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
 3857     if (CanUseFiniteLibCall && DAG.getLibInfo().has(LibFunc_log_finite))
 3870     if (CanUseFiniteLibCall && DAG.getLibInfo().has(LibFunc_log2_finite))
 3883     if (CanUseFiniteLibCall && DAG.getLibInfo().has(LibFunc_log10_finite))
 3896     if (CanUseFiniteLibCall && DAG.getLibInfo().has(LibFunc_exp_finite))
 3909     if (CanUseFiniteLibCall && DAG.getLibInfo().has(LibFunc_exp2_finite))
 3968     if (CanUseFiniteLibCall && DAG.getLibInfo().has(LibFunc_pow_finite))
lib/LTO/UpdateCompilerUsed.cpp
   67       if (TLI.has(F))
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 2433   HasMemcpy = TLI->has(LibFunc_memcpy);
 2434   HasMemmove = TLI->has(LibFunc_memmove);
lib/Transforms/IPO/GlobalOpt.cpp
 2831   if (!TLI->has(F))
lib/Transforms/Scalar/DeadStoreElimination.cpp
  173       if (TLI.has(LibFunc_strcpy) && FnName == TLI.getName(LibFunc_strcpy))
  175       if (TLI.has(LibFunc_strncpy) && FnName == TLI.getName(LibFunc_strncpy))
  177       if (TLI.has(LibFunc_strcat) && FnName == TLI.getName(LibFunc_strcat))
  179       if (TLI.has(LibFunc_strncat) && FnName == TLI.getName(LibFunc_strncat))
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  369   HasMemset = TLI->has(LibFunc_memset);
  370   HasMemsetPattern = TLI->has(LibFunc_memset_pattern16);
  371   HasMemcpy = TLI->has(LibFunc_memcpy);
  372   HasMemCmp = TLI->has(LibFunc_memcmp);
  373   HasBCmp = TLI->has(LibFunc_bcmp);
lib/Transforms/Scalar/MemCpyOptimizer.cpp
 1231   if (!TLI->has(LibFunc_memmove))
 1420   if (!TLI->has(LibFunc_memset) || !TLI->has(LibFunc_memcpy))
 1420   if (!TLI->has(LibFunc_memset) || !TLI->has(LibFunc_memcpy))
lib/Transforms/Scalar/MergeICmps.cpp
  873   if (!TLI.has(LibFunc_memcmp))
lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
  112           !TLI->getLibFunc(*CalledFunc, LF) || !TLI->has(LF))
lib/Transforms/Utils/BuildLibCalls.cpp
  149   if (!(TLI.getLibFunc(F, TheLibFunc) && TLI.has(TheLibFunc)))
  794     return TLI->has(FloatFn);
  796     return TLI->has(DoubleFn);
  798     return TLI->has(LongDoubleFn);
  832   if (!TLI->has(TheLibFunc))
  908   if (!TLI->has(LibFunc_memcpy_chk))
 1131   if (!TLI->has(LibFunc_putchar))
 1154   if (!TLI->has(LibFunc_puts))
 1171   if (!TLI->has(LibFunc_fputc))
 1192   if (!TLI->has(LibFunc_fputc_unlocked))
 1212   if (!TLI->has(LibFunc_fputs))
 1231   if (!TLI->has(LibFunc_fputs_unlocked))
 1250   if (!TLI->has(LibFunc_fwrite))
 1274   if (!TLI->has(LibFunc_malloc))
 1294   if (!TLI.has(LibFunc_calloc))
 1316   if (!TLI->has(LibFunc_fwrite_unlocked))
 1338   if (!TLI->has(LibFunc_fgetc_unlocked))
 1357   if (!TLI->has(LibFunc_fgets_unlocked))
 1378   if (!TLI->has(LibFunc_fread_unlocked))
lib/Transforms/Utils/LibCallsShrinkWrap.cpp
  303   if (!TLI.getLibFunc(*Callee, Func) || !TLI.has(Func))
lib/Transforms/Utils/Local.cpp
 2535     return TLI.has(LF);
lib/Transforms/Utils/SimplifyLibCalls.cpp
  152   if (!TLI->getLibFunc(*InnerCallee, Func) || !TLI->has(Func) ||
 1095   if (TLI->has(LibFunc_bcmp) && isOnlyUsedInZeroEqualityComparison(CI)) {
 1165   if (!TLI->getLibFunc(*InnerCallee, Func) || !TLI->has(Func) ||
 1457         TLI->getLibFunc(CalleeFn->getName(), LibFn) && TLI->has(LibFn)) {
 1969   if (TLI->has(LibFunc_sqrtf) && (Callee->getName() == "sqrt" ||
 2053   if (F && TLI->getLibFunc(F->getName(), Func) && TLI->has(Func) &&
 2175   if (!Callee || !TLI->getLibFunc(*Callee, Func) || !TLI->has(Func) ||
 2388   if (TLI->has(LibFunc_iprintf) && !callHasFloatingPointArgument(CI)) {
 2400   if (TLI->has(LibFunc_small_printf) && !callHasFP128Argument(CI)) {
 2483   if (TLI->has(LibFunc_siprintf) && !callHasFloatingPointArgument(CI)) {
 2495   if (TLI->has(LibFunc_small_sprintf) && !callHasFP128Argument(CI)) {
 2656   if (TLI->has(LibFunc_fiprintf) && !callHasFloatingPointArgument(CI)) {
 2668   if (TLI->has(LibFunc_small_fprintf) && !callHasFP128Argument(CI)) {
 2804     return TLI->has(Func);
 2813   if (TLI->getLibFunc(*Callee, Func) && TLI->has(Func)) {
 3058   if (TLI->getLibFunc(*Callee, Func) && TLI->has(Func)) {