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

/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp1739 unsigned DestWidth = DestTy->getPrimitiveSizeInBits(); local
1741 if (VecTy->getPrimitiveSizeInBits() % DestWidth == 0) {
1746 VecTy->getPrimitiveSizeInBits() / DestWidth);
1752 Elt = VecTy->getPrimitiveSizeInBits() / DestWidth - 1;
1763 unsigned DestWidth = DestTy->getPrimitiveSizeInBits(); local
1764 if (VecTy->getPrimitiveSizeInBits() % DestWidth == 0 &&
1765 ShAmt->getZExtValue() % DestWidth == 0) {
1770 VecTy->getPrimitiveSizeInBits() / DestWidth);
1774 unsigned Elt = ShAmt->getZExtValue() / DestWidth;
1776 Elt = VecTy->getPrimitiveSizeInBits() / DestWidth
[all...]
/external/clang/lib/Sema/
H A DSemaDeclAttr.cpp2900 unsigned DestWidth = 0; local
2906 case 'Q': DestWidth = 8; break;
2907 case 'H': DestWidth = 16; break;
2908 case 'S': DestWidth = 32; break;
2909 case 'D': DestWidth = 64; break;
2910 case 'X': DestWidth = 96; break;
2911 case 'T': DestWidth = 128; break;
2919 DestWidth = 0;
2926 DestWidth = S.Context.getTargetInfo().getPointerWidth(0);
2928 DestWidth
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DScalarReplAggregates.cpp964 unsigned DestWidth = DL.getTypeSizeInBits(AllocaType); local
981 SrcWidth = DestWidth;
1001 APInt Mask(APInt::getLowBitsSet(DestWidth, SrcWidth));
1002 if (ShAmt > 0 && (unsigned)ShAmt < DestWidth) {
1005 } else if (ShAmt < 0 && (unsigned)-ShAmt < DestWidth) {
1012 if (SrcWidth != DestWidth) {
1013 assert(DestWidth > SrcWidth);
/external/clang/include/clang/AST/
H A DASTContext.h500 QualType getIntTypeForBitwidth(unsigned DestWidth,
505 QualType getRealTypeForBitwidth(unsigned DestWidth) const;
/external/clang/lib/AST/
H A DASTContext.cpp8020 QualType ASTContext::getIntTypeForBitwidth(unsigned DestWidth, argument
8022 TargetInfo::IntType Ty = getTargetInfo().getIntTypeByWidth(DestWidth, Signed);
8024 if (!QualTy && DestWidth == 128)
8032 QualType ASTContext::getRealTypeForBitwidth(unsigned DestWidth) const {
8033 TargetInfo::RealType Ty = getTargetInfo().getRealTypeByWidth(DestWidth);
H A DExprConstant.cpp1487 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); local
1491 Result = APSInt(DestWidth, !DestSigned);
1514 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); local
1518 Result = Result.extOrTrunc(DestWidth);
8575 unsigned DestWidth = Ctx.getIntWidth(E->getType());
8577 APSInt IgnoredVal(DestWidth, !DestSigned);

Completed in 210 milliseconds