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

References

lib/Transforms/Utils/BuildLibCalls.cpp
  149   if (!(TLI.getLibFunc(F, TheLibFunc) && TLI.has(TheLibFunc)))
  154   if(!isLibFreeFunction(&F, TheLibFunc) && !isReallocLikeFn(&F,  &TLI))
  154   if(!isLibFreeFunction(&F, TheLibFunc) && !isReallocLikeFn(&F,  &TLI))
  155     Changed |= setDoesNotFreeMemory(F);
  157   if (F.getParent() != nullptr && F.getParent()->getRtLibUseGOT())
  157   if (F.getParent() != nullptr && F.getParent()->getRtLibUseGOT())
  158     Changed |= setNonLazyBind(F);
  163     Changed |= setOnlyReadsMemory(F);
  164     Changed |= setDoesNotThrow(F);
  165     Changed |= setOnlyAccessesArgMemory(F);
  166     Changed |= setDoesNotCapture(F, 0);
  170     Changed |= setOnlyReadsMemory(F);
  171     Changed |= setDoesNotThrow(F);
  180     Changed |= setDoesNotThrow(F);
  181     Changed |= setDoesNotCapture(F, 1);
  182     Changed |= setOnlyReadsMemory(F, 0);
  186     Changed |= setDoesNotAlias(F, 0);
  187     Changed |= setDoesNotAlias(F, 1);
  191     Changed |= setReturnedArg(F, 0);
  195     Changed |= setDoesNotThrow(F);
  196     Changed |= setDoesNotCapture(F, 1);
  197     Changed |= setOnlyReadsMemory(F, 1);
  200     Changed |= setDoesNotThrow(F);
  201     Changed |= setDoesNotCapture(F, 0);
  202     Changed |= setDoesNotCapture(F, 1);
  203     Changed |= setOnlyReadsMemory(F, 1);
  212     Changed |= setOnlyReadsMemory(F);
  213     Changed |= setDoesNotThrow(F);
  214     Changed |= setDoesNotCapture(F, 0);
  215     Changed |= setDoesNotCapture(F, 1);
  219     Changed |= setOnlyReadsMemory(F);
  220     Changed |= setDoesNotThrow(F);
  221     Changed |= setDoesNotCapture(F, 1);
  225     Changed |= setDoesNotThrow(F);
  226     Changed |= setDoesNotCapture(F, 1);
  227     Changed |= setOnlyReadsMemory(F, 1);
  230     Changed |= setDoesNotThrow(F);
  231     Changed |= setDoesNotCapture(F, 0);
  232     Changed |= setOnlyReadsMemory(F, 0);
  236     Changed |= setDoesNotThrow(F);
  237     Changed |= setDoesNotCapture(F, 0);
  241     Changed |= setDoesNotThrow(F);
  242     Changed |= setRetDoesNotAlias(F);
  243     Changed |= setDoesNotCapture(F, 0);
  244     Changed |= setOnlyReadsMemory(F, 0);
  248     Changed |= setDoesNotThrow(F);
  249     Changed |= setDoesNotCapture(F, 0);
  250     Changed |= setDoesNotCapture(F, 1);
  251     Changed |= setOnlyReadsMemory(F, 0);
  254     Changed |= setDoesNotThrow(F);
  255     Changed |= setDoesNotCapture(F, 0);
  256     Changed |= setDoesNotCapture(F, 1);
  257     Changed |= setOnlyReadsMemory(F, 0);
  258     Changed |= setOnlyReadsMemory(F, 1);
  261     Changed |= setDoesNotThrow(F);
  262     Changed |= setDoesNotCapture(F, 0);
  263     Changed |= setDoesNotAlias(F, 0);
  264     Changed |= setDoesNotCapture(F, 1);
  265     Changed |= setOnlyReadsMemory(F, 1);
  268     Changed |= setDoesNotThrow(F);
  269     Changed |= setDoesNotCapture(F, 0);
  270     Changed |= setDoesNotAlias(F, 0);
  271     Changed |= setDoesNotCapture(F, 2);
  272     Changed |= setOnlyReadsMemory(F, 2);
  275     Changed |= setDoesNotThrow(F);
  276     Changed |= setDoesNotCapture(F, 1);
  277     Changed |= setDoesNotCapture(F, 2);
  278     Changed |= setOnlyReadsMemory(F, 1);
  282     Changed |= setDoesNotCapture(F, 0);
  283     Changed |= setOnlyReadsMemory(F, 0);
  286     Changed |= setDoesNotThrow(F);
  287     Changed |= setRetDoesNotAlias(F);
  290     Changed |= setOnlyReadsMemory(F);
  291     Changed |= setDoesNotThrow(F);
  292     Changed |= setDoesNotCapture(F, 0);
  293     Changed |= setDoesNotCapture(F, 1);
  297     Changed |= setOnlyReadsMemory(F);
  298     Changed |= setDoesNotThrow(F);
  303     Changed |= setDoesNotThrow(F);
  304     Changed |= setDoesNotCapture(F, 1);
  307     Changed |= setDoesNotAlias(F, 0);
  308     Changed |= setDoesNotAlias(F, 1);
  309     Changed |= setReturnedArg(F, 0);
  310     Changed |= setDoesNotThrow(F);
  311     Changed |= setDoesNotCapture(F, 1);
  312     Changed |= setOnlyReadsMemory(F, 1);
  315     Changed |= setReturnedArg(F, 0);
  316     Changed |= setDoesNotThrow(F);
  317     Changed |= setDoesNotCapture(F, 1);
  318     Changed |= setOnlyReadsMemory(F, 1);
  322     Changed |= setDoesNotAlias(F, 0);
  323     Changed |= setDoesNotAlias(F, 1);
  324     Changed |= setDoesNotThrow(F);
  325     Changed |= setDoesNotCapture(F, 1);
  326     Changed |= setOnlyReadsMemory(F, 1);
  329     Changed |= setDoesNotThrow(F);
  332     Changed |= setRetDoesNotAlias(F);
  335     Changed |= setDoesNotThrow(F);
  336     Changed |= setDoesNotCapture(F, 0);
  337     Changed |= setOnlyReadsMemory(F, 0);
  340     Changed |= setDoesNotThrow(F);
  341     Changed |= setDoesNotCapture(F, 0);
  344     Changed |= setDoesNotThrow(F);
  345     Changed |= setRetDoesNotAlias(F);
  346     Changed |= setDoesNotCapture(F, 0);
  350     Changed |= setDoesNotCapture(F, 1);
  353     Changed |= setDoesNotThrow(F);
  354     Changed |= setDoesNotCapture(F, 0);
  359     Changed |= setDoesNotThrow(F);
  360     Changed |= setDoesNotCapture(F, 0);
  361     Changed |= setOnlyReadsMemory(F, 0);
  364     Changed |= setDoesNotThrow(F);
  365     Changed |= setDoesNotCapture(F, 0);
  366     Changed |= setDoesNotCapture(F, 1);
  367     Changed |= setOnlyReadsMemory(F, 0);
  368     Changed |= setOnlyReadsMemory(F, 1);
  371     Changed |= setDoesNotThrow(F);
  372     Changed |= setDoesNotCapture(F, 0);
  373     Changed |= setDoesNotCapture(F, 1);
  374     Changed |= setOnlyReadsMemory(F, 0);
  378     Changed |= setDoesNotCapture(F, 1);
  379     Changed |= setOnlyReadsMemory(F, 1);
  382     Changed |= setDoesNotThrow(F);
  383     Changed |= setDoesNotCapture(F, 0);
  384     Changed |= setDoesNotCapture(F, 1);
  385     Changed |= setOnlyReadsMemory(F, 0);
  388     Changed |= setDoesNotThrow(F);
  389     Changed |= setOnlyReadsMemory(F);
  390     Changed |= setDoesNotCapture(F, 0);
  391     Changed |= setDoesNotCapture(F, 1);
  394     Changed |= setDoesNotThrow(F);
  395     Changed |= setDoesNotCapture(F, 0);
  398     Changed |= setDoesNotThrow(F);
  399     Changed |= setRetDoesNotAlias(F);
  403     Changed |= setDoesNotThrow(F);
  404     Changed |= setDoesNotCapture(F, 0);
  405     Changed |= setOnlyReadsMemory(F, 0);
  410     Changed |= setDoesNotThrow(F);
  411     Changed |= setDoesNotCapture(F, 0);
  417     Changed |= setDoesNotThrow(F);
  418     Changed |= setOnlyReadsMemory(F);
  419     Changed |= setDoesNotCapture(F, 0);
  422     Changed |= setDoesNotThrow(F);
  423     Changed |= setDoesNotCapture(F, 0);
  424     Changed |= setOnlyReadsMemory(F, 0);
  427     Changed |= setDoesNotThrow(F);
  428     Changed |= setRetDoesNotAlias(F);
  429     Changed |= setDoesNotCapture(F, 0);
  430     Changed |= setDoesNotCapture(F, 1);
  431     Changed |= setOnlyReadsMemory(F, 0);
  432     Changed |= setOnlyReadsMemory(F, 1);
  435     Changed |= setDoesNotThrow(F);
  436     Changed |= setRetDoesNotAlias(F);
  437     Changed |= setDoesNotCapture(F, 1);
  438     Changed |= setOnlyReadsMemory(F, 1);
  455     Changed |= setDoesNotThrow(F);
  456     Changed |= setDoesNotCapture(F, 0);
  459     Changed |= setDoesNotThrow(F);
  460     Changed |= setDoesNotCapture(F, 0);
  461     Changed |= setOnlyReadsMemory(F);
  470     Changed |= setDoesNotThrow(F);
  471     Changed |= setDoesNotCapture(F, 1);
  475     Changed |= setDoesNotThrow(F);
  476     Changed |= setDoesNotCapture(F, 2);
  480     Changed |= setDoesNotThrow(F);
  481     Changed |= setDoesNotCapture(F, 0);
  482     Changed |= setDoesNotCapture(F, 3);
  486     Changed |= setDoesNotThrow(F);
  487     Changed |= setDoesNotCapture(F, 0);
  488     Changed |= setDoesNotCapture(F, 3);
  493     Changed |= setDoesNotThrow(F);
  494     Changed |= setDoesNotCapture(F, 0);
  495     Changed |= setDoesNotCapture(F, 1);
  496     Changed |= setOnlyReadsMemory(F, 0);
  500     Changed |= setDoesNotThrow(F);
  501     Changed |= setDoesNotCapture(F, 0);
  502     Changed |= setDoesNotCapture(F, 1);
  503     Changed |= setOnlyReadsMemory(F, 1);
  506     Changed |= setDoesNotThrow(F);
  507     Changed |= setDoesNotCapture(F, 0);
  508     Changed |= setDoesNotCapture(F, 1);
  513     Changed |= setDoesNotThrow(F);
  514     Changed |= setDoesNotCapture(F, 0);
  517     Changed |= setDoesNotThrow(F);
  518     Changed |= setOnlyReadsMemory(F);
  519     Changed |= setDoesNotCapture(F, 0);
  524     Changed |= setDoesNotThrow(F);
  527     Changed |= setDoesNotThrow(F);
  528     Changed |= setDoesNotCapture(F, 1);
  531     Changed |= setDoesNotThrow(F);
  532     Changed |= setDoesNotCapture(F, 0);
  533     Changed |= setOnlyReadsMemory(F, 0);
  536     Changed |= setDoesNotThrow(F);
  537     Changed |= setDoesNotCapture(F, 1);
  540     Changed |= setDoesNotThrow(F);
  541     Changed |= setDoesNotCapture(F, 0);
  544     Changed |= setDoesNotThrow(F);
  545     Changed |= setDoesNotCapture(F, 0);
  546     Changed |= setOnlyReadsMemory(F, 0);
  549     Changed |= setDoesNotThrow(F);
  550     Changed |= setDoesNotCapture(F, 0);
  551     Changed |= setOnlyReadsMemory(F, 0);
  555     Changed |= setDoesNotThrow(F);
  556     Changed |= setDoesNotCapture(F, 0);
  557     Changed |= setDoesNotCapture(F, 1);
  558     Changed |= setOnlyReadsMemory(F, 0);
  559     Changed |= setOnlyReadsMemory(F, 1);
  563     Changed |= setDoesNotThrow(F);
  564     Changed |= setDoesNotCapture(F, 1);
  569     Changed |= setDoesNotThrow(F);
  570     Changed |= setDoesNotCapture(F, 0);
  571     Changed |= setOnlyReadsMemory(F, 0);
  575     Changed |= setDoesNotCapture(F, 1);
  579     Changed |= setDoesNotCapture(F, 1);
  580     Changed |= setOnlyReadsMemory(F, 1);
  584     Changed |= setDoesNotThrow(F);
  587     Changed |= setDoesNotThrow(F);
  588     Changed |= setRetDoesNotAlias(F);
  589     Changed |= setDoesNotCapture(F, 0);
  590     Changed |= setDoesNotCapture(F, 1);
  591     Changed |= setOnlyReadsMemory(F, 0);
  592     Changed |= setOnlyReadsMemory(F, 1);
  595     Changed |= setDoesNotThrow(F);
  596     Changed |= setDoesNotCapture(F, 0);
  599     Changed |= setDoesNotThrow(F);
  600     Changed |= setDoesNotCapture(F, 0);
  601     Changed |= setOnlyReadsMemory(F, 0);
  604     Changed |= setDoesNotThrow(F);
  605     Changed |= setDoesNotCapture(F, 0);
  606     Changed |= setDoesNotCapture(F, 1);
  607     Changed |= setOnlyReadsMemory(F, 0);
  608     Changed |= setOnlyReadsMemory(F, 1);
  611     Changed |= setDoesNotThrow(F);
  612     Changed |= setDoesNotCapture(F, 0);
  613     Changed |= setDoesNotCapture(F, 1);
  614     Changed |= setOnlyReadsMemory(F, 1);
  617     Changed |= setDoesNotThrow(F);
  618     Changed |= setRetDoesNotAlias(F);
  621     Changed |= setDoesNotThrow(F);
  622     Changed |= setDoesNotCapture(F, 0);
  623     Changed |= setOnlyReadsMemory(F, 0);
  627     Changed |= setDoesNotThrow(F);
  628     Changed |= setDoesNotCapture(F, 0);
  629     Changed |= setDoesNotCapture(F, 1);
  630     Changed |= setOnlyReadsMemory(F, 1);
  633     Changed |= setDoesNotThrow(F);
  634     Changed |= setDoesNotCapture(F, 0);
  635     Changed |= setDoesNotCapture(F, 2);
  636     Changed |= setOnlyReadsMemory(F, 2);
  640     Changed |= setDoesNotCapture(F, 0);
  641     Changed |= setOnlyReadsMemory(F, 0);
  644     Changed |= setDoesNotThrow(F);
  645     Changed |= setRetDoesNotAlias(F);
  646     Changed |= setDoesNotCapture(F, 0);
  647     Changed |= setOnlyReadsMemory(F, 0);
  650     Changed |= setDoesNotThrow(F);
  651     Changed |= setRetDoesNotAlias(F);
  654     Changed |= setDoesNotThrow(F);
  655     Changed |= setDoesNotCapture(F, 0);
  661     Changed |= setDoesNotThrow(F);
  662     Changed |= setDoesNotAccessMemory(F);
  665     Changed |= setDoesNotThrow(F);
  666     Changed |= setDoesNotCapture(F, 0);
  667     Changed |= setDoesNotCapture(F, 1);
  668     Changed |= setOnlyReadsMemory(F, 0);
  671     Changed |= setDoesNotThrow(F);
  672     Changed |= setDoesNotCapture(F, 0);
  673     Changed |= setOnlyReadsMemory(F, 0);
  677     Changed |= setDoesNotCapture(F, 3);
  681     Changed |= setDoesNotThrow(F);
  682     Changed |= setRetDoesNotAlias(F);
  683     Changed |= setDoesNotCapture(F, 0);
  684     Changed |= setOnlyReadsMemory(F, 0);
  687     Changed |= setDoesNotThrow(F);
  688     Changed |= setDoesNotCapture(F, 1);
  689     Changed |= setOnlyReadsMemory(F, 1);
  692     Changed |= setDoesNotThrow(F);
  693     Changed |= setDoesNotCapture(F, 0);
  696     Changed |= setDoesNotThrow(F);
  697     Changed |= setDoesNotCapture(F, 1);
  700     Changed |= setDoesNotThrow(F);
  701     Changed |= setDoesNotCapture(F, 0);
  702     Changed |= setOnlyReadsMemory(F, 0);
  707     Changed |= setDoesNotThrow(F);
  708     Changed |= setDoesNotCapture(F, 0);
  709     Changed |= setDoesNotCapture(F, 1);
  710     Changed |= setOnlyReadsMemory(F, 0);
  713     Changed |= setDoesNotThrow(F);
  714     Changed |= setDoesNotCapture(F, 0);
  715     Changed |= setDoesNotCapture(F, 1);
  716     Changed |= setOnlyReadsMemory(F, 0);
  717     Changed |= setOnlyReadsMemory(F, 1);
  720     Changed |= setDoesNotThrow(F);
  721     Changed |= setRetDoesNotAlias(F);
  722     Changed |= setDoesNotCapture(F, 0);
  723     Changed |= setDoesNotCapture(F, 1);
  724     Changed |= setOnlyReadsMemory(F, 0);
  725     Changed |= setOnlyReadsMemory(F, 1);
  729     Changed |= setDoesNotThrow(F);
  730     Changed |= setDoesNotCapture(F, 0);
  733     Changed |= setDoesNotThrow(F);
  734     Changed |= setRetDoesNotAlias(F);
  738     Changed |= setDoesNotThrow(F);
  739     Changed |= setDoesNotCapture(F, 1);
  743     Changed |= setDoesNotCapture(F, 0);
  744     Changed |= setOnlyReadsMemory(F, 0);
  750     Changed |= setDoesNotThrow(F);
  751     Changed |= setDoesNotCapture(F, 0);
  752     Changed |= setDoesNotCapture(F, 1);
  763     Changed |= setRetNonNull(F);
  764     Changed |= setRetDoesNotAlias(F);
  770     Changed |= setOnlyAccessesArgMemory(F);
  771     Changed |= setDoesNotCapture(F, 0);
  772     Changed |= setDoesNotCapture(F, 1);
  773     Changed |= setOnlyReadsMemory(F, 1);
  777     Changed |= setDoesNotAccessMemory(F);
  778     Changed |= setDoesNotThrow(F);