MLIR  17.0.0git
Classes | Namespaces | Functions
Fraction.h File Reference
#include "mlir/Analysis/Presburger/MPInt.h"
#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.

Classes

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

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::presburger
 

Functions

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