Searched refs:FPToI (Results 1 – 2 of 2) sorted by relevance
91 static void expandFPToI(Instruction *FPToI) { in expandFPToI() argument92 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 …]
1082 auto &FPToI = getActionDefinitionsBuilder({G_FPTOSI, G_FPTOUI}) in AMDGPULegalizerInfo() local1087 FPToI.legalFor({{S16, S16}}); in AMDGPULegalizerInfo()1089 FPToI.minScalar(1, S32); in AMDGPULegalizerInfo()1091 FPToI.minScalar(0, S32) in AMDGPULegalizerInfo()