Skip to content
  1. May 05, 2012
  2. May 04, 2012
    • Ted Kremenek's avatar
      Explicitly model capturing variables for blocks in the static analyzer. Fixes... · fd727748
      Ted Kremenek authored
      Explicitly model capturing variables for blocks in the static analyzer.  Fixes <rdar://problem/11125868>.
      
      llvm-svn: 156211
      fd727748
    • Sebastian Pop's avatar
      fix typo · 775d8e65
      Sebastian Pop authored
      llvm-svn: 156210
      775d8e65
    • Chandler Carruth's avatar
      Fix a Clang warning in the new NVPTX backend: · cd3464ee
      Chandler Carruth authored
      In file included from ../lib/Target/NVPTX/VectorElementize.cpp:53:
      ../lib/Target/NVPTX/NVPTX.h:44:3: warning: default label in switch which covers all enumeration values [-Wcovered-switch-default]
        default: assert(0 && "Unknown condition code");
        ^
      1 warning generated.
      
      The prevailing pattern in LLVM is to not use a default label, and instead to
      use llvm_unreachable to denote that the switch in fact covers all return paths
      from the function.
      
      llvm-svn: 156209
      cd3464ee
    • Chandler Carruth's avatar
      Teach the code extractor how to extract a sequence of blocks from · 6781821c
      Chandler Carruth authored
      RegionInfo's RegionNode. This mirrors the logic for automating the
      extraction from a Loop.
      
      llvm-svn: 156208
      6781821c
    • Chandler Carruth's avatar
    • Chris Lattner's avatar
      remove something that is really old and out of date. · 40a97f48
      Chris Lattner authored
      llvm-svn: 156206
      40a97f48
    • Jean-Daniel Dupas's avatar
      Inhibit ObjC format warning only in system headers (NSLocalizedString). · 2b7da837
      Jean-Daniel Dupas authored
      Add a test case for the related NSAssert workaround.
      
      llvm-svn: 156205
      2b7da837
    • Chandler Carruth's avatar
      Update Polly to match the LLVM interface change in r156196. · d6447953
      Chandler Carruth authored
      llvm-svn: 156203
      d6447953
    • Chandler Carruth's avatar
      Rename the Region::block_iterator to Region::block_node_iterator, and · 8880325a
      Chandler Carruth authored
      add a new Region::block_iterator which actually iterates over the basic
      blocks of the region.
      
      The old iterator, now call 'block_node_iterator' iterates over
      RegionNodes which contain a single basic block. This works well with the
      GraphTraits-based iterator design, however most users actually want an
      iterator over the BasicBlocks inside these RegionNodes. Now the
      'block_iterator' is a wrapper which exposes exactly this interface.
      Internally it uses the block_node_iterator to walk all nodes which are
      single basic blocks, but transparently unwraps the basic block to make
      user code simpler.
      
      While this patch is a bit of a wash, most of the updates are to internal
      users, not external users of the RegionInfo. I have an accompanying
      patch to Polly that is a strict simplification of every user of this
      interface, and I'm working on a pass that also wants the same simplified
      interface.
      
      This patch alone should have no functional impact.
      
      llvm-svn: 156202
      8880325a
    • Greg Clayton's avatar
      Added an interactive mode to the "crashlog" command so that we can look at... · c8f73d7b
      Greg Clayton authored
      Added an interactive mode to the "crashlog" command so that we can look at multiple crash logs at once and do some data mining. Added an interactive command prompt that allows you to do:
      
      % PYTHONPATH=./build/Debug/LLDB.framework/Resources/Python ; ./build/Debug//LLDB.framework/Resources/Python/lldb/macosx/crashlog.py -i ~/Downloads/crashes2/*.crash ) 
      
      then you get an interactive prompt where you can search for data within all crash logs. For example you can do:
      
      % list
      
      which will list all crash logs
      
      And you can search for all images given an image basename, or full path:
      
      % image LLDB
      % image /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB
      % image LLDB.framework
      
      Which would all produce an output listing like:
      
      40CD4430-7D27-3248-BE4C-71B1F36FC5D0 (1.132 - 132) /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB, __TEXT=[0x000000011f8bc000 - 0x0000000120d3efbf)
      B727A528-FF1F-3B20-9E4F-BBE96C7D922D (1.136 - 136) /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB, __TEXT=[0x000000011e7f7000 - 0x000000011fc7ff87)
      4D6F8DC2-5757-39C7-96B0-1A5B5171DC6B (1.137 - 137) /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB, __TEXT=[0x000000012bd7f000 - 0x000000012d1fcfef)
      FBF8786F-92B9-31E3-8BCD-A82148338966 (1.137 - 137) /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB, __TEXT=[0x0000000122d78000 - 0x00000001241f5fd7)
      7AE082E3-3BB7-3F64-A308-063E559DFC45 (1.143 - 143) /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB, __TEXT=[0x0000000119b8d000 - 0x000000011b02ef5f)
      7AE082E3-3BB7-3F64-A308-063E559DFC45 (1.143 - 143) /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB, __TEXT=[0x0000000111497000 - 0x0000000112938f5f)
      7AE082E3-3BB7-3F64-A308-063E559DFC45 (1.143 - 143) /Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Versions/A/LLDB, __TEXT=[0x0000000116680000 - 0x0000000117b21f5f)
      
      llvm-svn: 156201
      c8f73d7b
    • Johnny Chen's avatar
      When the current thread state is NULL, PyThreadState_Get() issues a fatal error. · 30e422d7
      Johnny Chen authored
      Use a gentler API PyThreadState_GetDict(), instead.
      
      rdar://problem/11292882
      
      llvm-svn: 156200
      30e422d7
    • Sebastian Pop's avatar
      compile cloog code only when CLOOG_FOUND is set · c2009779
      Sebastian Pop authored
      llvm-svn: 156199
      c2009779
    • Justin Holewinski's avatar
      This patch adds a new NVPTX back-end to LLVM which supports code generation... · ae556d3e
      Justin Holewinski authored
      This patch adds a new NVPTX back-end to LLVM which supports code generation for NVIDIA PTX 3.0. This back-end will (eventually) replace the current PTX back-end, while maintaining compatibility with it.
      
      The new target machines are:
      
      nvptx (old ptx32) => 32-bit PTX
      nvptx64 (old ptx64) => 64-bit PTX
      
      The sources are based on the internal NVIDIA NVPTX back-end, and
      contain more functionality than the current PTX back-end currently
      provides.
      
      NV_CONTRIB
      
      llvm-svn: 156196
      ae556d3e
    • Sebastian Pop's avatar
      Added missing CMN case in Thumb2SizeReduction pass so that LLVM emits 16-bits... · 2420e8b7
      Sebastian Pop authored
      Added missing CMN case in Thumb2SizeReduction pass so that LLVM emits 16-bits encoding of CMN instructions.
      
      llvm-svn: 156195
      2420e8b7
    • Preston Gurd's avatar
      Adds Intel Atom scheduling latencies to X86InstrSystem.td. · d6c440cd
      Preston Gurd authored
      llvm-svn: 156194
      d6c440cd
    • Jim Ingham's avatar
      Fix a think in Mutex::Locker::Locker(pthread_mutex_t *) Really should lock... · c075ecd8
      Jim Ingham authored
      Fix a think in Mutex::Locker::Locker(pthread_mutex_t *)  Really should lock the mutex handed in, not the m_mutex_ptr that you've set to NULL...
      Rework the Host.cpp::ThreadNameAccessor to use ThreadSafeSTLMap - we've got it so we might as well use it.  Also works around a problem with the
      Mutex::Locker class raising fallacious asserts in debug mode when used with pthread_mutex_t's that weren't backed by Mutex objects.
      
      llvm-svn: 156193
      c075ecd8
    • Richard Smith's avatar
      ce52ca17
Loading