Home
last modified time | relevance | path

Searched refs:MPInt (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/mlir/include/mlir/Analysis/Presburger/
H A DMPInt.h191 MPInt &operator+=(const MPInt &o);
192 MPInt &operator-=(const MPInt &o);
193 MPInt &operator*=(const MPInt &o);
194 MPInt &operator/=(const MPInt &o);
195 MPInt &operator%=(const MPInt &o);
205 friend MPInt abs(const MPInt &x);
207 friend MPInt ceilDiv(const MPInt &lhs, const MPInt &rhs);
208 friend MPInt floorDiv(const MPInt &lhs, const MPInt &rhs);
210 friend MPInt gcd(const MPInt &a, const MPInt &b);
211 friend MPInt lcm(const MPInt &a, const MPInt &b);
[all …]
H A DUtils.h209 SmallVector<MPInt, 8> getMPIntVec(ArrayRef<int64_t> range);
211 SmallVector<int64_t, 8> getInt64Vec(ArrayRef<MPInt> range);
/llvm-project-15.0.7/mlir/lib/Analysis/Presburger/
H A DMPInt.cpp15 llvm::hash_code mlir::presburger::hash_value(const MPInt &x) { in hash_value()
24 llvm::raw_ostream &MPInt::print(llvm::raw_ostream &os) const { in print()
30 void MPInt::dump() const { print(llvm::errs()); } in dump()
33 const MPInt &x) { in operator <<()
H A DCMakeLists.txt5 MPInt.cpp
H A DUtils.cpp416 SmallVector<MPInt, 8> presburger::getMPIntVec(ArrayRef<int64_t> range) { in getMPIntVec()
417 SmallVector<MPInt, 8> result(range.size()); in getMPIntVec()
422 SmallVector<int64_t, 8> presburger::getInt64Vec(ArrayRef<MPInt> range) { in getInt64Vec()
/llvm-project-15.0.7/mlir/unittests/Analysis/Presburger/
H A DMPIntTest.cpp20 using TypeList = testing::Types<MPInt, detail::SlowMPInt>;
26 if (std::is_same<T, MPInt>()) in GetName()