#include "mlir/Analysis/Presburger/PresburgerSpace.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cassert>
usingnamespacemlir;
usingnamespacepresburger;
bool Identifier::isEqual(const Identifier &other) const { … }
void Identifier::print(llvm::raw_ostream &os) const { … }
void Identifier::dump() const { … }
PresburgerSpace PresburgerSpace::getDomainSpace() const { … }
PresburgerSpace PresburgerSpace::getRangeSpace() const { … }
PresburgerSpace PresburgerSpace::getSpaceWithoutLocals() const { … }
unsigned PresburgerSpace::getNumVarKind(VarKind kind) const { … }
unsigned PresburgerSpace::getVarKindOffset(VarKind kind) const { … }
unsigned PresburgerSpace::getVarKindEnd(VarKind kind) const { … }
unsigned PresburgerSpace::getVarKindOverlap(VarKind kind, unsigned varStart,
unsigned varLimit) const { … }
VarKind PresburgerSpace::getVarKindAt(unsigned pos) const { … }
unsigned PresburgerSpace::insertVar(VarKind kind, unsigned pos, unsigned num) { … }
void PresburgerSpace::removeVarRange(VarKind kind, unsigned varStart,
unsigned varLimit) { … }
void PresburgerSpace::convertVarKind(VarKind srcKind, unsigned srcPos,
unsigned num, VarKind dstKind,
unsigned dstPos) { … }
void PresburgerSpace::swapVar(VarKind kindA, VarKind kindB, unsigned posA,
unsigned posB) { … }
bool PresburgerSpace::isCompatible(const PresburgerSpace &other) const { … }
bool PresburgerSpace::isEqual(const PresburgerSpace &other) const { … }
static bool areIdsEqual(const PresburgerSpace &spaceA,
const PresburgerSpace &spaceB, VarKind kind) { … }
bool PresburgerSpace::isAligned(const PresburgerSpace &other) const { … }
bool PresburgerSpace::isAligned(const PresburgerSpace &other,
VarKind kind) const { … }
void PresburgerSpace::setVarSymbolSeparation(unsigned newSymbolCount) { … }
void PresburgerSpace::mergeAndAlignSymbols(PresburgerSpace &other) { … }
void PresburgerSpace::print(llvm::raw_ostream &os) const { … }
void PresburgerSpace::dump() const { … }