Searched refs:CstTy (Results 1 – 2 of 2) sorted by relevance
221 static bool isConstantUsingVectorTy(const Type *CstTy) { in isConstantUsingVectorTy() argument222 if (CstTy->isVectorTy()) in isConstantUsingVectorTy()224 if (CstTy->isStructTy()) { in isConstantUsingVectorTy()225 for (unsigned EltIdx = 0, EndEltIdx = CstTy->getStructNumElements(); in isConstantUsingVectorTy()227 if (isConstantUsingVectorTy(CstTy->getStructElementType(EltIdx))) in isConstantUsingVectorTy()229 } else if (CstTy->isArrayTy()) in isConstantUsingVectorTy()230 return isConstantUsingVectorTy(CstTy->getArrayElementType()); in isConstantUsingVectorTy()
2776 Type *CstTy = II.getAlignmentCst()->getType(); in visitMemSetInst() local2777 II.setAlignment(ConstantInt::get(CstTy, getSliceAlign())); in visitMemSetInst()2899 Type *CstTy = II.getAlignmentCst()->getType(); in visitMemTransferInst() local2901 ConstantInt::get(CstTy, MinAlign(II.getAlignment(), SliceAlign))); in visitMemTransferInst()