Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1611 unsigned DestWidth = DestTy->getPrimitiveSizeInBits(); in OptimizeIntToFloatBitCast() local
1613 if (VecTy->getPrimitiveSizeInBits() % DestWidth == 0) { in OptimizeIntToFloatBitCast()
1618 VecTy->getPrimitiveSizeInBits() / DestWidth); in OptimizeIntToFloatBitCast()
1632 unsigned DestWidth = DestTy->getPrimitiveSizeInBits(); in OptimizeIntToFloatBitCast() local
1633 if (VecTy->getPrimitiveSizeInBits() % DestWidth == 0 && in OptimizeIntToFloatBitCast()
1634 ShAmt->getZExtValue() % DestWidth == 0) { in OptimizeIntToFloatBitCast()
1639 VecTy->getPrimitiveSizeInBits() / DestWidth); in OptimizeIntToFloatBitCast()
1643 unsigned Elt = ShAmt->getZExtValue() / DestWidth; in OptimizeIntToFloatBitCast()
/external/clang/lib/Sema/
DSemaDeclAttr.cpp2113 unsigned DestWidth = 0; in handleModeAttr() local
2119 case 'Q': DestWidth = 8; break; in handleModeAttr()
2120 case 'H': DestWidth = 16; break; in handleModeAttr()
2121 case 'S': DestWidth = 32; break; in handleModeAttr()
2122 case 'D': DestWidth = 64; break; in handleModeAttr()
2123 case 'X': DestWidth = 96; break; in handleModeAttr()
2124 case 'T': DestWidth = 128; break; in handleModeAttr()
2132 DestWidth = 0; in handleModeAttr()
2139 DestWidth = S.Context.Target.getPointerWidth(0); in handleModeAttr()
2141 DestWidth = S.Context.Target.getCharWidth(); in handleModeAttr()
[all …]
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp1008 unsigned DestWidth = TD.getTypeSizeInBits(AllocaType); in ConvertScalar_InsertValue() local
1026 SrcWidth = DestWidth; in ConvertScalar_InsertValue()
1046 APInt Mask(APInt::getLowBitsSet(DestWidth, SrcWidth)); in ConvertScalar_InsertValue()
1047 if (ShAmt > 0 && (unsigned)ShAmt < DestWidth) { in ConvertScalar_InsertValue()
1051 } else if (ShAmt < 0 && (unsigned)-ShAmt < DestWidth) { in ConvertScalar_InsertValue()
1059 if (SrcWidth != DestWidth) { in ConvertScalar_InsertValue()
1060 assert(DestWidth > SrcWidth); in ConvertScalar_InsertValue()
/external/clang/lib/AST/
DExprConstant.cpp222 unsigned DestWidth = Ctx.getIntWidth(DestType); in HandleFloatToIntCast() local
227 APSInt Result(DestWidth, !DestSigned); in HandleFloatToIntCast()
244 unsigned DestWidth = Ctx.getIntWidth(DestType); in HandleIntToIntCast() local
248 Result = Result.extOrTrunc(DestWidth); in HandleIntToIntCast()