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

Go to the source code of this file.


struct  mlir::presburger::Fraction
 A class to represent fractions. More...


 Include the generated interface declarations.


int mlir::presburger::compare (Fraction x, Fraction y)
 Three-way comparison between two fractions. More...
int64_t mlir::presburger::floor (Fraction f)
int64_t mlir::presburger::ceil (Fraction f)
Fraction mlir::presburger::operator- (Fraction x)
bool mlir::presburger::operator< (Fraction x, Fraction y)
bool mlir::presburger::operator<= (Fraction x, Fraction y)
bool mlir::presburger::operator== (Fraction x, Fraction y)
bool mlir::presburger::operator!= (Fraction x, Fraction y)
bool mlir::presburger::operator> (Fraction x, Fraction y)
bool mlir::presburger::operator>= (Fraction x, Fraction y)
Fraction mlir::presburger::operator* (Fraction x, Fraction y)