aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend
diff options
context:
space:
mode:
authorTom Care <tom.care@uqconnect.edu.au>2010-08-18 21:17:24 +0000
committerTom Care <tom.care@uqconnect.edu.au>2010-08-18 21:17:24 +0000
commit245adabd97c8c770c13935a9075f2243cc6f1d57 (patch)
treeabd01e8a0c55aba1aada82bd5925104b060f6472 /lib/Frontend
parent5e1e89b8af283af34943a477dc6378f1a641df26 (diff)
Added psuedo-constant analysis and integrated it into the false positive reduction stage in IdempotentOperationChecker.
- Renamed IdempotentOperationChecker::isConstant to isConstantOrPseudoConstant to better reflect the function - Changed IdempotentOperationChecker::PreVisitBinaryOperator to only run 'CanVary' once on undefined assumptions - Created new PsuedoConstantAnalysis class and added it to AnalysisContext - Changed IdempotentOperationChecker to exploit the new analysis - Updated tests with psuedo-constants - Added check to IdempotentOperationChecker to see if a Decl is const qualified git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111426 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend')
0 files changed, 0 insertions, 0 deletions