1. Jun 14, 2024
    • Stephen Tozer's avatar
      [DwarfDump] Add new set of line-table-related statistics to llvm-dwarfdump (#93289) · 451f3fcf
      Stephen Tozer authored
      This patch adds a new set of statistics to llvm-dwarfdump that provide
      additional information about .debug_line regarding the number of bytes
      covered by the line table (and how many of those are covered by line 0
      entries), and the number of entries within the table and how many of
      those are is_stmt, unique, or unique and non-line-0 (where "uniqueness"
      is based on file, line, and column only).
      
      Collectively these give a little more insight into the state of debug
      line information, rather than variables (as most of the dwarfdump
      statistics are currently oriented towards). I've added all of the stats
      that were useful to some degree, but I think the most generally useful
      stat is "unique line entries", since it gives the most straightforward
      indication of regressions, i.e. when the number goes down it means that
      fewer source lines are reachable in the program.
      451f3fcf
    • cmtice's avatar
      [LLDB] Add more helper functions to ValueObject class. (#87197) · 9f70cd83
      cmtice authored
      Create additional helper functions for the ValueObject class, for:
        - returning the value as an APSInt or APFloat
        - additional type casting options
        - additional ways to create ValueObjects from various types of data
        - dereferencing a ValueObject
      
      These helper functions are needed for implementing the Data Inspection
      Language, described in
      https://discourse.llvm.org/t/rfc-data-inspection-language/69893
      9f70cd83
    • Zhaoshi Zheng's avatar
      [MLIR][VectorToLLVM] Handle scalable dim in createVectorLengthValue() (#93361) · abcbbe71
      Zhaoshi Zheng authored
      LLVM's Vector Predication Intrinsics require an explicit vector length
      parameter:
      https://llvm.org/docs/LangRef.html#vector-predication-intrinsics.
      
      For a scalable vector type, this should be caculated as VectorScaleOp
      multiplied by base vector length, e.g.: for <[4]xf32> we should return:
      vscale * 4.
      abcbbe71
  2. Jun 13, 2024