Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstructions.cpp2909 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateIntegerCast() local
2911 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()
2912 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()
2923 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateIntegerCast() local
2925 (SrcBits == DstBits ? Instruction::BitCast : in CreateIntegerCast()
2926 (SrcBits > DstBits ? Instruction::Trunc : in CreateIntegerCast()
2937 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateFPCast() local
2939 (SrcBits == DstBits ? Instruction::BitCast : in CreateFPCast()
2940 (SrcBits > DstBits ? Instruction::FPTrunc : Instruction::FPExt)); in CreateFPCast()
2950 unsigned DstBits = Ty->getScalarSizeInBits(); in CreateFPCast() local
[all …]
DConstants.cpp1716 unsigned DstBits = Ty->getScalarSizeInBits(); in getIntegerCast() local
1718 (SrcBits == DstBits ? Instruction::BitCast : in getIntegerCast()
1719 (SrcBits > DstBits ? Instruction::Trunc : in getIntegerCast()
1728 unsigned DstBits = Ty->getScalarSizeInBits(); in getFPCast() local
1729 if (SrcBits == DstBits) in getFPCast()
1732 (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/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-10.0/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp4125 unsigned DstBits = RetVT.getSizeInBits(); in emitLSL_ri() local
4143 if (Shift >= DstBits) in emitLSL_ri()
4173 unsigned ImmS = std::min<unsigned>(SrcBits - 1, DstBits - 1 - Shift); in emitLSL_ri()
4232 unsigned DstBits = RetVT.getSizeInBits(); in emitLSR_ri() local
4250 if (Shift >= DstBits) in emitLSR_ri()
4353 unsigned DstBits = RetVT.getSizeInBits(); in emitASR_ri() local
4371 if (Shift >= DstBits) in emitASR_ri()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp2254 unsigned DstBits = SE.getTypeSizeInBits(ARTy); in generateOverflowCheck() local
2274 ConstantInt::get(Loc->getContext(), APInt::getNullValue(DstBits)); in generateOverflowCheck()
2321 auto MaxVal = APInt::getMaxValue(DstBits).zext(SrcBits); in generateOverflowCheck()
/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-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp1544 unsigned DstBits = Trunc->getType()->getScalarSizeInBits(), in foldICmpTruncConstant() local
1549 if ((Known.Zero | Known.One).countLeadingOnes() >= SrcBits - DstBits) { in foldICmpTruncConstant()
1552 NewRHS |= Known.One & APInt::getHighBitsSet(SrcBits, SrcBits - DstBits); in foldICmpTruncConstant()