Searched refs:FPToI (Results 1 – 2 of 2) sorted by relevance
90 static void expandFPToI(Instruction *FPToI) { in expandFPToI() argument91 IRBuilder<> Builder(FPToI); in expandFPToI()92 auto *FloatVal = FPToI->getOperand(0); in expandFPToI()93 IntegerType *IntTy = cast<IntegerType>(FPToI->getType()); in expandFPToI()102 if (FPToI->getOpcode() == Instruction::FPToUI) { in expandFPToI()109 FPToI->replaceAllUsesWith(A1); in expandFPToI()110 FPToI->dropAllReferences(); in expandFPToI()111 FPToI->eraseFromParent(); in expandFPToI()220 FPToI->replaceAllUsesWith(Retval0); in expandFPToI()221 FPToI->dropAllReferences(); in expandFPToI()[all …]
866 auto &FPToI = getActionDefinitionsBuilder({G_FPTOSI, G_FPTOUI}) in AMDGPULegalizerInfo() local871 FPToI.legalFor({{S16, S16}}); in AMDGPULegalizerInfo()873 FPToI.minScalar(1, S32); in AMDGPULegalizerInfo()875 FPToI.minScalar(0, S32) in AMDGPULegalizerInfo()