Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandFp.cpp314 static void expandIToFP(Instruction *IToFP) { in expandIToFP() argument
316 IRBuilder<> Builder(IToFP); in expandIToFP()
317 auto *IntVal = IToFP->getOperand(0); in expandIToFP()
321 unsigned FPMantissaWidth = IToFP->getType()->getFPMantissaWidth() - 1; in expandIToFP()
330 bool IsSigned = IToFP->getOpcode() == Instruction::SIToFP; in expandIToFP()
546 if (IToFP->getType()->isDoubleTy()) { in expandIToFP()
552 A4 = Builder.CreateBitCast(Or1, IToFP->getType()); in expandIToFP()
553 } else if (IToFP->getType()->isX86_FP80Ty()) { in expandIToFP()
556 A4 = Builder.CreateFPTrunc(A40, IToFP->getType()); in expandIToFP()
557 } else if (IToFP->getType()->isHalfTy() || IToFP->getType()->isBFloatTy()) { in expandIToFP()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp1130 auto &IToFP = getActionDefinitionsBuilder({G_SITOFP, G_UITOFP}) in AMDGPULegalizerInfo() local
1135 IToFP.legalFor({{S16, S16}}); in AMDGPULegalizerInfo()
1136 IToFP.clampScalar(1, S32, S64) in AMDGPULegalizerInfo()