MLIR  20.0.0git
Classes | Namespaces | Functions
Fraction.h File Reference
#include "llvm/ADT/DynamicAPInt.h"
#include "llvm/Support/raw_ostream.h"

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...
 
DynamicAPInt mlir::presburger::floor (const Fraction &f)
 
DynamicAPInt 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::abs (const Fraction &f)
 
Fraction mlir::presburger::reduce (const Fraction &f)
 
Fraction mlir::presburger::operator* (const Fraction &x, const Fraction &y)
 
Fraction mlir::presburger::operator/ (const Fraction &x, const Fraction &y)
 
Fraction mlir::presburger::operator+ (const Fraction &x, const Fraction &y)
 
Fraction mlir::presburger::operator- (const Fraction &x, const Fraction &y)
 
DynamicAPInt mlir::presburger::round (const Fraction &f)
 
Fraction & mlir::presburger::operator+= (Fraction &x, const Fraction &y)
 
Fraction & mlir::presburger::operator-= (Fraction &x, const Fraction &y)
 
Fraction & mlir::presburger::operator/= (Fraction &x, const Fraction &y)
 
Fraction & mlir::presburger::operator*= (Fraction &x, const Fraction &y)
 
llvm::raw_ostream & mlir::presburger::operator<< (llvm::raw_ostream &os, const Fraction &x)