Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandLargeFpConvert.cpp91 static void expandFPToI(Instruction *FPToI) { in expandFPToI() argument
92 IRBuilder<> Builder(FPToI); in expandFPToI()
93 auto *FloatVal = FPToI->getOperand(0); in expandFPToI()
94 IntegerType *IntTy = cast<IntegerType>(FPToI->getType()); in expandFPToI()
103 if (FPToI->getOpcode() == Instruction::FPToUI) { in expandFPToI()
110 FPToI->replaceAllUsesWith(A1); in expandFPToI()
111 FPToI->dropAllReferences(); in expandFPToI()
112 FPToI->eraseFromParent(); in expandFPToI()
221 FPToI->replaceAllUsesWith(Retval0); in expandFPToI()
222 FPToI->dropAllReferences(); in expandFPToI()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp1082 auto &FPToI = getActionDefinitionsBuilder({G_FPTOSI, G_FPTOUI}) in AMDGPULegalizerInfo() local
1087 FPToI.legalFor({{S16, S16}}); in AMDGPULegalizerInfo()
1089 FPToI.minScalar(1, S32); in AMDGPULegalizerInfo()
1091 FPToI.minScalar(0, S32) in AMDGPULegalizerInfo()