Searched refs:FPToI (Results 1 – 2 of 2) sorted by relevance
92 static void expandFPToI(Instruction *FPToI) { in expandFPToI() argument94 IRBuilder<> Builder(FPToI); in expandFPToI()95 auto *FloatVal = FPToI->getOperand(0); in expandFPToI()96 IntegerType *IntTy = cast<IntegerType>(FPToI->getType()); in expandFPToI()98 unsigned BitWidth = FPToI->getType()->getIntegerBitWidth(); in expandFPToI()105 if (FPToI->getOpcode() == Instruction::FPToUI) { in expandFPToI()112 FPToI->replaceAllUsesWith(A1); in expandFPToI()113 FPToI->dropAllReferences(); in expandFPToI()114 FPToI->eraseFromParent(); in expandFPToI()163 Value *ARep = Builder.CreateZExt(ARep0, FPToI->getType()); in expandFPToI()[all …]
1141 auto &FPToI = getActionDefinitionsBuilder({G_FPTOSI, G_FPTOUI}) in AMDGPULegalizerInfo() local1146 FPToI.legalFor({{S16, S16}}); in AMDGPULegalizerInfo()1148 FPToI.minScalar(1, S32); in AMDGPULegalizerInfo()1150 FPToI.minScalar(0, S32) in AMDGPULegalizerInfo()