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

References

lib/IR/AutoUpgrade.cpp
  402   if (ShouldUpgradeX86Intrinsic(F, Name)) {
  409     if (F->getFunctionType()->getNumParams() == 0)
  412     rename(F);
  413     NewFn = Intrinsic::getDeclaration(F->getParent(),
  421       return UpgradePTESTIntrinsic(F, Intrinsic::x86_sse41_ptestc, NewFn);
  423       return UpgradePTESTIntrinsic(F, Intrinsic::x86_sse41_ptestz, NewFn);
  425       return UpgradePTESTIntrinsic(F, Intrinsic::x86_sse41_ptestnzc, NewFn);
  430     return UpgradeX86IntrinsicsWith8BitMask(F, Intrinsic::x86_sse41_insertps,
  433     return UpgradeX86IntrinsicsWith8BitMask(F, Intrinsic::x86_sse41_dppd,
  436     return UpgradeX86IntrinsicsWith8BitMask(F, Intrinsic::x86_sse41_dpps,
  439     return UpgradeX86IntrinsicsWith8BitMask(F, Intrinsic::x86_sse41_mpsadbw,
  442     return UpgradeX86IntrinsicsWith8BitMask(F, Intrinsic::x86_avx_dp_ps_256,
  445     return UpgradeX86IntrinsicsWith8BitMask(F, Intrinsic::x86_avx2_mpsadbw,
  449   if (Name.startswith("xop.vfrcz.ss") && F->arg_size() == 2) {
  450     rename(F);
  451     NewFn = Intrinsic::getDeclaration(F->getParent(),
  455   if (Name.startswith("xop.vfrcz.sd") && F->arg_size() == 2) {
  456     rename(F);
  457     NewFn = Intrinsic::getDeclaration(F->getParent(),
  463     auto Idx = F->getFunctionType()->getParamType(2);
  465       rename(F);
  477       NewFn = Intrinsic::getDeclaration(F->getParent(), Permil2ID);
  483     NewFn = Intrinsic::getDeclaration(F->getParent(), Intrinsic::eh_recoverfp);