Searched refs:SrcBits (Results 1 – 4 of 4) sorted by relevance
2094 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in CreateIntegerCast() local2097 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()2098 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()2108 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in CreateIntegerCast() local2111 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()2112 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()2122 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in CreateFPCast() local2125 (SrcBits == DstBits ? Instruction::BitCast : in CreateFPCast()2126 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt)); in CreateFPCast()2135 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in CreateFPCast() local[all …]
1284 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in getIntegerCast() local1287 (SrcBits == DstBits ? Instruction::BitCast : in getIntegerCast()1288 (SrcBits > DstBits ? Instruction::Trunc : in getIntegerCast()1296 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in getFPCast() local1298 if (SrcBits == DstBits) in getFPCast()1301 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt); in getFPCast()
1002 SrcBits = LHSI->getOperand(0)->getType()->getPrimitiveSizeInBits(); in visitICmpInstWithInstAndIntCst() local1003 APInt Mask(APInt::getHighBitsSet(SrcBits, SrcBits-DstBits)); in visitICmpInstWithInstAndIntCst()1004 APInt KnownZero(SrcBits, 0), KnownOne(SrcBits, 0); in visitICmpInstWithInstAndIntCst()1008 if ((KnownZero|KnownOne).countLeadingOnes() >= SrcBits-DstBits) { in visitICmpInstWithInstAndIntCst()1010 APInt NewRHS = RHS->getValue().zext(SrcBits); in visitICmpInstWithInstAndIntCst()
726 uint32_t SrcBits = ZI->getOperand(0)->getType()->getScalarSizeInBits(); in visitAShr() local728 if (Op1C->getZExtValue() == DestBits-SrcBits) in visitAShr()