Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp520 if ((VecWidth % DestWidth != 0) || (ShiftAmount % DestWidth != 0)) in foldVecTruncToExtElt()
525 unsigned NumVecElts = VecWidth / DestWidth; in foldVecTruncToExtElt()
531 unsigned Elt = ShiftAmount / DestWidth; in foldVecTruncToExtElt()
645 unsigned DestWidth = DestTy->getScalarSizeInBits(); in narrowBinOp() local
695 unsigned MaxShiftAmt = SrcWidth - DestWidth; in narrowBinOp()
778 unsigned DestWidth = DestTy->getScalarSizeInBits(); in visitTrunc() local
804 if (DestWidth * 2 < SrcWidth) { in visitTrunc()
832 if (DestWidth == 1) { in visitTrunc()
944 if (SrcWidth % DestWidth == 0) { in visitTrunc()
945 uint64_t TruncRatio = SrcWidth / DestWidth; in visitTrunc()
[all …]
H A DInstCombineVectorOps.cpp281 unsigned DestWidth = DestTy->getPrimitiveSizeInBits(); in foldBitcastExtElt() local
282 unsigned ShAmt = Chunk * DestWidth; in foldBitcastExtElt()
304 Type *DestIntTy = IntegerType::getIntNTy(Scalar->getContext(), DestWidth); in foldBitcastExtElt()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DNarrowingConversionsCheck.cpp277 unsigned DestWidth = Context.getIntWidth(DestType); in isFloatExactlyRepresentable() local
279 llvm::APSInt Result = llvm::APSInt(DestWidth, !DestSigned); in isFloatExactlyRepresentable()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclAttr.cpp4457 DestWidth = 8; in parseModeAttrArg()
4460 DestWidth = 16; in parseModeAttrArg()
4463 DestWidth = 32; in parseModeAttrArg()
4466 DestWidth = 64; in parseModeAttrArg()
4469 DestWidth = 96; in parseModeAttrArg()
4473 DestWidth = Str[1] == 'I' ? 0 : 128; in parseModeAttrArg()
4477 DestWidth = 128; in parseModeAttrArg()
4481 DestWidth = Str[1] == 'I' ? 0 : 128; in parseModeAttrArg()
4490 DestWidth = 0; in parseModeAttrArg()
4538 unsigned DestWidth = 0; in AddModeAttr() local
[all …]
/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTContext.h779 QualType getIntTypeForBitwidth(unsigned DestWidth,
785 QualType getRealTypeForBitwidth(unsigned DestWidth,
/llvm-project-15.0.7/clang/lib/AST/
H A DASTContext.cpp11813 QualType ASTContext::getIntTypeForBitwidth(unsigned DestWidth, in getIntTypeForBitwidth() argument
11815 TargetInfo::IntType Ty = getTargetInfo().getIntTypeByWidth(DestWidth, Signed); in getIntTypeForBitwidth()
11817 if (!QualTy && DestWidth == 128) in getIntTypeForBitwidth()
11825 QualType ASTContext::getRealTypeForBitwidth(unsigned DestWidth, in getRealTypeForBitwidth() argument
11828 getTargetInfo().getRealTypeByWidth(DestWidth, ExplicitType); in getRealTypeForBitwidth()
H A DExprConstant.cpp2543 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleFloatToIntCast() local
2547 Result = APSInt(DestWidth, !DestSigned); in HandleFloatToIntCast()
2624 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleIntToIntCast() local
2627 APSInt Result = Value.extOrTrunc(DestWidth); in HandleIntToIntCast()
15644 unsigned DestWidth = Ctx.getIntWidth(E->getType()); in CheckICE() local
15646 APSInt IgnoredVal(DestWidth, !DestSigned); in CheckICE()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp25499 unsigned DestWidth = DestVT.getScalarSizeInBits(); in LowerEXTEND_VECTOR_INREG() local
25500 unsigned Scale = DestWidth / InSVT.getSizeInBits(); in LowerEXTEND_VECTOR_INREG()
25514 unsigned SignExtShift = DestWidth - InSVT.getSizeInBits(); in LowerEXTEND_VECTOR_INREG()
52595 unsigned DestWidth = TruncVT.getSizeInBits(); in combineToFPTruncExtElt() local
52597 if (SrcWidth % DestWidth != 0) in combineToFPTruncExtElt()
52603 unsigned NumElts = VecWidth / DestWidth; in combineToFPTruncExtElt()