[NFC][DebugInfo] Create InstructionOrdering helper class (1/4)
authorOCHyams <orlando.hyams@sony.com>
Thu, 27 Aug 2020 08:40:48 +0000 (09:40 +0100)
committerOCHyams <orlando.hyams@sony.com>
Thu, 27 Aug 2020 10:52:29 +0000 (11:52 +0100)
commite048ea7b1a05793df86b931b43faeacf2ae7373d
tree4c9ebe054d2fff3a27f0f12b1ce9d38562a52239
parentfeed5a7239d8ed0ec9f90775080ce8546bf364df
[NFC][DebugInfo] Create InstructionOrdering helper class (1/4)

Group the map and methods used to query instruction ordering for trimVarLocs
(D82129) into a class. This will make it easier to reuse the functionality
upcoming patches.

Reviewed By: aprantl

Differential Revision: https://reviews.llvm.org/D86150
llvm/lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp