Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/VMCore/
DInstructions.cpp2373 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateIntegerCast() local
2375 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()
2376 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()
2387 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateIntegerCast() local
2389 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()
2390 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()
2401 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateFPCast() local
2403 (SrcBits == DstBits ? Instruction::BitCast : in CreateFPCast()
2404 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt)); in CreateFPCast()
2414 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateFPCast() local
[all …]
DConstants.cpp1288 unsigned DstBits = Ty->getScalarSizeInBits(); in getIntegerCast() local
1290 (SrcBits == DstBits ? Instruction::BitCast : in getIntegerCast()
1291 (SrcBits > DstBits ? Instruction::Trunc : in getIntegerCast()
1300 unsigned DstBits = Ty->getScalarSizeInBits(); in getFPCast() local
1301 if (SrcBits == DstBits) in getFPCast()
1304 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt); in getFPCast()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInstructions.cpp2631 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateIntegerCast() local
2633 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()
2634 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()
2645 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateIntegerCast() local
2647 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()
2648 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()
2659 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateFPCast() local
2661 (SrcBits == DstBits ? Instruction::BitCast : in CreateFPCast()
2662 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt)); in CreateFPCast()
2672 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateFPCast() local
[all …]
DConstants.cpp1594 unsigned DstBits = Ty->getScalarSizeInBits(); in getIntegerCast() local
1596 (SrcBits == DstBits ? Instruction::BitCast : in getIntegerCast()
1597 (SrcBits > DstBits ? Instruction::Trunc : in getIntegerCast()
1606 unsigned DstBits = Ty->getScalarSizeInBits(); in getFPCast() local
1607 if (SrcBits == DstBits) in getFPCast()
1610 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt); in getFPCast()
/external/llvm/lib/IR/
DInstructions.cpp2816 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateIntegerCast() local
2818 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()
2819 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()
2830 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateIntegerCast() local
2832 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()
2833 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()
2844 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateFPCast() local
2846 (SrcBits == DstBits ? Instruction::BitCast : in CreateFPCast()
2847 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt)); in CreateFPCast()
2857 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateFPCast() local
[all …]
DConstants.cpp1544 unsigned DstBits = Ty->getScalarSizeInBits(); in getIntegerCast() local
1546 (SrcBits == DstBits ? Instruction::BitCast : in getIntegerCast()
1547 (SrcBits > DstBits ? Instruction::Trunc : in getIntegerCast()
1556 unsigned DstBits = Ty->getScalarSizeInBits(); in getFPCast() local
1557 if (SrcBits == DstBits) in getFPCast()
1560 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt); in getFPCast()
/external/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp2047 unsigned DstBits = SE.getTypeSizeInBits(AR->getType()); in generateOverflowCheck() local
2066 ConstantInt::get(Loc->getContext(), APInt::getNullValue(DstBits)); in generateOverflowCheck()
2103 auto MaxVal = APInt::getMaxValue(DstBits).zext(SrcBits); in generateOverflowCheck()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp4033 unsigned DstBits = RetVT.getSizeInBits(); in emitLSL_ri() local
4051 if (Shift >= DstBits) in emitLSL_ri()
4081 unsigned ImmS = std::min<unsigned>(SrcBits - 1, DstBits - 1 - Shift); in emitLSL_ri()
4140 unsigned DstBits = RetVT.getSizeInBits(); in emitLSR_ri() local
4158 if (Shift >= DstBits) in emitLSR_ri()
4261 unsigned DstBits = RetVT.getSizeInBits(); in emitASR_ri() local
4279 if (Shift >= DstBits) in emitASR_ri()
/external/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp3947 unsigned DstBits = RetVT.getSizeInBits(); in emitLSL_ri() local
3965 if (Shift >= DstBits) in emitLSL_ri()
3995 unsigned ImmS = std::min<unsigned>(SrcBits - 1, DstBits - 1 - Shift); in emitLSL_ri()
4054 unsigned DstBits = RetVT.getSizeInBits(); in emitLSR_ri() local
4072 if (Shift >= DstBits) in emitLSR_ri()
4175 unsigned DstBits = RetVT.getSizeInBits(); in emitASR_ri() local
4193 if (Shift >= DstBits) in emitASR_ri()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp2164 unsigned DstBits = SE.getTypeSizeInBits(ARTy); in generateOverflowCheck() local
2184 ConstantInt::get(Loc->getContext(), APInt::getNullValue(DstBits)); in generateOverflowCheck()
2231 auto MaxVal = APInt::getMaxValue(DstBits).zext(SrcBits); in generateOverflowCheck()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1002 unsigned DstBits = LHSI->getType()->getPrimitiveSizeInBits(), in visitICmpInstWithInstAndIntCst() local
1004 APInt Mask(APInt::getHighBitsSet(SrcBits, SrcBits-DstBits)); in visitICmpInstWithInstAndIntCst()
1009 if ((KnownZero|KnownOne).countLeadingOnes() >= SrcBits-DstBits) { in visitICmpInstWithInstAndIntCst()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1556 unsigned DstBits = LHSI->getType()->getPrimitiveSizeInBits(), in visitICmpInstWithInstAndIntCst() local
1562 if ((KnownZero|KnownOne).countLeadingOnes() >= SrcBits-DstBits) { in visitICmpInstWithInstAndIntCst()
1565 NewRHS |= KnownOne & APInt::getHighBitsSet(SrcBits, SrcBits-DstBits); in visitICmpInstWithInstAndIntCst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1435 unsigned DstBits = Trunc->getType()->getScalarSizeInBits(), in foldICmpTruncConstant() local
1440 if ((Known.Zero | Known.One).countLeadingOnes() >= SrcBits - DstBits) { in foldICmpTruncConstant()
1443 NewRHS |= Known.One & APInt::getHighBitsSet(SrcBits, SrcBits - DstBits); in foldICmpTruncConstant()