Home
last modified time | relevance | path

Searched refs:FITy (Results 1 – 2 of 2) 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1656 Type *FITy = FI.getType(); in FoldItoFPtoI() local
1672 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()