Searched refs:SrcBits (Results 1 – 4 of 4) sorted by relevance
2391 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in CreateIntegerCast() local2394 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()2395 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()2405 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in CreateIntegerCast() local2408 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()2409 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()2419 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in CreateFPCast() local2422 (SrcBits == DstBits ? Instruction::BitCast : in CreateFPCast()2423 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt)); in CreateFPCast()2432 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in CreateFPCast() local[all …]
1417 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in getIntegerCast() local1420 (SrcBits == DstBits ? Instruction::BitCast : in getIntegerCast()1421 (SrcBits > DstBits ? Instruction::Trunc : in getIntegerCast()1429 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in getFPCast() local1431 if (SrcBits == DstBits) in getFPCast()1434 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt); in getFPCast()
790 uint32_t SrcBits = ZI->getOperand(0)->getType()->getScalarSizeInBits(); in visitAShr() local792 if (Op1C->getZExtValue() == DestBits-SrcBits) in visitAShr()
1030 SrcBits = LHSI->getOperand(0)->getType()->getPrimitiveSizeInBits(); in visitICmpInstWithInstAndIntCst() local1031 APInt KnownZero(SrcBits, 0), KnownOne(SrcBits, 0); in visitICmpInstWithInstAndIntCst()1035 if ((KnownZero|KnownOne).countLeadingOnes() >= SrcBits-DstBits) { in visitICmpInstWithInstAndIntCst()1037 APInt NewRHS = RHS->getValue().zext(SrcBits); in visitICmpInstWithInstAndIntCst()