Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1701 unsigned DestWidth = DestTy->getPrimitiveSizeInBits(); in OptimizeIntToFloatBitCast() local
1703 if (VecTy->getPrimitiveSizeInBits() % DestWidth == 0) { in OptimizeIntToFloatBitCast()
1708 VecTy->getPrimitiveSizeInBits() / DestWidth); in OptimizeIntToFloatBitCast()
1714 Elt = VecTy->getPrimitiveSizeInBits() / DestWidth - 1; in OptimizeIntToFloatBitCast()
1725 unsigned DestWidth = DestTy->getPrimitiveSizeInBits(); in OptimizeIntToFloatBitCast() local
1726 if (VecTy->getPrimitiveSizeInBits() % DestWidth == 0 && in OptimizeIntToFloatBitCast()
1727 ShAmt->getZExtValue() % DestWidth == 0) { in OptimizeIntToFloatBitCast()
1732 VecTy->getPrimitiveSizeInBits() / DestWidth); in OptimizeIntToFloatBitCast()
1736 unsigned Elt = ShAmt->getZExtValue() / DestWidth; in OptimizeIntToFloatBitCast()
1738 Elt = VecTy->getPrimitiveSizeInBits() / DestWidth - 1 - Elt; in OptimizeIntToFloatBitCast()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp969 unsigned DestWidth = DL.getTypeSizeInBits(AllocaType); in ConvertScalar_InsertValue() local
986 SrcWidth = DestWidth; in ConvertScalar_InsertValue()
1006 APInt Mask(APInt::getLowBitsSet(DestWidth, SrcWidth)); in ConvertScalar_InsertValue()
1007 if (ShAmt > 0 && (unsigned)ShAmt < DestWidth) { in ConvertScalar_InsertValue()
1010 } else if (ShAmt < 0 && (unsigned)-ShAmt < DestWidth) { in ConvertScalar_InsertValue()
1017 if (SrcWidth != DestWidth) { in ConvertScalar_InsertValue()
1018 assert(DestWidth > SrcWidth); in ConvertScalar_InsertValue()
/external/clang/lib/Sema/
DSemaDeclAttr.cpp3094 unsigned DestWidth = 0; in handleModeAttr() local
3100 case 'Q': DestWidth = 8; break; in handleModeAttr()
3101 case 'H': DestWidth = 16; break; in handleModeAttr()
3102 case 'S': DestWidth = 32; break; in handleModeAttr()
3103 case 'D': DestWidth = 64; break; in handleModeAttr()
3104 case 'X': DestWidth = 96; break; in handleModeAttr()
3105 case 'T': DestWidth = 128; break; in handleModeAttr()
3113 DestWidth = 0; in handleModeAttr()
3120 DestWidth = S.Context.getTargetInfo().getPointerWidth(0); in handleModeAttr()
3122 DestWidth = S.Context.getTargetInfo().getCharWidth(); in handleModeAttr()
[all …]
/external/clang/include/clang/AST/
DASTContext.h513 QualType getIntTypeForBitwidth(unsigned DestWidth,
518 QualType getRealTypeForBitwidth(unsigned DestWidth) const;
/external/clang/lib/AST/
DExprConstant.cpp1504 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleFloatToIntCast() local
1508 Result = APSInt(DestWidth, !DestSigned); in HandleFloatToIntCast()
1531 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleIntToIntCast() local
1535 Result = Result.extOrTrunc(DestWidth); in HandleIntToIntCast()
8944 unsigned DestWidth = Ctx.getIntWidth(E->getType()); in CheckICE() local
8946 APSInt IgnoredVal(DestWidth, !DestSigned); in CheckICE()
DASTContext.cpp8141 QualType ASTContext::getIntTypeForBitwidth(unsigned DestWidth, in getIntTypeForBitwidth() argument
8143 TargetInfo::IntType Ty = getTargetInfo().getIntTypeByWidth(DestWidth, Signed); in getIntTypeForBitwidth()
8145 if (!QualTy && DestWidth == 128) in getIntTypeForBitwidth()
8153 QualType ASTContext::getRealTypeForBitwidth(unsigned DestWidth) const { in getRealTypeForBitwidth()
8154 TargetInfo::RealType Ty = getTargetInfo().getRealTypeByWidth(DestWidth); in getRealTypeForBitwidth()