1. Aug 09, 2016
    • Derek Bruening's avatar
      [esan] Add generic resizing hashtable · 84df6be8
      Derek Bruening authored
      Summary:
      Adds a new, generic, resizing hashtable data structure for use by esan
      tools.  No existing sanitizer hashtable is suitable for the use case for
      most esan tools: we need non-fixed-size tables, parameterized keys and
      payloads, and write access to payloads.  The new hashtable uses either
      simple internal or external mutex locking and supports custom hash and
      comparision operators.  The focus is on functionality, not performance, to
      catalyze creation of a variety of tools.  We can optimize the more
      successful tools later.
      
      Adds tests of the data structure.
      
      Reviewers: aizatsky
      
      Subscribers: vitalybuka, zhaoqin, kcc, eugenis, llvm-commits, kubabrecka
      
      Differential Revision: https://reviews.llvm.org/D22681
      
      llvm-svn: 278024
      84df6be8
    • Kirill Bobyrev's avatar
      [clang-tidy] enhance modernize-use-bool-literals to check ternary operator · 75de8968
      Kirill Bobyrev authored
      modernize-use-bool-literals doesn't checks operands in ternary operator.
      
      For example:
      
      ``` c++
      static int Value = 1;
      
      bool foo() {
        bool Result = Value == 1 ? 1 : 0;
        return Result;
      }
      
      bool boo() {
        return Value == 1 ? 1 : 0;
      }
      ```
      
      This issue was reported in bug 28854. The patch fixes it.
      
      Reviewers: alexfh, aaron.ballman, Prazek
      
      Subscribers: Prazek, Eugene.Zelenko
      
      Differential Revision: https://reviews.llvm.org/D23243
      
      llvm-svn: 278022
      75de8968
    • Jason Henline's avatar
      [StreamExecutor] Add DeviceMemory and kernel arg packing · b0710927
      Jason Henline authored
      Summary:
      Add types for device memory and add the code that knows how to pack these
      device memory types if they are passed as arguments to kernel launches.
      
      Reviewers: jlebar, tra
      
      Subscribers: parallel_libs-commits
      
      Differential Revision: https://reviews.llvm.org/D23211
      
      llvm-svn: 278021
      b0710927
    • Artem Dergachev's avatar
      [analyzer] Change -analyze-function to accept qualified names. · 6a76a163
      Artem Dergachev authored
      Both -analyze-function and -analyzer-display-progress now share the same
      convention for naming functions, which allows discriminating between
      methods with the same name in different classes, C++ overloads, and also
      presents Objective-C instance and class methods in the convenient notation.
      
      This also allows looking up the name for the particular function you're trying
      to restrict analysis to in the -analyzer-display-progress output,
      in case it was not instantly obvious.
      
      Differential Revision: https://reviews.llvm.org/D22856
      
      llvm-svn: 278018
      6a76a163
  2. Aug 08, 2016