Searched refs:DstBits (Results 1 – 10 of 10) sorted by relevance
2909 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateIntegerCast() local2911 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()2912 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()2923 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateIntegerCast() local2925 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()2926 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()2937 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateFPCast() local2939 (SrcBits == DstBits ? Instruction::BitCast : in CreateFPCast()2940 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt)); in CreateFPCast()2950 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateFPCast() local[all …]
1716 unsigned DstBits = Ty->getScalarSizeInBits(); in getIntegerCast() local1718 (SrcBits == DstBits ? Instruction::BitCast : in getIntegerCast()1719 (SrcBits > DstBits ? Instruction::Trunc : in getIntegerCast()1728 unsigned DstBits = Ty->getScalarSizeInBits(); in getFPCast() local1729 if (SrcBits == DstBits) in getFPCast()1732 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt); in getFPCast()
2816 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateIntegerCast() local2818 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()2819 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()2830 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateIntegerCast() local2832 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()2833 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()2844 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateFPCast() local2846 (SrcBits == DstBits ? Instruction::BitCast : in CreateFPCast()2847 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt)); in CreateFPCast()2857 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateFPCast() local[all …]
1544 unsigned DstBits = Ty->getScalarSizeInBits(); in getIntegerCast() local1546 (SrcBits == DstBits ? Instruction::BitCast : in getIntegerCast()1547 (SrcBits > DstBits ? Instruction::Trunc : in getIntegerCast()1556 unsigned DstBits = Ty->getScalarSizeInBits(); in getFPCast() local1557 if (SrcBits == DstBits) in getFPCast()1560 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt); in getFPCast()
2047 unsigned DstBits = SE.getTypeSizeInBits(AR->getType()); in generateOverflowCheck() local2066 ConstantInt::get(Loc->getContext(), APInt::getNullValue(DstBits)); in generateOverflowCheck()2103 auto MaxVal = APInt::getMaxValue(DstBits).zext(SrcBits); in generateOverflowCheck()
3947 unsigned DstBits = RetVT.getSizeInBits(); in emitLSL_ri() local3965 if (Shift >= DstBits) in emitLSL_ri()3995 unsigned ImmS = std::min<unsigned>(SrcBits - 1, DstBits - 1 - Shift); in emitLSL_ri()4054 unsigned DstBits = RetVT.getSizeInBits(); in emitLSR_ri() local4072 if (Shift >= DstBits) in emitLSR_ri()4175 unsigned DstBits = RetVT.getSizeInBits(); in emitASR_ri() local4193 if (Shift >= DstBits) in emitASR_ri()
4125 unsigned DstBits = RetVT.getSizeInBits(); in emitLSL_ri() local4143 if (Shift >= DstBits) in emitLSL_ri()4173 unsigned ImmS = std::min<unsigned>(SrcBits - 1, DstBits - 1 - Shift); in emitLSL_ri()4232 unsigned DstBits = RetVT.getSizeInBits(); in emitLSR_ri() local4250 if (Shift >= DstBits) in emitLSR_ri()4353 unsigned DstBits = RetVT.getSizeInBits(); in emitASR_ri() local4371 if (Shift >= DstBits) in emitASR_ri()
2254 unsigned DstBits = SE.getTypeSizeInBits(ARTy); in generateOverflowCheck() local2274 ConstantInt::get(Loc->getContext(), APInt::getNullValue(DstBits)); in generateOverflowCheck()2321 auto MaxVal = APInt::getMaxValue(DstBits).zext(SrcBits); in generateOverflowCheck()
1556 unsigned DstBits = LHSI->getType()->getPrimitiveSizeInBits(), in visitICmpInstWithInstAndIntCst() local1562 if ((KnownZero|KnownOne).countLeadingOnes() >= SrcBits-DstBits) { in visitICmpInstWithInstAndIntCst()1565 NewRHS |= KnownOne & APInt::getHighBitsSet(SrcBits, SrcBits-DstBits); in visitICmpInstWithInstAndIntCst()
1544 unsigned DstBits = Trunc->getType()->getScalarSizeInBits(), in foldICmpTruncConstant() local1549 if ((Known.Zero | Known.One).countLeadingOnes() >= SrcBits - DstBits) { in foldICmpTruncConstant()1552 NewRHS |= Known.One & APInt::getHighBitsSet(SrcBits, SrcBits - DstBits); in foldICmpTruncConstant()