Home
last modified time | relevance | path

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

/external/llvm/lib/VMCore/
DInstructions.cpp2391 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in CreateIntegerCast() local
2394 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()
2395 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()
2405 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in CreateIntegerCast() local
2408 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()
2409 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()
2419 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in CreateFPCast() local
2422 (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 …]
DConstants.cpp1417 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in getIntegerCast() local
1420 (SrcBits == DstBits ? Instruction::BitCast : in getIntegerCast()
1421 (SrcBits > DstBits ? Instruction::Trunc : in getIntegerCast()
1429 unsigned SrcBits = C->getType()->getScalarSizeInBits(); in getFPCast() local
1431 if (SrcBits == DstBits) in getFPCast()
1434 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt); in getFPCast()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp790 uint32_t SrcBits = ZI->getOperand(0)->getType()->getScalarSizeInBits(); in visitAShr() local
792 if (Op1C->getZExtValue() == DestBits-SrcBits) in visitAShr()
DInstCombineCompares.cpp1030 SrcBits = LHSI->getOperand(0)->getType()->getPrimitiveSizeInBits(); in visitICmpInstWithInstAndIntCst() local
1031 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()