[PATCH] D84544: [ConstraintSystem] Add helpers to deal with linear constraints.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 24 12:32:48 PDT 2020


fhahn created this revision.
Herald added subscribers: hiraditya, mgorny.
Herald added a project: LLVM.

This patch introduces a new ConstraintSystem class, that maintains a set
of linear constraints and uses Fourier–Motzkin elimination to eliminate
constraints to check if there are solutions for the system.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D84544

Files:
  llvm/include/llvm/Analysis/ConstraintSystem.h
  llvm/lib/Analysis/CMakeLists.txt
  llvm/lib/Analysis/ConstraintSystem.cpp
  llvm/unittests/Analysis/CMakeLists.txt
  llvm/unittests/Analysis/ConstraintSystemTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84544.280552.patch
Type: text/x-patch
Size: 8561 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200724/27d334b4/attachment.bin>


More information about the llvm-commits mailing list