mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 10:55:58 +08:00
IRUnit is defined as: using IRUnit = PointerUnion<Operation *, Region *, Block *, Value>; The tracing::Action is extended to take an ArrayRef<IRUnit> as context to describe an Action. It is demonstrated in the "ActionLogging" observer. Reviewed By: rriddle, Mogball Differential Revision: https://reviews.llvm.org/D144814