MLIR  17.0.0git
Classes | Namespaces | Functions
Fraction.h File Reference
#include "mlir/Analysis/Presburger/MPInt.h"
#include "mlir/Support/MathExtras.h"

Go to the source code of this file.

Classes

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

Namespaces

 mlir
 This header declares functions that assit transformations in the MemRef dialect.
 
 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)