Searched refs:DestWidth (Results 1 – 7 of 7) sorted by relevance
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 497 unsigned DestWidth = DestType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt() local 500 if ((VecWidth % DestWidth != 0) || (ShiftAmount % DestWidth != 0)) in foldVecTruncToExtElt() 505 unsigned NumVecElts = VecWidth / DestWidth; in foldVecTruncToExtElt() 511 unsigned Elt = ShiftAmount / DestWidth; in foldVecTruncToExtElt() 733 unsigned DestWidth = DestTy->getScalarSizeInBits(); in visitTrunc() local 759 if (DestWidth * 2 < SrcWidth) { in visitTrunc() 787 if (DestWidth == 1) { in visitTrunc() 825 unsigned MaxShiftAmt = SrcWidth - std::max(DestWidth, AWidth); in visitTrunc() 835 Constant *MaxAmt = ConstantInt::get(SrcTy, DestWidth - 1, false); in visitTrunc() 857 unsigned MaxShiftAmt = SrcWidth - DestWidth; in visitTrunc() [all …]
|
| H A D | InstCombineVectorOps.cpp | 240 unsigned DestWidth = DestTy->getPrimitiveSizeInBits(); in foldBitcastExtElt() local 241 unsigned ShAmt = Chunk * DestWidth; in foldBitcastExtElt() 263 Type *DestIntTy = IntegerType::getIntNTy(Scalar->getContext(), DestWidth); in foldBitcastExtElt()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaDeclAttr.cpp | 4071 static void parseModeAttrArg(Sema &S, StringRef Str, unsigned &DestWidth, in parseModeAttrArg() argument 4080 DestWidth = 8; in parseModeAttrArg() 4083 DestWidth = 16; in parseModeAttrArg() 4086 DestWidth = 32; in parseModeAttrArg() 4089 DestWidth = 64; in parseModeAttrArg() 4092 DestWidth = 96; in parseModeAttrArg() 4096 DestWidth = Str[1] == 'I' ? 0 : 128; in parseModeAttrArg() 4100 DestWidth = 128; in parseModeAttrArg() 4109 DestWidth = 0; in parseModeAttrArg() 4116 DestWidth = S.Context.getTargetInfo().getRegisterWidth(); in parseModeAttrArg() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| H A D | ASTContext.h | 700 QualType getIntTypeForBitwidth(unsigned DestWidth, 706 QualType getRealTypeForBitwidth(unsigned DestWidth, bool ExplicitIEEE) const;
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | ASTContext.cpp | 11100 QualType ASTContext::getIntTypeForBitwidth(unsigned DestWidth, in getIntTypeForBitwidth() argument 11102 TargetInfo::IntType Ty = getTargetInfo().getIntTypeByWidth(DestWidth, Signed); in getIntTypeForBitwidth() 11104 if (!QualTy && DestWidth == 128) in getIntTypeForBitwidth() 11112 QualType ASTContext::getRealTypeForBitwidth(unsigned DestWidth, in getRealTypeForBitwidth() argument 11115 getTargetInfo().getRealTypeByWidth(DestWidth, ExplicitIEEE); in getRealTypeForBitwidth()
|
| H A D | ExprConstant.cpp | 2526 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleFloatToIntCast() local 2530 Result = APSInt(DestWidth, !DestSigned); in HandleFloatToIntCast() 2611 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleIntToIntCast() local 2614 APSInt Result = Value.extOrTrunc(DestWidth); in HandleIntToIntCast() 15373 unsigned DestWidth = Ctx.getIntWidth(E->getType()); in CheckICE() local 15375 APSInt IgnoredVal(DestWidth, !DestSigned); in CheckICE()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
| H A D | X86ISelLowering.cpp | 24061 unsigned DestWidth = DestVT.getScalarSizeInBits(); in LowerEXTEND_VECTOR_INREG() local 24062 unsigned Scale = DestWidth / InSVT.getSizeInBits(); in LowerEXTEND_VECTOR_INREG() 24076 unsigned SignExtShift = DestWidth - InSVT.getSizeInBits(); in LowerEXTEND_VECTOR_INREG() 48783 unsigned DestWidth = TruncVT.getSizeInBits(); in combineToFPTruncExtElt() local 48785 if (SrcWidth % DestWidth != 0) in combineToFPTruncExtElt() 48791 unsigned NumElts = VecWidth / DestWidth; in combineToFPTruncExtElt()
|