Lines Matching defs:Shape
583 bool setShapeInfo(Value *V, ShapeInfo Shape) {
584 assert(Shape && "Shape not set");
590 if (VerifyShapeInfo && (SIter->second.NumRows != Shape.NumRows ||
591 SIter->second.NumColumns != Shape.NumColumns)) {
593 << SIter->second.NumColumns << " vs " << Shape.NumRows << "x"
594 << Shape.NumColumns << ") for " << *V << "\n";
605 ShapeMap.insert({V, Shape});
606 LLVM_DEBUG(dbgs() << " " << Shape.NumRows << " x " << Shape.NumColumns
718 ShapeInfo Shape = ShapeMap[V];
720 if (setShapeInfo(U.get(), Shape))
934 "Shape of new instruction doesn't match original shape.");
941 "Shape of updated addition doesn't match cached shape.");
1149 /// Load a matrix with \p Shape starting at \p Ptr and using \p Stride between
1152 bool IsVolatile, ShapeInfo Shape, IRBuilder<> &Builder) {
1155 Type *VecTy = FixedVectorType::get(EltTy, Shape.getStride());
1158 for (unsigned I = 0, E = Shape.getNumVectors(); I < E; ++I) {
1161 Stride, Shape.getStride(), EltTy, Builder);
1193 bool IsVolatile, ShapeInfo Shape) {
1197 Shape, Builder),
1255 Value *Stride, bool IsVolatile, ShapeInfo Shape) {
1257 auto StoreVal = getMatrix(Matrix, Shape, Builder);
2136 ShapeInfo &Shape = I->second;
2139 MatrixTy A = getMatrix(Lhs, Shape, Builder);
2140 MatrixTy B = getMatrix(Rhs, Shape, Builder);
2167 for (unsigned I = 0; I < Shape.getNumVectors(); ++I)
2186 ShapeInfo &Shape = I->second;
2189 MatrixTy M = getMatrix(Op, Shape, Builder);
2203 for (unsigned I = 0; I < Shape.getNumVectors(); ++I)