Home
last modified time | relevance | path

Searched refs:DstBits (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/VMCore/
DInstructions.cpp2392 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateIntegerCast() local
2394 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()
2395 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()
2406 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateIntegerCast() local
2408 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()
2409 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()
2420 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateFPCast() local
2422 (SrcBits == DstBits ? Instruction::BitCast : in CreateFPCast()
2423 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt)); in CreateFPCast()
2433 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateFPCast() local
[all …]
DConstants.cpp1418 unsigned DstBits = Ty->getScalarSizeInBits(); in getIntegerCast() local
1420 (SrcBits == DstBits ? Instruction::BitCast : in getIntegerCast()
1421 (SrcBits > DstBits ? Instruction::Trunc : in getIntegerCast()
1430 unsigned DstBits = Ty->getScalarSizeInBits(); in getFPCast() local
1431 if (SrcBits == DstBits) in getFPCast()
1434 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt); in getFPCast()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1029 unsigned DstBits = LHSI->getType()->getPrimitiveSizeInBits(), in visitICmpInstWithInstAndIntCst() local
1035 if ((KnownZero|KnownOne).countLeadingOnes() >= SrcBits-DstBits) { in visitICmpInstWithInstAndIntCst()