Home
last modified time | relevance | path

Searched refs:Cols (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/CodeGen/PBQP/
H A DMath.h128 Rows(Rows), Cols(Cols), Data(std::make_unique<PBQPNum []>(Rows * Cols)) { in Matrix()
134 : Rows(Rows), Cols(Cols), in Matrix()
141 : Rows(M.Rows), Cols(M.Cols), in Matrix()
148 : Rows(M.Rows), Cols(M.Cols), Data(std::move(M.Data)) { in Matrix()
149 M.Rows = M.Cols = 0; in Matrix()
155 if (Rows != M.Rows || Cols != M.Cols)
169 return Cols; in getCols()
189 Vector V(Cols); in getRowAsVector()
207 Matrix M(Cols, Rows); in transpose()
217 assert(Rows == M.Rows && Cols == M.Cols &&
[all …]
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dmatrix-type.cpp126 template <typename Ty, unsigned Rows, unsigned Cols>
129 using MatrixTy = Ty __attribute__((matrix_type(Rows, Cols)));
135 template <typename Ty, unsigned Rows, unsigned Cols>
136 …trix_template_reference(MatrixClassTemplate<Ty, Rows, Cols> &a, MatrixClassTemplate<Ty, Rows, Cols in matrix_template_reference()
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dmatrix-type.cpp13 template <unsigned Rows, unsigned Cols>
15 …using matrix1_t = float __attribute__((matrix_type(Rows, Cols))); // expected-error{{zero matrix s… in matrix_template_3()
23 template <int Rows, unsigned Cols>
25 …using matrix1_t = float __attribute__((matrix_type(Rows, Cols))); // expected-error{{matrix row si… in matrix_template_4()
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCAsmStreamer.cpp1212 const size_t Cols = 4; in emitBinaryData() local
1213 for (size_t I = 0, EI = alignTo(Data.size(), Cols); I < EI; I += Cols) { in emitBinaryData()
1214 size_t J = I, EJ = std::min(I + Cols, Data.size()); in emitBinaryData()
/llvm-project-15.0.7/llvm/docs/
H A DLangRef.rst17534 declare vectorty @llvm.matrix.transpose.*(vectorty %In, i32 <Rows>, i32 <Cols>)
17540 <Cols>`` matrix and return the transposed matrix in the result vector.
17546 <Cols>`` matrix. Thus, arguments ``<Rows>`` and ``<Cols>`` correspond to the
17548 integers. The returned vector must have ``<Rows> * <Cols>`` elements, and have
17591 ptrty %Ptr, i64 %Stride, i1 <IsVolatile>, i32 <Rows>, i32 <Cols>)
17596 The '``llvm.matrix.column.major.load.*``' intrinsics load a ``<Rows> x <Cols>``
17614 ``<Rows>`` and ``<Cols>``, correspond to the number of rows and columns,
17616 have ``<Rows> * <Cols>`` elements.
17637 <Cols>`` matrix in ``%In`` to memory using a stride of ``%Stride`` between
17649 <Cols>`` matrix to be stored to memory. The second argument ``%Ptr`` is a
[all …]