Skip to content
  1. Dec 29, 2007
  2. Dec 21, 2007
    • Ted Kremenek's avatar
      Directory restructing of Analysis files. · bf593f81
      Ted Kremenek authored
      Created include/clang/Analysis/Analyses directory.
        - Moved LiveVariables.h and UninitializedValues.h into this dir.
        
      Moved ExprDeclBitVector.h into Analysis/Support.
      
      Updated all clients who use these headers to reflect the new paths.
      
      llvm-svn: 45292
      bf593f81
  3. Dec 13, 2007
  4. Nov 20, 2007
    • Ted Kremenek's avatar
      Updated CFGStmtVisitor and CFGRecStmtVisitor to have a notion of · 9d0acca9
      Ted Kremenek authored
      "block-expressions" when visiting arbitrary expressions (via calls to
      "Visit()").  This results in a refactoring where a dataflow analysis no
      longer needs to always special case when handling block-expressions versus
      non-block expressions.
      
      Updated LiveVariables and UninitializedValues to conform to the slightly
      altered interface of these visitor classes.
      
      Thanks to Nuno Lopes for providing a test case that illustrated some
      fundamental problems in the current design of the CFGXXXStmtVisitor classes
      and how they were used.
      
      llvm-svn: 44246
      9d0acca9
  5. Nov 19, 2007
  6. Oct 07, 2007
  7. Oct 01, 2007
  8. Sep 28, 2007
  9. Sep 25, 2007
    • Ted Kremenek's avatar
      Moved "DataflowSolver.h" to the "include/" subtree. Adjusted client · 39fc60f2
      Ted Kremenek authored
      code that uses the solver to reflect the new location.
      
      Created "FlowSensitive" subdirectory in include/clang/Analysis to hold
      header files relating to flow-sensitive analyses.  Moved
      "DataflowValues.h" into this subdirectory.
      
      llvm-svn: 42320
      39fc60f2
    • Ted Kremenek's avatar
      Further refactored DataflowSolver. Now most code for the solver is shared · ad8bce02
      Ted Kremenek authored
      between forward and backward analyses, with trait classes being used
      to implement the key differences in operations/functionality.
      
      Converted the LiveVariables analysis to use the generic DataflowSolver.  This,
      along with removing some extra functionality that was not needed, reduced
      the code for LiveVariables by over half.
      
      Modified Driver code to handle the updated interface to LiveVariables.
      
      Modified the DeadStores checker to handle the update interface to
      LiveVariables.
      
      Updated DataflowValues (generic ADT to store dataflow values) to also
      store values for blocks.  This is used by DeadStores.  Updated some comments.
      
      llvm-svn: 42293
      ad8bce02
  10. Sep 20, 2007
  11. Sep 14, 2007
    • Steve Naroff's avatar
      · a23cc796
      Steve Naroff authored
      Move Decl::NextDeclarator (w/ setters/getters) down to ScopedDecl/FieldDecl.
      
      Decl is now svelte:-)
      
      llvm-svn: 41935
      a23cc796
  12. Sep 12, 2007
  13. Sep 11, 2007
  14. Sep 10, 2007
  15. Sep 07, 2007
  16. Sep 06, 2007
    • Ted Kremenek's avatar
      LiveVariables: · 3f8ed265
      Ted Kremenek authored
       - Finished 99% of analysis logic.  Probably a few bugs.
       - Added querying functions to query liveness.
       - Added better pretty printing of liveness.
       - Added better bookkeeping of per-variable liveness information.
       - Added LiveVariablesAuditor interface, which allows "lazy" querying
         of intra-basic block liveness information.
      
      Driver:
       - Minor cleanups involved in dumping liveness information.
      
      llvm-svn: 41753
      3f8ed265
    • Ted Kremenek's avatar
      Added an early implementation of Live-Variables analysis built on · b56a9909
      Ted Kremenek authored
      source-level CFGs.  This code may change significantly in the near
      future as we explore different means to implement dataflow analyses.
      
      Added a driver option, -dump-live-variables, to view the output of
      live variable analysis.  This output is very ALPHA; it will be improved shortly.
      
      llvm-svn: 41737
      b56a9909
Loading