Lines Matching refs:TargetTy
1073 LLT llvm::getLCMType(LLT OrigTy, LLT TargetTy) { in getLCMType() argument
1075 const unsigned TargetSize = TargetTy.getSizeInBits(); in getLCMType()
1083 if (TargetTy.isVector()) { in getLCMType()
1084 const LLT TargetElt = TargetTy.getElementType(); in getLCMType()
1088 std::gcd(OrigTy.getNumElements(), TargetTy.getNumElements()); in getLCMType()
1090 ElementCount Mul = OrigTy.getElementCount() * TargetTy.getNumElements(); in getLCMType()
1103 if (TargetTy.isVector()) { in getLCMType()
1114 return TargetTy; in getLCMType()
1119 LLT llvm::getCoverTy(LLT OrigTy, LLT TargetTy) { in getCoverTy() argument
1120 if (!OrigTy.isVector() || !TargetTy.isVector() || OrigTy == TargetTy || in getCoverTy()
1121 (OrigTy.getScalarSizeInBits() != TargetTy.getScalarSizeInBits())) in getCoverTy()
1122 return getLCMType(OrigTy, TargetTy); in getCoverTy()
1125 unsigned TargetTyNumElts = TargetTy.getNumElements(); in getCoverTy()
1134 LLT llvm::getGCDType(LLT OrigTy, LLT TargetTy) { in getGCDType() argument
1136 const unsigned TargetSize = TargetTy.getSizeInBits(); in getGCDType()
1143 if (TargetTy.isVector()) { in getGCDType()
1144 LLT TargetElt = TargetTy.getElementType(); in getGCDType()
1146 int GCD = std::gcd(OrigTy.getNumElements(), TargetTy.getNumElements()); in getGCDType()
1166 if (TargetTy.isVector()) { in getGCDType()
1168 LLT TargetElt = TargetTy.getElementType(); in getGCDType()