Lines Matching defs:Shape
591 bool setShapeInfo(Value *V, ShapeInfo Shape) {
592 assert(Shape && "Shape not set");
598 if (VerifyShapeInfo && (SIter->second.NumRows != Shape.NumRows ||
599 SIter->second.NumColumns != Shape.NumColumns)) {
601 << SIter->second.NumColumns << " vs " << Shape.NumRows << "x"
602 << Shape.NumColumns << ") for " << *V << "\n";
613 ShapeMap.insert({V, Shape});
614 LLVM_DEBUG(dbgs() << " " << Shape.NumRows << " x " << Shape.NumColumns
726 ShapeInfo Shape = ShapeMap[V];
728 if (setShapeInfo(U.get(), Shape))
919 "Shape of new instruction doesn't match original shape.");
923 "Shape of updated addition doesn't match cached shape.");
1122 /// Load a matrix with \p Shape starting at \p Ptr and using \p Stride between
1125 bool IsVolatile, ShapeInfo Shape, IRBuilder<> &Builder) {
1128 Type *VecTy = FixedVectorType::get(EltTy, Shape.getStride());
1131 for (unsigned I = 0, E = Shape.getNumVectors(); I < E; ++I) {
1134 Stride, Shape.getStride(), EltTy, Builder);
1166 bool IsVolatile, ShapeInfo Shape) {
1170 Shape, Builder),
1228 Value *Stride, bool IsVolatile, ShapeInfo Shape) {
1230 auto StoreVal = getMatrix(Matrix, Shape, Builder);
2107 ShapeInfo &Shape = I->second;
2110 MatrixTy A = getMatrix(Lhs, Shape, Builder);
2111 MatrixTy B = getMatrix(Rhs, Shape, Builder);
2138 for (unsigned I = 0; I < Shape.getNumVectors(); ++I)
2157 ShapeInfo &Shape = I->second;
2160 MatrixTy M = getMatrix(Op, Shape, Builder);
2174 for (unsigned I = 0; I < Shape.getNumVectors(); ++I)