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()96 unsigned BitWidth = FPToI->getType()->getIntegerBitWidth(); 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()161 Value *ARep = Builder.CreateZExt(ARep0, FPToI->getType()); in expandFPToI()[all …]
1120 auto &FPToI = getActionDefinitionsBuilder({G_FPTOSI, G_FPTOUI}) in AMDGPULegalizerInfo() local1125 FPToI.legalFor({{S16, S16}}); in AMDGPULegalizerInfo()1127 FPToI.minScalar(1, S32); in AMDGPULegalizerInfo()1129 FPToI.minScalar(0, S32) in AMDGPULegalizerInfo()