[all-commits] [llvm/llvm-project] 28d04c: Rename DebugAction to tracing::Action and move rel...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Mon Mar 6 07:12:57 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 28d04c564debff75c6d1f262a621aa4246e761ae
      https://github.com/llvm/llvm-project/commit/28d04c564debff75c6d1f262a621aa4246e761ae
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2023-03-06 (Mon, 06 Mar 2023)

  Changed paths:
    A mlir/include/mlir/Debug/Counter.h
    A mlir/include/mlir/IR/Action.h
    M mlir/include/mlir/IR/MLIRContext.h
    R mlir/include/mlir/Support/DebugAction.h
    R mlir/include/mlir/Support/DebugCounter.h
    M mlir/lib/CMakeLists.txt
    A mlir/lib/Debug/CMakeLists.txt
    A mlir/lib/Debug/DebugCounter.cpp
    M mlir/lib/IR/MLIRContext.cpp
    M mlir/lib/Support/CMakeLists.txt
    R mlir/lib/Support/DebugCounter.cpp
    M mlir/lib/Tools/mlir-opt/CMakeLists.txt
    M mlir/lib/Tools/mlir-opt/MlirOptMain.cpp
    M mlir/unittests/CMakeLists.txt
    A mlir/unittests/Debug/CMakeLists.txt
    A mlir/unittests/Debug/DebugCounterTest.cpp
    A mlir/unittests/IR/ActionTest.cpp
    M mlir/unittests/IR/CMakeLists.txt
    M mlir/unittests/Support/CMakeLists.txt
    R mlir/unittests/Support/DebugActionTest.cpp
    R mlir/unittests/Support/DebugCounterTest.cpp

  Log Message:
  -----------
  Rename DebugAction to tracing::Action and move related code from lib/Support to lib/IR and lib/Debug

This is a preparation for adding support for more infrastructure around the concept
of Action and make tracing Action more of a first class concept.
The doc will be updated later in a subsequent revision after the changes are
completed.

Action belongs to IR because of circular dependency: Actions are dispatched through
the MLIRContext but Action will learn to encapsulate IR construct.

Differential Revision: https://reviews.llvm.org/D144809




More information about the All-commits mailing list