Home
last modified time | relevance | path

Searched refs:IToFP (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandLargeFpConvert.cpp308 static void expandIToFP(Instruction *IToFP) { in expandIToFP() argument
309 IRBuilder<> Builder(IToFP); in expandIToFP()
310 auto *IntVal = IToFP->getOperand(0); in expandIToFP()
538 if (IToFP->getType()->isDoubleTy()) { in expandIToFP()
544 A4 = Builder.CreateBitCast(Or1, IToFP->getType()); in expandIToFP()
545 } else if (IToFP->getType()->isX86_FP80Ty()) { in expandIToFP()
548 A4 = Builder.CreateFPTrunc(A40, IToFP->getType()); in expandIToFP()
549 } else if (IToFP->getType()->isHalfTy()) { in expandIToFP()
565 IToFP->replaceAllUsesWith(Retval0); in expandIToFP()
566 IToFP->dropAllReferences(); in expandIToFP()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp1071 auto &IToFP = getActionDefinitionsBuilder({G_SITOFP, G_UITOFP}) in AMDGPULegalizerInfo() local
1076 IToFP.legalFor({{S16, S16}}); in AMDGPULegalizerInfo()
1077 IToFP.clampScalar(1, S32, S64) in AMDGPULegalizerInfo()