Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaDeclAttr.cpp3293 static void parseModeAttrArg(Sema &S, StringRef Str, unsigned &DestWidth, in parseModeAttrArg() argument
3299 DestWidth = 8; in parseModeAttrArg()
3302 DestWidth = 16; in parseModeAttrArg()
3305 DestWidth = 32; in parseModeAttrArg()
3308 DestWidth = 64; in parseModeAttrArg()
3311 DestWidth = 96; in parseModeAttrArg()
3314 DestWidth = 128; in parseModeAttrArg()
3323 DestWidth = 0; in parseModeAttrArg()
3330 DestWidth = S.Context.getTargetInfo().getPointerWidth(0); in parseModeAttrArg()
3332 DestWidth = S.Context.getTargetInfo().getCharWidth(); in parseModeAttrArg()
[all …]
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp970 unsigned DestWidth = DL.getTypeSizeInBits(AllocaType); in ConvertScalar_InsertValue() local
987 SrcWidth = DestWidth; in ConvertScalar_InsertValue()
1007 APInt Mask(APInt::getLowBitsSet(DestWidth, SrcWidth)); in ConvertScalar_InsertValue()
1008 if (ShAmt > 0 && (unsigned)ShAmt < DestWidth) { in ConvertScalar_InsertValue()
1011 } else if (ShAmt < 0 && (unsigned)-ShAmt < DestWidth) { in ConvertScalar_InsertValue()
1018 if (SrcWidth != DestWidth) { in ConvertScalar_InsertValue()
1019 assert(DestWidth > SrcWidth); in ConvertScalar_InsertValue()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp456 unsigned DestWidth = DestType->getPrimitiveSizeInBits(); in foldVecTruncToExtElt() local
459 if ((VecWidth % DestWidth != 0) || (ShiftAmount % DestWidth != 0)) in foldVecTruncToExtElt()
464 unsigned NumVecElts = VecWidth / DestWidth; in foldVecTruncToExtElt()
470 unsigned Elt = ShiftAmount / DestWidth; in foldVecTruncToExtElt()
/external/clang/include/clang/AST/
DASTContext.h585 QualType getIntTypeForBitwidth(unsigned DestWidth,
590 QualType getRealTypeForBitwidth(unsigned DestWidth) const;
/external/clang/lib/AST/
DExprConstant.cpp1584 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleFloatToIntCast() local
1588 Result = APSInt(DestWidth, !DestSigned); in HandleFloatToIntCast()
1611 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleIntToIntCast() local
1615 Result = Result.extOrTrunc(DestWidth); in HandleIntToIntCast()
9319 unsigned DestWidth = Ctx.getIntWidth(E->getType()); in CheckICE() local
9321 APSInt IgnoredVal(DestWidth, !DestSigned); in CheckICE()
DASTContext.cpp8544 QualType ASTContext::getIntTypeForBitwidth(unsigned DestWidth, in getIntTypeForBitwidth() argument
8546 TargetInfo::IntType Ty = getTargetInfo().getIntTypeByWidth(DestWidth, Signed); in getIntTypeForBitwidth()
8548 if (!QualTy && DestWidth == 128) in getIntTypeForBitwidth()
8556 QualType ASTContext::getRealTypeForBitwidth(unsigned DestWidth) const { in getRealTypeForBitwidth()
8557 TargetInfo::RealType Ty = getTargetInfo().getRealTypeByWidth(DestWidth); in getRealTypeForBitwidth()