Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1429 Type *FITy = FI.getType(); in FoldItoFPtoI() local
1445 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()