Home
last modified time | relevance | path

Searched refs:CstTy (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Target/AArch64/
DAArch64PromoteConstant.cpp221 static bool isConstantUsingVectorTy(const Type *CstTy) { in isConstantUsingVectorTy() argument
222 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()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp2776 Type *CstTy = II.getAlignmentCst()->getType(); in visitMemSetInst() local
2777 II.setAlignment(ConstantInt::get(CstTy, getSliceAlign())); in visitMemSetInst()
2899 Type *CstTy = II.getAlignmentCst()->getType(); in visitMemTransferInst() local
2901 ConstantInt::get(CstTy, MinAlign(II.getAlignment(), SliceAlign))); in visitMemTransferInst()