MLIR  19.0.0git
Classes | Typedefs | Functions | Variables
Simplex.cpp File Reference
#include "mlir/Analysis/Presburger/Simplex.h"
#include "mlir/Analysis/Presburger/Fraction.h"
#include "mlir/Analysis/Presburger/IntegerRelation.h"
#include "mlir/Analysis/Presburger/MPInt.h"
#include "mlir/Analysis/Presburger/Matrix.h"
#include "mlir/Analysis/Presburger/PresburgerSpace.h"
#include "mlir/Analysis/Presburger/Utils.h"
#include "mlir/Support/LLVM.h"
#include "mlir/Support/LogicalResult.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallBitVector.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
#include <functional>
#include <limits>
#include <optional>
#include <tuple>
#include <utility>

Go to the source code of this file.

Classes

class  mlir::presburger::GBRSimplex
 Given a simplex for a polytope, construct a new simplex whose variables are identified with a pair of points (x, y) in the original polytope. More...
 

Typedefs

using Direction = Simplex::Direction
 

Functions

static LLVM_ATTRIBUTE_UNUSED SmallVector< MPInt, 8 > scaleAndAddForAssert (ArrayRef< MPInt > a, const MPInt &scale, ArrayRef< MPInt > b)
 
static bool isRangeDivisibleBy (ArrayRef< MPInt > range, const MPInt &divisor)
 

Variables

const int nullIndex = std::numeric_limits<int>::max()
 

Typedef Documentation

◆ Direction

Definition at line 34 of file Simplex.cpp.

Function Documentation

◆ isRangeDivisibleBy()

static bool isRangeDivisibleBy ( ArrayRef< MPInt range,
const MPInt divisor 
)
static

Definition at line 369 of file Simplex.cpp.

◆ scaleAndAddForAssert()

static LLVM_ATTRIBUTE_UNUSED SmallVector<MPInt, 8> scaleAndAddForAssert ( ArrayRef< MPInt a,
const MPInt scale,
ArrayRef< MPInt b 
)
static

Definition at line 41 of file Simplex.cpp.

Variable Documentation

◆ nullIndex

const int nullIndex = std::numeric_limits<int>::max()