Home
last modified time | relevance | path

Searched refs:SrcBits (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/VMCore/
DInstructions.cpp2094 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in CreateIntegerCast() local
2097 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()
2098 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()
2108 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in CreateIntegerCast() local
2111 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()
2112 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()
2122 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in CreateFPCast() local
2125 (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 …]
DConstants.cpp1284 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in getIntegerCast() local
1287 (SrcBits == DstBits ? Instruction::BitCast : in getIntegerCast()
1288 (SrcBits > DstBits ? Instruction::Trunc : in getIntegerCast()
1296 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in getFPCast() local
1298 if (SrcBits == DstBits) in getFPCast()
1301 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt); in getFPCast()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1002 SrcBits = LHSI->getOperand(0)->getType()->getPrimitiveSizeInBits(); in visitICmpInstWithInstAndIntCst() local
1003 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()
DInstCombineShifts.cpp726 uint32_t SrcBits = ZI->getOperand(0)->getType()->getScalarSizeInBits(); in visitAShr() local
728 if (Op1C->getZExtValue() == DestBits-SrcBits) in visitAShr()