Lines Matching refs:OrigTy
888 LLT llvm::getLCMType(LLT OrigTy, LLT TargetTy) { in getLCMType() argument
889 const unsigned OrigSize = OrigTy.getSizeInBits(); in getLCMType()
893 return OrigTy; in getLCMType()
895 if (OrigTy.isVector()) { in getLCMType()
896 const LLT OrigElt = OrigTy.getElementType(); in getLCMType()
902 int GCDElts = greatestCommonDivisor(OrigTy.getNumElements(), in getLCMType()
905 ElementCount Mul = OrigTy.getElementCount() * TargetTy.getNumElements(); in getLCMType()
907 OrigTy.getElementType()); in getLCMType()
911 return OrigTy; in getLCMType()
920 return LLT::fixed_vector(LCMSize / OrigSize, OrigTy); in getLCMType()
927 return OrigTy; in getLCMType()
934 LLT llvm::getCoverTy(LLT OrigTy, LLT TargetTy) { in getCoverTy() argument
935 if (!OrigTy.isVector() || !TargetTy.isVector() || OrigTy == TargetTy || in getCoverTy()
936 (OrigTy.getScalarSizeInBits() != TargetTy.getScalarSizeInBits())) in getCoverTy()
937 return getLCMType(OrigTy, TargetTy); in getCoverTy()
939 unsigned OrigTyNumElts = OrigTy.getNumElements(); in getCoverTy()
942 return OrigTy; in getCoverTy()
946 OrigTy.getElementType()); in getCoverTy()
949 LLT llvm::getGCDType(LLT OrigTy, LLT TargetTy) { in getGCDType() argument
950 const unsigned OrigSize = OrigTy.getSizeInBits(); in getGCDType()
954 return OrigTy; in getGCDType()
956 if (OrigTy.isVector()) { in getGCDType()
957 LLT OrigElt = OrigTy.getElementType(); in getGCDType()
961 int GCD = greatestCommonDivisor(OrigTy.getNumElements(), in getGCDType()
986 return OrigTy; in getGCDType()