Searched refs:CstTy (Results 1 – 4 of 4) sorted by relevance
37 Type *CstTy = C->getType(); in extractConstantMask() local38 if (!CstTy->isVectorTy()) in extractConstantMask()41 Type *CstEltTy = CstTy->getVectorElementType(); in extractConstantMask()45 unsigned CstSizeInBits = CstTy->getPrimitiveSizeInBits(); in extractConstantMask()46 unsigned CstEltSizeInBits = CstTy->getScalarSizeInBits(); in extractConstantMask()47 unsigned NumCstElts = CstTy->getVectorNumElements(); in extractConstantMask()
6282 Type *CstTy = Cst->getType(); in getTargetConstantBitsFromNode() local6283 unsigned CstSizeInBits = CstTy->getPrimitiveSizeInBits(); in getTargetConstantBitsFromNode()6284 if (!CstTy->isVectorTy() || (CstSizeInBits % SizeInBits) != 0) in getTargetConstantBitsFromNode()6287 unsigned SrcEltSizeInBits = CstTy->getScalarSizeInBits(); in getTargetConstantBitsFromNode()
240 static bool isConstantUsingVectorTy(const Type *CstTy) { in isConstantUsingVectorTy() argument241 if (CstTy->isVectorTy()) in isConstantUsingVectorTy()243 if (CstTy->isStructTy()) { in isConstantUsingVectorTy()244 for (unsigned EltIdx = 0, EndEltIdx = CstTy->getStructNumElements(); in isConstantUsingVectorTy()246 if (isConstantUsingVectorTy(CstTy->getStructElementType(EltIdx))) in isConstantUsingVectorTy()248 } else if (CstTy->isArrayTy()) in isConstantUsingVectorTy()249 return isConstantUsingVectorTy(CstTy->getArrayElementType()); in isConstantUsingVectorTy()
3018 Type *CstTy = Cst->getType(); in computeKnownBits() local3019 if ((NumElts * BitWidth) == CstTy->getPrimitiveSizeInBits()) { in computeKnownBits()3022 if (CstTy->isVectorTy()) { in computeKnownBits()3025 CstTy = Cst->getType(); in computeKnownBits()3029 if (CstTy->isVectorTy() && BitWidth == CstTy->getScalarSizeInBits()) { in computeKnownBits()3054 } else if (BitWidth == CstTy->getPrimitiveSizeInBits()) { in computeKnownBits()4003 Type *CstTy = Cst->getType(); in ComputeNumSignBits() local4004 if (CstTy->isVectorTy() && in ComputeNumSignBits()4005 (NumElts * VTBits) == CstTy->getPrimitiveSizeInBits()) { in ComputeNumSignBits()