Helper for lowering matrix operations to LLVM IR.
Declared in <llvm/IR/MatrixBuilder.h>
class MatrixBuilder;
| Name | Description |
|---|---|
MatrixBuilder [constructor] | Create a MatrixBuilder that emits IR with the given builder. |
CreateAdd | Add two matrices, supporting integer and floating-point element types. |
CreateColumnMajorLoad | Create a column-major, strided matrix load. |
CreateColumnMajorStore | Create a column-major, strided matrix store. |
CreateColumnMajorToRowMajorTransform | Create a row-major matrix from a column-major matrix by transposing it. |
CreateIndex | Compute the vector index of a matrix element at the given coordinates. |
CreateIndexAssumption | Create an assumption that an index is less than the element count. |
CreateMatrixInsert | Insert a single element into a matrix at the given indices. |
CreateMatrixMultiply | Create a llvm.matrix.multiply call multiplying two matrices. |
CreateMatrixTranspose | Create a llvm.matrix.transpose call for the given matrix. |
CreateRowMajorToColumnMajorTransform | Create a column-major matrix from a row-major matrix by transposing it. |
CreateScalarDiv | Divide a matrix by a scalar. |
CreateScalarMultiply | Multiply a matrix by a scalar, or a scalar by a matrix. |
CreateSub | Subtract two matrices, supporting integer and floating-point element types. |