MLIR  16.0.0git
Namespaces | Functions
MathExtras.h File Reference
#include "mlir/Support/LLVM.h"
#include "llvm/ADT/APInt.h"
+ Include dependency graph for MathExtras.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


 Include the generated interface declarations.


int64_t mlir::ceilDiv (int64_t lhs, int64_t rhs)
 Returns the result of MLIR's ceildiv operation on constants. More...
int64_t mlir::floorDiv (int64_t lhs, int64_t rhs)
 Returns the result of MLIR's floordiv operation on constants. More...
int64_t mlir::mod (int64_t lhs, int64_t rhs)
 Returns MLIR's mod operation on constants. More...
int64_t mlir::lcm (int64_t a, int64_t b)
 Returns the least common multiple of 'a' and 'b'. More...