Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp413 if ((VecWidth % DestWidth != 0) || (ShiftAmount % DestWidth != 0)) in foldVecTruncToExtElt()
418 unsigned NumVecElts = VecWidth / DestWidth; in foldVecTruncToExtElt()
424 unsigned Elt = ShiftAmount / DestWidth; in foldVecTruncToExtElt()
540 unsigned DestWidth = DestTy->getScalarSizeInBits(); in narrowBinOp() local
590 unsigned MaxShiftAmt = SrcWidth - DestWidth; in narrowBinOp()
701 if (DestWidth * 2 < SrcWidth) { in visitTrunc()
729 if (DestWidth == 1) { in visitTrunc()
785 Constant *ShAmt = GetNewShAmt(DestWidth); in visitTrunc()
845 if (SrcWidth % DestWidth == 0) { in visitTrunc()
846 uint64_t TruncRatio = SrcWidth / DestWidth; 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-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclAttr.cpp4697 DestWidth = 8; in parseModeAttrArg()
4700 DestWidth = 16; in parseModeAttrArg()
4703 DestWidth = 32; in parseModeAttrArg()
4706 DestWidth = 64; in parseModeAttrArg()
4709 DestWidth = 96; in parseModeAttrArg()
4713 DestWidth = Str[1] == 'I' ? 0 : 128; in parseModeAttrArg()
4717 DestWidth = 128; in parseModeAttrArg()
4721 DestWidth = Str[1] == 'I' ? 0 : 128; in parseModeAttrArg()
4730 DestWidth = 0; in parseModeAttrArg()
4778 unsigned DestWidth = 0; in AddModeAttr() local
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h756 QualType getIntTypeForBitwidth(unsigned DestWidth,
762 QualType getRealTypeForBitwidth(unsigned DestWidth,
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DASTContext.cpp12100 QualType ASTContext::getIntTypeForBitwidth(unsigned DestWidth, in getIntTypeForBitwidth() argument
12102 TargetInfo::IntType Ty = getTargetInfo().getIntTypeByWidth(DestWidth, Signed); in getIntTypeForBitwidth()
12104 if (!QualTy && DestWidth == 128) in getIntTypeForBitwidth()
12112 QualType ASTContext::getRealTypeForBitwidth(unsigned DestWidth, in getRealTypeForBitwidth() argument
12115 getTargetInfo().getRealTypeByWidth(DestWidth, ExplicitType); in getRealTypeForBitwidth()
H A DExprConstant.cpp2636 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleFloatToIntCast() local
2640 Result = APSInt(DestWidth, !DestSigned); in HandleFloatToIntCast()
2717 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleIntToIntCast() local
2720 APSInt Result = Value.extOrTrunc(DestWidth); in HandleIntToIntCast()
16268 unsigned DestWidth = Ctx.getIntWidth(E->getType()); in CheckICE() local
16270 APSInt IgnoredVal(DestWidth, !DestSigned); in CheckICE()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp24308 unsigned DestWidth = DestVT.getScalarSizeInBits(); in LowerEXTEND_VECTOR_INREG() local
24309 unsigned Scale = DestWidth / InSVT.getSizeInBits(); in LowerEXTEND_VECTOR_INREG()
24321 unsigned SignExtShift = DestWidth - InSVT.getSizeInBits(); in LowerEXTEND_VECTOR_INREG()
53541 unsigned DestWidth = TruncVT.getSizeInBits(); in combineToFPTruncExtElt() local
53543 if (SrcWidth % DestWidth != 0) in combineToFPTruncExtElt()
53549 unsigned NumElts = VecWidth / DestWidth; in combineToFPTruncExtElt()