MLIR  16.0.0git
Functions
PWMAFunction.cpp File Reference
#include "mlir/Analysis/Presburger/PWMAFunction.h"
#include "mlir/Analysis/Presburger/Simplex.h"
+ Include dependency graph for PWMAFunction.cpp:

Go to the source code of this file.

Functions

static SmallVector< MPInt, 8 > subtractExprs (ArrayRef< MPInt > vecA, ArrayRef< MPInt > vecB)
 
template<bool lexMin>
static PresburgerSet tiebreakLex (const PWMAFunction::Piece &pieceA, const PWMAFunction::Piece &pieceB)
 A tiebreak function which breaks ties by comparing the outputs lexicographically. More...
 
static void addDivisionConstraints (IntegerRelation &rel, const DivisionRepr &divs)
 Adds division constraints corresponding to local variables, given a relation and division representations of the local variables in the relation. More...
 

Function Documentation

◆ addDivisionConstraints()

static void addDivisionConstraints ( IntegerRelation rel,
const DivisionRepr divs 
)
static

◆ subtractExprs()

static SmallVector<MPInt, 8> subtractExprs ( ArrayRef< MPInt vecA,
ArrayRef< MPInt vecB 
)
static

Definition at line 32 of file PWMAFunction.cpp.

Referenced by tiebreakLex().

◆ tiebreakLex()

template<bool lexMin>
static PresburgerSet tiebreakLex ( const PWMAFunction::Piece pieceA,
const PWMAFunction::Piece pieceB 
)
static