Searched refs:DestWidth (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineCasts.cpp | 418 unsigned DestWidth = DestType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt() local 421 if ((VecWidth % DestWidth != 0) || (ShiftAmount % DestWidth != 0)) in foldVecTruncToExtElt() 426 unsigned NumVecElts = VecWidth / DestWidth; in foldVecTruncToExtElt() 432 unsigned Elt = ShiftAmount / DestWidth; in foldVecTruncToExtElt() 548 unsigned DestWidth = DestTy->getScalarSizeInBits(); in narrowBinOp() local 598 unsigned MaxShiftAmt = SrcWidth - DestWidth; in narrowBinOp() 683 unsigned DestWidth = DestTy->getScalarSizeInBits(); in visitTrunc() local 709 if (DestWidth * 2 < SrcWidth) { in visitTrunc() 737 if (DestWidth == 1) { in visitTrunc() 787 unsigned MaxShiftAmt = SrcWidth - std::max(DestWidth, AWidth); in visitTrunc() [all …]
|
H A D | InstCombineVectorOps.cpp | 193 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 D | SemaDeclAttr.cpp | 4210 static void parseModeAttrArg(Sema &S, StringRef Str, unsigned &DestWidth, in parseModeAttrArg() argument 4220 DestWidth = 8; in parseModeAttrArg() 4223 DestWidth = 16; in parseModeAttrArg() 4226 DestWidth = 32; in parseModeAttrArg() 4229 DestWidth = 64; in parseModeAttrArg() 4232 DestWidth = 96; in parseModeAttrArg() 4236 DestWidth = Str[1] == 'I' ? 0 : 128; in parseModeAttrArg() 4240 DestWidth = 128; in parseModeAttrArg() 4244 DestWidth = Str[1] == 'I' ? 0 : 128; in parseModeAttrArg() 4253 DestWidth = 0; in parseModeAttrArg() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SCCPSolver.cpp | 149 uint64_t DestWidth = TI->getDestTy()->getScalarSizeInBits(); in refineInstruction() local 151 if (Range.getActiveBits() <= DestWidth) { in refineInstruction() 157 if (Range.getMinSignedBits() <= DestWidth) { in refineInstruction()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ASTContext.h | 785 QualType getIntTypeForBitwidth(unsigned DestWidth, 791 QualType getRealTypeForBitwidth(unsigned DestWidth,
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ASTContext.cpp | 12582 QualType ASTContext::getIntTypeForBitwidth(unsigned DestWidth, in getIntTypeForBitwidth() argument 12584 TargetInfo::IntType Ty = getTargetInfo().getIntTypeByWidth(DestWidth, Signed); in getIntTypeForBitwidth() 12586 if (!QualTy && DestWidth == 128) in getIntTypeForBitwidth() 12594 QualType ASTContext::getRealTypeForBitwidth(unsigned DestWidth, in getRealTypeForBitwidth() argument 12597 getTargetInfo().getRealTypeByWidth(DestWidth, ExplicitType); in getRealTypeForBitwidth()
|
H A D | ExprConstant.cpp | 2643 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleFloatToIntCast() local 2647 Result = APSInt(DestWidth, !DestSigned); in HandleFloatToIntCast() 2728 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleIntToIntCast() local 2731 APSInt Result = Value.extOrTrunc(DestWidth); in HandleIntToIntCast() 16688 unsigned DestWidth = Ctx.getIntWidth(E->getType()); in CheckICE() local 16690 APSInt IgnoredVal(DestWidth, !DestSigned); in CheckICE()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 24518 unsigned DestWidth = DestVT.getScalarSizeInBits(); in LowerEXTEND_VECTOR_INREG() local 24519 unsigned Scale = DestWidth / InSVT.getSizeInBits(); in LowerEXTEND_VECTOR_INREG() 24531 unsigned SignExtShift = DestWidth - InSVT.getSizeInBits(); in LowerEXTEND_VECTOR_INREG() 54884 unsigned DestWidth = TruncVT.getSizeInBits(); in combineToFPTruncExtElt() local 54886 if (SrcWidth % DestWidth != 0) in combineToFPTruncExtElt() 54892 unsigned NumElts = VecWidth / DestWidth; in combineToFPTruncExtElt()
|