Searched refs:DstBits (Results 1 – 5 of 5) 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()
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()
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()