Helper for lowering matrix operations to LLVM IR.
Synopsis
Declared in <llvm/IR/MatrixBuilder.h>
class MatrixBuilder;
Member Functions
Name |
Description |
|
Create a MatrixBuilder that emits IR with the given builder. |
Add two matrices, supporting integer and floating‐point element types. |
|
Create a column‐major, strided matrix load. |
|
Create a column‐major, strided matrix store. |
|
Create a row‐major matrix from a column‐major matrix by transposing it. |
|
Compute the vector index of a matrix element at the given coordinates. |
|
Create an assumption that an index is less than the element count. |
|
Insert a single element into a matrix at the given indices. |
|
Create a llvm.matrix.multiply call multiplying two matrices. |
|
Create a llvm.matrix.transpose call for the given matrix. |
|
Create a column‐major matrix from a row‐major matrix by transposing it. |
|
Divide a matrix by a scalar. |
|
Multiply a matrix by a scalar, or a scalar by a matrix. |
|
Subtract two matrices, supporting integer and floating‐point element types. |
Created with MrDocs