Home
last modified time | relevance | path

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

/external/llvm/lib/Target/AArch64/
DAArch64PromoteConstant.cpp232 static bool isConstantUsingVectorTy(const Type *CstTy) { in isConstantUsingVectorTy() argument
233 if (CstTy->isVectorTy()) in isConstantUsingVectorTy()
235 if (CstTy->isStructTy()) { in isConstantUsingVectorTy()
236 for (unsigned EltIdx = 0, EndEltIdx = CstTy->getStructNumElements(); in isConstantUsingVectorTy()
238 if (isConstantUsingVectorTy(CstTy->getStructElementType(EltIdx))) in isConstantUsingVectorTy()
240 } else if (CstTy->isArrayTy()) in isConstantUsingVectorTy()
241 return isConstantUsingVectorTy(CstTy->getArrayElementType()); in isConstantUsingVectorTy()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp2605 Type *CstTy = II.getAlignmentCst()->getType(); in visitMemSetInst() local
2606 II.setAlignment(ConstantInt::get(CstTy, getSliceAlign())); in visitMemSetInst()
2728 Type *CstTy = II.getAlignmentCst()->getType(); in visitMemTransferInst() local
2730 ConstantInt::get(CstTy, MinAlign(II.getAlignment(), SliceAlign))); in visitMemTransferInst()