Commit Graph

7 Commits

Author SHA1 Message Date
Benjamin Kramer 2a332456ba Hide away implementation details of the ThreadSafetyAnalysis in anonymous namespaces
NFC.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@231653 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-09 14:19:54 +00:00
Aaron Ballman a06010e90c Fixing a -Woverflow warning from GCC by using a more natural datatype for this operation. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@217670 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-12 12:42:15 +00:00
Justin Bogner c5aa49fe58 Fix a couple of -Wsign-compare warnings introduced in r217556
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@217569 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-11 03:37:42 +00:00
DeLesley Hutchins 1c11b7cda0 Thread Safety Analysis: major update to thread safety TIL.
Numerous changes, including:
  * Changed the way variables and instructions are handled in basic blocks to
    be more efficient.
  * Eliminated SExprRef.
  * Simplified futures.
  * Fixed documentation.
  * Compute dominator and post dominator trees.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@217556 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-10 22:12:52 +00:00
DeLesley Hutchins 61e498ab0a Thread Safety Analysis: Replace the old and broken SExpr with the new
til::SExpr.  This is a large patch, with many small changes to pretty printing
and expression lowering to make the new SExpr representation equivalent in
functionality to the old.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@214089 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-28 15:57:27 +00:00
DeLesley Hutchins 7898a018ce Thread Safety Analysis: update TIL traversal mechanism to allow arbitrary
local contexts.  Also includes some minor refactoring.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209774 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-28 21:28:13 +00:00
DeLesley Hutchins be8977c750 Thread Safety Analysis: add new node types to thread safety TIL.
This fills in a few missing gaps in functionality.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208830 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-15 00:50:36 +00:00