Lines Matching refs:isScalar
185 assert((Res.isScalar() || Res.isVector()) && "invalid operand type"); in validateUnaryOp()
191 assert((Res.isScalar() || Res.isVector()) && "invalid operand type"); in validateBinaryOp()
197 assert((Res.isScalar() || Res.isVector()) && "invalid operand type"); in validateShiftOp()
206 assert(Op1.getLLTTy(*getMRI()).getScalarType().isScalar() && "invalid offset type"); in buildPtrAdd()
215 assert(ValueTy.isScalar() && "invalid offset type"); in materializePtrAdd()
275 assert(((ResTy.isScalar() && (ResTy == Op0Ty.getElementType())) || in buildDeleteTrailingVectorElements()
280 (ResTy.isScalar() || (ResTy.getNumElements() < Op0Ty.getNumElements())) && in buildDeleteTrailingVectorElements()
284 if (ResTy.isScalar()) in buildDeleteTrailingVectorElements()
415 assert(Tst.getLLTTy(*getMRI()).isScalar() && "invalid operand type"); in buildBrCond()
553 assert(Res.getLLTTy(*getMRI()).isScalar() || in buildExtOrTrunc()
555 assert(Res.getLLTTy(*getMRI()).isScalar() == in buildExtOrTrunc()
556 Op.getLLTTy(*getMRI()).isScalar()); in buildExtOrTrunc()
603 if (SrcTy.isPointer() && DstTy.isScalar()) in buildCast()
605 else if (DstTy.isPointer() && SrcTy.isScalar()) in buildCast()
970 assert(OldValResTy.isScalar() && "invalid operand type"); in buildAtomicCmpXchgWithSuccess()
971 assert(SuccessResTy.isScalar() && "invalid operand type"); in buildAtomicCmpXchgWithSuccess()
998 assert(OldValResTy.isScalar() && "invalid operand type"); in buildAtomicCmpXchg()
1171 assert(DstTy.isScalar() && SrcTy.isScalar() && "invalid extend/trunc"); in validateTruncExt()
1185 assert((ResTy.isScalar() || ResTy.isVector() || ResTy.isPointer()) && in validateSelectOp()
1188 if (ResTy.isScalar() || ResTy.isPointer()) in validateSelectOp()
1189 assert(TstTy.isScalar() && "type mismatch"); in validateSelectOp()
1191 assert((TstTy.isScalar() || in validateSelectOp()
1305 if (Op0Ty.isScalar() || Op0Ty.isPointer()) in buildInstr()
1306 return DstTy.isScalar(); in buildInstr()
1349 assert((DstOps[0].getLLTTy(*getMRI()).isScalar() || in buildInstr()
1352 assert(SrcOps[1].getLLTTy(*getMRI()).isScalar() && "Invalid operand type"); in buildInstr()
1366 assert(SrcOps[2].getLLTTy(*getMRI()).isScalar() && "Invalid index"); in buildInstr()
1424 assert(DstOps[0].getLLTTy(*getMRI()).isScalar() && "Invalid operand"); in buildInstr()
1428 assert(DstOps[1].getLLTTy(*getMRI()).isScalar() && "Invalid operand"); in buildInstr()