Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DExpandLargeFpConvert.cpp90 static void expandFPToI(Instruction *FPToI) { in expandFPToI() argument
91 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 …]
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp866 auto &FPToI = getActionDefinitionsBuilder({G_FPTOSI, G_FPTOUI}) in AMDGPULegalizerInfo() local
871 FPToI.legalFor({{S16, S16}}); in AMDGPULegalizerInfo()
873 FPToI.minScalar(1, S32); in AMDGPULegalizerInfo()
875 FPToI.minScalar(0, S32) in AMDGPULegalizerInfo()