Home
last modified time | relevance | path

Searched refs:DestWidth (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp428 unsigned DestWidth = DestType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt() local
431 if ((VecWidth % DestWidth != 0) || (ShiftAmount % DestWidth != 0)) in foldVecTruncToExtElt()
436 unsigned NumVecElts = VecWidth / DestWidth; in foldVecTruncToExtElt()
442 unsigned Elt = ShiftAmount / DestWidth; in foldVecTruncToExtElt()
624 unsigned DestWidth = DestTy->getScalarSizeInBits(); in narrowBinOp() local
674 unsigned MaxShiftAmt = SrcWidth - DestWidth; in narrowBinOp()
759 unsigned DestWidth = DestTy->getScalarSizeInBits(); in visitTrunc() local
785 if (DestWidth * 2 < SrcWidth) { in visitTrunc()
804 if (DestWidth == 1) { in visitTrunc()
860 unsigned MaxShiftAmt = SrcWidth - std::max(DestWidth, AWidth); in visitTrunc()
[all …]
H A DInstCombineVectorOps.cpp193 unsigned DestWidth = DestTy->getPrimitiveSizeInBits(); in foldBitcastExtElt() local
207 unsigned ShiftAmountC = ExtIndexC * DestWidth; in foldBitcastExtElt()
214 Type *DstIntTy = IntegerType::getIntNTy(X->getContext(), DestWidth); in foldBitcastExtElt()
291 unsigned ShAmt = Chunk * DestWidth; in foldBitcastExtElt()
313 Type *DestIntTy = IntegerType::getIntNTy(Scalar->getContext(), DestWidth); in foldBitcastExtElt()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclAttr.cpp4788 static void parseModeAttrArg(Sema &S, StringRef Str, unsigned &DestWidth, in parseModeAttrArg() argument
4798 DestWidth = 8; in parseModeAttrArg()
4801 DestWidth = 16; in parseModeAttrArg()
4804 DestWidth = 32; in parseModeAttrArg()
4807 DestWidth = 64; in parseModeAttrArg()
4810 DestWidth = 96; in parseModeAttrArg()
4814 DestWidth = Str[1] == 'I' ? 0 : 128; in parseModeAttrArg()
4818 DestWidth = 128; in parseModeAttrArg()
4822 DestWidth = Str[1] == 'I' ? 0 : 128; in parseModeAttrArg()
4831 DestWidth = 0; in parseModeAttrArg()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp1233 uint64_t DestWidth = TI->getDestTy()->getScalarSizeInBits(); in processTrunc() local
1237 if (Range.getActiveBits() <= DestWidth) { in processTrunc()
1245 if (Range.getMinSignedBits() <= DestWidth) { in processTrunc()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSCCPSolver.cpp147 uint64_t DestWidth = TI->getDestTy()->getScalarSizeInBits(); in refineInstruction() local
149 if (Range.getActiveBits() <= DestWidth) { in refineInstruction()
155 if (Range.getMinSignedBits() <= DestWidth) { in refineInstruction()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h875 QualType getIntTypeForBitwidth(unsigned DestWidth,
881 QualType getRealTypeForBitwidth(unsigned DestWidth,
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp13214 QualType ASTContext::getIntTypeForBitwidth(unsigned DestWidth, in getIntTypeForBitwidth() argument
13216 TargetInfo::IntType Ty = getTargetInfo().getIntTypeByWidth(DestWidth, Signed); in getIntTypeForBitwidth()
13218 if (!QualTy && DestWidth == 128) in getIntTypeForBitwidth()
13226 QualType ASTContext::getRealTypeForBitwidth(unsigned DestWidth, in getRealTypeForBitwidth() argument
13229 getTargetInfo().getRealTypeByWidth(DestWidth, ExplicitType); in getRealTypeForBitwidth()
H A DExprConstant.cpp2785 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleFloatToIntCast() local
2789 Result = APSInt(DestWidth, !DestSigned); in HandleFloatToIntCast()
2870 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleIntToIntCast() local
2873 APSInt Result = Value.extOrTrunc(DestWidth); in HandleIntToIntCast()
17610 unsigned DestWidth = Ctx.getIntWidth(E->getType()); in CheckICE() local
17612 APSInt IgnoredVal(DestWidth, !DestSigned); in CheckICE()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp25372 unsigned DestWidth = DestVT.getScalarSizeInBits(); in LowerEXTEND_VECTOR_INREG() local
25373 unsigned Scale = DestWidth / InSVT.getSizeInBits(); in LowerEXTEND_VECTOR_INREG()
25385 unsigned SignExtShift = DestWidth - InSVT.getSizeInBits(); in LowerEXTEND_VECTOR_INREG()
56965 unsigned DestWidth = TruncVT.getSizeInBits(); in combineToFPTruncExtElt() local
56967 if (SrcWidth % DestWidth != 0) in combineToFPTruncExtElt()
56973 unsigned NumElts = VecWidth / DestWidth; in combineToFPTruncExtElt()