Searched refs:FITy (Results 1 – 2 of 2) sorted by relevance
1429 Type *FITy = FI.getType(); in FoldItoFPtoI() local1445 int OutputSize = (int)FITy->getScalarSizeInBits() - IsOutputSigned; in FoldItoFPtoI()1449 if (FITy->getScalarSizeInBits() > SrcTy->getScalarSizeInBits()) { in FoldItoFPtoI()1451 return new SExtInst(SrcI, FITy); in FoldItoFPtoI()1452 return new ZExtInst(SrcI, FITy); in FoldItoFPtoI()1454 if (FITy->getScalarSizeInBits() < SrcTy->getScalarSizeInBits()) in FoldItoFPtoI()1455 return new TruncInst(SrcI, FITy); in FoldItoFPtoI()1456 if (SrcTy == FITy) in FoldItoFPtoI()1458 return new BitCastInst(SrcI, FITy); in FoldItoFPtoI()
1656 Type *FITy = FI.getType(); in FoldItoFPtoI() local1672 int OutputSize = (int)FITy->getScalarSizeInBits() - IsOutputSigned; in FoldItoFPtoI()1676 if (FITy->getScalarSizeInBits() > SrcTy->getScalarSizeInBits()) { in FoldItoFPtoI()1678 return new SExtInst(SrcI, FITy); in FoldItoFPtoI()1679 return new ZExtInst(SrcI, FITy); in FoldItoFPtoI()1681 if (FITy->getScalarSizeInBits() < SrcTy->getScalarSizeInBits()) in FoldItoFPtoI()1682 return new TruncInst(SrcI, FITy); in FoldItoFPtoI()1683 if (SrcTy == FITy) in FoldItoFPtoI()1685 return new BitCastInst(SrcI, FITy); in FoldItoFPtoI()