Skip to content
  1. Aug 14, 2010
    • Jim Grosbach's avatar
      Add a local stack object block allocation pass. This is still an · a030fa52
      Jim Grosbach authored
      experimental pass that allocates locals relative to one another before
      register allocation and then assigns them to actual stack slots as a block
      later in PEI. This will eventually allow targets with limited index offset
      range to allocate additional base registers (not just FP and SP) to
      more efficiently reference locals, as well as handle situations where
      locals cannot be referenced via SP or FP at all (dynamic stack realignment
      together with variable sized objects, for example). It's currently
      incomplete and almost certainly buggy. Work in progress.
      
      Disabled by default and gated via the -enable-local-stack-alloc command
      line option.
      
      rdar://8277890
      
      llvm-svn: 111059
      a030fa52
    • Dan Gohman's avatar
      Add a lint check for an indirectbr destination which has not · 21e6dc6a
      Dan Gohman authored
      had its address taken.
      
      llvm-svn: 111058
      21e6dc6a
    • Bob Wilson's avatar
      Add a Thumb2 t2RSBrr instruction for disassembly only. · 4577f37d
      Bob Wilson authored
      This fixes another part of PR7792.
      
      llvm-svn: 111057
      4577f37d
    • Johnny Chen's avatar
      Added a workaround for test suite hang while terminating by checking env variable · dd63f5db
      Johnny Chen authored
      LLDB_TESTSUITE_FORCE_FINISH and, if defined, kill the test suite.
      
      llvm-svn: 111056
      dd63f5db
    • Jakob Stoklund Olesen's avatar
      Clean up the Spiller.h interface. · 27e1f265
      Jakob Stoklund Olesen authored
      The earliestStart argument is entirely specific to linear scan allocation, and
      can be easily calculated by RegAllocLinearScan.
      
      Replace std::vector with SmallVector.
      
      llvm-svn: 111055
      27e1f265
    • Sean Callanan's avatar
      Documented ClangExpressionVariable(List), and · df4581f1
      Sean Callanan authored
      cleaned up its API slightly.
      
      llvm-svn: 111053
      df4581f1
    • Douglas Gregor's avatar
      Implement caching of code-completion results for macro definitions · b14904c4
      Douglas Gregor authored
      when the CXTranslationUnit_CacheCompletionResults option is given to
      clang_parseTranslationUnit(). Essentially, we compute code-completion
      results for macro definitions after we have parsed the file, then
      store an ASTContext-agnostic version of those results (completion
      string, cursor kind, priority, and active contexts) in the
      ASTUnit. When performing code completion in that ASTUnit, we splice 
      the macro definition results into the results provided by the actual
      code-completion (which has had macros turned off) before libclang gets
      those results. We use completion context information to only splice in
      those results that make sense for that context.
      
      With a completion involving all of the macros from Cocoa.h and a few other
      system libraries (totally ~8500 macro definitions) living in a
      precompiled header, we get about a 9% performance improvement from
      code completion, since we no longer have to deserialize all of the
      macro definitions from the precompiled header. 
      
      Note that macro definitions are merely the canary; the cache is
      designed to also support other top-level declarations, which should be
      a bigger performance win. That optimization will be next.
      
      Note also that there is no mechanism for determining when to throw
      away the cache and recompute its contents.
      
      llvm-svn: 111051
      b14904c4
    • Bob Wilson's avatar
      3c9ed76b
    • Sean Callanan's avatar
      Added documentation to ClangExpressionDeclMap. · 03e97714
      Sean Callanan authored
      Also cleaned up its API a tiny bit (but not the
      extensive amount that is actually needed.  That's
      still coming.)
      
      llvm-svn: 111049
      03e97714
  2. Aug 13, 2010
Loading