Lines Matching refs:ResTy
240 LLT ResTy = Res.getLLTTy(*getMRI()); in buildPadVectorWithUndefElements() local
243 assert(ResTy.isVector() && "Res non vector type"); in buildPadVectorWithUndefElements()
247 assert((ResTy.getElementType() == Op0Ty.getElementType()) && in buildPadVectorWithUndefElements()
249 assert((ResTy.getNumElements() > Op0Ty.getNumElements()) && in buildPadVectorWithUndefElements()
256 assert((ResTy.getSizeInBits() > Op0Ty.getSizeInBits()) && in buildPadVectorWithUndefElements()
262 unsigned NumberOfPadElts = ResTy.getNumElements() - Regs.size(); in buildPadVectorWithUndefElements()
271 LLT ResTy = Res.getLLTTy(*getMRI()); in buildDeleteTrailingVectorElements() local
275 assert(((ResTy.isScalar() && (ResTy == Op0Ty.getElementType())) || in buildDeleteTrailingVectorElements()
276 (ResTy.isVector() && in buildDeleteTrailingVectorElements()
277 (ResTy.getElementType() == Op0Ty.getElementType()))) && in buildDeleteTrailingVectorElements()
280 (ResTy.isScalar() || (ResTy.getNumElements() < Op0Ty.getNumElements())) && in buildDeleteTrailingVectorElements()
284 if (ResTy.isScalar()) in buildDeleteTrailingVectorElements()
287 for (unsigned i = 0; i < ResTy.getNumElements(); ++i) in buildDeleteTrailingVectorElements()
589 LLT ResTy = Res.getLLTTy(*getMRI()); in buildZExtInReg() local
591 ResTy, APInt::getLowBitsSet(ResTy.getScalarSizeInBits(), ImmOp)); in buildZExtInReg()
1182 void MachineIRBuilder::validateSelectOp(const LLT ResTy, const LLT TstTy, in validateSelectOp() argument
1185 assert((ResTy.isScalar() || ResTy.isVector() || ResTy.isPointer()) && in validateSelectOp()
1187 assert((ResTy == Op0Ty && ResTy == Op1Ty) && "type mismatch"); in validateSelectOp()
1188 if (ResTy.isScalar() || ResTy.isPointer()) in validateSelectOp()